![]() |
Kerbal Space Program
1.12.4
|
Static Public Member Functions | |
| static ScreenMessage | PostScreenMessage (string message, float duration, ScreenMessageStyle style, bool persist) |
| Posts a Screen Message to the screen. More... | |
| static ScreenMessage | PostScreenMessage (string message, float duration, ScreenMessageStyle style, Color color) |
| Posts a Screen Message to the screen. More... | |
| static ScreenMessage | PostScreenMessage (string message, float duration, ScreenMessageStyle style) |
| Posts a Screen Message to the screen. More... | |
| static ScreenMessage | PostScreenMessage (string message, float duration, ScreenMessageStyle style, ScreenMessage msg) |
| Posts a Screen Message to the screen. More... | |
| static ScreenMessage | PostScreenMessage (string message, float duration, bool persist) |
| Posts a Screen Message to the screen. The message will appear in the upper center area of the screen. More... | |
| static ScreenMessage | PostScreenMessage (string message, float duration) |
| Posts a Screen Message to the screen. The message will appear in the upper center area of the screen. More... | |
| static ScreenMessage | PostScreenMessage (string message, bool persist) |
| Posts a Screen Message to the screen. The message will appear in the upper center area of the screen for 3 seconds. More... | |
| static ScreenMessage | PostScreenMessage (string message) |
| Posts a Screen Message to the screen. The message will appear in the upper center area of the screen for 3 seconds. More... | |
| static ScreenMessage | PostScreenMessage (string message, ScreenMessage msg) |
| Posts a Screen Message to the screen. Can be used to update an existing message. Or will create a new one if the existing message is not found. More... | |
| static ScreenMessage | PostScreenMessage (ScreenMessage msg) |
| Posts a Screen Message to the screen. Can be used to re-post a previous message. Or will create a new one if the existing message is not found. More... | |
| static void | RemoveMessage (ScreenMessage msg) |
| Remove a ScreenMessage from the screen. More... | |
Public Attributes | |
| Color | defaultColor = Color.white |
| RectTransform | kerbalEva |
| Gradient | lifetimeGradient |
| RectTransform | lowerCenter |
| ScreenMessagesText | textPrefab |
| RectTransform | upperCenter |
| RectTransform | upperLeft |
| RectTransform | upperRight |
| bool | useLifetimeGradient = false |
Static Protected Member Functions | |
| static void | SendStateMessage (string title, string message, MessageSystemButton.MessageButtonColor color, MessageSystemButton.ButtonIcons icon) |
| Sends user a text message via messaging system More... | |
Properties | |
| List< ScreenMessage > | ActiveMessages [get, set] |
| static ScreenMessages | Instance [get, set] |
|
inlinestatic |
Posts a Screen Message to the screen.
| message | The message text |
| duration | How long to show the message on the screen |
| style | The ScreenMessageStyle which indicates which area of the screen the message will appear in |
| persist | If true will also post the message to the SMS App |
|
inlinestatic |
Posts a Screen Message to the screen.
| message | The message text |
| duration | How long to show the message on the screen |
| style | The ScreenMessageStyle which indicates which area of the screen the message will appear in |
| color | The color this screenmessage text will be |
|
inlinestatic |
Posts a Screen Message to the screen.
| message | The message text |
| duration | How long to show the message on the screen |
| style | The ScreenMessageStyle which indicates which area of the screen the message will appear in |
|
inlinestatic |
Posts a Screen Message to the screen.
| message | The message text |
| duration | How long to show the message on the screen |
| style | The ScreenMessageStyle which indicates which area of the screen the message will appear in |
| msg | The ScreenMessage to update if found |
|
inlinestatic |
Posts a Screen Message to the screen. The message will appear in the upper center area of the screen.
| message | The message text |
| duration | How long to show the message on the screen |
| persist | If true will also post the message to the SMS App |
|
inlinestatic |
Posts a Screen Message to the screen. The message will appear in the upper center area of the screen.
| message | The message text |
| duration | How long to show the message on the screen |
|
inlinestatic |
Posts a Screen Message to the screen. The message will appear in the upper center area of the screen for 3 seconds.
| message | The message text |
|
inlinestatic |
Posts a Screen Message to the screen. The message will appear in the upper center area of the screen for 3 seconds.
| message | The message text |
|
inlinestatic |
Posts a Screen Message to the screen. Can be used to update an existing message. Or will create a new one if the existing message is not found.
| message | The message text |
| msg | The ScreenMessage to update if found |
|
inlinestatic |
Posts a Screen Message to the screen. Can be used to re-post a previous message. Or will create a new one if the existing message is not found.
| msg | The ScreenMessage to re-post if not found |
|
inlinestatic |
Remove a ScreenMessage from the screen.
| msg | the ScreenMessage to remove |
|
inlinestaticprotected |
Sends user a text message via messaging system
| Color ScreenMessages.defaultColor = Color.white |
| RectTransform ScreenMessages.kerbalEva |
| Gradient ScreenMessages.lifetimeGradient |
| RectTransform ScreenMessages.lowerCenter |
| ScreenMessagesText ScreenMessages.textPrefab |
| RectTransform ScreenMessages.upperCenter |
| RectTransform ScreenMessages.upperLeft |
| RectTransform ScreenMessages.upperRight |
| bool ScreenMessages.useLifetimeGradient = false |
|
getset |
|
staticgetset |
1.8.7