![]() |
Kerbal Space Program
1.12.4
|
This script manages the ui parts for the icon that appears when dragging an inventory item that can't be dropped in scene (hence it is inventory only item) More...
Public Attributes | |
Image | Background |
Background for the icon More... | |
RawImage | InventoryItemThumbnail |
Image that displays the inventory part's icon More... | |
int | MaxStackImages = 10 |
The max amount of stack images More... | |
TMPro.TextMeshProUGUI | StackAmountText |
Text for the stack amount label More... | |
Transform | StackParent |
When the item that is being dragged is a stack, this object will turn on More... | |
float | StackSeparation = 3 |
The amount of separation between stack images More... | |
This script manages the ui parts for the icon that appears when dragging an inventory item that can't be dropped in scene (hence it is inventory only item)
Image KSP.UI.Screens.EditorInventoryOnlyIcon.Background |
Background for the icon
RawImage KSP.UI.Screens.EditorInventoryOnlyIcon.InventoryItemThumbnail |
Image that displays the inventory part's icon
int KSP.UI.Screens.EditorInventoryOnlyIcon.MaxStackImages = 10 |
The max amount of stack images
TMPro.TextMeshProUGUI KSP.UI.Screens.EditorInventoryOnlyIcon.StackAmountText |
Text for the stack amount label
Transform KSP.UI.Screens.EditorInventoryOnlyIcon.StackParent |
When the item that is being dragged is a stack, this object will turn on
float KSP.UI.Screens.EditorInventoryOnlyIcon.StackSeparation = 3 |
The amount of separation between stack images