@@ -543,7 +543,7 @@ void Actor::SetLayerRecursive(int32 layerIndex)
|
|||||||
OnLayerChanged();
|
OnLayerChanged();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Actor::SetNameNoCopy(String&& value)
|
void Actor::SetName(String&& value)
|
||||||
{
|
{
|
||||||
if (_name == value)
|
if (_name == value)
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -182,15 +182,16 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets the actor name without copying the string.
|
/// Sets the actor name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
void SetNameNoCopy(String&& value);
|
/// <param name="value">The value to set.</param>
|
||||||
|
API_PROPERTY() void SetName(String&& value);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Sets the actor name.
|
/// Sets the actor name.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="value">The value to set.</param>
|
/// <param name="value">The value to set.</param>
|
||||||
API_PROPERTY() void SetName(const StringView& value);
|
void SetName(const StringView& value);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Reference in New Issue
Block a user