Inheritance: MonoBehaviour
Exemplo n.º 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;
 }
Exemplo n.º 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>();	
	}