fix: 사용하지 않는 스크립트 삭제

This commit is contained in:
aube.lee
2025-03-17 00:54:51 +09:00
parent 2a68b299da
commit a0ad4a1313
2 changed files with 0 additions and 61 deletions

View File

@@ -1,50 +0,0 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace TON
{
public class SwipeController : MonoBehaviour
{
[SerializeField] int maxPage;
[SerializeField] int currentPage;
[SerializeField] Vector2 targetPos;
[SerializeField] Vector2 pageStep;
[SerializeField] RectTransform levelPagesRect;
[SerializeField] float tweenTime;
[SerializeField] LeanTweenType tweenType;
private void Awake()
{
currentPage = 1;
targetPos = levelPagesRect.localPosition;
}
public void Next()
{
if (currentPage < maxPage)
{
currentPage++;
targetPos += pageStep;
MovePage();
}
}
public void Previous()
{
if (currentPage > 1)
{
currentPage--;
targetPos -= pageStep;
MovePage();
}
}
public void MovePage()
{
levelPagesRect.LeanMoveLocal(targetPos, tweenTime).setEase(tweenType);
}
}
}

View File

@@ -1,11 +0,0 @@
fileFormatVersion: 2
guid: 2f2a180c175deed42b216234359be860
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: