public void Start() { Application.targetFrameRate = 30; if (Application.isPlaying) { seqence = new XSeqence(path, PlayMode.Plot); seqence.SetPlaying(true); } play = true; }
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); } }
public void FrameStart() { seqence.SetPlaying(false); seqence?.ProcessTo(0); }