zed-unity icon indicating copy to clipboard operation
zed-unity copied to clipboard

Add namespaces to ZED code

Open DanielPD opened this issue 4 years ago • 1 comments

Currently the ZED codebase doesn't seem to use namespaces everywhere. Some parts do (e.g. the SDK/NativeInterface classes use namespace "s1"), while the majority of classes don't (e.g. SDK/Helpers/Scripts). This may cause conflicts with other plugins and assets when imported in Unity.

Specifically, I recently ran into a problem using ZED and UMA. UMA defines its own helper classes under its own namespace, which includes a class ReadOnlyAttribute to manage read-only attributes. Similarly, ZED defines a ReadOnlyAttribute class, without namespace, causing a conflict.

DanielPD avatar Jun 08 '20 08:06 DanielPD

Having a similar issue here. Namespacing all ZED scripts would be very helpful!

RomanCalderon avatar Feb 05 '24 15:02 RomanCalderon