Class HatBuyInteractable
- Namespace
- DefaultNamespace
- Assembly
- Assembly-CSharp.dll
public class HatBuyInteractable : Interactable
- Inheritance
-
HatBuyInteractable
- Inherited Members
-
- Extension Methods
-
Constructors
HatBuyInteractable()
public HatBuyInteractable()
Fields
hatPrefab
public GameObject hatPrefab
Field Value
- GameObject
hatShop_gp
public HatShop hatShop_gp
Field Value
- HatShop
hatSpot
Field Value
- Transform
ihat
Field Value
- Hat
nameText
public TextMeshPro nameText
Field Value
- TextMeshPro
outlinable
public Outlinable outlinable
Field Value
- Outlinable
priceText
public TextMeshPro priceText
Field Value
- TextMeshPro
Properties
IsEmpty
public bool IsEmpty { get; }
Property Value
- bool
IsOwned
public bool IsOwned { get; }
Property Value
- bool
Methods
AddToOutlineable()
public void AddToOutlineable()
Awake()
public override void Awake()
ClearHat()
Interact(Player)
public override void Interact(Player player)
Parameters
player
Player
IsValid(Player)
public override bool IsValid(Player player)
Parameters
player
Player
Returns
- bool
LoadHat(GameObject, int)
public void LoadHat(GameObject hatPrefab, int price)
Parameters
hatPrefab
GameObject
price
int
Update()