Implement browser tabs.

This commit is contained in:
2023-11-11 11:54:52 +08:00
parent c05b771425
commit 166478e4bb
5 changed files with 64 additions and 588 deletions

View File

@@ -2,6 +2,10 @@ using UnityEngine;
namespace Cryville.Crtr.Browsing.UI {
public abstract class ResourceBrowser : MonoBehaviour {
[SerializeField]
Sprite m_icon;
public Sprite Icon { get { return m_icon; } }
protected ResourceBrowserMaster Master { get; private set; }
protected virtual void Awake() {
Master = GetComponentInParent<ResourceBrowserMaster>();