void RequiredUpdate(int x, int y, int id) { StageObjUpdate(x, y, 0, 0); switch (id) { case startGimmicID: player.position = new Vector3(x * floorScale, 0, y * floorScale) + stageBase; break; case goalGimmicID: goal.position = new Vector3(x * floorScale, 0, y * floorScale) + stageBase; break; default: break; } data.RequiredClear(id); data.SetGimmicID(x, y, id); data.SetgimmicRotate(x, y, 0); }