Carry zone render through observed daemon state
This commit is contained in:
parent
10df4d2152
commit
6c75edc4f5
5 changed files with 21 additions and 36 deletions
|
|
@ -65,13 +65,7 @@ public class ActionGameManager : MonoBehaviour
|
|||
SetCurrentEntity = entity => CurrentEntity = entity,
|
||||
GetViewDirection = () => _viewDirection,
|
||||
SetViewDirection = direction => _viewDirection = direction,
|
||||
ResolveZoneRender = () => ResolveDaemonObserver()
|
||||
?.Client
|
||||
?.Aetheria()
|
||||
.ZoneRender
|
||||
.LatestAsync()
|
||||
.GetAwaiter()
|
||||
.GetResult(),
|
||||
ResolveZoneRender = () => ResolveDaemonObserver()?.LastObservedState?.ZoneRender,
|
||||
ApplyActionBarBindings = ActionBarBindings.ApplyBindings,
|
||||
EnablePlayerInput = EnablePlayerInput,
|
||||
DisablePlayerInput = DisablePlayerInput,
|
||||
|
|
|
|||
Loading…
Reference in a new issue