| | |
| | | protected const byte param_Prefab = 2;
|
| | | protected const byte param_Clip = 4;
|
| | | protected const byte param_AnimatorController = 8;
|
| | | protected const byte param_AnimatorUIController = 16;
|
| | |
|
| | | protected class MountPointInfo
|
| | | {
|
| | |
| | | else
|
| | | {
|
| | | buildParams &= ~param_AnimatorController;
|
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | public static bool IsBuildAnimatorUIController
|
| | | {
|
| | | get
|
| | | {
|
| | | return (buildParams & param_AnimatorUIController) != 0;
|
| | | }
|
| | | set
|
| | | {
|
| | | if (value)
|
| | | {
|
| | | buildParams |= param_AnimatorUIController;
|
| | | }
|
| | | else
|
| | | {
|
| | | buildParams &= ~param_AnimatorUIController;
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | }
|
| | |
|
| | | _absAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, resName, AnimatorControllerLoader.controllerSuffix, outName);
|
| | |
|
| | | string _assetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, resName, AnimatorControllerLoader.controllerSuffix, outName);
|
| | |
|
| | | if (templeName.Equals("Temple_AnimatorController_BossShow"))
|
| | | {
|
| | | _absAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, resName, AnimatorControllerLoader.controllerShowSuffix, resName);
|
| | | _assetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, resName, AnimatorControllerLoader.controllerShowSuffix, resName);
|
| | | }
|
| | |
|
| | | if (templeName.Equals("Temple_AnimatorController_Realm"))
|
| | | {
|
| | | _absAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, resName, AnimatorControllerLoader.controllerRealmSuffix, resName);
|
| | | _assetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, resName, AnimatorControllerLoader.controllerRealmSuffix, resName);
|
| | | }
|
| | |
|
| | | if(templeName.Equals("Temple_AnimatorController_UI"))
|
| | | {
|
| | | _absAssetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutPath, resName, AnimatorControllerLoader.controllerUISuffix, resName);
|
| | | _assetPath = string.Format("{0}Mob/{1}/{2}{3}.controller", ResourcesPath.ResourcesOutAssetPath, resName, AnimatorControllerLoader.controllerUISuffix, resName);
|
| | | }
|
| | |
|
| | | string _templePath = string.Format("{0}Mob/{1}.controller", ResourcesPath.ResourcesOutPath, templeName);
|
| | |
|
| | | if (File.Exists(_absAssetPath))
|