Exemple #1
0
    static void Init()
    {
        PathFixer window = (PathFixer)EditorWindow.GetWindow(typeof(PathFixer));

        window.minSize = new Vector2(20, 100);
        window.Show();
    }
        public void ShouldCorrectPath()
        {
            var cut             = new PathFixer();
            var entries         = cut.GetPathEntries();
            var distinctEntries = entries.Distinct();

            cut.SetPath(distinctEntries.ToArray());
        }
Exemple #3
0
    private static void Init()
    {
        // PathFixer 창 객체를 얻습니다.
        PathFixer window = GetWindow(typeof(PathFixer)) as PathFixer;

        // 창의 최소 크기를 설정합니다.
        window.minSize = new UnityEngine.Vector2(20, 100);

        // 생성된 창을 표시합니다.
        window.Show();
    }
Exemple #4
0
    private static void Init()
    {
        PathFixer window = EditorWindow.GetWindow(typeof(PathFixer)) as PathFixer;

        window.minSize = new Vector2(20, 100);
    }