public IzCommonEffect CreateEffect(string uiType) { IzCommonEffect kCE; kCE = new IzCommonEffect(uiType); return(kCE); }
private void SetBullet(IzCommonEffect effect) { if (effect.m_kGO == null || effect.m_kTRS == null) { return; } if (_gameObject != null) { GameObjectExt.Destroy(_gameObject); } _effect = effect; _gameObject = _effect.m_kGO; _gameObject.name = "defaultBullet"; _transform = _effect.m_kTRS; _transform.localPosition = _pos; //_transform.forward = _dir; //_gameObject.SetActive(false); }