public static ProdObservedShellingCutIn Instantiate(ProdObservedShellingCutIn prefab, Transform parent)
        {
            ProdObservedShellingCutIn prodObservedShellingCutIn = Object.Instantiate <ProdObservedShellingCutIn>(prefab);

            prodObservedShellingCutIn.get_transform().set_parent(parent);
            prodObservedShellingCutIn.get_transform().localScaleZero();
            prodObservedShellingCutIn.get_transform().localPositionZero();
            return(prodObservedShellingCutIn);
        }
 protected override void OnDispose()
 {
     if (_prodObservedShellingCutIn != null)
     {
         UnityEngine.Object.Destroy(_prodObservedShellingCutIn.gameObject);
     }
     _prodObservedShellingCutIn = null;
     base.OnDispose();
 }
 protected override void OnDispose()
 {
     if (this._prodObservedShellingCutIn != null)
     {
         Object.Destroy(this._prodObservedShellingCutIn.get_gameObject());
     }
     this._prodObservedShellingCutIn = null;
     base.OnDispose();
 }
Exemple #4
0
        public static ProdObservedShellingCutIn Instantiate(ProdObservedShellingCutIn prefab, Transform parent)
        {
            ProdObservedShellingCutIn prodObservedShellingCutIn = UnityEngine.Object.Instantiate(prefab);

            prodObservedShellingCutIn.transform.parent = parent;
            prodObservedShellingCutIn.transform.localScaleZero();
            prodObservedShellingCutIn.transform.localPositionZero();
            return(prodObservedShellingCutIn);
        }
 public ProdObservedShellingAttack()
 {
     _prodObservedShellingCutIn = ProdObservedShellingCutIn.Instantiate(PrefabFile.Load <ProdObservedShellingCutIn>(PrefabFileInfos.BattleProdObservedShellingCutIn), BattleTaskManager.GetBattleCameras().cutInCamera.transform);
 }