public EntityManager() { uiCollection = new Dictionary <int, MonoBehaviorEx>(); ctlCollection = new Dictionary <int, ControllerEx>(); TypeIDRelation = new Dictionary <LogicalType, int>(); binder = ImplicitBinder.Instance; }
private DeviceFSM() { Owner = new List <IDeviceState>(); mPreState = DeviceState.None; mNowState = DeviceState.None; rtPlatform = Application.platform; binder = ImplicitBinder.Instance; }
private GamePlayFSM() { Owner = new List <IGameState>(); mPreState = GameState.None; mNowState = GameState.None; initOK = Consts.FAILURE; curScene = SceneName.SplashScene; binder = ImplicitBinder.Instance; }
public DataCore() { binder = ImplicitBinder.Instance; modelNet = new Dictionary <Type, IModelNetwork>(); modelCfg = new Dictionary <Type, ModelBase>(); modelBoth = new Dictionary <Type, ModelBase>(); InitNetLayer(); InitConfigLayer(); InitBothLayer(); }
public Loader() { binder = ImplicitBinder.Instance; Loaders = new Dictionary <Type, ILoaderDispose>(); List <Type> allLoader = binder.ILoader; int count = allLoader.Count; if (count > 0) { for (int i = 0; i < count; ++i) { Loaders.Add(allLoader[i], Activator.CreateInstance(allLoader[i]) as ILoaderDispose); } } }