コード例 #1
0
        public static ConfigAtmosphereSeries LoadFromFileAndDetach(string path)
        {
            ConfigAtmosphereSeries series = UnityEngine.Object.Instantiate <ConfigAtmosphereSeries>(ConfigUtil.LoadConfig <ConfigAtmosphereSeries>(path));

            series.InitAfterLoad();
            series._path = path;
            return(series);
        }
コード例 #2
0
        public static ConfigAtmosphereSeries LoadFromFile(string path)
        {
            ConfigAtmosphereSeries series = ConfigUtil.LoadConfig <ConfigAtmosphereSeries>(path);

            series.InitAfterLoad();
            series._path = path;
            return(series);
        }