created fog of war
This commit is contained in:
6
addons/godot_debug_environments/debug_environment_lib.gd
Normal file
6
addons/godot_debug_environments/debug_environment_lib.gd
Normal file
@@ -0,0 +1,6 @@
|
||||
class_name DebugEnvironmentLib extends Object
|
||||
|
||||
const debug_environment_path = "res://editor/debug_environments/debug_env_$SCENE$"
|
||||
|
||||
static func get_debug_path(node:Node) -> String:
|
||||
return debug_environment_path.replace("$SCENE$", node.scene_file_path.get_file())
|
||||
Reference in New Issue
Block a user