Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeskydev committed Nov 14, 2024
1 parent eb023dd commit ebec7ad
Show file tree
Hide file tree
Showing 32 changed files with 116 additions and 111 deletions.
6 changes: 3 additions & 3 deletions Editor/Components/BanterAssetBundleEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterAttachedObjectEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterAudioSourceEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterBillboardEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterBoxColliderEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterBrowserEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterCapsuleColliderEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterColliderEventsEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ public override VisualElement CreateInspectorGUI()
myInspector.styleSheets.Add(_mainWindowStyleSheet);


//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterConfigurableJointEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterGLTFEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterGeometryEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterGrabHandleEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterHeldEventsEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterInvertedMeshEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ public override VisualElement CreateInspectorGUI()
myInspector.styleSheets.Add(_mainWindowStyleSheet);


//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterKitItemEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterMaterialEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterMeshColliderEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterMirrorEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterPhysicMaterialEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterPortalEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterRigidbodyEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ public override VisualElement CreateInspectorGUI()
containerangularVelocity.Add(toggleangularVelocity);
myInspector.Add(containerangularVelocity);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
6 changes: 3 additions & 3 deletions Editor/Components/BanterSphereColliderEditor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,14 @@ public override VisualElement CreateInspectorGUI()
seeFields.style.color = Color.gray;
myInspector.Add(seeFields);

//#if BANTER_EDITOR
//#if BANTER_EDITOR
var foldout = new Foldout();
foldout.text = "Available Properties";
IMGUIContainer inspectorIMGUI = new IMGUIContainer(() => { editor.OnInspectorGUI(); });
foldout.value = false;
foldout.value = false;
foldout.Add(inspectorIMGUI);
myInspector.Add(foldout);
//#endif
//#endif

return myInspector;
}
Expand Down
Loading

0 comments on commit ebec7ad

Please sign in to comment.