Skip to content
This repository was archived by the owner on Oct 20, 2021. It is now read-only.

Commit e0eef01

Browse files
author
Paul Balaji
authored
Pass EntityId into Player EntityTemplate method (#254)
1 parent 5a7262f commit e0eef01

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
## Breaking Changes
66

77
- The FPS starter project now uses [query-based interest](https://docs.improbable.io/reference/14.4/shared/authority-and-interest/interest/query-based-interest-qbi) instead of [chunk-based interest](https://docs.improbable.io/reference/14.4/shared/authority-and-interest/interest/chunk-based-interest-cbi). [#253](https://github.com/spatialos/gdk-for-unity-fps-starter-project/pull/253)
8+
- You must now pass in an `EntityId` to create a player `EntityTemplate`. [#254](https://github.com/spatialos/gdk-for-unity-fps-starter-project/pull/254)
89

910
## `0.3.3` - 2020-02-14
1011

gdk.pinned

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
develop d3c1cf8fda5ee8fe50196cfcfb19aa33dd5a3894
1+
develop 34603f47b065d21f73e14beb9f44dce843dbc2ca

workers/unity/Assets/Fps/Scripts/Config/FpsEntityTemplates.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static EntityTemplate Spawner(Coordinates spawnerCoordinates)
3333
return template;
3434
}
3535

36-
public static EntityTemplate Player(string workerId, byte[] args)
36+
public static EntityTemplate Player(EntityId entityId, string workerId, byte[] args)
3737
{
3838
var client = EntityTemplate.GetWorkerAccessAttribute(workerId);
3939

0 commit comments

Comments
 (0)