Skip to content

Get/Set for reference of moveplate doesn't seem to be used within scripts? #1

@AoifeHughes

Description

@AoifeHughes

Hi,

Thanks for your tutorials, could you help me with clarifying what these getters/setters are doing and why they are needed. I can't understand how the GameObject reference is set if nothing ever calls it? Does unity do this automaticaly with the 2D collider?

public void SetReference(GameObject obj)

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