public static void initStatic() { soldierPool = MainRes.soldierPool; rFloor = Stage.floor; rGunTower = Stage.gunTower; canProduceSoldier = true; }
public static AGunTower create() { AGunTower gunTower; gunTower = new AGunTower(); gunTower.connect(GameObject.Find("gunTower").transform); gunTower.initCommon(); gunTower.addToScene(); return(gunTower); }
public static void init() { UI.init(); onStage = GameObject.Find("onStage").transform; offStage = GameObject.Find("offStage").transform; offStage.gameObject.SetActive(false); border = new Area(); border.init(GameObject.Find("backGround").transform); leftBornZone = new Area(); leftBornZone.init(GameObject.Find("leftZone").transform); rightBornZone = new Area(); rightBornZone.init(GameObject.Find("rightZone").transform); middelZone = new Area(); middelZone.init(GameObject.Find("middleZone").transform); audios = GameObject.Find("audios").transform; floor = AFloor.create(); gunTower = AGunTower.create(); }