1
0
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:
Daniele Giardini 2015-03-26 11:41:05 +01:00
parent 443a0b1d40
commit 6277dd98d5
2 changed files with 5 additions and 8 deletions

3
.gitignore vendored
View File

@ -16,4 +16,5 @@ _DOTween.Assembly/.git
*.Unity*/*.suo
*.Unity*/*.userprefs
*.Unity*/Assets/Demigiant/DOTweenPro*
*.Unity*/Assets/TK2D*
*.Unity*/Assets/TK2D*
*.Unity*/Assets/ConsolePro*

View File

@ -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);
}
}