Beispiel #1
0
 /// <summary>
 /// 计时器[系统时间]:判断执行时间(一次性)
 /// 到达指定时间返回一帧true
 /// </summary>
 /// <param name="targetSeconds">定时</param>
 /// <returns>return : 触发标记</returns>
 public bool IF_Clock_System(float targetSeconds)
 {
     return(MarkerEdge.isEdge(SS_TriggerMarker.Clock_System(StartTime_System, targetSeconds)));
 }
Beispiel #2
0
 /// <summary>
 /// 计数器:判断累加数值(一次性)
 /// 到达指定值返回一帧true
 /// </summary>
 /// <param name="targetCount">设定数</param>
 /// <param name="Cumulative">累加数</param>
 /// <returns>return : 触发标记</returns>
 public bool IF_Count(float targetCount, float Cumulative)
 {
     return(MarkerEdge.isEdge(SS_TriggerMarker.Count(ref StartCount, targetCount, Cumulative)));
 }