Fixed RPC call for player prefab
This commit is contained in:
parent
ae6d704c1b
commit
c57476770c
@ -94,7 +94,7 @@ namespace Passer.Humanoid {
|
|||||||
|
|
||||||
#region Init
|
#region Init
|
||||||
|
|
||||||
public void Awake() {
|
public void Start() {
|
||||||
if (identity == null)
|
if (identity == null)
|
||||||
identity = GetComponent<Unity.Netcode.NetworkObject>();
|
identity = GetComponent<Unity.Netcode.NetworkObject>();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user