mirror of
https://github.com/Cardidi/dotween-upm-fork.git
synced 2025-12-20 09:16:02 +08:00
19 lines
386 B
C#
19 lines
386 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using DG.Tweening;
|
|
|
|
public class TempPro : MonoBehaviour
|
|
{
|
|
public Transform target;
|
|
|
|
void Start ()
|
|
{
|
|
target.DOMoveX(3, 1).OnComplete(TempPro.OnCompleteCallback);
|
|
}
|
|
|
|
public static void OnCompleteCallback()
|
|
{
|
|
Debug.Log("Hello I'm public! And Static! Love me!");
|
|
}
|
|
} |