Posts

Showing posts from April, 2025

1st Stage Completion

Seamless Authentication: Updated LoginManager.cs so that Unity Services initialize before loading saved credentials, guaranteeing autofill and error-free signup/login flows. Improved Spawn Mechanics: Refined GameplaySpawnManager.cs to deterministically assign spawn points based on team and actor order, ensuring consistent player placement every match. Live Model Selection: Leveraged ChangeModels.cs and PlayerModelManager.cs to let players toggle character models at runtime RPC calls propagate changes to all clients in real time. Persistent Team & Model Data: Extended GameManager.cs to store team IDs and clothing masks in Photon CustomProperties, so selections survive across scenes and reconnects. Random Level Selection on Ready: In Ready.cs , once every player’s “Ready” flag is set, the master client picks one of three levels at random and uses PhotonNetwork.LoadLevel(...) to transport everyone simultaneously. Cross-Scene State Preservation: Used DontDestroyOnLoad on i...