Copun

u/Copun













r/Unity3D•

The problem: I need to create many different types of items with different functionalities. They implement the same interface, but I don't want to create separate scripts for each one.

Thoughts: Each item has an if that points to a script database containing all item functionality. But since I can't create anonymous Coroutines, I would have to create unique coroutines for each item, worse than creating separate scripts for each item. Any ideas?

39