Skip to content

Instantly share code, notes, and snippets.

@unity3dcollege
Last active May 23, 2017 01:48
Show Gist options
  • Save unity3dcollege/d8b3f6a1678c3c9a48255dd98d3969ec to your computer and use it in GitHub Desktop.
Save unity3dcollege/d8b3f6a1678c3c9a48255dd98d3969ec to your computer and use it in GitHub Desktop.
public class TextAreaExample : MonoBehaviour
{
[TextArea]
[Tooltip("A string using the TextArea attribute")]
[SerializeField]
private string descriptionTextArea;
[Multiline]
[Tooltip("A string using the MultiLine attribute")]
[SerializeField]
private string descriptionMultiLine;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment