Lua test.
This commit is contained in:
@@ -11,4 +11,4 @@ entityPositionSetPosition(ENTITY_ID, posComp, vec3(1, 2, 3))
|
||||
-- Material
|
||||
local matComp = entityAddComponent(ENTITY_ID, COMPONENT_TYPE_MATERIAL)
|
||||
local material = entityMaterialGetShaderMaterial(ENTITY_ID, matComp)
|
||||
material.unlit.color = COLOR_BLUE
|
||||
material.unlit.color = colorBlue()
|
||||
Reference in New Issue
Block a user