示例#1
0
 public virtual void Initialize(CharacterParameterModel model)
 {
     this.characterMove = GetComponent<CharacterMove>();
     this.animationController = new AnimationController();
     animationController.SetAnimator(transform.FindChild("Model").GetComponent<Animator>());
     hud = transform.FindChild("HUD").GetComponent<CharacterHUD>();
     hud.InitHUD();
     InitCharacterParam (model);
     canMove = true;
     isInitialized = true;
     canDrag = true;
     ChangeState(ActionState.Idle);
 }