mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2026-02-11 17:48:47 +08:00
Ignoring Editor Console Pro
This commit is contained in:
parent
443a0b1d40
commit
6277dd98d5
3
.gitignore
vendored
3
.gitignore
vendored
@ -16,4 +16,5 @@ _DOTween.Assembly/.git
|
|||||||
*.Unity*/*.suo
|
*.Unity*/*.suo
|
||||||
*.Unity*/*.userprefs
|
*.Unity*/*.userprefs
|
||||||
*.Unity*/Assets/Demigiant/DOTweenPro*
|
*.Unity*/Assets/Demigiant/DOTweenPro*
|
||||||
*.Unity*/Assets/TK2D*
|
*.Unity*/Assets/TK2D*
|
||||||
|
*.Unity*/Assets/ConsolePro*
|
||||||
@ -15,18 +15,14 @@ public class TempTests : BrainBase
|
|||||||
public float gotoTime;
|
public float gotoTime;
|
||||||
public Vector3[] waypoints;
|
public Vector3[] waypoints;
|
||||||
|
|
||||||
|
int count;
|
||||||
|
|
||||||
Tween t;
|
Tween t;
|
||||||
|
|
||||||
IEnumerator Start()
|
IEnumerator Start()
|
||||||
{
|
{
|
||||||
yield return new WaitForSeconds(0.6f);
|
yield return new WaitForSeconds(0.6f);
|
||||||
|
|
||||||
t = target.DOPath(waypoints, 5, PathType.CatmullRom).SetEase(easeType);
|
t = target.DOPath(waypoints, 5, PathType.CatmullRom).SetEase(easeType).SetLoops(-1);
|
||||||
t.GotoWaypoint(2);
|
|
||||||
}
|
|
||||||
|
|
||||||
void OnGUI()
|
|
||||||
{
|
|
||||||
if (GUILayout.Button("Goto")) t.Goto(gotoTime);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user