本文整理汇总了C#中Spine.AnimationState.GetCurrent方法的典型用法代码示例。如果您正苦于以下问题:C# AnimationState.GetCurrent方法的具体用法?C# AnimationState.GetCurrent怎么用?C# AnimationState.GetCurrent使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Spine.AnimationState
的用法示例。
在下文中一共展示了AnimationState.GetCurrent方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Complete
public void Complete (AnimationState state, int trackIndex, int loopCount) {
#if !WINDOWS_STOREAPP
Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": complete " + loopCount);
#endif
}
示例2: Event
public void Event (AnimationState state, int trackIndex, Event e) {
#if !WINDOWS_STOREAPP
Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": event " + e);
#endif
}
示例3: End
public void End(AnimationState state, int trackIndex)
{
Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": end");
}
示例4: Start
public void Start (AnimationState state, int trackIndex) {
#if !WINDOWS_STOREAPP
Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": start");
#endif
}
示例5: Event
public void Event(AnimationState state, int trackIndex, Event e)
{
Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": event " + e);
}
示例6: Complete
public void Complete(AnimationState state, int trackIndex, int loopCount)
{
Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": complete " + loopCount);
}
示例7: Event
public void Event(AnimationState state, int trackIndex, Event e)
{
CCLog.Log(trackIndex + " " + state.GetCurrent(trackIndex) + ": event " + e);
}
示例8: Complete
public void Complete(AnimationState state, int trackIndex, int loopCount)
{
CCLog.Log(trackIndex + " " + state.GetCurrent(trackIndex) + ": complete " + loopCount);
}
示例9: End
public void End(AnimationState state, int trackIndex)
{
CCLog.Log(trackIndex + " " + state.GetCurrent(trackIndex) + ": end");
}
示例10: Start
public void Start(AnimationState state, int trackIndex)
{
var entry = state.GetCurrent(trackIndex);
var animationName = (entry != null && entry.Animation != null) ? entry.Animation.Name : string.Empty;
CCLog.Log(trackIndex + ":start " + animationName);
}
示例11: Start
public void Start(AnimationState state, int trackIndex)
{
CCLog.Log(trackIndex + " " + state.GetCurrent(trackIndex) + ": start");
}