예제 #1
0
 public void Start()
 {
     Application.targetFrameRate = 30;
     if (Application.isPlaying)
     {
         seqence = new XSeqence(path, PlayMode.Plot);
         seqence.SetPlaying(true);
     }
     play = true;
 }
예제 #2
0
    public void PlaySkill(string skill)
    {
        string path = "Assets/skill/" + skill + ".xml";

        if (timeline == null)
        {
            timeline = new XSeqence(path, UnityEngine.Timeline.PlayMode.Skill, ator);
            timeline.SetPlaying(true);
        }
        else
        {
            timeline.BlendTo(path);
        }
    }
예제 #3
0
 public void FrameStart()
 {
     seqence.SetPlaying(false);
     seqence?.ProcessTo(0);
 }