Skip to content

Suggestion: Hold a ref to the component instead of the game object #13

Description

@rmenapace

The GuidManager currently holds referenced to the gameobject the component lives in. If you hold a reference to the GuidComponent instead, its easy to get the gameobject from the component, and things that inherit from GuidComponent don't have to be located with GetComponent if the application requires a ref to the GuidComponent.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions