Answers for "change trail color in script"

C#
0

change trail color in script

TrailRenderer myTrailRenderer = GetComponent<TrailRenderer>(); 
 myTrailRenderer.material.color = myColor;
 myTailRenderer.startColor = Color.white;
 myTailRenderer.endColor = new Color (0.35f, 1f, 0.75f);
Posted by: Guest on September-16-2020

C# Answers by Framework

Browse Popular Code Answers by Language