예제 #1
0
 public virtual void Evict()
 {
     Neighbors.Clear();
     PoolManager.GetObjectPool <Dictionary <FaceDirection, IChunk> >().Push(Neighbors);
     PoolManager.GetMonoBehaviourPool(ConfigManager.UnityProperties.ChunkPhysicsTarget).Push(_physicsTarget);
     _physicsTarget = null;
 }
예제 #2
0
 public void AttachPhysicsTarget(ChunkPhysicsTarget target)
 {
     _physicsTarget = target;
 }