mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 01:06:02 +08:00
- minor
This commit is contained in:
parent
cbc30f3aa1
commit
8bb776f178
@ -33,7 +33,7 @@ public class RectTransformConversionTests : BrainBase
|
||||
Vector2 bPivotDerivedOffset = new Vector2(b.rect.width * 0.5f + b.rect.xMin, b.rect.height * 0.5f + b.rect.yMin);
|
||||
Debug.Log(bPivotDerivedOffset);
|
||||
b.anchoredPosition = b.anchoredPosition + localPoint - bPivotDerivedOffset;
|
||||
Debug.Log(b.anchoredPosition + " - " + DOTweenUtils46.SwitchToRectTransform(a, b));
|
||||
// Debug.Log(b.anchoredPosition + " - " + DOTweenUtils46.SwitchToRectTransform(a, b));
|
||||
}
|
||||
|
||||
string ArrayToString(IList list)
|
||||
|
||||
@ -110,7 +110,10 @@ namespace DG.DOTweenEditor.UI
|
||||
GUILayout.EndHorizontal();
|
||||
} else {
|
||||
if (_isModulesMode) {
|
||||
if (DOTweenUtilityWindowModules.Draw()) _isModulesMode = false;
|
||||
if (DOTweenUtilityWindowModules.Draw()) {
|
||||
_setupRequired = EditorUtils.DOTweenSetupRequired();
|
||||
_isModulesMode = false;
|
||||
}
|
||||
} else {
|
||||
Rect areaRect = new Rect(0, 0, _headerSize.x, 30);
|
||||
_selectedTab = UnityEngine.GUI.Toolbar(areaRect, _selectedTab, _tabLabels);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user