Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public GameObject button;
- // Use this for initialization
- void Start () {
- Invoke("ShowButton", 2);
- }
- // Update is called once per frame
- void Update () {
- }
- void ShowButton()
- {
- Debug.Log("Activating Button");
- button.SetActive(true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement