加载面部识别页面

This commit is contained in:
terric 2023-11-20 09:56:30 +08:00
parent 013b07896e
commit 46b6d011ea
5 changed files with 35 additions and 1927 deletions

View File

@ -9884,8 +9884,8 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
backgroundImage: {fileID: 21300000, guid: 953160aad749d4445804d6221300168e, type: 3}
buttonTitle: TITLE
buttonDescription: DESCRIPTION
buttonTitle: Health Detect
buttonDescription: Detect your Healthy State
useCustomResources: 0
enableStatus: 1
statusItem: 1
@ -9935,14 +9935,14 @@ MonoBehaviour:
m_Calls:
- m_Target: {fileID: -5447994580174514295}
m_TargetAssemblyTypeName: ActionListUIPanel, Assembly-CSharp
m_MethodName: OnLoadBtnClicked
m_Mode: 3
m_MethodName: OnLoadSceneBtnClicked
m_Mode: 5
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 5
m_FloatArgument: 0
m_StringArgument:
m_StringArgument: FaceDetect
m_BoolArgument: 0
m_CallState: 2
--- !u!95 &6279535026302744607

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,13 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FaceDetectManager : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
UIManager.Instance.LoadReset();
UIManager.Instance.ShowPanel<FaceDetectUI>();
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 3d8102f8264d54f4099a5fd817383837
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -16,6 +16,7 @@ public static class UILoadConfig
{ "ClearingSettlementUI" , "UI/ClearingSettlementUI" },
{ "HudUI" , "UI/HUDRoot" },
{ "MeditationVideoUI" , "UI/MeditationVideoPanel" },
{ "FaceDetectUI" , "UI/FaceDetectUI" },
};
public static string GetPath(string typeName)