A small Introduction to Unity3D

  • Free for casual low profit use
  • There are Pro services that require a monthly fee
  • Not open source

Unity is a game development environment

Unity uses an Entity-Component model for it's scenes. Game Objects are entities that have a position, size and orientation in the scene. Any number of components can be attached to a game object. They can be models, textures (images), sounds, scripts, and many other things.

Demo - Show Unity Editor and Scene hierarchy.

  • Camera - Show game view
  • Add a few objects
  • Show positioning, rotation and scale
  • Light

Unity keeps an database of assets that can be used in the project

  • Import some models and sounds
  • Organize them
  • Add them to scene
  • Show how the assets are related to components

Scripts are just a type of custom compenent written in C#. The engine interacts with it by calling specific methods on the component. The two most common are Start and Update.

  • Start - When the object needs to be initialized.
  • Update - Called every frame.

Demo

  • Create script to move objects
  • Show how public variables are exposed in the editor

Unity has a lot of useful built in components

  • Physics simulation
  • Particle effects
  • Sound effects
  • Animation

Physics simulation demo

  • Animate objects like they have real world forces applied to them.
  • Handle collisions and bounces.
  • Objects can be connected by joints.

Particle effect demo - Can be used to create a variety of visual effects like fire, rain, snow, magic, etc...

Particle effects can look really cool with the right skills.

Sound effects - Unity has components to play sounds.

Learn more

Thanks!