mcpiroman / UnityNativeTool

Allows to unload native plugins in Unity3d editor
MIT License
184 stars 19 forks source link

Edit options when initialized, Fix cleanup when recompiling #20

Closed rogerbarton closed 4 years ago

rogerbarton commented 4 years ago
  1. Allows editing options when initialized, this is done by having a separate copy of the Options in the script as in the manipulator. Changes are applied when entering play mode or can be applied immediately. This also avoids bugs when using enableInEditMode and changing the options when already initialized.
  2. Properly cleans up when recompiling, the problem is that OnDestroy is not called when recompiling.

See commit messages for details.

rogerbarton commented 4 years ago

PR20-gui-preview

mcpiroman commented 4 years ago

LGTM