备份CatanBuilding瘦身独立工程

This commit is contained in:
JSD\13999
2026-05-26 16:15:54 +08:00
commit 2d0e6a61b7
12001 changed files with 2431925 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
using UnityEngine;
public class EventLuckMagicSelectionView : MonoBehaviour
{
[SerializeField] private GameObject fxLoop, fxNormal;
public void ShowStandByOrHide(Vector2? position = null)
{
if (!position.HasValue)
{
gameObject.SetActive(false);
return;
}
transform.position = position.Value;
gameObject.SetActive(true);
fxLoop.SetActive(true);
fxNormal.SetActive(false);
}
public void ShowBlinkOrStandBy(Vector2? position = null)
{
gameObject.SetActive(true);
if (!position.HasValue)
{
fxLoop.SetActive(true);
fxNormal.SetActive(false);
return;
}
transform.position = position.Value;
fxLoop.SetActive(false);
fxNormal.SetActive(true);//
}
}