mirror of
https://gitlab.com/open-fpsz/open-fpsz.git
synced 2026-07-13 07:25:06 +00:00
👽 interstellar delivery
This commit is contained in:
parent
547c97bfba
commit
97c8292858
257 changed files with 7309 additions and 4637 deletions
14
addons/terrain_3d/utils/transform_changed_notifier.gd
Normal file
14
addons/terrain_3d/utils/transform_changed_notifier.gd
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
@tool
|
||||
extends Node3D
|
||||
|
||||
signal transform_changed
|
||||
|
||||
|
||||
func _ready() -> void:
|
||||
assert(Engine.is_editor_hint())
|
||||
set_notify_transform(true)
|
||||
|
||||
|
||||
func _notification(what: int) -> void:
|
||||
if what == NOTIFICATION_TRANSFORM_CHANGED:
|
||||
transform_changed.emit()
|
||||
Loading…
Add table
Add a link
Reference in a new issue