Ejemplo n.º 1
0
 private void OnTriggerExit(Collider other)
 {
     if (other.TryGetComponent(out CharacterControls _))
     {
         interactable = false;
         UpdateStatement?.Invoke();
         indicator.SetActive(false);
     }
 }
Ejemplo n.º 2
0
 //Function : UpdateFunction
 //Method : This is the Function that
 //used For Update Invoke The Update Function
 public void UpdateFunction()
 {
     UpdateStatement?.Invoke();
 }