How to create my own StartHost button? StartHost() is not a method

I want to make my own Start Host btn, so I’m looking at this:

Host: To set your game up in Host mode, select LAN Host(H) or use the API function StartHost().

However, StartHost() is not actually a function, but a class. This is where I’m a bit confused.

How would I actually trigger StartHost()? I tried StartHost., however, I couldn’t find anything to start.

What do I do?

If you are in a class that derives from NetworkManager, you should be able to call the StartHost() function.

I have the same question, anyone?