Skip to content

"Has to inherit from MonoBehaviour so we can use Instantiate()" - wrong #9

@andypoly

Description

@andypoly

The code comment is wrong. You can make a reusable GameObject pool without monobehaviour because you can call Object.Instantiate - you just have to pass a prefab GameObject to it on creation. But that could be in a parent class or a pool manager monobehaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions