void Start()
 {
     data = (Data) GetComponent<Data>();
     move = false;
 }
 // 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;
 }