mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Fix mixed use of tabs and spaces in indented blocks
4-space is our convention for indented blocks and should be used consistently. The only exception is for C++ code which is tab-indented, as the engine code.
This commit is contained in:
@@ -326,8 +326,8 @@ it sets the color as a pure red instead.
|
||||
|
||||
::
|
||||
|
||||
var material = SpatialMaterial.new()
|
||||
material.albedo_color = color
|
||||
var material = SpatialMaterial.new()
|
||||
material.albedo_color = color
|
||||
|
||||
This part makes a new :ref:`SpatialMaterial<class_SpatialMaterial>` that is the
|
||||
imported resource. We create a new instance of it and then set its albedo color
|
||||
|
||||
Reference in New Issue
Block a user