Example #1
0
 // Start is called before the first frame update
 void Start()
 {
     pVel         = GetComponent <IPlayerVelocity>();
     gCheck       = GetComponent <ICheckGround>();
     rb           = GetComponent <Rigidbody2D>();
     currentParav = fallParav;
 }
Example #2
0
 public GroundChecker(CharacterController characterController)
 {
     CharacterController = characterController;
     _checkGround        = new CheckGround();
 }