32 lines
815 B
C#
32 lines
815 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
namespace Ichni.Editor
|
|
{
|
|
public partial class ResolutionHints : MonoBehaviour
|
|
{
|
|
public Image phoneFrame;
|
|
public Image iPadFrame;
|
|
public Image safeAreaFrame;
|
|
}
|
|
|
|
public partial class ResolutionHints
|
|
{
|
|
public void SetPhoneFrame()
|
|
{
|
|
phoneFrame.gameObject.SetActive(!phoneFrame.gameObject.activeSelf);
|
|
}
|
|
|
|
public void SetIPadFrame()
|
|
{
|
|
iPadFrame.gameObject.SetActive(!iPadFrame.gameObject.activeSelf);
|
|
}
|
|
|
|
public void SetSafeAreaFrame()
|
|
{
|
|
safeAreaFrame.gameObject.SetActive(!safeAreaFrame.gameObject.activeSelf);
|
|
}
|
|
}
|
|
} |