Update Actor docs for GetScripts to be more precise about search method

This commit is contained in:
Wojtek Figat
2021-02-16 11:00:08 +01:00
parent 7221f7167f
commit 537dde594d
2 changed files with 7 additions and 7 deletions

View File

@@ -272,14 +272,14 @@ public:
}
/// <summary>
/// Gets the script of the given type.
/// Gets the script of the given type from this actor.
/// </summary>
/// <param name="type">Type of the script to search for. Includes any scripts derived from the type.</param>
/// <returns>The script or null.</returns>
API_FUNCTION() Script* GetScript(const MClass* type) const;
/// <summary>
/// Gets the script of the given type.
/// Gets the script of the given type from this actor.
/// </summary>
/// <returns>The script or null.</returns>
template<typename T>
@@ -289,14 +289,14 @@ public:
}
/// <summary>
/// Gets the scripts of the given type.
/// Gets the scripts of the given type from this actor.
/// </summary>
/// <param name="type">Type of the script to search for. Includes any scripts derived from the type.</param>
/// <returns>The scripts.</returns>
API_FUNCTION() Array<Script*> GetScripts(const MClass* type) const;
/// <summary>
/// Gets the scripts of the given type.
/// Gets the scripts of the given type from this actor.
/// </summary>
/// <returns>The scripts.</returns>
template<typename T>