Ejemplo n.º 1
0
    public void RoomInitPhase(int frames)
    {
        cleanGenerator();
        RoomGenerator roomGenerator = this.gameObject.AddComponent <RoomGenerator>();

        roomGenerator.ApplyParams(this.RoomParams);
        roomGenerator.SetupGeneration();
        _currentGenerator = roomGenerator;
        this.NextPhase();
    }