mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2026-02-07 15:54:58 +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*/*.userprefs
|
||||
*.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 Vector3[] waypoints;
|
||||
|
||||
int count;
|
||||
|
||||
Tween t;
|
||||
|
||||
IEnumerator Start()
|
||||
{
|
||||
yield return new WaitForSeconds(0.6f);
|
||||
|
||||
t = target.DOPath(waypoints, 5, PathType.CatmullRom).SetEase(easeType);
|
||||
t.GotoWaypoint(2);
|
||||
}
|
||||
|
||||
void OnGUI()
|
||||
{
|
||||
if (GUILayout.Button("Goto")) t.Goto(gotoTime);
|
||||
t = target.DOPath(waypoints, 5, PathType.CatmullRom).SetEase(easeType).SetLoops(-1);
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user