Ejemplo n.º 1
0
 // Token: 0x06001761 RID: 5985 RVA: 0x0007D0A4 File Offset: 0x0007B2A4
 public override void Process()
 {
     for (int i = 0; i < this.pointers.Count; i++)
     {
         VRTK_UIPointer vrtk_UIPointer = this.pointers[i];
         if (vrtk_UIPointer.gameObject.activeInHierarchy && vrtk_UIPointer.enabled)
         {
             List <RaycastResult> results = new List <RaycastResult>();
             if (vrtk_UIPointer.PointerActive())
             {
                 results = this.CheckRaycasts(vrtk_UIPointer);
             }
             this.Hover(vrtk_UIPointer, results);
             this.Click(vrtk_UIPointer, results);
             this.Drag(vrtk_UIPointer, results);
             this.Scroll(vrtk_UIPointer, results);
         }
     }
 }
Ejemplo n.º 2
0
        public override void Process()
        {
            for (int i = 0; i < pointers.Count; i++)
            {
                VRTK_UIPointer pointer = pointers[i];
                if (pointer.gameObject.activeInHierarchy && pointer.enabled)
                {
                    List <RaycastResult> results = new List <RaycastResult>();
                    if (pointer.PointerActive())
                    {
                        results = CheckRaycasts(pointer);
                    }

                    //Process events
                    Hover(pointer, results);
                    Click(pointer, results);
                    Drag(pointer, results);
                    Scroll(pointer, results);
                }
            }
        }