UnityEditor.NetworkDiscoveryEditor.Init C# (CSharp) Method

Init() private method

private Init ( ) : void
return void
        private void Init()
        {
            if (!this.m_Initialized || (this.m_BroadcastPortProperty == null))
            {
                this.m_Initialized = true;
                this.m_Discovery = base.target as NetworkDiscovery;
                this.m_BroadcastPortProperty = base.serializedObject.FindProperty("m_BroadcastPort");
                this.m_BroadcastKeyProperty = base.serializedObject.FindProperty("m_BroadcastKey");
                this.m_BroadcastVersionProperty = base.serializedObject.FindProperty("m_BroadcastVersion");
                this.m_BroadcastSubVersionProperty = base.serializedObject.FindProperty("m_BroadcastSubVersion");
                this.m_BroadcastIntervalProperty = base.serializedObject.FindProperty("m_BroadcastInterval");
                this.m_UseNetworkManagerProperty = base.serializedObject.FindProperty("m_UseNetworkManager");
                this.m_BroadcastDataProperty = base.serializedObject.FindProperty("m_BroadcastData");
                this.m_ShowGUIProperty = base.serializedObject.FindProperty("m_ShowGUI");
                this.m_OffsetXProperty = base.serializedObject.FindProperty("m_OffsetX");
                this.m_OffsetYProperty = base.serializedObject.FindProperty("m_OffsetY");
                this.m_BroadcastPortLabel = new GUIContent("Broadcast Port", "The network port to broadcast to, and listen on.");
                this.m_BroadcastKeyLabel = new GUIContent("Broadcast Key", "The key to broadcast. This key typically identifies the application.");
                this.m_BroadcastVersionLabel = new GUIContent("Broadcast Version", "The version of the application to broadcast. This is used to match versions of the same application.");
                this.m_BroadcastSubVersionLabel = new GUIContent("Broadcast SubVersion", "The sub-version of the application to broadcast.");
                this.m_BroadcastIntervalLabel = new GUIContent("Broadcast Interval", "How often in milliseconds to broadcast when running as a server.");
                this.m_UseNetworkManagerLabel = new GUIContent("Use NetworkManager", "Broadcast information from the NetworkManager, and auto-join matching games using the NetworkManager.");
                this.m_BroadcastDataLabel = new GUIContent("Broadcast Data", "The data to broadcast when not using the NetworkManager");
            }
        }