Exemple #1
0
    public ActionNetworkEditor()
    {
        hideFlags = HideFlags.DontSave;

        if (_instance != null)
        {
            Debug.LogError("Instance already exists");
            DestroyImmediate(this);
            return;
        }

        _instance = this;

        titleContent = new GUIContent("Network Editor");

        currentContent = empty;
    }
Exemple #2
0
 public void OnDestroy()
 {
     _instance = null;
 }