Irrelevant Pixel
  • Introduction / Foreword
  • ↘️Integrating Menu into your game
    • Add to your project
    • Maps and Modes
    • Your Game Instance
    • Play in your Level
    • Turn ON Enhanced Input
    • Mouse functionality
    • Integration completed
  • Getting to know how to use it
    • Creating Page for Options
    • Selector
    • Slider
    • Toggle
    • Keybinder
      • Duplicating Keys
    • Stylizing Interactive Widgets
    • Save your Options
    • End of the Basic Usage Manual
  • Advancing into Internal Structure
    • Core Concepts
    • Page-related things
    • Aspect Ratios + Resolutions
    • Graphics 'Overall Quality'
    • Deeper into (C)Stylizing
    • deleting Dev.Tool
Powered by GitBook
On this page
  • I recommend deleting Dev.Tool and all its related functionality entirely
  • In case you've decided not to have it, lets proceed
  1. Advancing into Internal Structure

deleting Dev.Tool

Last updated 9 months ago

Before I begin this chapter, there is a very important thing you want to know: that this entire Dev.Tool functionality(and its widget in the Menu) could be easily switched On/Off with a single click.

In WBP_Options, open Event Graph, and in the Class Defaults, there is only one Bool variable which controls entire thing:


This whole process takes only several minutes and, you can easily ignore and skip this chapter, but:

I recommend deleting Dev.Tool and all its related functionality entirely

It's intent was mainly for the demonstration purposes. And I mean deleting only this in-game part. Actual Widget Type Selection functionality in the Editor will remain, don't worry.

Why delete it? - for sake of reducing code weight, and decreasing probability of potential bug-prone situations in the future in case you'd like to adjust/extend functional parts of the Modular Options.


In case you've decided not to have it, lets proceed

Now simply follow the steps in which you delete certain things.

Step 1 of 7 removing Dev.Tool itself in Options:

Step 2 of 7 removing it from OptionBase:

Step 3 of 7 removing from Toggle:

Step 4 of 7 removing from Selector:

Step 5 of 7 remove all related functions from the Global Functions:

Step 6 of 7 remove implementations from your Game Instance:

Step 7 of 7 deleting files in Blueprints folder:

And that's it! Good job. Now overall amount of the code significantly reduced!

deleting Dev.Tool widget
deleting Dev.Tool functionality
deleting widget
deleting Dev.Tool functionality
delete
delete
most bug-prone function call
carefully delete those
delete
delete