コード例 #1
0
ファイル: ProceduralFlower.cs プロジェクト: rstorj/creative
 public void Init()
 {
     mesh = shape.Build();
     if (material == null)
     {
         Debug.LogWarning("ShapeData material is null");
     }
 }
コード例 #2
0
 void Start()
 {
     GetComponent <MeshFilter>().mesh = shape.Build();
 }