Fixed bug with ui on networked

-chagne cool down script to call a function to populate player canvas
-Added populate call to three network scripts
This commit is contained in:
Evan Nydahl
2022-03-14 21:44:45 -05:00
parent 60e3213d41
commit 3ef7f7d0fb
7 changed files with 130 additions and 118 deletions

View File

@@ -256,6 +256,7 @@ public class PauseMenu : NetworkBehaviour {
character.GetComponentInChildren<NitroStateManager>().enabled = true;
character.GetComponentInChildren<AerialStateManager>().enabled = true;
character.GetComponentInChildren<OffenseStateManager>().enabled = true;
character.GetComponentInChildren<CoolDown>().populatePlayerCanvas();
}
}