handzlikchris / handzlikchris/FastScriptReload

Request: Need to reload scripts from packages (located in different folder than /Assets)

Ouverte
#71 4 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
C#
Étoiles
2.2k
Forks
167
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

There doesn't seem to be an easy way to get these paths for cross-device setup. Seems like each developer will have to hardcode this themselves based on their project directory.

Tried something like this;
```
public static class ProjectPaths
{
public static string projectRoot => Path.GetDirectoryName(Application.dataPath);
public static string submodulesDirectory => Path.GetDirectoryName(Application.dataPath) + "/Submodules";
}
```
with , but doesn't seem to work.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by tracing the ProjectPaths example and the script-reload entry point that discovers project files; the issue does not name a file or test. Reproduce a setup with scripts in a package or Submodules folder outside Assets, then define completion as cross-device path discovery without developer-specific hardcoding.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
csharp, unity
Domaine
game-dev, tooling
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.