khanat-client/scenes/interfaces/focus_reticle.gd
2021-03-23 23:24:40 +01:00

13 lines
245 B
GDScript

tool
extends MeshInstance
class_name focus_reticle
export( Vector2 ) var size = Vector2( 1.0, 1.0 ) setget set_size
func set_size( p_value ):
size = p_value
self.mesh.size = p_value
func _on_attack_delay_timeout():
self.can_attack = true