void clearStage() { GameDefine.DestroyAll(transBackground); GameDefine.DestroyAll(transUnit); GameDefine.DestroyAll(transCell); GameDefine.DestroyAll(transEvent); }
public void clearStage() { for (int j = 0; j < activeBattleStage.Layer.L0.Length; j++) { if (objsLayer0[j] != null) { Destroy(objsLayer0[j]); objsLayer0[j].gameObject.transform.SetParent(null); objsLayer0[j] = null; } } for (int j = 0; j < activeBattleStage.Layer.L1.Length; j++) { if (objsLayer1[j] != null) { Destroy(objsLayer1[j]); objsLayer1[j].gameObject.transform.SetParent(null); objsLayer1[j] = null; } } objsLayer0 = null; objsLayer1 = null; layerList.Clear(); GameDefine.DestroyAll(transBackground); GameDefine.DestroyAll(transCell); }
public void clear() { startWhite = false; startFadeKill = false; startFade = false; criticalAnimation = null; leftAnimation = null; rightAnimation = null; attackerAnimation = null; defencerAnimation = null; if (floorAnimation != null) { floorAnimation.clearAnimation(); Destroy(floorAnimation.gameObject); floorAnimation = null; } GameDefine.DestroyAll(left); GameDefine.DestroyAll(right); }
public void clear() { GameDefine.DestroyAll(unitTransform); user.Clear(); enemy.Clear(); npc.Clear(); activeEnemy = GameDefine.INVALID_ID; activeNPC = GameDefine.INVALID_ID; enemyCount = 0; units = null; }
void clear() { GameDefine.DestroyAll(transBackground); }
public void clear() { GameDefine.DestroyAll(transform); }
public void clearJumpHP() { GameDefine.DestroyAll(jumpHPTrans); }
void clear() { GameDefine.DestroyAll(transNumbers); }
public void clear() { GameDefine.DestroyAll(transImage); }
void clear() { objs.Clear(); GameDefine.DestroyAll(transform); }
public void clearTreasures() { mapEvent.Clear(); GameDefine.DestroyAll(transTreasures); }