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