Tz2/Assets/Zion/Scripts/StepInit.cs

18 lines
306 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class StepInit : MonoBehaviour
{
public UnityEvent eventScript;
public void Init()
{
if (eventScript != null)
{
eventScript.Invoke();
}
}
}