Fixed some bugs

dev-hazim
Hazim Bin Ijaz 3 weeks ago
parent a14c6c22a8
commit 2f340322b9

@ -3938,6 +3938,18 @@ MonoBehaviour:
m_StringArgument: m_StringArgument:
m_BoolArgument: 0 m_BoolArgument: 0
m_CallState: 2 m_CallState: 2
- m_Target: {fileID: 242488685}
m_TargetAssemblyTypeName: TimerManager, Assembly-CSharp
m_MethodName: StopTimer
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &1137828061 --- !u!114 &1137828061
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -8322,6 +8334,18 @@ MonoBehaviour:
m_StringArgument: m_StringArgument:
m_BoolArgument: 0 m_BoolArgument: 0
m_CallState: 2 m_CallState: 2
- m_Target: {fileID: 242488685}
m_TargetAssemblyTypeName: TimerManager, Assembly-CSharp
m_MethodName: StartTimer
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
--- !u!114 &2116708649 --- !u!114 &2116708649
MonoBehaviour: MonoBehaviour:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

@ -177,6 +177,8 @@ public class GamePlayManager : MonoBehaviour
}); });
CheckGameOver(); CheckGameOver();
levelLeaderBtn.gameObject.SetActive(isTimerLevel); levelLeaderBtn.gameObject.SetActive(isTimerLevel);
TimerManager.ResetTimer();
TimerManager.StartTimer();
} }

Loading…
Cancel
Save