// Token: 0x060005CD RID: 1485 RVA: 0x0001C2FC File Offset: 0x0001A4FC public static void DrawRay(global::UnityEngine.Color color, global::UnityEngine.Ray ray) { global::VRGIN.Helpers.UnityHelper.RayDrawer rayDrawer; bool flag = !global::VRGIN.Helpers.UnityHelper._Rays.TryGetValue(color, ref rayDrawer) || !rayDrawer; if (flag) { rayDrawer = global::VRGIN.Helpers.UnityHelper.RayDrawer.Create(color, ray); global::VRGIN.Helpers.UnityHelper._Rays[color] = rayDrawer; } rayDrawer.Touch(ray); }
// Token: 0x06000B56 RID: 2902 RVA: 0x000230FA File Offset: 0x000212FA public void Touch(global::UnityEngine.Ray ray) { this._LastTouch = global::UnityEngine.Time.time; this._Ray = ray; base.gameObject.SetActive(true); }
// Token: 0x06000B55 RID: 2901 RVA: 0x000230A4 File Offset: 0x000212A4 public static global::VRGIN.Helpers.UnityHelper.RayDrawer Create(global::UnityEngine.Color color, global::UnityEngine.Ray ray) { string text = "Ray Drawer ("; global::UnityEngine.Color color2 = color; global::VRGIN.Helpers.UnityHelper.RayDrawer rayDrawer = new global::UnityEngine.GameObject(text + color2.ToString() + ")").AddComponent <global::VRGIN.Helpers.UnityHelper.RayDrawer>(); rayDrawer.gameObject.AddComponent <global::UnityEngine.LineRenderer>(); rayDrawer._Ray = ray; rayDrawer._Color = color; return(rayDrawer); }