Exemple #1
0
 public static ObjcetPoolManager Instance(GameConsole gc = null)
 {
     if (instance == null)
     {
         lock (padlock)
         {
             // 如果类的实例不存在则创建,否则直接返回
             if (instance == null)
             {
                 instance = new ObjcetPoolManager();
                 GC       = gc;
             }
         }
     }
     return(instance);
 }
Exemple #2
0
 internal void GenerateScene(MapView mv, ObjcetPoolManager OPM)
 {
     Vector3 lp = mv.LeftTopPoint;
     // OPM.GetGameObject(CELL_POOL, );
 }