コード例 #1
0
ファイル: MapGame.cs プロジェクト: leuat/EightBitDefender
        // Use this for initialization
        void Start()
        {
            Game.game.Initialize();

            map.Create(256, 256);
            dMap.Initialize(map, 30, 20, 1, 1);

//            map
        }
コード例 #2
0
ファイル: GameLevel.cs プロジェクト: leuat/EightBitDefender
        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);
            }
        }