Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Workshop Unity3D - Unesp Rio Claro

Workshop Unity3D - Unesp Rio Claro

Andre Luis Anastacio

October 23, 2014
Tweet

More Decks by Andre Luis Anastacio

Other Decks in Programming

Transcript

  1. Time.deltaTime The time in seconds it took to complete the

    last frame using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { void Update(){ float translation = Time.deltaTime * 10; transform.Translate(0, 0, translation); } }
  2. GameObject.Find Finds a game object by name and returns it.

    using UnityEngine; using System.Collections; public GameObject player; public class ExampleClass : MonoBehaviour { void Example(){ player = GameObject.Find(‘Player’); } }
  3. More Info Google Groups / Github - OpenGameDev Podcasts -

    Scicast #13/14 / Nerdcast #238 Grokpodcast next week(?) Google Plus - GameDev on The Rocks