mirror of
https://gitgud.io/AbstractConcept/rimworld-animation-studio.git
synced 2024-08-15 00:43:27 +00:00
23 lines
634 B
C#
23 lines
634 B
C#
|
using System;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace UnityEngine.Timeline
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// An asset representing an emitted signal. A SignalAsset connects a SignalEmitter with a SignalReceiver.
|
||
|
/// </summary>
|
||
|
/// <seealso cref="UnityEngine.Timeline.SignalEmitter"/>
|
||
|
/// <seealso cref="UnityEngine.Timeline.SignalReceiver"/>
|
||
|
[AssetFileNameExtension("signal")]
|
||
|
public class SignalAsset : ScriptableObject
|
||
|
{
|
||
|
internal static event Action<SignalAsset> OnEnableCallback;
|
||
|
|
||
|
void OnEnable()
|
||
|
{
|
||
|
if (OnEnableCallback != null)
|
||
|
OnEnableCallback(this);
|
||
|
}
|
||
|
}
|
||
|
}
|