Untitled

mail@pastecode.io avatar
unknown
csharp
a month ago
591 B
4
Indexable
Never
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
}
Leave a Comment