Skip to content

Commit

Permalink
[minor]
Browse files Browse the repository at this point in the history
  • Loading branch information
Demigiant committed Oct 26, 2016
1 parent c7d916e commit 85b2efd
Show file tree
Hide file tree
Showing 46 changed files with 8 additions and 36 deletions.
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 modified UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll
Binary file not shown.
Binary file modified UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween.dll.mdb
Binary file not shown.
Binary file modified UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll
Binary file not shown.
Binary file modified UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween43.dll.mdb
Binary file not shown.
Binary file modified UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll
Binary file not shown.
Binary file modified UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween46.dll.mdb
Binary file not shown.
Binary file modified UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll
Binary file not shown.
Binary file modified UnityTests.Unity4/Assets/Demigiant/DOTween/DOTween50.dll.mdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll
Binary file not shown.
Binary file modified UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween.dll.mdb
Binary file not shown.
Binary file modified UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll
Binary file not shown.
Binary file modified UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween43.dll.mdb
Binary file not shown.
Binary file modified UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll
Binary file not shown.
Binary file modified UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween46.dll.mdb
Binary file not shown.
Binary file modified UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll
Binary file not shown.
Binary file modified UnityTests.Unity5/Assets/Demigiant/DOTween/DOTween50.dll.mdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions UnityTests.Unity5/Assets/_Tests PRO/TempPro.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@

public class TempPro : MonoBehaviour
{
public DOTweenPath path;
public Transform target;

void Start ()
{
path.GetTween().OnWaypointChange(OnWaypointChange);
target.DOMoveX(3, 1).OnComplete(TempPro.OnCompleteCallback);
}

void OnWaypointChange (int index)
public static void OnCompleteCallback()
{
Debug.Log(index);
Debug.Log("Hello I'm public! And Static! Love me!");
}
}
Binary file modified UnityTests.Unity5/Assets/_Tests PRO/TempPro.unity
Binary file not shown.
33 changes: 2 additions & 31 deletions UnityTests.Unity5/Assets/_Tests/TempTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,8 @@

public class TempTests : BrainBase
{
public int poolId;
public Transform target;
private Transform myTransform;
private Color baseColor;
void Awake () {
myTransform = transform;
}

public void Show (string txt) {
myTransform.SetAsLastSibling ();
this.StartCoroutine(RemoveIn());
}

IEnumerator RemoveIn () {
yield return new WaitForSeconds(4);
Hide ();
}

private void Hide ()
{
target.DOMoveX(2, 1).OnComplete (Remove);
}

private void Remove ()
{
target.gameObject.SetActive(false);
// Destroy(target.gameObject);
}

void OnDisable ()
public void OnComplete()
{
target.DOKill();
Debug.Log("ON COMPLETE");
}
}
Binary file modified UnityTests.Unity5/Assets/_Tests/TempTests.unity
Binary file not shown.
2 changes: 1 addition & 1 deletion _DOTween.Assembly/DOTween/Core/TweenerCore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ internal override Tweener SetFrom(bool relative)
}

// _tweenPlugin is not reset since it's useful to keep it as a reference
internal override sealed void Reset()
internal sealed override void Reset()
{
base.Reset();

Expand Down
1 change: 1 addition & 0 deletions _DOTween.Assembly/DOTween/DOTween.cs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ public static void ClearCachedTweens()
/// <summary>
/// Checks all active tweens to find and remove eventually invalid ones (usually because their targets became NULL)
/// and returns the total number of invalid tweens found and removed.
/// IMPORTANT: this will cause an error on UWP platform, so don't use it there
/// BEWARE: this is a slightly expensive operation so use it with care
/// </summary>
public static int Validate()
Expand Down
Binary file modified _DOTween.Assembly/bin/DOTween.dll
Binary file not shown.
Binary file modified _DOTween.Assembly/bin/DOTween.dll.mdb
Binary file not shown.
Binary file modified _DOTween.Assembly/bin/DOTween43.dll
Binary file not shown.
Binary file modified _DOTween.Assembly/bin/DOTween43.dll.mdb
Binary file not shown.
Binary file modified _DOTween.Assembly/bin/DOTween46.dll
Binary file not shown.
Binary file modified _DOTween.Assembly/bin/DOTween46.dll.mdb
Binary file not shown.
Binary file modified _DOTween.Assembly/bin/DOTween50.dll
Binary file not shown.
Binary file modified _DOTween.Assembly/bin/DOTween50.dll.mdb
Binary file not shown.
Binary file modified _DOTween.Assembly/bin/Editor/DOTweenEditor.dll
Binary file not shown.
Binary file modified _DOTween.Assembly/bin/Editor/DOTweenEditor.dll.mdb
Binary file not shown.

0 comments on commit 85b2efd

Please sign in to comment.