Quantcast
Channel: Programming (In-game)
Viewing all articles
Browse latest Browse all 645

code reuse - best ways to do it?

$
0
0
I have all these methods that help me out with stuff. For example, I have my own methods for getting blocks/groups for superior error handling.

But to re-use this code across multiple programmable blocks, I need to copy/paste this code. If I make a change to this code, I need to copy/paste that change in VS to all my PB scripts, then copy those scripts into their respective PBs. As far as I'm aware, there is no way to make an abstract class that I can extend.

Is there a better / simpler...

code reuse - best ways to do it?

Viewing all articles
Browse latest Browse all 645

Trending Articles