Corgi Engine  v8.8
MoreMountains.Feedbacks.MMF_PlayerStyling Class Reference

A class used to regroup most of the styling options for the MMFeedback editors More...

Static Public Member Functions

static void CacheStyling ()
 
static void DrawSection (string title)
 Simply drow a splitter line and a title bellow More...
 
static void DrawSplitter ()
 Draw a separator line More...
 
static Rect DrawSimpleHeader (ref bool expanded, ref bool activeField, string title)
 Draw a header similar to the one used for the post-process stack More...
 
static Rect DrawHeader (ref bool expanded, ref bool activeField, string title, Color feedbackColor, System.Action< GenericMenu > fillGenericMenu, float startedAt, float duration, float totalDuration, MMFeedbackTiming timing, bool pause, bool requiresSetup, string requiredTarget, Color displayColor, bool displayFullHeaderColor, MMF_Player host)
 Draw a header similar to the one used for the post-process stack More...
 
static void CreateColorTexture (this Texture2D texture2D, Color32 color)
 

Static Public Attributes

static readonly GUIStyle SmallTickbox = new GUIStyle("ShurikenToggle")
 
static GUIContent _setupRequiredIcon
 

Properties

static Color? Splitter [get]
 
static Color? HeaderBackground [get]
 
static Color? Reorder [get]
 
static Texture2D? PaneOptionsIcon [get]
 

Detailed Description

A class used to regroup most of the styling options for the MMFeedback editors

Member Function Documentation

◆ CacheStyling()

static void MoreMountains.Feedbacks.MMF_PlayerStyling.CacheStyling ( )
static

◆ CreateColorTexture()

static void MoreMountains.Feedbacks.MMF_PlayerStyling.CreateColorTexture ( this Texture2D  texture2D,
Color32  color 
)
static

◆ DrawHeader()

static Rect MoreMountains.Feedbacks.MMF_PlayerStyling.DrawHeader ( ref bool  expanded,
ref bool  activeField,
string  title,
Color  feedbackColor,
System.Action< GenericMenu >  fillGenericMenu,
float  startedAt,
float  duration,
float  totalDuration,
MMFeedbackTiming  timing,
bool  pause,
bool  requiresSetup,
string  requiredTarget,
Color  displayColor,
bool  displayFullHeaderColor,
MMF_Player  host 
)
static

Draw a header similar to the one used for the post-process stack

◆ DrawSection()

static void MoreMountains.Feedbacks.MMF_PlayerStyling.DrawSection ( string  title)
static

Simply drow a splitter line and a title bellow

◆ DrawSimpleHeader()

static Rect MoreMountains.Feedbacks.MMF_PlayerStyling.DrawSimpleHeader ( ref bool  expanded,
ref bool  activeField,
string  title 
)
static

Draw a header similar to the one used for the post-process stack

◆ DrawSplitter()

static void MoreMountains.Feedbacks.MMF_PlayerStyling.DrawSplitter ( )
static

Draw a separator line

Member Data Documentation

◆ _setupRequiredIcon

GUIContent MoreMountains.Feedbacks.MMF_PlayerStyling._setupRequiredIcon
static

◆ SmallTickbox

readonly GUIStyle MoreMountains.Feedbacks.MMF_PlayerStyling.SmallTickbox = new GUIStyle("ShurikenToggle")
static

Property Documentation

◆ HeaderBackground

Color? MoreMountains.Feedbacks.MMF_PlayerStyling.HeaderBackground
staticget

◆ PaneOptionsIcon

Texture2D? MoreMountains.Feedbacks.MMF_PlayerStyling.PaneOptionsIcon
staticget

◆ Reorder

Color? MoreMountains.Feedbacks.MMF_PlayerStyling.Reorder
staticget

◆ Splitter

Color? MoreMountains.Feedbacks.MMF_PlayerStyling.Splitter
staticget

The documentation for this class was generated from the following file: