/// <summary> /// Constructor. /// </summary> /// <param name="isRepeatable">show multiple popups at the same time</param> public MyUGUIPopup(EPopupID id, string prefabName, bool isFloat = false, bool isRepeatable = false) : base(prefabName) { mID = id; mIsFloat = isFloat; mIsRepeatable = isRepeatable; mIsRetainable = !isRepeatable; }
/// <summary> /// Constructor. /// </summary> public MyUGUIPopup0Button(EPopupID id, string prefabName, bool isFloat = false, bool isRepeatable = false) : base(id, prefabName, isFloat, isRepeatable) { #if UNITY_EDITOR if (!_CheckPrefab()) { _CreatePrefab(); } #endif }
/// <summary> /// Constructor. /// </summary> public MyUGUIPopup2Buttons(EPopupID id, string prefabName, bool isFloat = false, bool isRepeatable = false) : base(id, prefabName, isFloat, isRepeatable) { #if UNITY_EDITOR if (!_CheckPrefab()) { _CreatePrefab(); } #endif mIsAutoHideWhenClickButton = true; }
public AdMobPopup(EPopupID id, string prefabName, bool isFloat = false, bool isRepeatable = false) : base(id, prefabName, isFloat, isRepeatable) { }
public LocalizationPopup(EPopupID id, string prefabName, bool isFloat = false, bool isRepeatable = false) : base(id, prefabName, isFloat, isRepeatable) { }
public MyUGUISamplePopup(EPopupID id, string prefabName, bool isFloat = false, bool isRepeatable = false) : base(id, prefabName, isFloat, isRepeatable) { }