private void Update() { if (BUFF.AutoFade == true && BUFF.Timer <= 0) { BM.removeBuff(BUFF); MI.hideUI(); Destroy(gameObject); } }
private void OnMouseExit() { if (Ready == true) { MI.hideUI(); Ready = false; } MouseIn = false; Timer = 0; }
public void OnMouseExit() { print("exit"); if (Ready == true) { MI.hideUI(); Ready = false; } }