mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-05-31 14:40:12 +02:00

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))
18 lines
344 B
C#
18 lines
344 B
C#
using UnityEngine;
|
|
|
|
namespace Rellac.Windows
|
|
{
|
|
/// <summary>
|
|
/// Simple script to destroy the target GameObject when window is closed
|
|
/// </summary>
|
|
public class GUIWindow : MonoBehaviour
|
|
{
|
|
/// <summary>
|
|
/// Close window by destroying this GameObject
|
|
/// </summary>
|
|
public void CloseWindow()
|
|
{
|
|
Destroy(gameObject);
|
|
}
|
|
}
|
|
} |