コード例 #1
0
 public override void Initialise()
 {
     _positionChaserBehaviour = new PositionChaserBehaviour(FlightShip, Transform, _playerShip.Entity.Get <Transform>().Location)
     {
         CatchupSpeed = 0.1f
     };
     _takeAimBehaviour = new TakeAimBehaviour(_playerShip, FlightShip, Transform)
     {
         RotationRate = 0.004f
     };
 }
コード例 #2
0
ファイル: BanditBrain.cs プロジェクト: sami016/EnterTheVoid
        public override void Initialise()
        {
            _positionChaserBehaviour = new PositionChaserBehaviour(FlightShip, Transform, _playerShip.Entity.Get <Transform>().Location)
            {
                CatchupSpeed = 0.1f
            };
            _takeAimBehaviour = new TakeAimBehaviour(_playerShip, FlightShip, Transform);

            _deathRunBehaviour = new DeathRunBehaviour(FlightShip, _playerShip, _positionChaserBehaviour)
            {
                SectionLowBound = 5
            };
        }