This commit is contained in:
SweetJJuya 2024-12-02 20:40:40 +09:00
parent 4d6a7eb32e
commit 45de8c07b2
2 changed files with 5 additions and 3 deletions

View File

@ -224,6 +224,7 @@ namespace BlueWater.Uis
Vector3 initialScale = _panel.localScale;
Vector3 targetScale = new Vector3(1.05f, 1.05f, 1.0f); // 타겟 스케일 설정
/*
// RectTransform의 화면 좌표를 가져오기 위한 변수
RectTransform rectTransform = GetComponent<RectTransform>();
@ -254,6 +255,7 @@ namespace BlueWater.Uis
_cardImage.GetComponent<RectTransform>().localRotation = Quaternion.Euler(-rotationX, 0f, 0f);
}
*/
// 스케일 보간 (Lerp)
float t = Mathf.Clamp01(_returnSpeedTime);
float easedT = 1 - Mathf.Pow(2, -10 * t);

View File

@ -142,7 +142,7 @@ MonoBehaviour:
m_Calls: []
m_text: 100
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: dabfdeb80b25d44b4ace56414d0eb4ad, type: 2}
m_fontAsset: {fileID: 0}
m_sharedMaterial: {fileID: 2100000, guid: 0e5360dce269ccc42b822a424d66fbd4, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
@ -360,8 +360,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: 0, y: 30}
m_SizeDelta: {x: 400, y: 240}
m_AnchoredPosition: {x: 0, y: 70}
m_SizeDelta: {x: 400, y: 200}
m_Pivot: {x: 0.5, y: 0}
--- !u!222 &3904437696116363940
CanvasRenderer: