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

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