Untitled
unknown
csharp
2 years ago
591 B
11
Indexable
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System;
using UnityEngine.Events;
public class Spook_Manager : MonoBehaviour
{
[SerializeField] private Spook_Event[] Spooks;
private int currentEvent;
}
[Serializable]
public class Spook_Event
{
[Tooltip("How long this event lasts")]
[SerializeField] private float eventDuration;
[Serializable]
public class newEvent : UnityEvent<string, GameObject> { }
public newEvent OnEvent;
[SerializeField] private BoxCollider bc; // for trigger collider
}Editor is loading...
Leave a Comment