WorldSceneValidator ​
Inherits: RefCounted
Utility class for validating WorldScene context in editor Used by NPC, InteractableObject, and Trigger area to ensure they're in a valid map
Methods ​
bool | is_in_valid_world_scene( node: Node ) static |
WorldScene | get_world_scene( node: Node ) static |
int | get_world_id( node: Node ) static |
Method descriptions ​
bool is_in_valid_world_scene( node: Node ) ​
Check if a node is within a valid WorldScene context
WorldScene get_world_scene( node: Node ) ​
Get the WorldScene node that contains this node
int get_world_id( node: Node ) ​
Get the map_id from the WorldScene containing this node