當前位置: 首頁>>代碼示例>>C#>>正文


C# AnimationState.GetCurrent方法代碼示例

本文整理匯總了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
		}
開發者ID:Lucius0,項目名稱:spine-runtimes,代碼行數:5,代碼來源:ExampleGame.cs

示例2: Event

		public void Event (AnimationState state, int trackIndex, Event e) {
#if !WINDOWS_STOREAPP	
			Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": event " + e);
#endif
		}
開發者ID:Lucius0,項目名稱:spine-runtimes,代碼行數:5,代碼來源:ExampleGame.cs

示例3: End

 public void End(AnimationState state, int trackIndex)
 {
     Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": end");
 }
開發者ID:netonjm,項目名稱:spine-runtimes,代碼行數:4,代碼來源:IntroLayer.cs

示例4: Start

		public void Start (AnimationState state, int trackIndex) {
#if !WINDOWS_STOREAPP
			Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": start");
#endif
		}
開發者ID:Lucius0,項目名稱:spine-runtimes,代碼行數:5,代碼來源:ExampleGame.cs

示例5: Event

 public void Event(AnimationState state, int trackIndex, Event e)
 {
     Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": event " + e);
 }
開發者ID:netonjm,項目名稱:spine-runtimes,代碼行數:4,代碼來源:IntroLayer.cs

示例6: Complete

 public void Complete(AnimationState state, int trackIndex, int loopCount)
 {
     Console.WriteLine(trackIndex + " " + state.GetCurrent(trackIndex) + ": complete " + loopCount);
 }
開發者ID:netonjm,項目名稱:spine-runtimes,代碼行數:4,代碼來源:IntroLayer.cs

示例7: Event

 public void Event(AnimationState state, int trackIndex, Event e)
 {
     CCLog.Log(trackIndex + " " + state.GetCurrent(trackIndex) + ": event " + e);
 }
開發者ID:460189852,項目名稱:cocos-sharp-samples,代碼行數:4,代碼來源:SpineBoyLayer.cs

示例8: Complete

 public void Complete(AnimationState state, int trackIndex, int loopCount)
 {
     CCLog.Log(trackIndex + " " + state.GetCurrent(trackIndex) + ": complete " + loopCount);
 }
開發者ID:460189852,項目名稱:cocos-sharp-samples,代碼行數:4,代碼來源:SpineBoyLayer.cs

示例9: End

 public void End(AnimationState state, int trackIndex)
 {
     CCLog.Log(trackIndex + " " + state.GetCurrent(trackIndex) + ": end");
 }
開發者ID:460189852,項目名稱:cocos-sharp-samples,代碼行數:4,代碼來源:SpineBoyLayer.cs

示例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);
        }
開發者ID:460189852,項目名稱:cocos-sharp-samples,代碼行數:7,代碼來源:SpineBoyLayer.cs

示例11: Start

 public void Start(AnimationState state, int trackIndex)
 {
     CCLog.Log(trackIndex + " " + state.GetCurrent(trackIndex) + ": start");
 }
開發者ID:KerwinMa,項目名稱:cocos-sharp-samples,代碼行數:4,代碼來源:GoblinLayer.cs


注:本文中的Spine.AnimationState.GetCurrent方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。