I just upgraded to ORK ORK 3.15.2 and I am getting this message error:
Assets\_Main\scripts\player\player_AbilityRangeManager.cs(16,17): error CS0246: The type or namespace name 'TargetSettings' could not be found (are you missing a using directive or an assembly reference?)
This is the code that's generating the error but I'm not quite sure how to update it for the new version of ORK:
        private TargetSettings settings;

void Update()
if(BattleMenuMode.Target == combatant.Battle.BattleMenu.Mode)
abilityShortcut = combatant.Shortcuts.Active;
settings = TargetSettings.Get(abilityShortcut);
range = settings.useRange.range.range[0].GetRangeValue(combatant);
else //...
  • There have been a few changes due to the new target selection templates and such.
    Simply change TargetSettings to TargetSelectionSettings (both for the field and the static function call) and you're good to go.
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
  • Perfect, thank you Nicholas!
Sign In or Register to comment.