Exemplo n.º 1
0
        private static void StepLoadAnimGroups()
        {
            foreach (var path in Config.GetPaths("anim_groups_paths"))
            {
                AnimationGroup.Load(ArchiveManager.PathToCaseSensitivePath(path));
            }

            // load custom anim groups from resources
            TextAsset textAsset = Resources.Load <TextAsset>("Data/auxanimgrp");

            AnimationGroup.LoadFromStreamReader(new StreamReader(new MemoryStream(textAsset.bytes)));
        }
Exemplo n.º 2
0
        private static void StepLoadAnimGroups()
        {
            foreach (string fileName in Config.Get <string[]>("anim_group_files"))
            {
                AnimationGroup.Load(fileName);
            }

            // load custom anim groups from resources
            TextAsset textAsset = Resources.Load <TextAsset>("Data/auxanimgrp");

            AnimationGroup.LoadFromStreamReader(new StreamReader(new MemoryStream(textAsset.bytes)));
        }