mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-10 11:45:09 +00:00
28 lines
564 B
C#
28 lines
564 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
namespace HeavenStudio.Editor
|
||
|
{
|
||
|
public class SnapDialog : MonoBehaviour
|
||
|
{
|
||
|
[SerializeField] private GameObject snapSetter;
|
||
|
private void Awake()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public void SwitchSnapDialog()
|
||
|
{
|
||
|
if(snapSetter.activeSelf) {
|
||
|
snapSetter.SetActive(false);
|
||
|
} else {
|
||
|
snapSetter.SetActive(true);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private void Update()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|