41e415dc46
XMB UI控件迭代
18 lines
405 B
C#
18 lines
405 B
C#
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);
|
|
}
|
|
}
|
|
}
|