备份CatanBuilding瘦身独立工程
This commit is contained in:
13
Assets/Scripts/UI/Fishing/PiercingInfo.cs
Normal file
13
Assets/Scripts/UI/Fishing/PiercingInfo.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
public class PiercingInfo : MonoBehaviour
|
||||
{
|
||||
public GameObject[] fxInfo;
|
||||
public TMP_Text[] textBlood;
|
||||
public void Show(int index)
|
||||
{
|
||||
fxInfo[0].SetActive(false);
|
||||
for (int i = 0; i < fxInfo.Length; i++) { fxInfo[i].SetActive(i == index); }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user