We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32d1be5 commit 4530c98Copy full SHA for 4530c98
BepInEx.IL2CPP/Utils/MonoBehaviourExtensions.cs
@@ -0,0 +1,14 @@
1
+using System.Collections;
2
+using BepInEx.IL2CPP.Utils.Collections;
3
+using UnityEngine;
4
+
5
+namespace BepInEx.IL2CPP.Utils
6
+{
7
+ public static class MonoBehaviourExtensions
8
+ {
9
+ public static Coroutine StartCoroutine(this MonoBehaviour self, IEnumerator coroutine)
10
11
+ return self.StartCoroutine(coroutine.WrapToIl2Cpp());
12
+ }
13
14
+}
0 commit comments