Beispiel #1
0
 void Awake()
 {
     data        = GameSettings.Instance.GetShipMovementData(type);
     rb          = GetComponent <Rigidbody2D>();
     input       = GetComponent <PlayerControlInput>();
     playerInput = GetComponent <PlayerInput>();
     ResetShipDamage();
 }
Beispiel #2
0
 private void Awake()
 {
     shipMovementData = GetComponent <ShipMovementData>();
 }