How do I make console appear in-game?

My game’s points system shows the points in the console, and I was wondering how to make these appear on the screen briefly before disappearing, like damage values in most games.

Debug.Log and the developer console are just that - for development and debugging.

If you want to show text on screen in your game you should use UI text elements like TextMeshProUGUI or the legacy Text component, or game world 3D text elements such as TextMeshPro.

I know they are for debugging, but is it possible to show the text from it in-game, or only in editor?

You’re thinking about it the wrong way. Don’t try to show the Debug logs in the game. Just make a function in your game to show text and call that instead of Debug.Log.

Tons of tutorials for this but if you like, here’s an ultra-low-tech one that I pulled out of my Kurt Arcade game.

It uses the old built-in TextMesh but you could upgrade it to the new TextMeshPro if you like.

If the font is borked / pink, just re-drag your desired font into the TWO places on the Prefab’s children.

9120193--1265524--Screenshot-arcade-133328182017862940.png

Appstore: https://apps.apple.com/ch/app/kurt-arcade/id1591748111
Google Play: https://play.google.com/store/apps/details?id=com.kurt.arcadetv

9542701–1347769–Digits1.unitypackage (6.98 KB)

// Instantiates some text and then destroys it after a few seconds
    void CreateText(string text,Vector3 position, Quaternion rotation)
    {
        GameObject obj=new GameObject("Text");
        obj.transform.position=position;
        obj.transform.rotation=rotation;
        TextMesh myText=obj.AddComponent<TextMesh>();
        myText.text=text;
        myText.characterSize=0.1f;
        myText.fontSize=64;
        StartCoroutine(DestroyText(obj));
    }

    IEnumerator DestroyText(GameObject obj)
    {
        yield return new WaitForSeconds(3);
// fade the text away
        MeshRenderer m=obj.GetComponent<MeshRenderer>();
        Color c=m.material.color;
        while (c.a>0.01f)
        {
            c.a-=0.01f;
            m.material.color=c;
            obj.transform.position+=Vector3.up*0.02f;
            yield return null;
        }
        Destroy(obj);
    }

I get it now. Thank you, these 2 messages helped a lot.