enhancement: description comments for Inspector exports
This commit is contained in:
@@ -14,10 +14,15 @@ var mouse_n_minus_one_location: Vector2
|
|||||||
var time_since_first_location: float = -1
|
var time_since_first_location: float = -1
|
||||||
|
|
||||||
# Export variables, for ease of setting without going into the code
|
# Export variables, for ease of setting without going into the code
|
||||||
|
## adjusts how much velocity you want to have on a slide, a higher number = less velocity
|
||||||
@export var velocity_coeffecient: int = 500
|
@export var velocity_coeffecient: int = 500
|
||||||
|
## the maximum displacement of the item, to the right
|
||||||
@export var max_x: int = 1000
|
@export var max_x: int = 1000
|
||||||
|
## the minimum displacement, can be adjusted to accomodate margins
|
||||||
@export var min_x: int = 0
|
@export var min_x: int = 0
|
||||||
|
## ease out time for the velocity curve
|
||||||
@export var ease_out_time: float = 0.5
|
@export var ease_out_time: float = 0.5
|
||||||
|
## whether you want the UI to bounce
|
||||||
@export var bounce: bool = false
|
@export var bounce: bool = false
|
||||||
|
|
||||||
func _ready() -> void:
|
func _ready() -> void:
|
||||||
|
|||||||
Reference in New Issue
Block a user