Advertisement
pivotraze

Main Script

Dec 2nd, 2012
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
BOO 0.67 KB | None | 0 0
  1. /* This script is licensed under the BSD license.
  2. Author: Cody Dostal
  3. Author Email: allysman21@gmail.com
  4. Date Written: 4/22/2012
  5. Date Last Edited: 4/24/2012
  6. Engine Version: 3.5.1f2
  7. Script Version: v1.1
  8. */
  9.  
  10. /* NOTE: With good chance, you may have to change any hard-coded values in these scripts.
  11. These values work with my version, and may not with your version. */
  12.  
  13. import UnityEngine
  14.  
  15. class main (MonoBehaviour):
  16.    
  17.     public shipMesh as GameObject
  18.  
  19.     def Start ():
  20.         // Create the ship. Only necessary if you will have the ship *slide* into the screen on start.
  21.         startPos = Vector3(4.482683f, -7.68f, 0f)
  22.         Instantiate(shipMesh, startPos, Quaternion.identity)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement