Neodroid  0.2.0
Machine Learning Environment Prototyping Tool
Note.cs
Go to the documentation of this file.
1 using System;
2 #if UNITY_EDITOR
3 using UnityEngine;
4 
5 namespace droid.Runtime.Utilities.Misc {
9  [Serializable]
10  public class Note : MonoBehaviour {
13  [NonSerialized]
14  public bool _Editing;
15 
18  [TextArea]
19  [Tooltip("A component for holding notes or comments")]
20  [SerializeField]
21  public string _Text;
22 
25  public void EditToggle() { this._Editing = !this._Editing; }
26 
27  void Start() { this.enabled = false; }
28  }
29 }
30 #endif