mirror of
https://github.com/sinai-dev/UnityExplorer.git
synced 2025-06-16 14:17:51 +08:00
Cleanup
This commit is contained in:
parent
57aace26d3
commit
d101e7e35c
@ -44,7 +44,7 @@ namespace UnityExplorer.UI.Panels
|
|||||||
|
|
||||||
public void Update()
|
public void Update()
|
||||||
{
|
{
|
||||||
if ((AutoUpdate || !SceneHandler.InspectingAssetScene) && Time.realtimeSinceStartup - timeOfLastUpdate >= 1f)
|
if ((AutoUpdate || !SceneHandler.InspectingAssetScene) && timeOfLastUpdate.OccuredEarlierThan(1))
|
||||||
{
|
{
|
||||||
timeOfLastUpdate = Time.realtimeSinceStartup;
|
timeOfLastUpdate = Time.realtimeSinceStartup;
|
||||||
UpdateTree();
|
UpdateTree();
|
||||||
|
@ -251,7 +251,7 @@ namespace UnityExplorer.UI.Panels
|
|||||||
};
|
};
|
||||||
|
|
||||||
[Flags]
|
[Flags]
|
||||||
public enum ResizeTypes
|
public enum ResizeTypes : ulong
|
||||||
{
|
{
|
||||||
NONE = 0,
|
NONE = 0,
|
||||||
Top = 1,
|
Top = 1,
|
||||||
|
@ -420,11 +420,11 @@ namespace UnityExplorer.UI
|
|||||||
|
|
||||||
Image bgImage = bgObj.AddComponent<Image>();
|
Image bgImage = bgObj.AddComponent<Image>();
|
||||||
bgImage.color = bgColor == default
|
bgImage.color = bgColor == default
|
||||||
? new Color(0.2f, 0.2f, 0.2f, 1.0f)
|
? new Color(0.04f, 0.04f, 0.04f, 0.75f)
|
||||||
: bgColor;
|
: bgColor;
|
||||||
|
|
||||||
Image checkImage = checkObj.AddComponent<Image>();
|
Image checkImage = checkObj.AddComponent<Image>();
|
||||||
checkImage.color = new Color(0.3f, 0.5f, 0.3f, 1.0f);
|
checkImage.color = new Color(0.8f, 1, 0.8f, 0.3f);
|
||||||
|
|
||||||
text = labelObj.AddComponent<Text>();
|
text = labelObj.AddComponent<Text>();
|
||||||
text.text = "Toggle";
|
text.text = "Toggle";
|
||||||
@ -609,7 +609,7 @@ namespace UnityExplorer.UI
|
|||||||
labelText.alignment = TextAnchor.MiddleLeft;
|
labelText.alignment = TextAnchor.MiddleLeft;
|
||||||
|
|
||||||
Image dropdownImage = dropdownObj.AddComponent<Image>();
|
Image dropdownImage = dropdownObj.AddComponent<Image>();
|
||||||
dropdownImage.color = new Color(0.07f, 0.07f, 0.07f, 1);
|
dropdownImage.color = new Color(0.04f, 0.04f, 0.04f, 0.75f);
|
||||||
dropdownImage.type = Image.Type.Sliced;
|
dropdownImage.type = Image.Type.Sliced;
|
||||||
|
|
||||||
dropdown = dropdownObj.AddComponent<Dropdown>();
|
dropdown = dropdownObj.AddComponent<Dropdown>();
|
||||||
|
@ -225,17 +225,7 @@
|
|||||||
<Compile Include="Core\Reflection\Extensions.cs" />
|
<Compile Include="Core\Reflection\Extensions.cs" />
|
||||||
<Compile Include="Core\Reflection\Il2CppReflection.cs" />
|
<Compile Include="Core\Reflection\Il2CppReflection.cs" />
|
||||||
<Compile Include="Core\Utility\MiscUtility.cs" />
|
<Compile Include="Core\Utility\MiscUtility.cs" />
|
||||||
<Compile Include="Inspectors_OLD\GameObjects\ChildList.cs" />
|
<Compile Include="UI\Inspectors\TODO_InspectUnderMouse.cs" />
|
||||||
<Compile Include="Inspectors_OLD\GameObjects\ComponentList.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\GameObjects\GameObjectControls.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\GameObjects\GameObjectInspector.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\InspectorBase.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\InspectorManager.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\InspectUnderMouse.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\Reflection\CacheMemberList.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\Reflection\InstanceInspector.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\Reflection\ReflectionInspector.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\Reflection\StaticInspector.cs" />
|
|
||||||
<Compile Include="UI\CSConsole\CSConsoleManager.cs" />
|
<Compile Include="UI\CSConsole\CSConsoleManager.cs" />
|
||||||
<Compile Include="UI\CacheObject\CacheField.cs" />
|
<Compile Include="UI\CacheObject\CacheField.cs" />
|
||||||
<Compile Include="UI\CacheObject\CacheKeyValuePair.cs" />
|
<Compile Include="UI\CacheObject\CacheKeyValuePair.cs" />
|
||||||
@ -254,7 +244,9 @@
|
|||||||
<Compile Include="UI\Inspectors\InspectorManager.cs" />
|
<Compile Include="UI\Inspectors\InspectorManager.cs" />
|
||||||
<Compile Include="UI\Inspectors\InspectorTab.cs" />
|
<Compile Include="UI\Inspectors\InspectorTab.cs" />
|
||||||
<Compile Include="UI\Inspectors\InspectorBase.cs" />
|
<Compile Include="UI\Inspectors\InspectorBase.cs" />
|
||||||
|
<Compile Include="UI\IValues\InteractiveColor.cs" />
|
||||||
<Compile Include="UI\IValues\InteractiveDictionary.cs" />
|
<Compile Include="UI\IValues\InteractiveDictionary.cs" />
|
||||||
|
<Compile Include="UI\IValues\InteractiveEnum.cs" />
|
||||||
<Compile Include="UI\IValues\InteractiveList.cs" />
|
<Compile Include="UI\IValues\InteractiveList.cs" />
|
||||||
<Compile Include="UI\IValues\InteractiveString.cs" />
|
<Compile Include="UI\IValues\InteractiveString.cs" />
|
||||||
<Compile Include="UI\IValues\InteractiveValue.cs" />
|
<Compile Include="UI\IValues\InteractiveValue.cs" />
|
||||||
@ -315,24 +307,16 @@
|
|||||||
<Compile Include="UI\Utility\ToStringUtility.cs" />
|
<Compile Include="UI\Utility\ToStringUtility.cs" />
|
||||||
<Compile Include="UI\Widgets\AutoComplete\AutoCompleter.cs" />
|
<Compile Include="UI\Widgets\AutoComplete\AutoCompleter.cs" />
|
||||||
<Compile Include="UI\Widgets\AutoComplete\TypeCompleter.cs" />
|
<Compile Include="UI\Widgets\AutoComplete\TypeCompleter.cs" />
|
||||||
<Compile Include="Inspectors_OLD\CacheObject\CacheConfigEntry.cs" />
|
<Compile Include="UI\IValues\OLD_IVALUES\InteractiveBool.cs" />
|
||||||
<Compile Include="Inspectors_OLD\CacheObject\CacheEnumerated.cs" />
|
<Compile Include="UI\IValues\OLD_IVALUES\InteractiveColor.cs" />
|
||||||
<Compile Include="Inspectors_OLD\CacheObject\CacheField.cs" />
|
<Compile Include="UI\IValues\OLD_IVALUES\InteractiveDictionary.cs" />
|
||||||
<Compile Include="Inspectors_OLD\CacheObject\CacheMember.cs" />
|
<Compile Include="UI\IValues\OLD_IVALUES\InteractiveEnum.cs" />
|
||||||
<Compile Include="Inspectors_OLD\CacheObject\CacheMethod.cs" />
|
<Compile Include="UI\IValues\OLD_IVALUES\InteractiveEnumerable.cs" />
|
||||||
<Compile Include="Inspectors_OLD\CacheObject\CacheObjectBase.cs" />
|
<Compile Include="UI\IValues\OLD_IVALUES\InteractiveFlags.cs" />
|
||||||
<Compile Include="Inspectors_OLD\CacheObject\CachePaired.cs" />
|
<Compile Include="UI\IValues\OLD_IVALUES\InteractiveFloatStruct.cs" />
|
||||||
<Compile Include="Inspectors_OLD\CacheObject\CacheProperty.cs" />
|
<Compile Include="UI\IValues\OLD_IVALUES\InteractiveNumber.cs" />
|
||||||
<Compile Include="Inspectors_OLD\InteractiveValues\InteractiveBool.cs" />
|
<Compile Include="UI\IValues\OLD_IVALUES\InteractiveString.cs" />
|
||||||
<Compile Include="Inspectors_OLD\InteractiveValues\InteractiveColor.cs" />
|
<Compile Include="UI\IValues\OLD_IVALUES\InteractiveValue.cs" />
|
||||||
<Compile Include="Inspectors_OLD\InteractiveValues\InteractiveDictionary.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\InteractiveValues\InteractiveEnum.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\InteractiveValues\InteractiveEnumerable.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\InteractiveValues\InteractiveFlags.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\InteractiveValues\InteractiveFloatStruct.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\InteractiveValues\InteractiveNumber.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\InteractiveValues\InteractiveString.cs" />
|
|
||||||
<Compile Include="Inspectors_OLD\InteractiveValues\InteractiveValue.cs" />
|
|
||||||
<Compile Include="UI\Models\ButtonRef.cs" />
|
<Compile Include="UI\Models\ButtonRef.cs" />
|
||||||
<Compile Include="UI\ObjectExplorer\ObjectSearch.cs" />
|
<Compile Include="UI\ObjectExplorer\ObjectSearch.cs" />
|
||||||
<Compile Include="UI\ObjectExplorer\SceneExplorer.cs" />
|
<Compile Include="UI\ObjectExplorer\SceneExplorer.cs" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user