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))); }
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))); }