Minor adjustments to tags
This commit is contained in:
@@ -20,9 +20,6 @@ class PhysicsScene;
|
||||
class SceneRendering;
|
||||
class SceneRenderTask;
|
||||
|
||||
// Maximum tag index is used as an invalid value
|
||||
#define ACTOR_TAG_INVALID 255
|
||||
|
||||
/// <summary>
|
||||
/// Base class for all actor objects on the scene.
|
||||
/// </summary>
|
||||
@@ -116,13 +113,13 @@ public:
|
||||
API_FUNCTION() bool HasTag() const;
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether this actor has given tag assigned.
|
||||
/// Determines whether this actor has given tag assigned (exact match).
|
||||
/// </summary>
|
||||
/// <param name="tag">The tag to check.</param>
|
||||
API_FUNCTION() bool HasTag(const Tag& tag) const;
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether this actor has given tag assigned.
|
||||
/// Determines whether this actor has given tag assigned (exact match).
|
||||
/// </summary>
|
||||
/// <param name="tag">The tag to check.</param>
|
||||
API_FUNCTION() bool HasTag(const StringView& tag) const;
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace FlaxEngine
|
||||
internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
|
||||
{
|
||||
// Initialize structure with default values to replicate C++ deserialization behavior
|
||||
this.Index = -1;
|
||||
Index = -1;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user