Search Unity

  1. Unity 2020.2 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Suggestion or Add-On for TODO: Reminder

Discussion in 'Editor & General Support' started by CoreCoder, Nov 22, 2020.

  1. CoreCoder

    CoreCoder

    Joined:
    Jun 11, 2015
    Posts:
    23
    Not sure if this is the right spot but had a suggestion for Unity.

    A TODO: option. For example in the Hierarchy under the scene view where you have all objects, camera etc. Maybe have a button that illuminates or something if you select the object and select TODO reminder. Also in the Project view for example if you select a script or animation file or anything else maybe an option for TODO: reminder and a illuminated icon appears in front or after the file/object remining you you wanted to do something else in the file/object or whatever.

    When your done you could just unmark for TODO reminder same way.

    For example if you have a folder called Animation. If you have an animation file in that folder that you selected to add a TODO reminder in front of the main folder under project view a small illuminated icon will appear to remind you you have a todo under that folder tree.
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    10,815
    You can make your own!

    Code (csharp):
    1. using UnityEngine;
    2.  
    3. public class TODO : MonoBehaviour
    4. {
    5.     [Header( "Put your comments here:"), Multiline]
    6.     public string todo;
    7.  
    8.     [Header( "Check here when you've done it.")]
    9.     public bool done;
    10. }
    to highlight all of them in your scene, type
    t:TODO
    in the search field:

    Screen Shot 2020-11-22 at 3.29.34 PM.png

    If you like you can make a ScriptableObject one too, and sprinkle little todo notes around your project.

    You can even put a todo-like string field right into any one of your personal scripts to leave yourself notes.

    You can pre-fill it with what needs to be done in the
    void Reset() {}
    method.

    You can also implement
    void OnValidate()
    to verify script instances are correctly set up.
     
unityunity