概要
using UnityEditor; using UnityEngine; public static class Example { [MenuItem("Tools/Hoge")] private static void Hoge() { // C:/Program Files/Unity/Hub/Editor/2020.1.6f1/Editor/Data/PlaybackEngines/iOSSupport Debug.Log( BuildPipeline.GetPlaybackEngineDirectory( BuildTarget.iOS, BuildOptions.None) ); // C:/Program Files/Unity/Hub/Editor/2020.1.6f1/Editor/Data/PlaybackEngines/AndroidPlayer Debug.Log( BuildPipeline.GetPlaybackEngineDirectory( BuildTarget.Android, BuildOptions.None) ); } }