public static ConfigAtmosphereSeries LoadFromFileAndDetach(string path) { ConfigAtmosphereSeries series = UnityEngine.Object.Instantiate <ConfigAtmosphereSeries>(ConfigUtil.LoadConfig <ConfigAtmosphereSeries>(path)); series.InitAfterLoad(); series._path = path; return(series); }
public static ConfigAtmosphereSeries LoadFromFile(string path) { ConfigAtmosphereSeries series = ConfigUtil.LoadConfig <ConfigAtmosphereSeries>(path); series.InitAfterLoad(); series._path = path; return(series); }