handzlikchris / handzlikchris/FastScriptReload

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

未关闭
#71 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
C#
星标
2.2k
派生
167
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

调研方向

首先跟踪 ProjectPaths 示例以及用于重新加载脚本、发现项目文件的入口点;该 issue 未指定文件或测试。复现一个将脚本放在 Assets 外部的 package 或 Submodules 文件夹中的配置,并将完成标准定义为跨设备路径发现,且不使用针对特定开发者的硬编码。

由索引模型根据 Issue 内容生成。

评估

技术栈
csharp, unity
领域
game-dev, tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。