mirror of
https://github.com/Relintai/material-maker.git
synced 2024-11-13 06:27:18 +01:00
12 lines
232 B
GDScript3
12 lines
232 B
GDScript3
|
extends MMGenBase
|
||
|
class_name MMGenMaterial
|
||
|
|
||
|
func generate_material():
|
||
|
print("Generating material")
|
||
|
var material = SpatialMaterial.new()
|
||
|
return material
|
||
|
|
||
|
func initialize(data: Dictionary):
|
||
|
if data.has("name"):
|
||
|
name = data.name
|