mirror of
https://github.com/ConjureETS/GameOff2024.git
synced 2026-03-23 20:50:57 +00:00
Fix bug
This commit is contained in:
parent
a4489d8185
commit
10ed6cb2ea
@ -1379,7 +1379,7 @@ GameObject:
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &461561937
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@ -47,7 +47,7 @@ namespace GameOff.Core
|
||||
{
|
||||
bool isQuiz = _currentState is PlayerQuizState;
|
||||
ChangeState(isQuiz ? _classState: _quizState);
|
||||
OnStateUpdate?.Invoke(this, isQuiz);
|
||||
OnStateUpdate?.Invoke(this, !isQuiz);
|
||||
}
|
||||
|
||||
private void ChangeState(IState next)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user