Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Is there any good resources to learning tool dev?

Discussion in 'Scripting' started by tenzi031, May 13, 2022.

  1. tenzi031

    tenzi031

    Joined:
    Oct 12, 2018
    Posts:
    5
    Hey all, I've taken a big interest in wanting to learn how to make tools. Things like custom editors, inspectors and scene view. I've taken a look at documentation around custom editors but the examples aren't super helpful for what I'm hoping to do. Does anyone have any resources to share when it comes to learning tool dev? Thanks!
     
  2. arfish

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    777
    tenzi031 likes this.
  3. Deleted User

    Deleted User

    Guest

    I use this a lot.

    https://docs.unity3d.com/ScriptReference/UnityEditor.html

    Not all of them have script examples so you have to piece it together sometimes.

    For example, If you wanted to make a custom terrain painting tool then this would be useful.

    https://docs.unity3d.com/ScriptReference/TerrainTools.TerrainPaintTool_1.html

    or maybe you want to add a custom scene template.

    https://docs.unity3d.com/ScriptReference/SceneTemplate.SceneTemplateAsset-addToDefaults.html

    Also, classes are a good way to see what you can override/implement yourself. For example,

    https://docs.unity3d.com/ScriptReference/Gizmos.html

    I used that reference to make custom editor gizmos.

    The Learn section has a few topics on editor tools.

    https://learn.unity.com/tutorial/editor-scripting#5c7f8528edbc2a002053b5f6
    https://learn.unity.com/tutorial/creating-basic-editor-tools

    and this might be useful too.

    https://www.raywenderlich.com/7751-unity-custom-inspectors-tutorial-getting-started#toc-anchor-001
     
    tenzi031 likes this.
  4. tenzi031

    tenzi031

    Joined:
    Oct 12, 2018
    Posts:
    5
    Thanks for replying! I have seen this before but it didn't really help me learn if that makes sense? I'll give it another go.
     
  5. tenzi031

    tenzi031

    Joined:
    Oct 12, 2018
    Posts:
    5
    Thanks for the reply. I find that the hardest part is the piecing together of information. I'll definitely be referencing these more thank you.