예제 #1
0
 public void UpdateMaterial()
 {
     if (Model != null)
     {
         Model.SetMaterial(Material);
     }
 }
예제 #2
0
    public void UpdateModel()
    {
        if (Model == null)
        {
            Model = SgtFlareModel.Create(this);

            Model.SetMesh(Mesh);
            Model.SetMaterial(Material);
        }
    }