Fix mesh.color
not working on polysec
.
This commit is contained in:
@@ -24,11 +24,10 @@ namespace Cryville.Crtr.Components {
|
||||
}
|
||||
|
||||
public override void Init() {
|
||||
base.Init();
|
||||
lineRenderer = gameObject.AddComponent<LineRenderer>();
|
||||
lineRenderer.materials = materials = new Material[] { MeshWrapper.NewMaterial() };
|
||||
Width = Width;
|
||||
UpdateColor();
|
||||
base.Init();
|
||||
}
|
||||
|
||||
protected override void UpdateColor() {
|
||||
|
Reference in New Issue
Block a user