Esempio n. 1
0
 public T GetData <T>(RuntimeDataType type) where T : class, IRuntimeData
 {
     if (mDataMap.ContainsKey(type))
     {
         return(mDataMap[type] as T);
     }
     return(null);
 }
Esempio n. 2
0
 public GameRuntimeDataAttribute(RuntimeDataType type, string gamekey = "")
 {
     DataType = type;
     GameKey  = gamekey;
 }