2022-04-11 11:40:02 +08:00
|
|
|
|
using DG.Tweening;
|
|
|
|
|
|
using System.Collections;
|
2022-02-18 18:12:31 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
|
|
public class test : MonoBehaviour
|
|
|
|
|
|
{
|
|
|
|
|
|
// Start is called before the first frame update
|
|
|
|
|
|
void Start()
|
|
|
|
|
|
{
|
2022-04-11 11:40:02 +08:00
|
|
|
|
UIManager.AddEvent(transform.Find("Button").gameObject, UnityEngine.EventSystems.EventTriggerType.PointerClick, b =>
|
|
|
|
|
|
{
|
|
|
|
|
|
transform.Find("Container").GetComponent<RowerTraceAnimated>().startAnimation(0.5f, () => { }).Play();
|
|
|
|
|
|
});
|
2022-02-18 18:12:31 +08:00
|
|
|
|
}
|
2022-04-11 11:40:02 +08:00
|
|
|
|
|
2022-02-18 18:12:31 +08:00
|
|
|
|
// Update is called once per frame
|
|
|
|
|
|
void Update()
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|