public override float QueryPropertyFloat(AFIDENTID self, string strPropertyName) { if (mhtObject.ContainsKey(self)) { AFIObject xGameObject = (AFIObject)mhtObject[self]; return(xGameObject.QueryPropertyFloat(strPropertyName)); } return(0.0f); }