// Use this for initialization void Start() { Game.game.Initialize(); map.Create(256, 256); dMap.Initialize(map, 30, 20, 1, 1); // map }
public void Initialize() { // Test(); map = Map2D.Load(sz.mapName); dMap.Initialize(map, 30, 20, 1, 1); GameObject ec = GameObject.Find("EffectsCamera"); if (ec != null) { crtScreen = ec.GetComponent <CRTScreen>(); crtScreen.settings = SerializedScenes.szScenes.getCRTSettings(sz.crtSettings_id); } }