Esempio n. 1
0
        private static void Open(EchoFilter filter, UnityAction <EchoFilter> onComplete)
        {
            var window =
                (AddFliterWindow)GetWindow(typeof(AddFliterWindow), false, "Echo Filter");

            window.minSize     = new Vector2(300f, 150f);
            window._onComplete = onComplete;
            window._filter     = filter;
            window._name       = window._filter.Name;
            window._tagString  = window._filter.GetTags();
            window.Show();
        }
Esempio n. 2
0
 public static void Edit(EchoFilter filter)
 {
     Open(filter, null);
 }