Class ManagementKeycardPickup
Represents the Management Custom Keycard.
public class ManagementKeycardPickup : CustomKeycardPickup, IWrapper<ItemPickupBase>, IWorldSpace, IPosition, IRotation, IWrapper<KeycardPickup>, ILabelKeycard
- Inheritance
-
ManagementKeycardPickup
- Inherited Members
- Extension Methods
Properties
Label
Gets or sets the label of this CustomKeycardItem.
public string Label { get; set; }
Property Value
LabelColor
Gets or sets the UnityEngine.Color of this CustomKeycardItem.
public Color LabelColor { get; set; }
Property Value
- Color
Methods
Create(KeycardLevels, Color, string, Color, string, Color)
Creates an UnSpawned ManagementKeycardPickup, to spawn the pickup, call Spawn(Vector3, Quaternion?, Player) on the returned instance.
public static ManagementKeycardPickup Create(KeycardLevels keycardLevels, Color permissionsColor, string itemName, Color color, string label, Color labelColor)
Parameters
keycardLevelsKeycardLevelsThe permissions of the keycard.
permissionsColorColorThe color of the permissions of the keycard.
itemNamestringThe inventory name of the keycard.
colorColorThe color of the keycard.
labelstringThe label on the keycard.
labelColorColorThe color of the label on the keycard.