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