コード例 #1
0
    void TryToAssignMomentumPoint(int abilityIndex)
    {
        HardwareType equippedHardwareType = InventoryController.GetEquippedActiveHardware()[abilityIndex];

        if (equippedHardwareType != HardwareType.None)
        {
            MomentumManager.AssignMomentumPointToHardware(equippedHardwareType);
        }
    }
コード例 #2
0
    public void OnAssignMomentumButtonClick(int buttonIndex)
    {
        HardwareType equippedHardwareType = InventoryController.GetEquippedActiveHardware()[buttonIndex];

        MomentumManager.AssignMomentumPointToHardware(equippedHardwareType);
    }