Added condition delegate to GetComponent