Code cleanup after #823

This commit is contained in:
Wojtek Figat
2022-11-23 19:18:30 +01:00
parent 90bf466495
commit 76c1045444
43 changed files with 118 additions and 95 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace FlaxEngine
{
@@ -13,11 +13,11 @@ namespace FlaxEngine
/// The path to be used in the context menu
/// </summary>
public string Path;
/// <summary>
/// Initializes a new instance of the <see cref="ActorContextMenuAttribute"/> class.
/// </summary>
/// <param name="path">The path to use to create the context menu</param>
/// <param name="path">The path to use to create the context menu.</param>
public ActorContextMenuAttribute(string path)
{
Path = path;

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace FlaxEngine
{
@@ -18,24 +18,24 @@ namespace FlaxEngine
/// The name to be used for the actor in the tool box. Will default to actor name if now used.
/// </summary>
public string Name;
/// <summary>
/// Initializes a new instance of the <see cref="ActorToolboxAttribute"/> class.
/// Initializes a new instance of the <see cref="ActorToolboxAttribute"/> class.
/// </summary>
/// <param name="group">The group to use to create the tab</param>
/// <param name="group">The group to use to create the tab.</param>
public ActorToolboxAttribute(string group)
{
Group = group;
}
/// <summary>
/// Initializes a new instance of the <see cref="ActorToolboxAttribute"/> class.
/// Initializes a new instance of the <see cref="ActorToolboxAttribute"/> class.
/// </summary>
/// <param name="group">The group used to creat the tab</param>
/// <param name="name">The name to use rather than default</param>
/// <param name="group">The group used to create the tab.</param>
/// <param name="name">The name to use rather than default.</param>
public ActorToolboxAttribute(string group, string name)
: this(group)
{
Group = group;
Name = name;
}
}

View File

@@ -1,4 +1,4 @@
using System;
using System;
namespace FlaxEngine
{
@@ -17,7 +17,7 @@ namespace FlaxEngine
/// <summary>
/// Initializes a new instance of the <see cref="ContentContextMenuAttribute"/> class.
/// </summary>
/// <param name="path">The path to use to create the context menu</param>
/// <param name="path">The path to use to create the context menu.</param>
public ContentContextMenuAttribute(string path)
{
Path = path;