void Start() { clockbase.enabled = false; clock.enabled = false; text.enabled = false; mopStates = mop.GetComponent <MopStates>(); rb = mop.GetComponent <Rigidbody>(); }
private void Start() { mopState = this.GetComponent <MopStates>(); rb = this.GetComponent <Rigidbody>(); }