AkaCore.AkaLib.Evade.SkillshotDetector.TriggerOnDetectSkillshot C# (CSharp) Method

TriggerOnDetectSkillshot() private static method

private static TriggerOnDetectSkillshot ( DetectionType detectionType, SpellData spellData, int startT, System.Vector2 start, System.Vector2 end, Obj_AI_Base unit ) : void
detectionType DetectionType
spellData SpellData
startT int
start System.Vector2
end System.Vector2
unit Obj_AI_Base
return void
        private static void TriggerOnDetectSkillshot(
                DetectionType detectionType,
                SpellData spellData,
                int startT,
                Vector2 start,
                Vector2 end,
                Obj_AI_Base unit)
        {
            if (OnDetectSkillshot != null)
                {
                    OnDetectSkillshot(new Skillshot(detectionType, spellData, startT, start, end, unit));
                }
        }