ActivateCurrentOffMeshLink() приватный Метод

private ActivateCurrentOffMeshLink ( bool activated ) : void
activated bool
Результат void
 static public int ActivateCurrentOffMeshLink(IntPtr l)
 {
     try {
         UnityEngine.AI.NavMeshAgent self = (UnityEngine.AI.NavMeshAgent)checkSelf(l);
         System.Boolean a1;
         checkType(l, 2, out a1);
         self.ActivateCurrentOffMeshLink(a1);
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int ActivateCurrentOffMeshLink(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.AI.NavMeshAgent obj = (UnityEngine.AI.NavMeshAgent)ToLua.CheckObject(L, 1, typeof(UnityEngine.AI.NavMeshAgent));
         bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.ActivateCurrentOffMeshLink(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }