28 lines
995 B
C#
28 lines
995 B
C#
![]() |
// Copyright (c) 2015 - 2023 Doozy Entertainment. All Rights Reserved.
|
|||
|
// This code can only be used under the standard Unity Asset Store End User License Agreement
|
|||
|
// A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms
|
|||
|
|
|||
|
using System;
|
|||
|
using Doozy.Runtime.Common.Attributes;
|
|||
|
using Doozy.Runtime.UIManager.Containers;
|
|||
|
using Doozy.Runtime.UIManager.ScriptableObjects.Internal;
|
|||
|
|
|||
|
namespace Doozy.Runtime.UIManager.ScriptableObjects
|
|||
|
{
|
|||
|
[Serializable]
|
|||
|
public class UITooltipDatabase : PrefabLinkDatabase<UITooltipDatabase, UITooltipLink>
|
|||
|
{
|
|||
|
public override string defaultLinkName => UITooltip.k_DefaultTooltipName;
|
|||
|
public override string databaseName => nameof(UITooltip);
|
|||
|
|
|||
|
[RestoreData(nameof(UITooltipDatabase))]
|
|||
|
public static UITooltipDatabase Get() =>
|
|||
|
instance;
|
|||
|
|
|||
|
[RefreshData(nameof(UITooltipDatabase))]
|
|||
|
public static void RefreshData() =>
|
|||
|
instance.RefreshDatabase();
|
|||
|
|
|||
|
}
|
|||
|
}
|