UnityEngine.MonoBehaviour.StopCoroutine C# (CSharp) Method

StopCoroutine() public method

public StopCoroutine ( string methodName ) : void
methodName string
return void
        public void StopCoroutine(string methodName)
        {
            AssertNull();
            throw new NotImplementedException();
        }
        

Usage Example

コード例 #1
0
 static public int StopCoroutine(IntPtr l)
 {
     try {
         int argc = LuaDLL.lua_gettop(l);
         if (matchType(l, argc, 2, typeof(UnityEngine.Coroutine)))
         {
             UnityEngine.MonoBehaviour self = (UnityEngine.MonoBehaviour)checkSelf(l);
             UnityEngine.Coroutine     a1;
             checkType(l, 2, out a1);
             self.StopCoroutine(a1);
             return(0);
         }
         else if (matchType(l, argc, 2, typeof(System.Collections.IEnumerator)))
         {
             UnityEngine.MonoBehaviour      self = (UnityEngine.MonoBehaviour)checkSelf(l);
             System.Collections.IEnumerator a1;
             checkType(l, 2, out a1);
             self.StopCoroutine(a1);
             return(0);
         }
         else if (matchType(l, argc, 2, typeof(string)))
         {
             UnityEngine.MonoBehaviour self = (UnityEngine.MonoBehaviour)checkSelf(l);
             System.String             a1;
             checkType(l, 2, out a1);
             self.StopCoroutine(a1);
             return(0);
         }
         return(error(l, "No matched override function to call"));
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
All Usage Examples Of UnityEngine.MonoBehaviour::StopCoroutine