/// <summary> /// test Initialize ---basic function only /// 把每个组件都初始化 /// </summary> void Initialize() { um = new UpdateManager(); um.Initialize(); log = new Log(); CoreTimer.Start(); }
/// <summary> /// test Initialize ---basic function only /// 把每个组件都初始化 /// </summary> void Initialize() { um = new UpdateManager(); um.Initialize(); pm = new PropertiesManager(); pm.AddPropertyManager<Material>(); pm.AddPropertyManager<State>(); Material bbb = new Material("ssss",1.2f); ///((PropertyManager<Material>)Material.propertyManager).addProperty(bbb); State ccc = new State(); ((PropertyManager<State>)State.propertyManager).addProperty(ccc); log = new Log(); CoreTimer.Start(); }