17 lines
362 B
C#
17 lines
362 B
C#
using UnityEngine;
|
|
|
|
namespace AibisDream.Framework
|
|
{
|
|
public class UICamera : MonoBehaviour
|
|
{
|
|
private void Awake()
|
|
{
|
|
CameraKit.Instance.RegisterUICamera(GetComponent<Camera>());
|
|
}
|
|
|
|
private void OnDestroy()
|
|
{
|
|
CameraKit.Instance.UnRegisterUICamera(GetComponent<Camera>());
|
|
}
|
|
}
|
|
} |