void Start()
 {
     clockbase.enabled = false;
     clock.enabled     = false;
     text.enabled      = false;
     mopStates         = mop.GetComponent <MopStates>();
     rb = mop.GetComponent <Rigidbody>();
 }
Пример #2
0
 private void Start()
 {
     mopState = this.GetComponent <MopStates>();
     rb       = this.GetComponent <Rigidbody>();
 }