コード例 #1
0
ファイル: EntityDefine.cs プロジェクト: yzx4036/BodyET
 public static int GetTypeId <T>()
 {
     return(TypeIds.GetValueByKey(typeof(T)));
 }
コード例 #2
0
ファイル: EntityDefine.cs プロジェクト: yzx4036/BodyET
 public static int GetTypeId(Type type)
 {
     return(TypeIds.GetValueByKey(type));
 }