Question: It's close but trying to fix this C# script to produce a dropdown to change the color of my object, please advise. DISCORD - IX

 It's close but trying to fix this C# script to produce

It's close but trying to fix this C# script to produce a dropdown to change the color of my object, please advise.

DISCORD - IX Get Homework Help With Che X + NSU Computer Science assignment-2 3 Search e o Not syncing II. you d Exer Di Wildversale EDITORA Study Pack Help public prostoon dropdown Teacher publittle Net: publiek puhalten STUDENT-17 4203 SO Rotator.com Play.cs Pause.cs ChangeColor ChangeColor.cs' + x Level Complete.cs Game Manager.cs Assembly-CSharp 6 E public class changeColor : MonoBehaviour 7 { public Dropdown dropdown; 9 public GameObject Player; 8 9 Cloud 10 11 12 13 14 15 16 17 Color[] colors; public Material Red; public Material Blue; public Material Green; ergrad21 Renderer thisRend; Sleeper Unity Message lo references void Start() { thisRend - GetComponent(); colors - new Color[3]; colors[1] - Color.red; colors[2] - Color.blue; colors(3) - Color.green: } 18 19 20 21 22 23 24 25 26 27 28 29 ade BOT Continue DT 4223 GAN } Open original Nate Sullivan teacher-questions that's what I may have to do in case this doesn't work Nicholas King CUSTOMER SERVICE Cusline Service Ryan Griggs and TEST PRE i didnt use a Color array assignment-2 Smokinpace199 + GIF Thisisme Winning Computergr.. #855 I wil lexili Telplit Plus Merwe Study Subscup Relum ky Type here to search O BI 1:48 PM 2/12/2021 DISCORD - IX Get Homework Help With Che X + NSU Computer Science assignment-2 3 Search e o Not syncing II. you d Exer Di Wildversale EDITORA Study Pack Help public prostoon dropdown Teacher publittle Net: publiek puhalten STUDENT-17 4203 SO Rotator.com Play.cs Pause.cs ChangeColor ChangeColor.cs' + x Level Complete.cs Game Manager.cs Assembly-CSharp 6 E public class changeColor : MonoBehaviour 7 { public Dropdown dropdown; 9 public GameObject Player; 8 9 Cloud 10 11 12 13 14 15 16 17 Color[] colors; public Material Red; public Material Blue; public Material Green; ergrad21 Renderer thisRend; Sleeper Unity Message lo references void Start() { thisRend - GetComponent(); colors - new Color[3]; colors[1] - Color.red; colors[2] - Color.blue; colors(3) - Color.green: } 18 19 20 21 22 23 24 25 26 27 28 29 ade BOT Continue DT 4223 GAN } Open original Nate Sullivan teacher-questions that's what I may have to do in case this doesn't work Nicholas King CUSTOMER SERVICE Cusline Service Ryan Griggs and TEST PRE i didnt use a Color array assignment-2 Smokinpace199 + GIF Thisisme Winning Computergr.. #855 I wil lexili Telplit Plus Merwe Study Subscup Relum ky Type here to search O BI 1:48 PM 2/12/2021

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!