Inheritance: MonoBehaviour
コード例 #1
0
 void Awake()
 {
     // cache components to save on performance
     _transform = transform;
     _animator = this.GetComponent<Animator>();
     character = this.GetComponent<Player1Controls>();
 }