public static PlayerControls[] GetAll() { PlayerControls[] list = new PlayerControls[controls.Count]; controls.Values.CopyTo(list, 0); return(list); }