mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 17:26:03 +08:00
15 lines
270 B
C#
15 lines
270 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
using DG.Tweening;
|
|
|
|
public class LocalAxisTweens : BrainBase
|
|
{
|
|
public Transform[] targets;
|
|
|
|
IEnumerator Start()
|
|
{
|
|
yield return new WaitForSeconds(0.6f);
|
|
|
|
foreach (Transform t in targets) t.DOLocalMoveX(2, 2);
|
|
}
|
|
} |