/// <summary> /// Opens the popup with the specified DamageData. /// </summary> /// <param name="damageData">Specifies the damage location/amount.</param> public void Open(DamageData damageData) { if (m_Camera == null && damageData.DamageOriginator != null) { m_Camera = CameraUtility.FindCamera(damageData.DamageOriginator.Owner); } Open(damageData.Position, damageData.Amount.ToString(m_Format)); }