public static void GetNodeStates(List <XRNodeState> nodeStates) { bool flag = nodeStates == null; if (flag) { throw new ArgumentNullException("nodeStates"); } nodeStates.Clear(); InputTracking.GetNodeStates_Internal(nodeStates); }