Hi. In my game, each partition is a list of files, and File is serializable. And there are TextEditorFile, GameFile, etc. among the file types, all of which are classes inherited from File. Here, is there a way to put a certain type of file (ex. TextEditorFile) in each instance of partition in the editor?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Custom editor : object are saved as their inherited class instead of their actual class type | 3 | 1217 | October 17, 2015 | |
C# inheriting correctly in editor, but loses it run-time | 1 | 1057 | May 24, 2013 | |
Using custom editor for an inherited class | 3 | 10064 | July 20, 2020 | |
Custom editor for inherited class but is not MonoBehaviour or ScriptableObject | 1 | 681 | November 28, 2020 | |
How to force custom editor to use inherited custom editor instead of the base one? | 2 | 12 | October 4, 2024 |