Pathfinding.Path.OnEnterPool C# (CSharp) Méthode

OnEnterPool() public méthode

public OnEnterPool ( ) : void
Résultat void
		public virtual void OnEnterPool () {
			if (vectorPath != null) Pathfinding.Util.ListPool<Vector3>.Release (vectorPath);
			if (path != null) Pathfinding.Util.ListPool<GraphNode>.Release (path);
			vectorPath = null;
			path = null;
		}

Usage Example

 static int OnEnterPool(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         Pathfinding.Path obj = (Pathfinding.Path)ToLua.CheckObject <Pathfinding.Path>(L, 1);
         obj.OnEnterPool();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
All Usage Examples Of Pathfinding.Path::OnEnterPool