KSP API
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties
Public Member Functions | Public Attributes | List of all members
ScreenMessage Class Reference

A class representing temporary messages posted to the screen. Don't use this class, use the static methods in ScreenMessages instead. More...

Public Member Functions

 ScreenMessage (string msg, float dur, ScreenMessageStyle s)
 
 ScreenMessage (string msg, float dur, bool persistAcrossScenes, ScreenMessageStyle s)
 
 ScreenMessage (string msg, float dur, ScreenMessageStyle s, GUIStyle guiStyle)
 
 ScreenMessage (string msg, float dur, bool persistAcrossScenes, ScreenMessageStyle s, GUIStyle guiStyle)
 

Public Attributes

float duration
 
GUIStyle guiStyleOverride
 
string message
 
bool persistAcrossScenes
 
float startTime
 
ScreenMessageStyle style
 

Detailed Description

A class representing temporary messages posted to the screen. Don't use this class, use the static methods in ScreenMessages instead.

Constructor & Destructor Documentation

ScreenMessage.ScreenMessage ( string  msg,
float  dur,
ScreenMessageStyle  s 
)
ScreenMessage.ScreenMessage ( string  msg,
float  dur,
bool  persistAcrossScenes,
ScreenMessageStyle  s 
)
ScreenMessage.ScreenMessage ( string  msg,
float  dur,
ScreenMessageStyle  s,
GUIStyle  guiStyle 
)
ScreenMessage.ScreenMessage ( string  msg,
float  dur,
bool  persistAcrossScenes,
ScreenMessageStyle  s,
GUIStyle  guiStyle 
)

Member Data Documentation

float ScreenMessage.duration
GUIStyle ScreenMessage.guiStyleOverride
string ScreenMessage.message
bool ScreenMessage.persistAcrossScenes
float ScreenMessage.startTime
ScreenMessageStyle ScreenMessage.style

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