mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +08:00
24 lines
510 B
C#
24 lines
510 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Reflection;
|
|
using DG.Tweening;
|
|
using DG.Tweening.Core;
|
|
using DG.Tweening.Plugins.Options;
|
|
using UnityEngine;
|
|
using UnityEngine.SceneManagement;
|
|
using UnityEngine.UI;
|
|
|
|
public class TempTests : BrainBase
|
|
{
|
|
public Transform target0, target1;
|
|
|
|
IEnumerator Start()
|
|
{
|
|
while (true) {
|
|
yield return null;
|
|
target0.DOMoveX(1, 0.1f);
|
|
// target1.DOMoveX(1, 0.1f);
|
|
}
|
|
}
|
|
} |