Example #1
0
        public override void OnEnable()
        {
            headerName  = HeaderMasterName;
            headerColor = HeaderSettingsColor;
            base.OnEnable();

            _target = (NSTMaster)target;

            _target.EnsureNSTMasterConforms();
            //// Remove any stray NetworkIdentities that do not belong
            //NetAdapterTools.RemovedUnusedNetworkIdentity(_target.gameObject);
        }
Example #2
0
        public override void OnInspectorGUI()
        {
            //NetAdapterTools.EnsureSceneNetLibDependencies();


            base.OnInspectorGUI();

            EditorGUILayout.HelpBox("The NST Master is a required engine singleton. It collects and sends all NST Updates, and receives and dispatches incoming updates from the network to their associated NSTs.", MessageType.None);

            _target.EnsureNSTMasterConforms();

            //NetLibrarySettings.Single.DrawGui(target, true, false);
        }