Question: Directions...In the Video 1 Unity package is a scene calledSeeSide. It's similar to Scene 3 . Your job will be to add code to the

Directions...In the Video 1 Unity package is a scene called"SeeSide." It's similar to Scene 3. Your job will be to add code to the SeeSide class that does each of these things: Count and print out (using Debug.Log) the total amount of red in the picture. That is, add up the red shades in all the pixels. Count and print out the total amount of blue in the top half of the picture, and the total amount of blue in the bottom half. Count and print out the total amount of green in the left half of the picture, and the total amount of green in the right half. Figure out, each time you count up the green, which half has more green and position the ball in the middle of that half.(See the video for an example.)Submit a Unity package with your code.

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 Programming Questions!