|
Set the log level for network messages (default is Off).
For a description of the different log levels have a look at the NetworkLogLevel enum.
function Start () {
Network.logLevel = NetworkLogLevel.Full;
}
using UnityEngine;
using System.Collections;
public class example : MonoBehaviour {
void Start() {
Network.logLevel = NetworkLogLevel.Full;
}
}
import UnityEngine
import System.Collections
class example(MonoBehaviour):
def Start():
Network.logLevel = NetworkLogLevel.Full