Description
The function GetNetworkBehaviourAtOrderIndex was public in NGO 1.x:
|
public NetworkBehaviour GetNetworkBehaviourAtOrderIndex(ushort index) |
In 2.x, the same function is now internal:
|
internal NetworkBehaviour GetNetworkBehaviourAtOrderIndex(ushort index) |
I am using this function in my project for a custom generic NetworkBehaviourReference. My script is very similar to the one proposed in #2837.
Now the function is restricted, it prevent me to update to NGO 2.x.
It is unclear why GetNetworkBehaviourAtOrderIndex has been made internal? Was it intentionnal?
I'm requesting this function to be made public again (see #2678 for the 1.x request). Since it's just a getter, I don't see anything preventing us to access it.
Description
The function GetNetworkBehaviourAtOrderIndex was public in NGO 1.x:
com.unity.netcode.gameobjects/com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs
Line 1611 in 7a81722
In 2.x, the same function is now internal:
com.unity.netcode.gameobjects/com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs
Line 2765 in 098e68e
I am using this function in my project for a custom generic NetworkBehaviourReference. My script is very similar to the one proposed in #2837.
Now the function is restricted, it prevent me to update to NGO 2.x.
GetNetworkBehaviourOrderIndexis public:com.unity.netcode.gameobjects/com.unity.netcode.gameobjects/Runtime/Core/NetworkObject.cs
Line 2738 in 098e68e
It is unclear why
GetNetworkBehaviourAtOrderIndexhas been made internal? Was it intentionnal?I'm requesting this function to be made public again (see #2678 for the 1.x request). Since it's just a getter, I don't see anything preventing us to access it.