|
|
@@ -265,7 +265,7 @@ public:
|
|
|
/// Copy attributes from a base class.
|
|
|
#define URHO3D_COPY_BASE_ATTRIBUTES(sourceClassName) context->CopyBaseAttributes<sourceClassName, ClassName>()
|
|
|
/// Remove attribute by name.
|
|
|
-#define REMOVE_ATTRIBUTE(name) context->RemoveAttribute<ClassName>(name)
|
|
|
+#define URHO3D_REMOVE_ATTRIBUTE(name) context->RemoveAttribute<ClassName>(name)
|
|
|
/// Define an attribute that points to a memory offset in the object.
|
|
|
#define ATTRIBUTE(name, typeName, variable, defaultValue, mode) context->RegisterAttribute<ClassName>(Urho3D::AttributeInfo(GetVariantType<typeName >(), name, offsetof(ClassName, variable), defaultValue, mode))
|
|
|
/// Define an attribute that points to a memory offset in the object, and uses zero-based enum values, which are mapped to names through an array of C string pointers.
|