[request] Please make UCC code more extensible

chrisk

Active member
Hi, Justin,
I mentioned before and I would like to request if you can make UCC code more extensible.
UCC is very well written code, but it is coded as if UCC is the final consumer.
I'm sure it's not intentional but I understand that it was difficult to think about what will be extended by users ahead of time.

But on the other hand, having to modify UCC code makes us very difficult to patch.
I appreciate if you can take a look to make it more extensible.

Here is my list for the modification for your reference.

My recommendation is to make the most of the private variables to Protected to start with.
It won't hurt to make protected unless it's very clear that it needs to be private.

And making method virtual will require some more thoughts but many will needs be overrided if you extend them.
If some classes are meant to be extended, please make the method virtual method.
Unless it is performance critical (called at every frame), making them virtual would not hurt but it will make the class very extensible.

Thanks.

1552028464735.png

1552028504311.png
 
Top