public override void OnSetup() { base.OnSetup(); _data = _actor.GetData <PlayerInputData>(); _input = new ArcanoidInput(); _input.Player.SetCallbacks(this); }
public override void OnSetup() { base.OnSetup(); _inputData = _actor.GetData <PlayerInputData>(); _body = GetComponent <Rigidbody2D>(); }