// 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 (); }
// 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 (); }