Last active
August 2, 2016 17:05
-
-
Save framundo/69f2eab09410e7fac7c77b46850e635d to your computer and use it in GitHub Desktop.
AddToStadium
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
public class AddToStadium : MonoBehaviour { | |
void Start () { | |
GameObject stadium = GameObject.FindGameObjectWithTag ("Stadium"); | |
transform.SetParent (stadium.transform, false); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment