1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2026-02-11 17:48:47 +08:00

Added more GUIStyles to be used by editors

This commit is contained in:
Daniele Giardini 2015-04-05 14:38:46 +02:00
parent 5152a06e19
commit 50d0a6c790
45 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6831cbca8299ae0418dd3182bc6ba157
timeCreated: 1428224871
licenseType: Free
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@ -21,7 +21,7 @@ namespace DG.Tweening
public class DOTween
{
/// <summary>DOTween's version</summary>
public static readonly string Version = "1.0.430";
public static readonly string Version = "1.0.432";
///////////////////////////////////////////////
// Options ////////////////////////////////////

View File

@ -26,7 +26,8 @@ namespace DG.DOTweenEditor.Core
public static GUIStyle sideBtStyle,
sideLogoIconBoldLabelStyle,
wordWrapTextArea,
popupButton;
popupButton,
btIconStyle;
// Filtered ease types to show desired eases in Inspector panels
internal static readonly string[] FilteredEaseTypes = new[] {
@ -168,6 +169,11 @@ namespace DG.DOTweenEditor.Core
popupButton = new GUIStyle(EditorStyles.popup);
popupButton.fixedHeight = 18;
popupButton.margin.top += 1;
btIconStyle = new GUIStyle(GUI.skin.button);
btIconStyle.padding.left -= 2;
btIconStyle.fixedWidth = 24;
btIconStyle.stretchWidth = false;
}
}
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.