Search Unity

How to make custom editor for List<transform> waypoints?

Discussion in 'Scripting' started by Pixitales, Jan 13, 2020.

  1. Pixitales

    Pixitales

    Joined:
    Oct 24, 2018
    Posts:
    227
    i manage to make List<transform> waypoints to show on custom inspector window, but I can't add any transform to it because index is null.
     
  2. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,775
    Show your code, use code tags, and copy and paste the actual error message you're getting.
     
  3. Pixitales

    Pixitales

    Joined:
    Oct 24, 2018
    Posts:
    227
    No errors and i already deleted it, give me week to write the codes again.
     
  4. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,775
    Well, let's slide past how you expected us to be able to help you if you deleted your code, but you said:

    What was that, if not an error?
     
  5. Pixitales

    Pixitales

    Joined:
    Oct 24, 2018
    Posts:
    227
    it just means like no array. I made up that error.