23 lines
652 B
C#
23 lines
652 B
C#
using System.ComponentModel;
|
|
using UnityEngine;
|
|
using UnityEngine.Playables;
|
|
using UnityEngine.Timeline;
|
|
|
|
[DisplayName("我的信号")]
|
|
public class MySingnal : Marker,INotification,INotificationOptionProvider
|
|
{
|
|
[Header("JumpScene:跳转场景" +
|
|
"/CheckPosition:主动检测位置" +
|
|
"/WaitCheckExit:加入等待时间检测出界" +
|
|
"/CameraShake:相机振动")]//直接显示汉字在面板上
|
|
public string sigName;
|
|
public int sigParm1;
|
|
|
|
|
|
|
|
public PropertyName id { get; }
|
|
public PropertyName name { get; }
|
|
|
|
NotificationFlags INotificationOptionProvider.flags => NotificationFlags.TriggerOnce | NotificationFlags.TriggerInEditMode;
|
|
}
|