예제 #1
0
            static Styles()
            {
                scene_normal = ColoredLabel(PeekStyles.SceneViewTool(true, true), false, false);
                scene_prefab = ColoredLabel(PeekStyles.SceneViewTool(true, true), true, false);
                scene_broken = ColoredLabel(PeekStyles.SceneViewTool(true, true), true, true);

                scene_left_normal = ColoredLabel(PeekStyles.SceneViewTool(true, false), false, false);
                scene_left_prefab = ColoredLabel(PeekStyles.SceneViewTool(true, false), true, false);
                scene_left_broken = ColoredLabel(PeekStyles.SceneViewTool(true, false), true, true);

                scene_mid_normal = ColoredLabel(PeekStyles.SceneViewTool(false, false), false, false);
                scene_mid_prefab = ColoredLabel(PeekStyles.SceneViewTool(false, false), true, false);
                scene_mid_broken = ColoredLabel(PeekStyles.SceneViewTool(false, false), true, true);

                scene_right_normal = ColoredLabel(PeekStyles.SceneViewTool(false, true), false, false);
                scene_right_prefab = ColoredLabel(PeekStyles.SceneViewTool(false, true), true, false);
                scene_right_broken = ColoredLabel(PeekStyles.SceneViewTool(false, true), true, true);
            }
 public virtual GUIStyle SceneViewStyle(bool closeLeft, bool closeRight) => PeekStyles.SceneViewTool(closeLeft, closeRight);