mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix EditorScenePostImport templates for C#
This commit is contained in:
@@ -5,7 +5,5 @@ extends EditorScenePostImport
|
||||
|
||||
# Called by the editor when a scene has this script set as the import script in the import tab.
|
||||
func _post_import(scene: Node) -> Object:
|
||||
# Modify the contents of the scene upon import. For example, setting up LODs:
|
||||
# (scene.get_node(^"HighPolyMesh") as MeshInstance3D).draw_distance_end = 5.0
|
||||
# (scene.get_node(^"LowPolyMesh") as MeshInstance3D).draw_distance_begin = 5.0
|
||||
# Modify the contents of the scene upon import.
|
||||
return scene # Return the modified root node when you're done.
|
||||
|
||||
Reference in New Issue
Block a user