public void EndPaoPao() { if (mPaoPao != null) { mPaoPao.Hide(); // PaoPaoManager.Instance.ReleasePaoPaoUI(mPaoPao); // mPaoPao = null; } }
//死了 protected override void onDie(AttackerAttr killerAttr, ImpactDamageType impactDamageType) { if (mPaoPao != null) { mPaoPao.Hide(); } HideShadow(); base.onDie(killerAttr, impactDamageType); }
public void ReleasePaoPaoUI(PaoPaoNode node) { node.Hide(); mCacheQueue.Enqueue(node); }