Beispiel #1
0
        public override void OnSetup()
        {
            base.OnSetup();
            _data = _actor.GetData <PlayerInputData>();

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