unity-actions-example/Assets/Scripts/YouWin.cs
2020-10-08 10:26:37 -04:00

16 lines
284 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class YouWin : MonoBehaviour
{
[SerializeField]
private GameObject gameObjectToEnable;
public void Run()
{
gameObjectToEnable.SetActive(true);
}
}