コード例 #1
0
 void Awake()
 {
     _characterController = GetComponent <CharacterController>();
     _inputController     = GetComponent <IInputController>();
     _ledgeSensor         = GetComponent <LedgeSensor>();
     _animationController = GetComponent <PlayerAnimationController>();
 }
コード例 #2
0
 protected void Awake()
 {
     _ledgeSensor = GetComponent <LedgeSensor>();
 }