Unity

Imports

UnityEngine UnityEngine.UI UnityEngine.SceneManagement

Class

GameObject AudioSource IEnumerator \ return type for looping, return new WaitForSeconds(1); \ function result should go in StartCoroutine

Functions

void onTriggerEnter() void onTriggerExit()

Methods

.GetComponent().subType = ... StartCoroutine(Function()); \ start a new thread falling the function transform.rotate Destroy(gameObject) yield return new WaitForSeconds(1); \ wait for 1 sec RenderSettings.skybox.SetFloat("Rotation", Time.time * rotateSpeed); SceneManager.LoadScene(sceneNumber); \ redirect to scene objectA.transform.parent = objectB.transform; \ set the objectA's parent to objectB musticObject.SetActive(false); \ enable, disable object (including music) musticObject.Play(); \ play music \ you can access other classes across scene

Snow Implementation

Snow Shader

Tutorial: https://www.youtube.com/watch?v=IC9g5hlfV6o&ab_channel=Brackeys

Snow Particle

Tutorial: https://www.youtube.com/watch?v=b8oVAS9IdZM&ab_channel=Mirza

Snow Track

Tutorial: https://www.youtube.com/watch?v=ThlqTMBzyjI&ab_channel=MertKirimgeri (check this person's other shader tutorial)

Wind Implementation

UV Tutorial

Here: https://cyangamedev.wordpress.com/2020/01/28/worldspace-uvs-triplanar-mapping/

Rain Drops: https://www.youtube.com/watch?v=sqWs6ScSanw&ab_channel=PolyToots Wind: https://zhuanlan.zhihu.com/p/265784070 Shader Graph Basics:

Transparent Shader (Grass): https://www.youtube.com/watch?v=L_Bzcw9tqTc&ab_channel=Brackeys

Table of Content