handzlikchris / handzlikchris/FastScriptReload
Request: Need to reload scripts from packages (located in different folder than /Assets)
- Ngôn ngữ chính
- C#
- Star
- 2.2k
- Fork
- 167
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- csharp, unity
- Lĩnh vực
- game-dev, tooling
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 35/100