예제 #1
0
 void Start()
 {
     shieldCD.GetComponent <Button>().onClick.AddListener(ShieldAbility);
     laserCD.GetComponent <Button>().onClick.AddListener(LaserAbility);
     shieldGO.SetActive(false);
     laserGO.SetActive(false);
 }