更改文件架构
This commit is contained in:
18
Packages/Common~/Scripts/Debuger/ShowAllHidden.cs
Normal file
18
Packages/Common~/Scripts/Debuger/ShowAllHidden.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using Sirenix.OdinInspector;
|
||||
namespace BITKit
|
||||
{
|
||||
public class ShowAllHidden : MonoBehaviour
|
||||
{
|
||||
[Button]
|
||||
public void Excute()
|
||||
{
|
||||
foreach (var go in GameObject.FindObjectsOfType<Transform>())
|
||||
{
|
||||
go.hideFlags = HideFlags.None;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user