Exemplo n.º 1
0
 private void Awake()
 {
     _rb        = GetComponent <Rigidbody2D>();
     _sr        = GetComponent <SpriteRenderer>();
     _keyBinder = GetComponent <KeyboardKeyBinder>();
 }
Exemplo n.º 2
0
 private void Awake()
 {
     _rb        = GetComponent <Rigidbody2D>();
     _keyBinder = GetComponent <KeyboardKeyBinder>();
     _JumpsLeft = MaxJumps;
 }
Exemplo n.º 3
0
 private void Awake()
 {
     _spr       = GetComponent <SpriteRenderer>();
     _keyBinder = GetComponent <KeyboardKeyBinder>();
 }