Example #1
0
 public void SetColor(Color colorMaterial, Color colorTrailMaterial)
 {
     replacementRenderer.SetMaterialPropertyColor(SingleColorMaterial.COLOR_PROPERTY, colorMaterial, ReplacementRendererParticle.MaterialType.Material);
     replacementRenderer.SetMaterialPropertyColor(SingleColorMaterial.COLOR_PROPERTY, colorTrailMaterial, ReplacementRendererParticle.MaterialType.TrailMaterial);
 }
Example #2
0
 public void SetColor(Color color)
 {
     replacementRenderer.SetMaterialPropertyColor(SingleColorMaterial.COLOR_PROPERTY, color);
 }