using UnityEngine; namespace Rellac.Windows { /// /// Contains a reference to all GUIWindowHandle objects below this Transform for ease of referencing /// public class GUIBorderParent : MonoBehaviour { private GUIWindowHandle[] handles; // Use this for initialization void Start() { handles = GetComponentsInChildren(); } /// /// Toggle interactivity of handles /// /// is interactive public void SetIsLocked(bool input) { for (int i = 0; i < handles.Length; i++) { handles[i].SetIsLocked(input); } } } }