| | |
| | | {
|
| | | _controller = AnimatorControllerLoader.LoadMobController(AnimatorControllerLoader.controllerSuffix, NpcConfig.MODE);
|
| | | }
|
| | | m_Animator.runtimeAnimatorController = _controller;
|
| | |
|
| | | if (_controller)
|
| | | {
|
| | | m_Animator.runtimeAnimatorController = _controller;
|
| | | }
|
| | |
|
| | | m_Animator.enabled = true;
|
| | | m_Animator.SetInteger(GAStaticDefine.Param_ActorInstID, (int)clientInstID);
|
| | |
| | | _controller = AnimatorControllerLoader.LoadMobController(AnimatorControllerLoader.controllerSuffix, NpcConfig.MODE);
|
| | |
|
| | | }
|
| | | m_Animator.runtimeAnimatorController = _controller;
|
| | |
|
| | | if (_controller)
|
| | | {
|
| | | m_Animator.runtimeAnimatorController = _controller;
|
| | | }
|
| | |
|
| | | m_Animator.enabled = true;
|
| | |
|
| | |
| | | {
|
| | | _controller = AnimatorControllerLoader.LoadMobController(AnimatorControllerLoader.controllerSuffix, _npcConfig.MODE);
|
| | | }
|
| | |
|
| | | if (_controller)
|
| | | {
|
| | | _a.runtimeAnimatorController = _controller;
|
| | | }
|
| | | _a.enabled = true;
|
| | | _a.SetInteger(GAStaticDefine.Param_ActorInstID, (int)ClientInstID);
|
| | | m_Animator.enabled = false;
|
| | |
| | | {
|
| | | _controller = AnimatorControllerLoader.LoadMobController(AnimatorControllerLoader.controllerSuffix, NpcConfig.MODE);
|
| | | }
|
| | | m_Animator.runtimeAnimatorController = _controller;
|
| | | if (_controller)
|
| | | {
|
| | | m_Animator.runtimeAnimatorController = _controller;
|
| | | }
|
| | | m_Animator.enabled = true;
|
| | | m_Animator.SetInteger(GAStaticDefine.Param_ActorInstID, (int)clientInstID);
|
| | | }
|
| | |
| | | {
|
| | | _controller = AnimatorControllerLoader.LoadMobController(AnimatorControllerLoader.controllerSuffix, _modelResConfig.ResourcesName);
|
| | | }
|
| | |
|
| | | m_HorseAnimator.runtimeAnimatorController = _controller;
|
| | | if (_controller)
|
| | | {
|
| | | m_HorseAnimator.runtimeAnimatorController = _controller;
|
| | | }
|
| | | m_HorseAnimator.enabled = true;
|
| | |
|
| | | // 先设置根节点
|