18 lines
402 B
C#
18 lines
402 B
C#
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;
|
|
}
|
|
}
|
|
}
|
|
} |