お好みのスクリプト言語を選択すると、サンプルコードがその言語で表示されます。
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close現在のメソッドの変数およびフィールド参照を ActionScript 名に変換して ActionScript コードを実行
import UnityEngine.Flash; var v = 42; ActionScript.Statement("trace({0})", v);
using UnityEngine.Flash; using UnityEngine; using System.Collections; public class ExampleClass : MonoBehaviour { public int v = 42; void Example() { ActionScript.Statement("trace({0})", v); } }
import UnityEngine.Flash import UnityEngine import System.Collections public class ExampleClass(MonoBehaviour): public v as int = 42 def Example() as void: ActionScript.Statement('trace({0})', v)