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

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