topical media & game development

talk show tell print

lib-unity-tutorial-gameplay-Assets-Scripts-2D-SpawnPoint.js / js



  // This script must be attached to a game object to tell Unity where the player starts in the level.
  
  // We'll draw a gizmo in the scene view, so it can be found....
  function OnDrawGizmos() {
          Gizmos.DrawIcon(transform.position, "Player Icon.tif");
  }
  


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.