Наследование: MonoBehaviour
Пример #1
0
 void Start()
 {
     // Find Aeonur within the scene to get its position
     a = GameObject.FindObjectOfType <Aeonur>();
     // Get the starting point of Aeonur
     startPos = a.transform.position;
 }
Пример #2
0
 void Start()
 {
     // Find the Aeonur object in the scene
     a = GameObject.FindObjectOfType <Aeonur>();
 }
	void Start () {
        // Find Aeonur within the scene to get its position
        a = GameObject.FindObjectOfType<Aeonur>();
        // Get the starting point of Aeonur
        startPos = a.transform.position;
	}
	void Start () {
        // Find the Aeonur object in the scene
        a = GameObject.FindObjectOfType<Aeonur>();	
	}