Escape By Any Means Devlog pt19


This is the options menu.

The options menu consists of a controls button, sensitivity slider, volume slider and key remapping button.

The controls button opens another panel which shows the player the current controls.

The controls script gets the input actions and the getbindingdisplaystring of each of the specified action. This allows it to update after you remap keys.

The sensitivity and volume slider both use playerprefs so that the values are saved when reloading. 

The sensitivity slider changes the rate of rotation of the camera and player.

The volume slider changes the volume of the audiolistener in the scene.

The key remap button opens another panel which displays 3 options: Invisibility rebind, smoke rebind and aim rebind.

The player is able to change the controls for these 3 actions. This is done by using RebindingOperations.

Get Escape By Any Means