static void CreateInstanceIfNeeded()
 {
     if (instance == null)
     {
         instance = new EditorCoroutines();
         instance.Initialize();
     }
 }
        private void RecreateTables()
        {
            dataPerSheet = new Dictionary <string, Dictionary <int, JsonData> >();

            foreach (var parser in SpreadSheetParsersByName)
            {
                Dictionary <int, JsonData> datas = parser.Value.GetTableDataSeparatedByRow();
                dataPerSheet.Add(parser.Key, datas);
            }

            SendingData = true;
            EditorCoroutines.StartCoroutine(RecreateTable(), this);
        }
 public static EditorCoroutines.EditorCoroutine StartCoroutine(this EditorWindow thisRef, IEnumerator coroutine)
 {
     return(EditorCoroutines.StartCoroutine(coroutine, thisRef));
 }
 public static void StopAllCoroutines(this EditorWindow thisRef)
 {
     EditorCoroutines.StopAllCoroutines(thisRef);
 }
 public static void StopCoroutine(this EditorWindow thisRef, string methodName)
 {
     EditorCoroutines.StopCoroutine(methodName, thisRef);
 }
 public static void StopCoroutine(this EditorWindow thisRef, IEnumerator coroutine)
 {
     EditorCoroutines.StopCoroutine(coroutine, thisRef);
 }
 public static EditorCoroutines.EditorCoroutine StartCoroutine(this EditorWindow thisRef, string methodName,
                                                               object value)
 {
     return(EditorCoroutines.StartCoroutine(methodName, value, thisRef));
 }