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