コード例 #1
0
 public static int GetCurrentFrame()
 {
     if (AnimationWindow == null)
     {
         return(-1);
     }
     return((int)FrameProperty.GetValue(GetState(), null));
 }
コード例 #2
0
        public static int GetCurrentFrame()
        {
            if (AnimationWindow == null)
            {
                return(-1);
            }
#if UNITY_5_0
            return((int)FrameField.GetValue(GetState()));
#else
            return((int)FrameProperty.GetValue(GetState(), null));
#endif
        }