// Use this for initialization void Start() { script = hand.GetComponent <RotateHand>(); }
void OnMouseDown() { RotateHand hand = GameObject.Find("ClockHand").GetComponent <RotateHand> (); hand.rotate = !hand.rotate; }