예제 #1
0
 public static bool IsRange(this AnmLineType type)
 {
     return(EnumInfo.GetAttribute <AnmLineType, AnimationCommandAttribute>(type).IsRange);
 }
예제 #2
0
 public static string GetCommand(this AnmLineType type)
 {
     return(EnumInfo.GetAttribute <AnmLineType, AnimationCommandAttribute>(type).Command);
 }
예제 #3
0
 public static int GetParameterCount(this AnmLineType type)
 {
     return(EnumInfo.GetAttribute <AnmLineType, AnimationCommandAttribute>(type).Count);
 }