コード例 #1
0
 public virtual void UnInit()
 {
     _objectFactory = null;
     RemoveALl();
 }
コード例 #2
0
 /// <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>();
 }