using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public static class GameObjectEx {
public static GameObject show(this GameObject self)
{
self.SetActive(true);
return self;
}
public static GameObject hide(this GameObject self)
{
self.SetActive(false);
return self;
}
public static GameObject DestroySelf(this GameObject self)
{
GameObject.Destroy(self);
return self;
}
}