Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Utilize UnityEditor.EditorApplication. applicationContentsPath #622

@StanleyGoldman

Description

@StanleyGoldman

Breakout of #617

The code to obtain the Tools folder in Unity can be shorted to use UnityEditor.EditorApplication. applicationContentsPath

if (!nodeJsExecutablePath.IsInitialized)
{
nodeJsExecutablePath = IsWindows
? UnityApplication.Parent.Combine("Data", "Tools", "nodejs", "node.exe")
: UnityApplication.Combine("Contents", "Tools", "nodejs", "node");

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions