Exemplo n.º 1
0
    /// <summary>
    /// Sets the input state of the overlay view.
    /// </summary>
    /// <param name='state'>
    /// The new state of the input
    /// </param>
    public void SetInputState(CoherentViewInputState state)
    {
        m_ViewInputState = state;
        var view = View;

        if (view != null)
        {
            view.SetInputState((ViewInputState)m_ViewInputState);
        }
    }
Exemplo n.º 2
0
	/// <summary>
	/// Sets the input state of the overlay view.
	/// </summary>
	/// <param name='state'>
	/// The new state of the input
	/// </param>
	public void SetInputState(CoherentViewInputState state)
	{
		m_ViewInputState = state;
		var view = View;
		if(view != null)
		{
			view.SetInputState((ViewInputState)m_ViewInputState);
		}
	}