private void Awake()
 {
     if (model == null)
     {
         model = GetComponent <CharacterModelBase>();
     }
     Init();
 }
示例#2
0
 private void Awake()
 {
     if (model == null)
     {
         model = GetComponent <CharacterModelBase>();
     }
     if (animator == null)
     {
         animator = GetComponent <Animator>();
     }
 }