public virtual void UnInit() { _objectFactory = null; RemoveALl(); }
/// <summary> /// if not factory assigned, this manager is unable to generate new actor. /// </summary> /// <param name="factory"></param> public virtual void Init(BaseObjectFactory <TEnum, T> factory = null) { _objectFactory = factory; _allObject = new Dictionary <ulong, T>(); }