public void updateWorld() { MapWorldUpdater.updateWorld(this); //カメラ更新 foreach (MapCamera tCamera in mCameras) { tCamera.updateCamera(); } }
//<summary>物を生成してworldに追加</summary> static private MapOrnament buildOrnament(MapFileData.Ornament aData) { //生成フラグ確認 if (!flagCreate(aData)) { return(null); } MapOrnament tOrnament = createOrnament(aData); tOrnament.mFileData = aData; tOrnament.transform.SetParent(mWorld.mOrnamentContainer.transform, false); tOrnament.mMapPosition = new MapPosition(aData.mPosition); tOrnament.changeLayer(MyMap.mStratumLayerNum[Mathf.FloorToInt(aData.mY)]); //変数適用 if (aData.mArg != null) { tOrnament.setArg(aData.mArg); } //画像イベント適用 MapWorldUpdater.applyImageEvent(tOrnament); return(tOrnament); }