internal void Activate() { button = GetComponent <Button>(); button.interactable = true; ihs = GetComponentInChildren <ImageHoverScaler>(); ihs.enabled = false; }
internal void Deactivate() { button = GetComponent <Button>(); button.interactable = false; // TODO: This won't work if this is the one I have clicked on ihs = GetComponentInChildren <ImageHoverScaler>(); ihs.enabled = false; }
private void Start() { UpdateHealthBar(); ihs = GetComponent <ImageHoverScaler>(); }