LMQT/Assets/Scripts/disSelect.cs
2025-02-14 10:32:58 +08:00

36 lines
570 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using DG.Tweening;
public class disSelect : MonoBehaviour
{
public float Y;
public float speedY;
// Start is called before the first frame update
private void Awake()
{
}
void Start()
{
}
// Update is called once per frame
void Update()
{
}
private void OnEnable()
{
//Debug.Log("´ò¿ªÁË"+this.name);
//this.transform.DORestart();
transform.DOMoveY(Y,speedY).From(true);
}
}