private void OnUpdate(object sender, Event e) { if (serializableComponent == null) { return; } SenderUtil.NetworkObserver(id, serializableComponent as IGsLiveSerializable); }
private void OnUpdate(object sender, EventUtil e) { if (serializableComponent == null) { return; } if (FiroozehGameService.Core.GameService.GSLive.IsRealTimeAvailable()) { SenderUtil.NetworkObserver(id, serializableComponent as IGsLiveSerializable); isAvailable = true; } else { isAvailable = false; } }