private static SimpleBatcherConfig GetInstance() { if (s_Instance != null) { return(s_Instance); } string path = GetConfigPath(); s_Instance = AssetDatabase.LoadAssetAtPath <SimpleBatcherConfig>(path); if (s_Instance == null) { s_Instance = CreateInstance <SimpleBatcherConfig>(); AssetDatabase.CreateAsset(s_Instance, path); } return(s_Instance); }
public SimpleBatcherOption(string groupName) { data = SimpleBatcherConfig.Get(groupName); }
private void SceneManager_sceneLoaded(Scene scene, LoadSceneMode mode) { s_Instance = null; }