private void HotKeyDown(KeyCode code) { var ability = _hotKeys.GetAbility(code); CmdHandleCombat(ability.name, Camera.main.transform.position, Camera.main.ViewportToWorldPoint(new Vector3(0.5f, 0.5f, 1)) - Camera.main.transform.position); }
private void HotKeyDown(KeyCode code) { var ability = _hotKeys.GetAbility(code); CmdHandleCombat(ability.name, Camera.main.transform.position, Camera.main.ViewportToWorldPoint(new Vector3(0.5f, 0.5f, 1)) - Camera.main.transform.position); }