Skip to content

GetNetworkBehaviourAtOrderIndex is now internal in 2.x #3528

@PitouGames

Description

@PitouGames

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.

Metadata

Metadata

Labels

priority:highThis issue has high priority and we are focusing to resolve itregressionThe issue is a regression (something that was working in previous version)stat:InvestigatingIssue is currently being investigatedstat:awaiting-responseAwaiting response from author. This label should be added manually.stat:importedStatus - Issue is tracked internally at Unitytype:bugBug Report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions