示例#1
0
 // Start is called before the first frame update
 void Start()
 {
     if (sv.HorseShoeStatus())
     {
         GameObject.Find("HorseShoe").GetComponent <Image>().sprite = HorseShoe2;
     }
     if (sv.DarumaStatus())
     {
         GameObject.Find("Daruma").GetComponent <Image>().sprite = Daruma2;
     }
     if (sv.CloverStatus())
     {
         GameObject.Find("Clover").GetComponent <Image>().sprite = Clover2;
     }
 }