Search Unity

How to create a list of scripts

Discussion in 'Scripting' started by Hisukurifu24, May 8, 2021.

  1. Hisukurifu24

    Hisukurifu24

    Joined:
    May 19, 2020
    Posts:
    6
    I need to reference my Spell scripts using a list but idk how to add every spell script of my game in the list.
     
    Last edited: May 8, 2021
  2. GroZZleR

    GroZZleR

    Joined:
    Feb 1, 2015
    Posts:
    3,201
    Use an editor script along with the AssetDatabase to search the project and populate your list.