1. MonoBehaviour class
Common event response functions:
2. Access Game Objects
(1) Find by name
(2) Find by tags
The above functions are time-consuming and should be avoided in the Update function call.
3. Access Components
For common built-in components in the system, you only need to directly access the member variables corresponding to the components.
If you want to access common components that don't belong in the table above, or if you're accessing a script on a game object:
4. Transform component
The member variables of the component are as follows:
The member functions of the component are as follows:
5. Time class
The member variables are as follows:
6. Random class
The member variables are as follows:
The member functions are as follows:
7. Mathf class
The variables are as follows:
8. Coroutine coroutines
The relevant functions are as follows: