Exemple #1
0
 void Start()
 {
     animator   = GetComponentInChildren <Animator>();
     input      = GetComponent <InputDetection>();
     controller = GetComponent <CharacterController>();
 }
Exemple #2
0
 void Update()
 {
     DebugExtension.DebugPoint(cameraRig.Point, Color.red);
     InputDetection.InteractHold(() => { HandleHoldInput(); });
 }
 private void Awake()
 {
     instance = this;
 }