-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
…n windows phone/store)
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using UnityEngine; | ||
using DG.Tweening; | ||
|
||
public class IndexOutOfRange02 : BrainBase | ||
{ | ||
public Transform[] targets; | ||
|
||
IEnumerator Start() | ||
{ | ||
DOTween.Init (true, false, LogBehaviour.ErrorsOnly).SetCapacity (1000, 100); | ||
DOTween.defaultAutoPlay = AutoPlay.None; | ||
DOTween.defaultAutoKill = false; | ||
yield return new WaitForSeconds(1); | ||
|
||
foreach (Transform t in targets) t.DOMoveX(10, 10).Play(); | ||
yield return new WaitForSeconds(2); | ||
|
||
// DOTween.Clear(true); | ||
} | ||
|
||
void OnDestroy() | ||
{ | ||
DOTween.Clear(true); | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.