public void lookAt(CGameObject aGameObject, bool useCenter = true) { if (useCenter) { lookAt(aGameObject.getCenter()); } else { lookAt(aGameObject.getPos()); } }
public void lookAt(CGameObject aGameObject, bool useCenter = true) { if (useCenter) { lookAt(aGameObject.getCenter()); } else { lookAt(aGameObject.getPos()); } }