File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
addons/godot-xr-tools/audio Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 33class_name XRToolsSurfaceAudio
44extends Node
55
6-
76## XRTools Surface Audio Node
87##
98## This node is attached as a child of a StaticObject to give it a surface
109## audio type. This will cause the XRToolsMovementFootStep to play the correct
1110## foot-step sounds when walking on the object.
1211
13-
1412## XRToolsSurfaceAudioType to associate with this surface
15- @export var surface_audio_type : XRToolsSurfaceAudioType
13+ @export var surface_audio_type : XRToolsSurfaceAudioType
1614
1715
18- # Add support for is_class on XRTools classes
19- func is_xr_class (xr_name : String ) -> bool :
16+ ## Add support for is_class on XRTools classes
17+ func is_xr_class (xr_name : String ) -> bool :
2018 return xr_name == "XRToolsSurfaceAudio"
2119
2220
23- # This method checks for configuration issues.
21+ # Checks for configuration issues.
2422func _get_configuration_warnings () -> PackedStringArray :
2523 var warnings := PackedStringArray ()
2624
2725 # Verify the camera
28- if ! surface_audio_type :
26+ if not surface_audio_type :
2927 warnings .append ("Surface audio type not specified" )
3028
3129 # Return warnings
You can’t perform that action at this time.
0 commit comments