mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-27 12:03:00 +00:00
4f08887078
First Contact: Live is now offbeat [alienSuccess] code block is a bit smaller Mission Control is now stretchable Tap Trial - Started working on coding the inputs - Animated monkey (tap, double, and triple (incomplete))
29 lines
No EOL
642 B
C#
29 lines
No EOL
642 B
C#
using UnityEngine;
|
|
|
|
namespace Rellac.Windows
|
|
{
|
|
/// <summary>
|
|
/// Contains a reference to all GUIWindowHandle objects below this Transform for ease of referencing
|
|
/// </summary>
|
|
public class GUIBorderParent : MonoBehaviour
|
|
{
|
|
private GUIWindowHandle[] handles;
|
|
// Use this for initialization
|
|
void Start()
|
|
{
|
|
handles = GetComponentsInChildren<GUIWindowHandle>();
|
|
}
|
|
|
|
/// <summary>
|
|
/// Toggle interactivity of handles
|
|
/// </summary>
|
|
/// <param name="input">is interactive</param>
|
|
public void SetIsLocked(bool input)
|
|
{
|
|
for (int i = 0; i < handles.Length; i++)
|
|
{
|
|
handles[i].SetIsLocked(input);
|
|
}
|
|
}
|
|
}
|
|
} |