unity-actions-example/Assets/Scripts/YouWin.cs

16 lines
284 B
C#
Raw Normal View History

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);
}
}