fix docs commend and function name
This commit is contained in:
@@ -427,7 +427,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsParameterReferenced(SurfaceParameter param, VisjectSurface surface)
|
||||
public bool IsParamreferenced(SurfaceParameter param, VisjectSurface surface)
|
||||
{
|
||||
for (int i = 0; i < surface.Nodes.Count; i++)
|
||||
{
|
||||
@@ -958,7 +958,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public bool IsParameterReferenced(SurfaceParameter param, VisjectSurface surface)
|
||||
public bool IsParamreferenced(SurfaceParameter param, VisjectSurface surface)
|
||||
{
|
||||
for (int i = 0; i < surface.Nodes.Count; i++)
|
||||
{
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace FlaxEditor.Surface
|
||||
/// Get if the parameter is referenced in a graph. Referenced in this case means in a graph and at least one node in-/output connected to another node.
|
||||
/// </summary>
|
||||
/// <param name="param">The parameter.</param>
|
||||
/// /// <param name="surface">The visject surface.</param>
|
||||
/// <returns>How often the parameter is referenced.</returns>
|
||||
bool IsParameterReferenced(SurfaceParameter param, VisjectSurface surface);
|
||||
/// <param name="surface">The visject surface.</param>
|
||||
/// <returns>If the parameter is referenced.</returns>
|
||||
bool IsParamreferenced(SurfaceParameter param, VisjectSurface surface);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -788,7 +788,7 @@ namespace FlaxEditor.Surface
|
||||
{
|
||||
if (nodes[i] is IParametersDependantNode node)
|
||||
{
|
||||
if (displayWarning && node.IsParameterReferenced(param, window.VisjectSurface))
|
||||
if (displayWarning && node.IsParamreferenced(param, window.VisjectSurface))
|
||||
connectedParameterNodeCount++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user