`if (Unit* caster = GetCaster())`