My experience with Unity has always been that theres most likely a function for what you're doing or a simpler way. It's very easy to get too ambitious and overcomplicate ideas and code. So my advice is to try to keep it to the simplest code possible to achieve the same effect. If not, you'll get spaghetti code. Like a programmer's Occam's Razor type thing. It seems like a "no duh" thing, but that isnt always the case.