public CCAction getActionByTag(int aTag, System.Object target){
NSUtils.Assert (aTag != CCAction.kCCActionTagInvalid, "Invalid tag");
tHashElement element = _targets.HASH_FIND_INT (target.GetHashCode());
if (element != null) {
if(element.actions!=null){
int limit = element.actions.Count;
for(int i=0; i<limit; i++){
CCAction a = element.actions[i];
if(a.tag == aTag){
return a;
}
}
}
}
return null;
}