|
static string | ColorToHex (Color32 color) |
|
static float | GetSimulatedScrollMultiplier (ScrollRect scrollRect, bool vertical) |
| While simulating scrolling in a ScrollRect with buttons this method returns a smooth multiplier which grows the longer the ScrollRect.content is compared to the ScrollRect itself More...
|
|
static Color | HexToColor (string hex) |
|
static void | SetLayerRecursive (GameObject obj, int layer) |
|
static string KSP.UI.U5Util.ColorToHex |
( |
Color32 |
color | ) |
|
|
inlinestatic |
static float KSP.UI.U5Util.GetSimulatedScrollMultiplier |
( |
ScrollRect |
scrollRect, |
|
|
bool |
vertical |
|
) |
| |
|
inlinestatic |
While simulating scrolling in a ScrollRect with buttons this method returns a smooth multiplier which grows the longer the ScrollRect.content is compared to the ScrollRect itself
- Parameters
-
scrollRect | The ScrollRect to simulate scrolling on. |
vertical | Is the ScrollRect scrolling vertically, if not horizontal is assumed. |
- Returns
static Color KSP.UI.U5Util.HexToColor |
( |
string |
hex | ) |
|
|
inlinestatic |
static void KSP.UI.U5Util.SetLayerRecursive |
( |
GameObject |
obj, |
|
|
int |
layer |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: