/// <summary>
 /// Stops all coroutines running on the passed instance.</summary>
 /// <param name="thisReference">Reference to the instance of the class containing the method.</param>
 public static void StopAllCoroutines(object thisReference)
 {
     CreateInstanceIfNeeded();
     instance.GoStopAllCoroutines(thisReference);
 }