Today I was adding some new GameObjects(GOs) to my game scene, some of those GOs were Item Pickups, some small components that have a trigger to identify that the player has found them, a component that implements an interface to identify that the player found something that can be picked up, a property for a ScriptableObject that represents an item and a Sprite to show the look of the object inside the scene.

But after placing the Item Pickup I ran into a small problem, the item and the environment have the same color pallete, giving the chance for the player to completely miss it.

Not difficult to fix this, just add another trigger and a script that kicks in when the player character is close enough to the item and it flashes, that would easily do the trick.

Tags , , ,