I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| void Start() | |
| { | |
| theRenderer = GetComponent<MeshRenderer>(); | |
| theRenderer.material.SetVector("_Resolution", new Vector4((float)Screen.width, (float)Screen.height, 0, 0)); | |
| } | |
| void OnMouseEnter() | |
| { | |
| theRenderer.material = hoverMaterial; | |
| theRenderer.material.SetVector("_Resolution", new Vector4((float)Screen.width, (float)Screen.height, 0, 0)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Himawari-8 Downloader | |
| # | |
| # | |
| # | |
| # This script will scrape the latest image from the Himawari-8 satellite, recombining the tiled image, | |
| # converting it to a JPG which is saved in My Pictures\Himawari\ and then set as the desktop background. | |
| # | |
| # http://himawari8.nict.go.jp/himawari8-image.htm | |
| # |