コード例 #1
0
ファイル: V_Animation.cs プロジェクト: HoaTo01/CS360_Project
        public static void Init()
        {
            if (isInit)
            {
                return;
            }
            isInit = true;
#if !SILENT
            Debug.Log("V_Animation.Init " + DATA_LOCATION);
#endif

            System.Threading.Thread.CurrentThread.CurrentCulture   = new System.Globalization.CultureInfo("en-US");
            System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");

            if (DATA_LOCATION == DataLocation.Assets)
            {
                Init_Folders();
            }
            else
            {
                //UnitAnim.RenameAnimationsInResources(); // Run once when updating resources folder
            }

            UVType.Init();
            UnitAnim.Init();
            UnitAnimType.Init();
        }
コード例 #2
0
        public static void Init()
        {
            if (isInit)
            {
                return;
            }
            isInit = true;
#if !SILENT
            Debug.Log("V_Animation.Init " + DATA_LOCATION);
#endif
            if (DATA_LOCATION == DataLocation.Assets)
            {
                Init_Folders();
            }
            UVType.Init();
            UnitAnim.Init();
            UnitAnimType.Init();
        }
コード例 #3
0
        public static void Init()
        {
            if (isInit)
            {
                return;
            }
            isInit = true;
#if !SILENT
            Debug.Log("V_Animation.Init " + DATA_LOCATION);
#endif
            if (DATA_LOCATION == DataLocation.Assets)
            {
                Init_Folders();
            }
            else
            {
                //UnitAnim.RenameAnimationsInResources(); // Run once when updating resources folder
            }

            UVType.Init();
            UnitAnim.Init();
            UnitAnimType.Init();
        }