28 lines
511 B
C#
Raw Permalink Normal View History

2025-03-11 16:24:25 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace ZXKFramework
{
public class HideFlagsTools : MonoBehaviour
{
private void Awake()
{
TheHideFlags();
}
[ContextMenu("HideFlags")]
public void ToHideFlags()
{
Awake();
TheHideFlags();
}
void TheHideFlags()
{
gameObject.hideFlags = HideFlags.None;
}
}
}