diff --git a/Source/Engine/Level/Actor.cs b/Source/Engine/Level/Actor.cs index cfb454354..2d9c27b9a 100644 --- a/Source/Engine/Level/Actor.cs +++ b/Source/Engine/Level/Actor.cs @@ -203,7 +203,7 @@ namespace FlaxEngine } /// - /// Finds the script of the given type. + /// Finds the script of the given type from this actor. /// /// Type of the script to search for. Includes any scripts derived from the type. /// The script or null if failed to find. @@ -213,7 +213,7 @@ namespace FlaxEngine } /// - /// Tries to find the script of the given type. + /// Tries to find the script of the given type from this actor. /// /// Type of the script to search for. Includes any scripts derived from the type. /// The returned script, valid only if method returns true. @@ -240,7 +240,7 @@ namespace FlaxEngine } /// - /// Searches for all scripts of a specific type. + /// Searches for all scripts of a specific type from this actor. /// /// Type of the scripts to search for. Includes any scripts derived from the type. /// All scripts matching the specified type. diff --git a/Source/Engine/Level/Actor.h b/Source/Engine/Level/Actor.h index dea13cd4f..04377fd4f 100644 --- a/Source/Engine/Level/Actor.h +++ b/Source/Engine/Level/Actor.h @@ -272,14 +272,14 @@ public: } /// - /// Gets the script of the given type. + /// Gets the script of the given type from this actor. /// /// Type of the script to search for. Includes any scripts derived from the type. /// The script or null. API_FUNCTION() Script* GetScript(const MClass* type) const; /// - /// Gets the script of the given type. + /// Gets the script of the given type from this actor. /// /// The script or null. template @@ -289,14 +289,14 @@ public: } /// - /// Gets the scripts of the given type. + /// Gets the scripts of the given type from this actor. /// /// Type of the script to search for. Includes any scripts derived from the type. /// The scripts. API_FUNCTION() Array GetScripts(const MClass* type) const; /// - /// Gets the scripts of the given type. + /// Gets the scripts of the given type from this actor. /// /// The scripts. template