Movement Bug Fix

dev-hazim
Ali Sharoz 1 week ago
parent 1386b59afe
commit cb9ca2c494

@ -47,8 +47,8 @@ public class StartingTimer : NetworkBehaviour
}
timerValue.Value = -1; // Indicate "GO"
yield return new WaitForSeconds(0.5f);
StartingTimerEnded?.Invoke();
// Notify clients to disable the black screen
BlackScreenAlphaDisablerClientRpc();
}
@ -67,6 +67,7 @@ public class StartingTimer : NetworkBehaviour
[ClientRpc]
private void BlackScreenAlphaDisablerClientRpc()
{
StartingTimerEnded?.Invoke();
BlackScreen.gameObject.SetActive(false);
gameObject.SetActive(false);
//BlackScreen.DOFade(0, 0.25f).OnComplete(() =>

Loading…
Cancel
Save