| 1234567891011121314151617181920 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- using DG.Tweening;
- public class DebugTween : MonoBehaviour
- {
- // Start is called before the first frame update
- Vector3 v3 = new Vector3();
- void Start()
- {
- DOTween.To(() => v3, v => this.transform.position = v, new Vector3(0, 1, 0), 3);
- }
- // Update is called once per frame
- // void Update()
- // {
- // this.transform.position = v3;
- // }
- }
|