-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Store now spawns on every connection. Loading bar added
Needed loading bar to know when all connections have loaded all entities. Added PlayerManager for Managers that have one instance per player, but run on the server. Store manager now spawns store when game is started. Added a client side Event Handler class that handles all Bolt Events
- Loading branch information
1 parent
d19895f
commit 58cd27b
Showing
51 changed files
with
584 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &11400000 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 0} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: 61d58f53045ec6b4d9f09148f39c99fa, type: 3} | ||
m_Name: 4-Player-Debug | ||
m_EditorClassIdentifier: | ||
arenaLayout: | ||
array2D: | ||
- row: | ||
- active: 1 | ||
shared: 1 | ||
- active: 0 | ||
shared: 0 | ||
- active: 0 | ||
shared: 0 | ||
- row: | ||
- active: 0 | ||
shared: 0 | ||
- active: 0 | ||
shared: 0 | ||
- active: 1 | ||
shared: 0 | ||
- row: | ||
- active: 0 | ||
shared: 0 | ||
- active: 1 | ||
shared: 0 | ||
- active: 0 | ||
shared: 0 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
using UnityEngine.UI; | ||
|
||
public class DebugDisplayTimeLoaded : MonoBehaviour | ||
{ | ||
public Text Text; | ||
|
||
void Update() | ||
{ | ||
if (BoltNetwork.IsServer) { | ||
if (GameMan.Instance == null) return; | ||
Text.text = GameMan.Instance.LoadStatus.ToString() + "%"; | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.