void NotifyGameStart() { var gameStartAction = new GameStartAction(); gameStartAction.clientPosDict = new Dictionary <int, Vector3>(); foreach (var clientid in clientIDs) { gameStartAction.clientPosDict[clientid] = new Vector3(Random.Range(0, 10), 0, Random.Range(0, 10)); } BroadCastGeneralAction(gameStartAction); }
void Start() { GameStartAction?.Invoke(10000); }
public void GameStartInvoke() { GameStartAction?.Invoke(); }