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