using System; using System.Collections; using System.Collections.Generic; using Lean.Gui; using Raindrop; using Raindrop.ServiceLocator; using Raindrop.Services; using UnityEngine; using UnityEngine.UI; using Logger = OpenMetaverse.Logger; // This component allows you to bring up the scene that the button is supposed to lead to. public class ButtonTriggerViewTransition : MonoBehaviour { public CanvasType canvasTypeToPush; public bool popCurrent; private void Start() { try { if (this.GetComponent()) { this.GetComponent().OnClick.AddListener(OnClick); } if (this.GetComponent