Inheritance: UnityEngine.ScriptableObject
Ejemplo n.º 1
0
        public override void OnInspectorGUI()
        {
            if (so == null) {
                return;
            }

            so.Update();
            serverConfig = target as ServerConfig;

            ShowConfig();
            //DrawDefaultInspector();
            if (so != null) {
                so.ApplyModifiedProperties();
            }
        }
Ejemplo n.º 2
0
 void OnEnable()
 {
     serverConfig = Resources.Load<ServerConfig>("ServerConfig");
 }