21 lines
360 B
GDScript3
21 lines
360 B
GDScript3
|
class_name Settings extends Node
|
||
|
|
||
|
class CameraSettings:
|
||
|
var is_x_inverted := false
|
||
|
|
||
|
var is_y_inverted := false
|
||
|
|
||
|
var movement_speed_modifier := Vector2(0.5, 0.5)
|
||
|
|
||
|
var rotation_speed_modifier := 0.5
|
||
|
|
||
|
##
|
||
|
##
|
||
|
##
|
||
|
var camera_settings := CameraSettings.new():
|
||
|
get:
|
||
|
return camera_settings
|
||
|
|
||
|
set(_value):
|
||
|
assert(false, "`camera_settings` is not re-assignable")
|