Add spatial audio to your marker-based AR app quiz

11. Unity uses a special kind of GameObject called a canvas to display 3D images for the user interface. Select the best answer.

  • True
  • False

12. What node tests to see if the modelObject variable has a value? Select the best answer.

  • On Update node
  • Find GameObject With Tag node
  • Null Check node
  • Get Variable node

13. What are useful to identify GameObjects for scripting purposes? Select the best answer.

  • Tags
  • GameObject
  • Nodes
  • Mesh

14. World space layouts allow you to place user interface and image elements in the real-world AR space instead of attaching them to the screen. Select the best answer.

  • True
  • False

15. What do you have to do to set the canvas to the canvasPopup variable? Select the best answer.

  • Connect the buttonPopup variable to the input of the On Button Click node.
  • Select your Script Manager GameObject and open the Setup graph.
  • Search for a Canvas component in any child GameObject of that tagged Mesh GameObject.
  • Connect the Get Component in Children output nodes to the Set Variable canvasPopup node.

16. Which node do you use to switch the canvas from inactive to active and back again, so that the button works like a toggle? Select the best answer.

  • Get Object Variable node
  • GameObject: Get Active Shelf node.
  • Negate node
  • Set Active node

17. You can use scripted audio to add to a 3D effect by making sounds louder when their source is closer and softer when it is farther away. Select the best answer.

  • True
  • False

18. What is true about audio sources? Select all that apply.

  • They have many different settings that you can control, including volume, priority and spatial sound settings.
  • They tell Unity how to play the clips you select.
  • You cannot tweak the Min Distance and Max Distance properties of the Audio Source
  • They are the specific audio files.

19. What are the two steps involved in making a button work in visual scripting? Select all that apply.

  • Make references for the button and audio.
  • Update the file location settings.
  • Create an audio script file to include the visual scripting function.
  • Make the audio play on a button press.

20. If the tagged GameObject is located, it will be assigned to a variable so that it’s ready for the RotateObject script. Select the best answer.

  • True
  • False

Leave a Reply