LMQT/Assets/Scripts/disSelect.cs
2024-12-10 09:03:45 +08:00

36 lines
568 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);
}
}