1
0
mirror of https://github.com/Cardidi/dotween-upm-fork.git synced 2025-12-21 01:36:05 +08:00

18 lines
270 B
C#

using DG.Tweening;
using System.Collections;
using UnityEngine;
public class Paths : BrainBase
{
public Transform target;
void Start()
{
Vector3[] p = new[] {
new Vector3(2,2,2),
new Vector3(2,4,2),
new Vector3(0,2,2),
};
target.DOPath(p, 4);
}
}