protected override void OnDispose() { if (this._prodTranscendenceCutIn != null) { Object.Destroy(this._prodTranscendenceCutIn.get_gameObject()); } this._prodTranscendenceCutIn = null; }
protected override void OnDispose() { if (_prodTranscendenceCutIn != null) { UnityEngine.Object.Destroy(_prodTranscendenceCutIn.gameObject); } _prodTranscendenceCutIn = null; }
public static ProdTranscendenceCutIn Instantiate(ProdTranscendenceCutIn prefab, Transform parent) { ProdTranscendenceCutIn prodTranscendenceCutIn = UnityEngine.Object.Instantiate(prefab); prodTranscendenceCutIn.transform.parent = parent; prodTranscendenceCutIn.transform.localScale = Vector3.zero; prodTranscendenceCutIn.transform.localPosition = Vector3.zero; return(prodTranscendenceCutIn); }
public static ProdTranscendenceCutIn Instantiate(ProdTranscendenceCutIn prefab, Transform parent) { ProdTranscendenceCutIn prodTranscendenceCutIn = Object.Instantiate <ProdTranscendenceCutIn>(prefab); prodTranscendenceCutIn.get_transform().set_parent(parent); prodTranscendenceCutIn.get_transform().set_localScale(Vector3.get_zero()); prodTranscendenceCutIn.get_transform().set_localPosition(Vector3.get_zero()); return(prodTranscendenceCutIn); }
public ProdTranscendenceAttack() { this._prodTranscendenceCutIn = ProdTranscendenceCutIn.Instantiate(PrefabFile.Load <ProdTranscendenceCutIn>(PrefabFileInfos.BattleProdTranscendenceCutIn), BattleTaskManager.GetBattleCameras().cutInEffectCamera.get_transform()); }