コード例 #1
0
        private void Awake()
        {
            if (instance == null)
            {
                instance = this;
            }
            else if (instance != null)
            {
                Destroy(gameObject);
            }
            DontDestroyOnLoad(gameObject);

            deseeder        = new SeedDeserializer();
            _seedCollection = deseeder.DeserializeSeeds();
            this.GenerateTiles();
        }
コード例 #2
0
        //public Tile GrassTileExample;

        SeedManager()
        {
            deseeder        = new SeedDeserializer();
            _seedCollection = deseeder.DeserializeSeeds();
        }