コード例 #1
0
 protected override void OnDispose()
 {
     if (this._prodTranscendenceCutIn != null)
     {
         Object.Destroy(this._prodTranscendenceCutIn.get_gameObject());
     }
     this._prodTranscendenceCutIn = null;
 }
コード例 #2
0
 protected override void OnDispose()
 {
     if (_prodTranscendenceCutIn != null)
     {
         UnityEngine.Object.Destroy(_prodTranscendenceCutIn.gameObject);
     }
     _prodTranscendenceCutIn = null;
 }
コード例 #3
0
        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);
        }
コード例 #4
0
        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);
        }
コード例 #5
0
 public ProdTranscendenceAttack()
 {
     this._prodTranscendenceCutIn = ProdTranscendenceCutIn.Instantiate(PrefabFile.Load <ProdTranscendenceCutIn>(PrefabFileInfos.BattleProdTranscendenceCutIn), BattleTaskManager.GetBattleCameras().cutInEffectCamera.get_transform());
 }