From 6277dd98d52ae0eba44747aab0e373bb1fc382b3 Mon Sep 17 00:00:00 2001 From: Daniele Giardini Date: Thu, 26 Mar 2015 11:41:05 +0100 Subject: [PATCH] Ignoring Editor Console Pro --- .gitignore | 3 ++- UnityTests.Unity5/Assets/_Tests/TempTests.cs | 10 +++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 23df8f6..055439f 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,5 @@ _DOTween.Assembly/.git *.Unity*/*.suo *.Unity*/*.userprefs *.Unity*/Assets/Demigiant/DOTweenPro* -*.Unity*/Assets/TK2D* \ No newline at end of file +*.Unity*/Assets/TK2D* +*.Unity*/Assets/ConsolePro* \ No newline at end of file diff --git a/UnityTests.Unity5/Assets/_Tests/TempTests.cs b/UnityTests.Unity5/Assets/_Tests/TempTests.cs index 68f3570..6b50e01 100644 --- a/UnityTests.Unity5/Assets/_Tests/TempTests.cs +++ b/UnityTests.Unity5/Assets/_Tests/TempTests.cs @@ -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); } } \ No newline at end of file