// Use this for initialization
 public override void Start()
 {
     moveToVector = Vector3.zero;
     conditional  = Conditionals.None;
     moveEvent    = new AutoResetEvent(false);
     cc           = this.gameObject.GetComponent <CubeControllerInput> ();
     id           = 0;
     base.Start();
     IsSelected = true;
     thread     = new Thread(new ThreadStart(this.StartCube));
     //thread.Start ();
 }
Пример #2
0
 // Use this for initialization
 public override void Start()
 {
     moveToVector = Vector3.zero;
     conditional = Conditionals.None;
     moveEvent = new AutoResetEvent (false);
     cc = this.gameObject.GetComponent<CubeControllerInput> ();
     id = 0;
     base.Start ();
     IsSelected = true;
     thread = new Thread (new ThreadStart (this.StartCube));
     //thread.Start ();
 }