void HiddenSkillEffect() { goContent.ESetActive(false); CancelInvoke("LeftEffect"); _Self = null; Destroy(gameObject); }
static WGTigerSkillEffect CreateTigerSkillEffect() { if (mObj == null) { mObj = Resources.Load("pbWGTigerSkillReleaseEffect"); } if (mObj != null) { GameObject go = Instantiate(mObj) as GameObject; WGTigerSkillEffect tse = go.GetComponent <WGTigerSkillEffect>(); return(tse); } return(null); }