Exemplo n.º 1
0
        private static void CreateWindow(TokenMethod method, ScopedRegistry registry)
        {
            GetTokenView getTokenView = EditorWindow.GetWindow <GetTokenView>(true, "Get token", true);

            getTokenView.SetRegistry(method, registry);
        }
Exemplo n.º 2
0
 private void SetRegistry(TokenMethod tokenMethod, ScopedRegistry registry)
 {
     this.tokenMethod = tokenMethod;
     this.registry    = registry;
     this.initialized = true;
 }