isEmpty()

Found in:

public bool isEmpty(){
    if(gameObject.transform.Find("Text").GetComponent().text == ""){
      return true;
    }else{
      return false;
    }
  }


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *