mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-21 01:36:05 +08:00
Moved Utility Panel menu inside Tools/Demigiant
This commit is contained in:
parent
fee71a9b9a
commit
64763e124e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -10,14 +10,13 @@ using UnityEngine.UI;
|
||||
|
||||
public class TempTests : BrainBase
|
||||
{
|
||||
public float randomness = 90;
|
||||
public bool fadeOut;
|
||||
public Transform target;
|
||||
|
||||
IEnumerator Start () {
|
||||
yield return new WaitForSeconds(0.5f);
|
||||
Tween t = target.DOMoveX(4, 2).SetRelative().SetAutoKill(false);
|
||||
yield return new WaitForSeconds(0.5f);
|
||||
t.PlayBackwards();
|
||||
yield return new WaitForSeconds(1f);
|
||||
t.Restart();
|
||||
public void Shake()
|
||||
{
|
||||
DOTween.KillAll(true);
|
||||
target.DOShakePosition(2, 2, 10, randomness, false, fadeOut);
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,2 @@
|
||||
m_EditorVersion: 5.3.5f1
|
||||
m_EditorVersion: 5.3.2f1
|
||||
m_StandardAssetsVersion: 0
|
||||
|
||||
Binary file not shown.
@ -45,7 +45,7 @@ namespace DG.DOTweenEditor
|
||||
|
||||
class DOTweenUtilityWindow : EditorWindow
|
||||
{
|
||||
[MenuItem("Tools/" + _Title)]
|
||||
[MenuItem("Tools/Demigiant/" + _Title)]
|
||||
static void ShowWindow() { Open(); }
|
||||
|
||||
const string _Title = "DOTween Utility Panel";
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user