Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Attributes | List of all members
KSP.UI.Screens.EditorInventoryOnlyIcon Class Reference

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...

Inheritance diagram for KSP.UI.Screens.EditorInventoryOnlyIcon:

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...
 

Detailed Description

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)

Member Data Documentation

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


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