28 lines
487 B
C#
Raw Normal View History

2025-09-08 14:51:28 +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;
}
}
}