public void Reuse2BulletCurtains(ChatInfo2BulletCurtain gridUI) { if (gridUI != null && gridUI.get_gameObject() != null) { gridUI.Clear(); BulletCurtainManager.BulletCurtainPool.ReUse(gridUI.get_gameObject()); } }
public ChatInfo2BulletCurtain CreatePrefab2BulletCurtain() { ChatInfo2BulletCurtain chatInfo2BulletCurtain = BulletCurtainManager.BulletCurtainPool.Get(string.Empty).AddMissingComponent <ChatInfo2BulletCurtain>(); chatInfo2BulletCurtain.get_gameObject().get_transform().set_localScale(Vector3.get_one()); return(chatInfo2BulletCurtain); }