| | |
| | | public const int Act_Skill7 = 27;
|
| | | public const int Act_Skill8 = 28;
|
| | | public const int Act_Dazuo = 100;
|
| | | public const int Act_Transmit = 150;
|
| | | public const int Act_Show = 200;
|
| | | public const int Act_Warn = 300;
|
| | | public const int Act_Collect = 400;
|
| | |
| | | {
|
| | | if (clothesAnimator)
|
| | | {
|
| | | clothesAnimator.Play(GAStaticDefine.State_Transmit);
|
| | | clothesAnimator.SetInteger(GAStaticDefine.Param_Action, GAStaticDefine.Act_Transmit);
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | {
|
| | | if (clothesAnimator)
|
| | | {
|
| | | clothesAnimator.Play(GAStaticDefine.State_SitDown);
|
| | | clothesAnimator.SetInteger(GAStaticDefine.Param_Action, GAStaticDefine.Act_Dazuo);
|
| | | }
|
| | | }
|
| | |
|
| | |
| | | clothesAnimator.runtimeAnimatorController = cacheClothedAC;
|
| | | cacheClothedAC = null;
|
| | | }
|
| | | clothesAnimator.enabled = false;
|
| | | clothesAnimator = null;
|
| | | }
|
| | | }
|
| | |
| | | var animator = clothesModel.GetComponent<Animator>();
|
| | | if (animator)
|
| | | {
|
| | | animator.Play(GAStaticDefine.State_IdleHash);
|
| | | animator.SetInteger(GAStaticDefine.Param_Action, GAStaticDefine.Act_Idle);
|
| | | }
|
| | | }
|
| | | }
|
| | |
| | | var animator = clothesModel.GetComponent<Animator>();
|
| | | if (animator)
|
| | | {
|
| | | animator.Play(GAStaticDefine.State_SitDown);
|
| | | animator.SetInteger(GAStaticDefine.Param_Action, GAStaticDefine.Act_Dazuo);
|
| | | }
|
| | | }
|
| | |
|