Exemplo n.º 1
0
        public IInteractableComponent SetSFX(PointerEventState state, UnityEngine.UI.Windows.Audio.Component data)
        {
            if (state == PointerEventState.Click)
            {
                this.sfxOnClick = data;
            }
            else if (state == PointerEventState.Enter)
            {
                this.sfxOnEnter = data;
            }
            else if (state == PointerEventState.Leave)
            {
                this.sfxOnLeave = data;
            }

            return(this);
        }
			public IInteractableComponent SetSFX(PointerEventState state, UnityEngine.UI.Windows.Audio.Component data) {
	
				if (state == PointerEventState.Click) {
	
					this.sfxOnClick = data;
	
				} else if (state == PointerEventState.Enter) {
	
					this.sfxOnEnter = data;
	
				} else if (state == PointerEventState.Leave) {
	
					this.sfxOnLeave = data;
	
				}
	
				return this;
	
			}