LobbyUI 슬라이드 구조 적용

This commit is contained in:
aube.lee
2025-02-05 00:47:20 +09:00
parent 3455b9dd1b
commit b43bd19021
444 changed files with 192503 additions and 31 deletions

View File

@@ -0,0 +1,25 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class TestingSequencer : MonoBehaviour {
public GameObject cube1;
public void Start(){
var seq = LeanTween.sequence();
seq.append(() => { // fire an event before start
Debug.Log("firsts:"+Time.time);
});
seq.append(1f); // delay everything one second
seq.append(() => { // fire an event before start
Debug.Log("I have started:"+Time.time);
});
seq.append( LeanTween.move(cube1, Vector3.one * 10f, 1f) ); // do a tween
seq.append((object obj) => { // fire event after tween
var dict = obj as Dictionary<string,string>;
Debug.Log("We are done now obj value:"+dict["hi"]);
}, new Dictionary<string,string>(){ {"hi","sup"} } );
}
}