本文整理匯總了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");
}