Пример #1
0
    public void EnableColliderCurrentTextBox(bool enable)
    {
        if (currentTextBox != null)
        {
            Collider col = currentTextBox.GetComponent <Collider>();
            col.enabled = enable;
        }
//		else{
//			Debug.Log( "currentTextBox not set." );
//		}
    }