18 lines
465 B
C#
18 lines
465 B
C#
using System;
|
|
using Sirenix.OdinInspector;
|
|
using UnityEngine.Events;
|
|
using VOID.Generic.Objects.Door.Events;
|
|
|
|
namespace VOID.Generic.Objects.Door
|
|
{
|
|
[Serializable]
|
|
public class DoorObjectEvents : ObjectComponent<DoorObject>
|
|
{
|
|
[Title("Opening & Closing")]
|
|
public UnityEvent<DoorEvent> onOpen;
|
|
public UnityEvent<DoorEvent> onClose;
|
|
public UnityEvent<DoorEvent> onLock;
|
|
public UnityEvent<DoorEvent> onUnlock;
|
|
}
|
|
}
|