Skip to content

Commit e7f7cb3

Browse files
committed
Fixed some code formatting issues
1 parent 65b7329 commit e7f7cb3

File tree

6 files changed

+12
-9
lines changed

6 files changed

+12
-9
lines changed

Editor/Builders/ClassesItemBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ private AdvancedDropdownItem GetOrCreateParentItem(Type type, AdvancedDropdownIt
5656
foreach (string split in splits)
5757
{
5858
currentPath += split + '.';
59-
59+
6060
if (splitToItem.TryGetValue(currentPath, out AdvancedDropdownItem foundItem))
6161
{
6262
splitItem = foundItem;

Editor/Builders/SceneItemBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public AdvancedDropdownItem Build()
3535
AdvancedDropdownItem root = new AdvancedDropdownItemWrapper("Scene");
3636

3737
GameObject[] rootGameObjects = scene.Value.GetRootGameObjects();
38-
38+
3939
foreach (GameObject rootGameObject in rootGameObjects)
4040
{
4141
CreateItemsRecursive(rootGameObject.transform, root);
@@ -52,12 +52,12 @@ private void CreateItemsRecursive(Transform transform, AdvancedDropdownItem pare
5252
};
5353

5454
Component[] components = transform.GetComponents(interfaceType);
55-
55+
5656
foreach (Component component in components)
5757
{
5858
advancedDropdownItem.AddChild(new SceneDropdownItem(component));
5959
}
60-
60+
6161
foreach (Transform child in transform)
6262
{
6363
CreateItemsRecursive(child, advancedDropdownItem);

Editor/Drawers/CustomObjectDrawer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public partial class CustomObjectDrawer
2121
public event ClickedDelegate Clicked;
2222
public event DeletePressedDelegate DeletePressed;
2323
public event PropertiesClickedDelegate PropertiesClicked;
24-
24+
2525
public void OnGUI(Rect position, GUIContent label, GUIContent content, SerializedProperty property)
2626
{
2727
Rect positionWithoutThumb = new Rect(position);

Editor/Items/NoneDropdownItem.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22

33
namespace TNRD.Items
44
{
5-
public class NoneDropdownItem : AdvancedDropdownItem, IDropdownItem
5+
public class NoneDropdownItem : AdvancedDropdownItem, IDropdownItem
66
{
7-
public NoneDropdownItem() : base("None") { }
7+
public NoneDropdownItem()
8+
: base("None")
9+
{
10+
}
811

912
ReferenceMode IDropdownItem.Mode => ReferenceMode.Raw;
1013

Runtime/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
using System.Runtime.CompilerServices;
22

3-
[assembly:InternalsVisibleTo("TNRD.SerializableInterface.Editor")]
3+
[assembly: InternalsVisibleTo("TNRD.SerializableInterface.Editor")]

Runtime/Extensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ out TInterface value
3131
value = serializableInterface.Value;
3232
return true;
3333
}
34-
34+
3535
/// <inheritdoc cref="IsDefined{TInterface}"/>
3636
public static bool TryGetValue<TInterface>(
3737
this SerializableInterface<TInterface> serializableInterface,

0 commit comments

Comments
 (0)