The UI for Unity's SerealizedReference attribute. It allows to change the instance type of field right in editor.
Go to file
2021-05-26 14:44:53 -04:00
Core organize into upm directory structure 2021-05-26 14:44:53 -04:00
DefaultAttributes organize into upm directory structure 2021-05-26 14:44:53 -04:00
DefaultUI organize into upm directory structure 2021-05-26 14:44:53 -04:00
Samples~ organize into upm directory structure 2021-05-26 14:44:53 -04:00
.gitignore Created new brunch. Plug in Rider's version control 2020-05-16 18:18:03 +03:00
Core.meta organize into upm directory structure 2021-05-26 14:44:53 -04:00
DefaultAttributes.meta organize into upm directory structure 2021-05-26 14:44:53 -04:00
DefaultUI.meta organize into upm directory structure 2021-05-26 14:44:53 -04:00
LICENSE.txt organize into upm directory structure 2021-05-26 14:44:53 -04:00
LICENSE.txt.meta organize into upm directory structure 2021-05-26 14:44:53 -04:00
package.json organize into upm directory structure 2021-05-26 14:44:53 -04:00
package.json.meta add package json 2021-05-26 14:37:00 -04:00
README.md Added not supported types example. 2020-08-13 18:13:53 +03:00
README.md.meta add package json 2021-05-26 14:37:00 -04:00
Textus.SerializeReferenceUI.asmdef organize into upm directory structure 2021-05-26 14:44:53 -04:00
Textus.SerializeReferenceUI.asmdef.meta organize into upm directory structure 2021-05-26 14:44:53 -04:00

UnitySerializedReferenceUI

The UI for Unity's SerealizedReference attribute. It allows to change the instance type of field right in editor.

Project is provided under Mit license which you can find in inner main folder ("SerializedReferenceUI")

Known limitations.

  • Custom property drawer has no effect. Becouse property is drawn from custom attribute drawer custom property drawer is not applied (unity default behaviour).
  • Can not serialized types derived from UnityEngine.Object (monbehaviour, scriptableObject) (unity's limitation).
  • Can not create instance of class that does not have empty constructor(only have private for example).

Known Issues of serialized reference:

  • Renaming used type can produce data loss and throws unknown managed type exception. This is unity's bug.
  • SerializeReference itself is not working properly with Prefab Instances;

Future plans: Possibly

  • copy / paste.
  • menu with searchbar.