QuickOutline
QuickOutline copied to clipboard
Remove outline of Instantiated object not working
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;