Exemplo n.º 1
0
 void Update()
 {
     if (CrossPlatformInputManager.GetButtonDown("Fire1"))
     {
         pouvoir.UtiliserPouvoir();
     }
 }
Exemplo n.º 2
0
 public void OnChampVisionTriggerEnter(Collider other)
 {
     if (EstPersonnageNonImmunise(other.tag))
     {
         pouvoir.UtiliserPouvoir();
     }
 }