Set() публичный Метод

public Set ( string key ) : void
key string
Результат void
Пример #1
0
        public AnimationSelection(GameObject[] animatedOptions, SerializedStringTable chosenAnimated, SerializedStringTable chosenClip, AnimationWindow editor)
        {
            this.m_AnimationWindow = editor;
            this.m_AnimatedOptions = animatedOptions;
            string stringArrayHashCode = AnimationSelection.GetStringArrayHashCode(this.GetAnimatedObjectNames());

            if (!chosenAnimated.Contains(stringArrayHashCode))
            {
                chosenAnimated.Set(stringArrayHashCode, animatedOptions.Length - 1);
            }
            this.m_AnimatedObjectIndex = chosenAnimated.Get(stringArrayHashCode);
            this.RefreshChosenClip(chosenClip);
        }
		public AnimationSelection(GameObject[] animatedOptions, SerializedStringTable chosenAnimated, SerializedStringTable chosenClip, AnimationWindow editor)
		{
			this.m_AnimationWindow = editor;
			this.m_AnimatedOptions = animatedOptions;
			string stringArrayHashCode = AnimationSelection.GetStringArrayHashCode(this.GetAnimatedObjectNames());
			if (!chosenAnimated.Contains(stringArrayHashCode))
			{
				chosenAnimated.Set(stringArrayHashCode, animatedOptions.Length - 1);
			}
			this.m_AnimatedObjectIndex = chosenAnimated.Get(stringArrayHashCode);
			this.RefreshChosenClip(chosenClip);
		}