Files

18 lines
293 B
C#
Raw Permalink Normal View History

using UnityEngine;
namespace VRBeats.ScriptableEvents
{
public class TriggerScritableEventOnAwake : MonoBehaviour
{
[SerializeField] private GameEvent gameEvent = null;
private void Start()
{
gameEvent.Invoke();
}
}
}