1
0
mirror of https://github.com/xiaopeng12138/MaiDXR.git synced 2024-12-18 11:55:52 +01:00
MaiDXR/Assets/Scripts/Configs/JsonConfigBehavior.cs

18 lines
399 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class JsonConfigBehavior : MonoBehaviour
{
public static JsonConfigBehavior instance;
void Awake()
{
instance = this;
}
public static void saveFile()
{
instance.StopCoroutine(JsonConfig.saveFileWait());
instance.StartCoroutine(JsonConfig.saveFileWait());
}
}