ActivateCurrentOffMeshLink() private method

private ActivateCurrentOffMeshLink ( bool activated ) : void
activated bool
return void
コード例 #1
0
 static public int ActivateCurrentOffMeshLink(IntPtr l)
 {
     try {
         UnityEngine.NavMeshAgent self = (UnityEngine.NavMeshAgent)checkSelf(l);
         System.Boolean           a1;
         checkType(l, 2, out a1);
         self.ActivateCurrentOffMeshLink(a1);
         return(0);
     }
     catch (Exception e) {
         LuaDLL.luaL_error(l, e.ToString());
         return(0);
     }
 }
コード例 #2
0
 static public int ActivateCurrentOffMeshLink(IntPtr l)
 {
     try {
         UnityEngine.NavMeshAgent self = (UnityEngine.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));
     }
 }
コード例 #3
0
 static int ActivateCurrentOffMeshLink(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         UnityEngine.NavMeshAgent obj = (UnityEngine.NavMeshAgent)ToLua.CheckObject(L, 1, typeof(UnityEngine.NavMeshAgent));
         bool arg0 = LuaDLL.luaL_checkboolean(L, 2);
         obj.ActivateCurrentOffMeshLink(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }