Example #1
0
    ///Refreshes axis list based on key list.
    public void RefreshList()
    {
        foreach (Axis ax in axList)
        {
            ax.positiveKey = controlList.GetKeybind(ax.positiveKey.name);
            ax.negativeKey = controlList.GetKeybind(ax.negativeKey.name);
        }

        Debug.Log("Refreshed Axis List");
    }