mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +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 class TempTests : BrainBase
|
||||||
{
|
{
|
||||||
|
public float randomness = 90;
|
||||||
|
public bool fadeOut;
|
||||||
public Transform target;
|
public Transform target;
|
||||||
|
|
||||||
IEnumerator Start () {
|
public void Shake()
|
||||||
yield return new WaitForSeconds(0.5f);
|
{
|
||||||
Tween t = target.DOMoveX(4, 2).SetRelative().SetAutoKill(false);
|
DOTween.KillAll(true);
|
||||||
yield return new WaitForSeconds(0.5f);
|
target.DOShakePosition(2, 2, 10, randomness, false, fadeOut);
|
||||||
t.PlayBackwards();
|
|
||||||
yield return new WaitForSeconds(1f);
|
|
||||||
t.Restart();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
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
|
m_StandardAssetsVersion: 0
|
||||||
|
|||||||
Binary file not shown.
@ -45,7 +45,7 @@ namespace DG.DOTweenEditor
|
|||||||
|
|
||||||
class DOTweenUtilityWindow : EditorWindow
|
class DOTweenUtilityWindow : EditorWindow
|
||||||
{
|
{
|
||||||
[MenuItem("Tools/" + _Title)]
|
[MenuItem("Tools/Demigiant/" + _Title)]
|
||||||
static void ShowWindow() { Open(); }
|
static void ShowWindow() { Open(); }
|
||||||
|
|
||||||
const string _Title = "DOTween Utility Panel";
|
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