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