using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; using UnityEngine.UI; namespace DiamondArrow { public sealed partial class DiamondArrowGame { RectTransform Sheet(string title,float height=740,bool dismiss=true,string id=null) { CloseModal();CurrentModal=id??title;modal=Node(root,"Modal "+CurrentModal,0,0,750,1334); var shade=modal.gameObject.AddComponent();shade.color=new Color(.01f,0,.025f,.88f);shade.raycastTarget=true; if(dismiss){var b=modal.gameObject.AddComponent