Fixed a ton of typos
This commit is contained in:
@@ -1046,7 +1046,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
startPos += nrm;
|
||||
endPos += nrm;
|
||||
|
||||
// Swap fo the other arrow
|
||||
// Swap for the other arrow
|
||||
if (!diff)
|
||||
{
|
||||
var tmp = startPos;
|
||||
|
||||
@@ -1176,7 +1176,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
[EditorOrder(0), Tooltip("The name of the parameter."), ExpandGroups]
|
||||
public string Name;
|
||||
|
||||
[EditorOrder(1), Tooltip("The type fo the parameter value.")]
|
||||
[EditorOrder(1), Tooltip("The type for the parameter value.")]
|
||||
[TypeReference(typeof(object), nameof(IsTypeValid))]
|
||||
public ScriptType Type;
|
||||
|
||||
@@ -1547,7 +1547,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
// Check if return type has been changed
|
||||
if (_signature.ReturnType != prevReturnType)
|
||||
{
|
||||
// Update all return nodes used by this function to match teh new type
|
||||
// Update all return nodes used by this function to match the new type
|
||||
var usedNodes = DepthFirstTraversal(false);
|
||||
var hasAnyReturnNode = false;
|
||||
foreach (var node in usedNodes)
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace FlaxEditor.Surface.Archetypes
|
||||
public Dictionary<Type, NodeElementArchetype[]> Prototypes = DefaultPrototypes;
|
||||
|
||||
/// <summary>
|
||||
/// The default prototypes for thr node elements to use for the given parameter type.
|
||||
/// The default prototypes for the node elements to use for the given parameter type.
|
||||
/// </summary>
|
||||
public static readonly Dictionary<Type, NodeElementArchetype[]> DefaultPrototypes = new Dictionary<Type, NodeElementArchetype[]>
|
||||
{
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace FlaxEditor.Surface
|
||||
/// Validates the parameter drag operation.
|
||||
/// </summary>
|
||||
/// <param name="parameterName">Name of the parameter.</param>
|
||||
/// <returns>Tre if can drag that parameter, otherwise false.</returns>
|
||||
/// <returns>True if can drag that parameter, otherwise false.</returns>
|
||||
protected virtual bool ValidateDragParameter(string parameterName)
|
||||
{
|
||||
return GetParameter(parameterName) != null;
|
||||
|
||||
@@ -71,7 +71,7 @@ namespace FlaxEditor.Surface
|
||||
// Check if has cached groups
|
||||
if (_cache.Count != 0)
|
||||
{
|
||||
// Check if context menu doesn;t have the recent cached groups
|
||||
// Check if context menu doesn't have the recent cached groups
|
||||
if (!contextMenu.Groups.Any(g => g.Archetype.Tag is int asInt && asInt == _version))
|
||||
{
|
||||
var groups = contextMenu.Groups.Where(g => g.Archetype.Tag is int).ToArray();
|
||||
|
||||
Reference in New Issue
Block a user