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