Table of Contents

Class HatDatabase

Namespace
DefaultNamespace
Assembly
Assembly-CSharp.dll
public class HatDatabase : MonoBehaviour
Inheritance
HatDatabase
Inherited Members
Extension Methods

Constructors

HatDatabase()

public HatDatabase()

Fields

WARNING

[TextArea(6, 6)]
public string WARNING

Field Value

string

hats

public Hat[] hats

Field Value

Hat[]

instance

public static HatDatabase instance

Field Value

HatDatabase

Methods

Awake()

public void Awake()

GetHatFromIndex(int)

public Hat GetHatFromIndex(int index)

Parameters

index int

Returns

Hat

GetIndexOfHat(Hat)

public int GetIndexOfHat(Hat hatBuySlotHatPrefab)

Parameters

hatBuySlotHatPrefab Hat

Returns

int

Init()

public static void Init()

InstantiateHat(GameObject)

public Hat InstantiateHat(GameObject hatPrefab)

Parameters

hatPrefab GameObject

Returns

Hat