khanat-client/scenes/interfaces/focus_reticle.gd

10 lines
186 B
GDScript3
Raw Permalink Normal View History

tool
extends MeshInstance
class_name focus_reticle
export( Vector2 ) var size = Vector2( 1.0, 1.0 ) setget set_size
func set_size( p_value ):
2021-06-22 16:22:58 +00:00
size = p_value
self.mesh.size = p_value