Hi.
Would be possible to add to Node or Component the property “void* UserData” in C++ and/or “object UserData” in C#.
It’s a common property found in other libraries.
UserData Value adding
thanks for replying.
I’ve noticed that on c++, but wasn’t sure because i’m using urho on c#, which doesn’t contains that paramter for setvar.
only the following:
SetVar(StringHash key, IntRect value);
SetVar(StringHash key, bool value);
SetVar(StringHash key, string value);
SetVar(StringHash key, Vector3 value);
SetVar(StringHash key, float value);
SetVar(StringHash key, Vector2 value);
SetVar(StringHash key, Matrix3x4 value);
SetVar(StringHash key, Matrix4 value);
SetVar(StringHash key, Quaternion value);
SetVar(StringHash key, IntVector2 value);
SetVar(StringHash key, Vector4 value);
SetVar(StringHash key, Color value);
SetVar(StringHash key, int value);
Sorry, don’t know anything about the C# implementation
@josuemnb Urho3D does not use C#. Are you talking about a discontinued fork?
Maybe you could try with C++ and AngelScript instead? These are not the UrhoSharp forums.
Thanks.
Wasn’t sure of that.