Пример #1
0
    public void registerSprites()
    {
        text = TextLabel.create(spriteRenderer, contentManager, "sierra_agi_font_white");

        text.isVisible = false;
        text.setScreenPosition(4, Camera.main.pixelHeight - blackBoxHeight + 8);
        text.setDepth(-9.5f);

        buildBlackBox(spriteRenderer);
    }