Exercises

Complete the following exercises on your own:

  1. Alter the if statement that checks the monster's position so that the code avoids the error entirely.
  2. Are you able to fix the unassigned reference issue in code? Hint—check out the GameObject.Find method.
  3. Write a monster script that moves its block using the keyboard or mouse as input.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.14.135.231