示例#1
0
        protected override void OnInitialize()
        {
            base.OnInitialize();
            RotateTable rotateTable = GetDebugRotateTable();

            Turret turret = GetDebugRoundTurret();

            RegisterTurretController(turret.GetController());

            rotateTable.GetEquipmentsHolder().AddEquipment(turret, Vector3.zero);
            GetEquipmentsHolder().AddEquipment(rotateTable, Vector3.zero);
        }