mirror of
https://github.com/unity-atoms/unity-atoms.git
synced 2025-01-24 09:08:23 -05:00
7bdb2b7cf2
* - Trigger initial events for instancers - Clean up event name for events instantiated at runtime - Added properties to check if an event is set or not on a variable. This is useful in order to not accidentally create an event at runtime when just checking if it is null or not. - Added logic to clean up events instantiated at runtime. * Added an explicit GetOrCreateEvent method
10 lines
221 B
C#
10 lines
221 B
C#
namespace UnityAtoms
|
|
{
|
|
/// <summary>
|
|
/// Interface for getting or creating an event.
|
|
/// </summary>
|
|
public interface IGetOrCreateEvent
|
|
{
|
|
E GetOrCreateEvent<E>() where E : AtomEventBase;
|
|
}
|
|
} |