Пример #1
0
        public ConstellationScript GetConstellationByName(string scriptName)
        {
            var constellation = EditorUtils.GetInstanceByName <ConstellationScript>(scriptName);

            return((ConstellationScript)AssetDatabase.LoadAssetAtPath(AssetDatabase.GetAssetPath(constellation), typeof(ConstellationScript)));
        }
Пример #2
0
 public ConstellationBehaviourScript[] SearchAllConstellationBehaviourScriptsInProject()
 {
     return(EditorUtils.GetAllInstances <ConstellationBehaviourScript>());
 }
Пример #3
0
 public ConstellationStaticNodeScript[] SearchAllConstellationNodeScriptsInProject()
 {
     return(EditorUtils.GetAllInstances <ConstellationStaticNodeScript>());
 }