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