using System.Collections; using System.Collections.Generic; using UnityEngine; namespace AxibugEmuOnline.Client { public static class Utility { public static void SetActiveEx(this GameObject go, bool active) { if (active && go.activeSelf) return; if (!active && !go.activeSelf) return; go.SetActive(active); } } }