Advertisement
Guest User

Untitled

a guest
Jun 29th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. using UnityEngine;
  2. using UnityEngine.UI;
  3. using System.Collections;
  4.  
  5. public class BirthdayScript : MonoBehaviour
  6. {
  7. public Transform JackboogsHands;
  8. public GameObject SecretPresent;
  9. public void Start ()
  10. {
  11. Debug.Log("Happy birthday, Jackboog!");
  12. Object.Instantiate(SecretPresent, JackboogsHands.position, JackboogsHands.rotation);
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement