As a quick solution I would suggest setting a bool to true in the OnServerInitialized() and polling it in the OnGUI().
Something like this:
bool serverInitialized = false;
void OnServerInitialized()
{
serverInitialized = true;
// ...
}
void OnGUI()
{
if(serverInitialized)
{
// New GUI stuff
}
}
↧