Skip to content
Snippets Groups Projects
Select Git revision
  • 379098f0e172c4aa9a373ac6e249b7e63a6aac52
  • master default
  • dependabot/nuget/source/Sample/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/MasterDevs.ChromeDevTools.Tests/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ProtocolGenerator/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/Newtonsoft.Json-13.0.1
  • dependabot/nuget/source/ChromeDevTools/System.Net.Http-4.3.4
  • revert-29-revert-24-protocol_62
  • revert-24-protocol_62
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0.40915
13 results

GetOuterHTMLCommandResponse.cs

Blame
  • CommunicationEvents.cs 1.92 KiB
    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    using UnityEngine.Events;
    using System;
    
    public static class CommunicationEvents
    {
        /*  public  class PointEvent : UnityEvent<RaycastHit,int>
          {
    
          }
    
          public class LineEvent : UnityEvent<int, int, int> {
    
          }
    
    
    
          public class FactEvent : UnityEvent<int>
          {
    
          }*/
        public class HitEvent : UnityEvent<RaycastHit>
        {
    
        }
        public class FactEvent : UnityEvent<Fact>
        {
    
        }
    
        public class MouseOverFactEvent : UnityEvent<Transform>
        {
    
        }
        public class ToolModeEvent : UnityEvent<ToolMode> {
    
        }
    
        public class ShinyEvent : UnityEvent<Fact> {
    
        }
    
    
    
    
        public static HitEvent TriggerEvent = new HitEvent();
    
        public static ToolModeEvent ToolModeChangedEvent = new ToolModeEvent();
        /*
        public static FactEvent AddPointEvent = new FactEvent();
        public static FactEvent AddLineEvent = new FactEvent();
        public static FactEvent AddAngleEvent = new FactEvent();
        */
        public static FactEvent AddFactEvent = new FactEvent();
        public static FactEvent RemoveFactEvent = new FactEvent();
    
        //public static MouseOverFactEvent HighlightEvent = new MouseOverFactEvent();
        //public static MouseOverFactEvent EndHighlightEvent = new MouseOverFactEvent();
    
        public static ShinyEvent StartLineDrawingEvent = new ShinyEvent();
        public static ShinyEvent StopLineDrawingEvent = new ShinyEvent();
        public static ShinyEvent StartCurveDrawingEvent = new ShinyEvent();
        public static ShinyEvent StopCurveDrawingEvent = new ShinyEvent();
    
    
    
    
        //------------------------------------------------------------------------------------
        //-------------------------------Global Variables-------------------------------------
        //Global ActiveToolMode
        public static ToolMode ActiveToolMode { get; set; }
    
    
        //Global List of Facts
        public static List<Fact> Facts = new List<Fact>();
    
    }