Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     script = hand.GetComponent <RotateHand>();
 }
Beispiel #2
0
    void OnMouseDown()
    {
        RotateHand hand = GameObject.Find("ClockHand").GetComponent <RotateHand> ();

        hand.rotate = !hand.rotate;
    }