現在のメソッドの変数およびフィールド参照を 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)