private GetIntArray ( string key, int defaultValue ) : int[] | ||
key | string | |
defaultValue | int | |
Résultat | int[] |
internal static extern int[] GetIntArray(string key, int[] defaultValue);
[MethodImpl(MethodImplOptions.InternalCall)]
private void LoadExpandedState() { int[] intArray = SessionState.GetIntArray(AudioMixerGroupTreeView.GetUniqueAudioMixerName(this.m_Controller), null); if (intArray != null) { this.m_AudioGroupTreeState.expandedIDs = new List <int>(intArray); } else { this.m_AudioGroupTree.state.expandedIDs = new List <int>(); this.m_AudioGroupTree.data.SetExpandedWithChildren(this.m_AudioGroupTree.data.root, true); } }