private void setAction(SkyAction skyAction) { skyAction.ParentAction = null; PlayTime += skyAction.PlayTime; if (ParentAction != null) this.ParentAction.ReComputePlaytime (); }
public override void RemoveAction(SkyAction skyAction) { AnimationSequence.Remove (skyAction); skyAction.ParentAction = null; PlayTime -= skyAction.PlayTime; if (ParentAction != null) this.ParentAction.ReComputePlaytime (); }
private void setAction(SkyAction skyAction) { skyAction.ParentAction = null; PlayTime += skyAction.PlayTime; if (ParentAction != null) { this.ParentAction.ReComputePlaytime(); } }
private void setAction(SkyAction skyAction) { skyAction.ParentAction = this; if (skyAction.PlayTime > PlayTime) { PlayTime = skyAction.PlayTime; if (ParentAction != null) this.ParentAction.ReComputePlaytime (); } }
public override void RemoveAction(SkyAction skyAction) { AnimationSequence.Remove(skyAction); skyAction.ParentAction = null; PlayTime -= skyAction.PlayTime; if (ParentAction != null) { this.ParentAction.ReComputePlaytime(); } }
public override void PlayNext(SkyAction skyAction) { if (AnimationSequence.Contains (skyAction)) { int index = AnimationSequence.IndexOf (skyAction); if (index < AnimationSequence.Count - 1) { AnimationSequence [index + 1].Play (); } else { PlayCallBack.OnCompleteMethod (); } } }
private void setAction(SkyAction skyAction) { skyAction.ParentAction = this; if (skyAction.PlayTime > PlayTime) { PlayTime = skyAction.PlayTime; if (ParentAction != null) { this.ParentAction.ReComputePlaytime(); } } }
public override void PlayNext(SkyAction skyAction) { if (AnimationSequence.Contains(skyAction)) { int index = AnimationSequence.IndexOf(skyAction); if (index < AnimationSequence.Count - 1) { AnimationSequence [index + 1].Play(); } else { PlayCallBack.OnCompleteMethod(); } } }
public virtual void AppendAction(SkyAction skyAction) { }
public virtual void AddHead(SkyAction skyAction) { }
public virtual void PlayNext(SkyAction skyAction) { }
public virtual void RemoveAction(SkyAction skyAction) { }
public override void AddHead(SkyAction skyAction) { AnimationSequence.Insert (0, skyAction); setAction (skyAction); }
public override void AddHead(SkyAction skyAction) { AnimationSequence.Insert(0, skyAction); setAction(skyAction); }
public override void AppendAction(SkyAction skyAction) { AnimationSequence.Add (skyAction); setAction (skyAction); }
public override void PlayNext(SkyAction skyAction) { }
public override void AppendAction(SkyAction skyAction) { AnimationSequence.Add(skyAction); setAction(skyAction); }