OpTrigger_GoNext.cs 495 B

123456789101112131415161718192021222324
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using ChivaXR.Op;
  5. /// <summary>
  6. /// 跳过,占位
  7. /// </summary>
  8. public class OpTrigger_GoNext : OperationData_TriggerMode
  9. {
  10. public override void SetDataStateValue(float value)
  11. {
  12. }
  13. public override bool TriggerCondition()
  14. {
  15. if (OperateSetting.Instance.m_CurrentOperationMode == OperationMode.FreeParctice)
  16. {
  17. return false;
  18. }
  19. return true;
  20. }
  21. }