Пример #1
0
 void Start()
 {
     data = (Data) GetComponent<Data>();
     move = false;
 }
Пример #2
0
 // Use this for initialization
 void Start()
 {
     data = (Data) GetComponent<Data>();
     cameraTarget = new GameObject ();
     midpoint = cameraTarget.transform;
     midpoint.name = "Camera Target for Elements Midpoint";
     data.target = midpoint;
     Reinitialize (true);
 }
Пример #3
0
 void Start()
 {
     data = (Data) GetComponent<Data>();
 }
Пример #4
0
 void Start()
 {
     data = (Data) GetComponent<Data>();
     postition = transform;
 }