Beispiel #1
0
    void OnMouseDown()
    {
        Debug.Log("Click " + this.gameObject.name);
        if (clip != null)
        {
            //clip.stop();
            //clip.play();

            //var seqInfo = clip.asset.getSequences(clip.timelineID);
            //var greeting = seqInfo.First(s => s.name.Equals("greeting"));

            clip.setSequence("loop_out", true);
            clip.setSequence("greeting", true);
            clip.setSequence("loop_in", true);
            clip.setSequence("loop", true);
        }
    }
Beispiel #2
0
 void ShowOpening()
 {
     MC_MenuBG.setSequence("opening", true);
     MC_MenuBG.setAnimationWrapMode(GAFWrapMode.Once);
 }
Beispiel #3
0
 public void testClick()
 {
     robot.setSequence("stand_left", true);
 }