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