Learn / Documentation / Script Reference / UIPopupNameToPrefabLink

UIPopupNameToPrefabLink

class in Doozy.Engine.UI

Description

The UIPopupNameToPrefabLink class contains a pair of PopupName and UIPopup prefab reference, used by the UIPopupDatabase as its data entries

Public Variables

  • public string PopupName – Name used to retrieve the prefab reference from the database (this is not the prefab name)

  • public GameObject PrefabUIPopup prefab reference

Constructors

  • public UIPopupNameToPrefabLink(string popupName) – Initializes a new instance of the class with a given popup name and a null prefab reference

  • public UIPopupNameToPrefabLink(string popupName, GameObject prefab) – Initializes a new instance of the class with a given popup name and prefab reference