public ConstellationScript GetConstellationByName(string scriptName) { var allConstellations = EditorUtils.GetAllInstances <ConstellationScript>(); foreach (var constellation in allConstellations) { if (constellation.name == scriptName) { return((ConstellationScript)AssetDatabase.LoadAssetAtPath(AssetDatabase.GetAssetPath(constellation), typeof(ConstellationScript)));; } } return(null); }
public ConstellationScript[] GetAllScriptsInProject() { return(EditorUtils.GetAllInstances <ConstellationScript> ()); }
public ConstellationBehaviourScript[] SearchAllConstellationBehaviourScriptsInProject() { return(EditorUtils.GetAllInstances <ConstellationBehaviourScript>()); }
public ConstellationStaticNodeScript[] SearchAllConstellationNodeScriptsInProject() { return(EditorUtils.GetAllInstances <ConstellationStaticNodeScript>()); }