問題タブ [unity-editor]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
unity3d - UnityビルドAPK時のExpressionEvaluator.Evaluate
私のプロジェクトでスクリプトを使用し、このスクリプトで文字列入力から同じ「1 + 2-2 + 1」の単純な数学方程式を解くために、
ExpressionEvaluator.Evaluateを使用します
が、これはunityeditorクラスにあり、プロジェクトをビルドすると
「名前「ExpressionEvaluator」は現在のコンテキストに存在しません」というエラー。Platform Dependent Compilation https://docs.unity3d.com/Manual/PlatformDependentCompilation.htmlを使用してこのエラーを処理します が、apk をインストールしようとすると、Android デバイスでエラーが発生し、デバイスはアプリケーションがインストールされていないと言います。
ここで私の質問は、ExpressionEvaluator.Evaluate の代わりになるもの、またはあなたが私を指揮できる提案があるかということです。
どうもありがとうございます。