intro to unity
play

Intro to Unity GameObjects and Prefabs Introducing GameObjects A - PowerPoint PPT Presentation

Intro to Unity GameObjects and Prefabs Introducing GameObjects A fundamental object that represents players, enemies, bullets, and scenery. Each GameObject contains a transform which is a point in a space. GameObjects can contain other


  1. Intro to Unity GameObjects and Prefabs

  2. Introducing GameObjects A fundamental object that represents players, enemies, bullets, and scenery. Each GameObject contains a transform which is a point in a space. GameObjects can contain other GameObjects.

  3. GameObjects (cont’d) Components are added to GameObjects to provide behavior. Unity provides several pre-made GameObjects.

  4. GameObject Lifecycle Update Awake OnDisable FixedUpdate OnEnable OnDestroy LateUpdate Start Startup Updates Teardown Other methods: Reset, OnWillRenderObject, OnGUI

  5. Prefabs Prefabs are GameObjects that can recreated in the scene view or in code. Changes to individual prefabs can be “reverted” back to the original prefab Change can also be applied to all the other prefabs as well

  6. Demo

  7. Challenge

Recommend


More recommend