Skip to content

QoL Suggestion adding flag in NetworkIdentity that can indicate is entity in disabled state on host. #3993

Open
@list3ner

Description

@list3ner

Please explain the suggested feature in detail.

Mirror on a host with a local client disables visibility in InterestManagementBase.SetHostVisibility

While this method is virtual it would be nice QoL to have a flag in NetworkIdentity for this as some other game logic might benefit from easier identifying this special case.

How exactly does this keep you from releasing your game right now?

This is not a blocker but QoL improvement.

Can you suggest a possible solution?

I would suggest adding in NetworkIdentity flag isDisabledOnHost

And setting this flag like so:

identity.isDisabledOnHost = !visible;

in InterestManagementBase.SetHostVisibility

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions