Inserting comment/readme on a gameObject

I downloaded the Unity courtyard demo and noticed some gameobjects had a comment.cs script applied to game objects. I think this is helpful for attaching readme information to a game object.
I’m sure a lot of people don’t know about it. Here is the code (assumably created by Unity):

using UnityEngine;

public class Comment : MonoBehaviour
{
   [TextAreaAttribute (5, 3000)]
   public string comment;
}

This is a very helpful script.

2458737–169053–Comment.cs (126 Bytes)

2 Likes

Nice ! Thanks !