Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using UnityEngine;
- using UnityEngine.UI;
- using System.Collections;
- public class BirthdayScript : MonoBehaviour
- {
- public Transform JackboogsHands;
- public GameObject SecretPresent;
- public void Start ()
- {
- Debug.Log("Happy birthday, Jackboog!");
- Object.Instantiate(SecretPresent, JackboogsHands.position, JackboogsHands.rotation);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement