Ejemplo n.º 1
0
        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();
        }
Ejemplo n.º 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();
        }
Ejemplo n.º 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();
        }