Skip to content

Remove outline of Instantiated object not working #37

@kipBO

Description

@kipBO

Howdy all! I'm trying to remove a outline on a Instantiated object but it's not working. Can anyone spot what I'm doing wrong?

GameObject buildedItem = Instantiate(BuildingMenuItem.newItemModel);
Outline removeOutline = buildedItem.GetComponent<Outline>();
removeOutline.OutlineWidth = 0f;

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