Shimizoki
Shimizoki
CC#
Created by Shimizoki on 2/8/2023 in #help
❔ [Unity?] How to have a list of generic classes in inspector cast as derived class
Ah wait... I think I am seeing where you are going
78 replies
CC#
Created by Shimizoki on 2/8/2023 in #help
❔ [Unity?] How to have a list of generic classes in inspector cast as derived class
I still don't see how that helps me get a list of all the types
78 replies
CC#
Created by Shimizoki on 2/8/2023 in #help
❔ [Unity?] How to have a list of generic classes in inspector cast as derived class
So rather than having a base : derived... I have a base<T> and the T is my fake derived?
78 replies
CC#
Created by Shimizoki on 2/8/2023 in #help
❔ [Unity?] How to have a list of generic classes in inspector cast as derived class
The thing that I'm working on is about to go down that nasty rabbit hole of having 50 of the exact same item, with no changes between any of them except for the types. Each of these items has a boilerplate copy and paste, and then in half a dozen places scattered around the code base needs to have the exact same chunk of code copied and then the names changed for this item. My goal is to prevent that. Maybe my starting premise was wrong to begin with
78 replies
CC#
Created by Shimizoki on 2/8/2023 in #help
❔ [Unity?] How to have a list of generic classes in inspector cast as derived class
I am absolutely happy to change as many things as necessary here. I even have some ability to change the actual functionality of the class. Maybe I can find a way to not use that add function at all. I'm just really looking for a way that I can have all of these different objects in an enumerable of some kind
78 replies