52ND7NXYBCTBRQN3PQAV6ARTHAJWHYL64YZ4BJCU6Q4ZWFYFVUMAC return AreaOfEffect.GetAffectedUnits(EffectLocation);
var directionVector = (EffectLocation.position - Caster.position).normalized;directionVector.y = 0;Quaternion direction = Quaternion.LookRotation(directionVector, Vector3.up);GameObject tmpGo = new ();tmpGo.transform.position = EffectLocation.position;tmpGo.transform.rotation = direction;var affectedUnits = AreaOfEffect.GetAffectedUnits(EffectLocation);GameObject.Destroy(tmpGo);return affectedUnits;