public void OnClickEvaluate() { if (string.IsNullOrEmpty(scriptInput.text)) { return; } DoggoScript.Run(scriptInput.text); }
void OnGUI() { GUILayout.BeginVertical(); src = GUILayout.TextArea(src); if (GUILayout.Button("Run")) { DoggoScript.Run(src); } GUILayout.EndVertical(); }
void Start() { DoggoScript.Run("#(Player).hp;"); }