Exemplo n.º 1
0
    public void SetHotkeyAbilitySystem(HotkeyAbilitySystem hotkeyAbilitySystem)
    {
        this.hotkeyAbilitySystem = hotkeyAbilitySystem;

        hotkeyAbilitySystem.OnAbilityListChanged += HotkeyAbilitySystem_OnAbilityListChanged;

        UpdateVisual();
    }
Exemplo n.º 2
0
 private void Start()
 {
     hotkeyAbilitySystem = new HotkeyAbilitySystem();
     uiHotkeyBar.SetHotkeyAbilitySystem(hotkeyAbilitySystem);
 }
Exemplo n.º 3
0
 public void Setup(HotkeyAbilitySystem hotkeySystem, int abilityIndex, HotkeyAbilitySystem.HotkeyAbility hotkeyAbility)
 {
     this.hotkeySystem  = hotkeySystem;
     this.abilityIndex  = abilityIndex;
     this.hotkeyAbility = hotkeyAbility;
 }