| | |
| | | using UnityEngine; |
| | | using TableConfig; |
| | | |
| | | |
| | | #if UNITY_EDITOR |
| | | using UnityEditor; |
| | |
| | | public static readonly string controllerSuffix = "AnimatorController_"; |
| | | public static readonly string controllerUISuffix = "AnimatorController_UI_"; |
| | | public static readonly string controllerShowSuffix = "AnimatorController_Show_"; |
| | | public static readonly string controllerRealmSuffix = "AnimatorController_Realm_"; |
| | | |
| | | public static AnimationClip LoadAnimationClip(string name, string clipName) |
| | | { |
| | |
| | | public static RuntimeAnimatorController Load(string suffix, int id) |
| | | { |
| | | RuntimeAnimatorController _controller = null; |
| | | ModelResConfig _modelRes = ConfigManager.Instance.GetTemplate<ModelResConfig>(id); |
| | | ModelResConfig _modelRes = ModelResConfig.Get(id); |
| | | string _name = _modelRes.ResourcesName; |
| | | if (_name.IndexOf('/') != -1) |
| | | { |