UniversalViewer/Assets/Scripts/ModelViewerBase/SharedResources.cs

35 lines
1.3 KiB
C#
Raw Normal View History

2024-04-21 22:38:26 +08:00
using UnityEngine;
using UnityEngine.UI;
2024-04-21 22:38:26 +08:00
public partial class SharedResources : MonoBehaviour
{
public static SharedResources Instance;
public AnimatorOverrideController GenericAnimatorController ;
public UITimelineObjectEntry TimelineObjectEntry ;
public UISceneContainer UISceneContainer ;
public UIDraggableProxy UIDraggableProxy ;
public UIPoseContainer UIPoseContainer ;
public UIPopupPastePanel PopupPastePanel ;
public UISelectionEntry SelectionEntry ;
public TimelineFrameContainer TimelineFrame ;
public UIPopupMessage PopupMessage ;
public PopupController HandlePopup ;
public UITextInput UITextInput ;
2024-04-21 22:38:26 +08:00
public SliderPanel SliderPanel ;
public SliderPanel TogglePanel ;
public MorphPanel MorphPanel ;
public GameObject ModelIcon ;
public GameObject Handle ;
public Button Button ;
2024-04-21 22:38:26 +08:00
protected void Awake()
{
if(Instance != null && Instance != this)
{
Destroy(this);
return;
}
Instance = this;
}
}