case4
This commit is contained in:
@@ -2,7 +2,7 @@ fileFormatVersion: 2
|
||||
guid: 3d7d7a61a5341904eb3c65af025b1d86
|
||||
folderAsset: yes
|
||||
timeCreated: 1510075633
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dd3b7385882055d4a8c2b91deb6b2470
|
||||
timeCreated: 1510076185
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bf909fab1c14af446b0a854de42289b2
|
||||
timeCreated: 1510086220
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
PluginImporter:
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
|
||||
@@ -2,7 +2,7 @@ fileFormatVersion: 2
|
||||
guid: 86f54622630720f4abe279acdbb8886f
|
||||
folderAsset: yes
|
||||
timeCreated: 1561217660
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4c23e5c521cb0c54b9a638b2a653d1d3
|
||||
timeCreated: 1561217671
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -530,9 +530,9 @@ RectTransform:
|
||||
m_RootOrder: 0
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 1, y: 1}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: -28, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0, y: 1}
|
||||
--- !u!114 &11471588
|
||||
MonoBehaviour:
|
||||
@@ -2457,9 +2457,9 @@ MonoBehaviour:
|
||||
m_HorizontalScrollbar: {fileID: 0}
|
||||
m_VerticalScrollbar: {fileID: 11414302}
|
||||
m_HorizontalScrollbarVisibility: 2
|
||||
m_VerticalScrollbarVisibility: 0
|
||||
m_VerticalScrollbarVisibility: 2
|
||||
m_HorizontalScrollbarSpacing: -3
|
||||
m_VerticalScrollbarSpacing: -3
|
||||
m_VerticalScrollbarSpacing: 0
|
||||
m_OnValueChanged:
|
||||
m_PersistentCalls:
|
||||
m_Calls: []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 67117722a812a2e46ab8cb8eafbf5f5e
|
||||
timeCreated: 1466014755
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@@ -2,7 +2,7 @@ fileFormatVersion: 2
|
||||
guid: 7dbc36665bc0d684db9a4447e27a7a4b
|
||||
folderAsset: yes
|
||||
timeCreated: 1520417401
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5e66896448428cf46a1854dbdc014914
|
||||
timeCreated: 1601390136
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 100100000
|
||||
userData:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 391be5df5ef62f345bb76a1051c04da7
|
||||
timeCreated: 1465919887
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
= In-game Debug Console (v1.8.2) =
|
||||
= In-game Debug Console (v1.8.3) =
|
||||
|
||||
Documentation: https://github.com/yasirkula/UnityIngameDebugConsole
|
||||
FAQ: https://github.com/yasirkula/UnityIngameDebugConsole#faq
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: edf2ac73f7bc3064c96d53009106dc53
|
||||
timeCreated: 1563307881
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
TextScriptImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@@ -2,7 +2,7 @@ fileFormatVersion: 2
|
||||
guid: 860c08388401a6d4e858fe4910ea9337
|
||||
folderAsset: yes
|
||||
timeCreated: 1465930645
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 324bb39c0bff0f74fa42f83e91f07e3a
|
||||
timeCreated: 1520710946
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6136cb3c00eac0149901b8e7f2fecef8
|
||||
timeCreated: 1550943949
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d15693a03d0d33b4892c6365a2a97e19
|
||||
timeCreated: 1472036503
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e7b1a420c564be040bf73b8a377fc2c2
|
||||
timeCreated: 1466375168
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2ea291be9de70a4abfec595203c96c1
|
||||
timeCreated: 1465919949
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -885,8 +885,6 @@ namespace IngameDebugConsole
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
recycledListView.OnViewportWidthChanged();
|
||||
}
|
||||
|
||||
// If SnapToBottom is enabled, force the scrollbar to the bottom
|
||||
@@ -950,11 +948,8 @@ namespace IngameDebugConsole
|
||||
|
||||
if( screenDimensionsChanged )
|
||||
{
|
||||
// Update the recycled list view
|
||||
if( isLogWindowVisible )
|
||||
recycledListView.OnViewportHeightChanged();
|
||||
else
|
||||
popupManager.UpdatePosition( true );
|
||||
if (!isLogWindowVisible)
|
||||
popupManager.UpdatePosition(true);
|
||||
|
||||
#if UNITY_EDITOR || UNITY_ANDROID || UNITY_IOS
|
||||
CheckScreenCutout();
|
||||
@@ -1643,9 +1638,6 @@ namespace IngameDebugConsole
|
||||
anchorMin.y = Mathf.Clamp01( localPoint.y / canvasSize.y );
|
||||
|
||||
logWindowTR.anchorMin = anchorMin;
|
||||
|
||||
// Update the recycled list view
|
||||
recycledListView.OnViewportHeightChanged();
|
||||
}
|
||||
|
||||
// Determine the filtered list of debug entries to show on screen
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6a4f16ed905adcd4ab0d7c8c11f0d72c
|
||||
timeCreated: 1522092746
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 05cc4b1999716644c9308528e38e7081
|
||||
timeCreated: 1466533184
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -45,6 +45,8 @@ namespace IngameDebugConsole
|
||||
|
||||
private bool isCollapseOn = false;
|
||||
|
||||
private bool viewportSizeChanged;
|
||||
|
||||
// Current indices of debug entries shown on screen
|
||||
private int currentTopIndex = -1, currentBottomIndex = -1;
|
||||
|
||||
@@ -293,12 +295,29 @@ namespace IngameDebugConsole
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Log window's width has changed, update the expanded (currently selected) log's height
|
||||
public void OnViewportWidthChanged()
|
||||
{
|
||||
if( indexOfSelectedLogEntry >= entriesToShow.Count )
|
||||
return;
|
||||
private void OnRectTransformDimensionsChange()
|
||||
{
|
||||
viewportSizeChanged = true;
|
||||
}
|
||||
|
||||
private void LateUpdate()
|
||||
{
|
||||
if (viewportSizeChanged)
|
||||
{
|
||||
viewportSizeChanged = false;
|
||||
OnViewportSizeChanged();
|
||||
}
|
||||
}
|
||||
|
||||
private void OnViewportSizeChanged()
|
||||
{
|
||||
if (indexOfSelectedLogEntry >= entriesToShow.Count)
|
||||
{
|
||||
UpdateItemsInTheList(false);
|
||||
return;
|
||||
}
|
||||
|
||||
// Update the expanded (currently selected) log's height
|
||||
CalculateSelectedLogEntryHeight();
|
||||
CalculateContentHeight();
|
||||
UpdateItemsInTheList( true );
|
||||
@@ -306,12 +325,6 @@ namespace IngameDebugConsole
|
||||
manager.ValidateScrollPosition();
|
||||
}
|
||||
|
||||
// Log window's height has changed, update the list
|
||||
public void OnViewportHeightChanged()
|
||||
{
|
||||
UpdateItemsInTheList( false );
|
||||
}
|
||||
|
||||
private void CalculateContentHeight()
|
||||
{
|
||||
float newHeight = Mathf.Max( 1f, entriesToShow.Count * logItemHeight );
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ce231987d32488f43b6fb798f7df43f6
|
||||
timeCreated: 1466373025
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6565f2084f5aef44abe57c988745b9c3
|
||||
timeCreated: 1601221093
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cb564dcb180e586429c57456166a76b5
|
||||
timeCreated: 1466004663
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c3cc1b407f337e641ad32a2e91d5b478
|
||||
timeCreated: 1658741613
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
|
||||
@@ -2,7 +2,7 @@ fileFormatVersion: 2
|
||||
guid: cb5d7b23a9e684a41a6a5d4f300eb1e6
|
||||
folderAsset: yes
|
||||
timeCreated: 1465925237
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@@ -2,7 +2,7 @@ fileFormatVersion: 2
|
||||
guid: f6caae32d463529478f2186f47c2e3fe
|
||||
folderAsset: yes
|
||||
timeCreated: 1466010601
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@@ -2,7 +2,7 @@ fileFormatVersion: 2
|
||||
guid: a091b43ce3618074d8cf2beb7e538a7d
|
||||
folderAsset: yes
|
||||
timeCreated: 1626377678
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aa23dd530e9f98c4cb0766404fc0e755
|
||||
timeCreated: 1626377683
|
||||
licenseType: Store
|
||||
licenseType: Free
|
||||
PluginImporter:
|
||||
serializedVersion: 2
|
||||
iconMap: {}
|
||||
|
||||
Reference in New Issue
Block a user