string WolframDatabin.Add(string key, string value)

adds the string to a databin.

string Add(Dictionary<string,string>data)

add the dictionary data to a databin.


  • WolframDatabin.Add() is a member function of the WolframDatabin class.
  • WolframDatabin.Add() is only available for use in Unity scripts.


Basic Examples  (1)

Log the session start time:

using UnityEngine;

public class demo : MonoBehaviour {

    public WolframDatabin databin;
    public string databinID;

    void Start() {
        databin.ID = databinID;

    void Awake() {
        Dictionary<string, string> data = new Dictionary<string, string>() {
            {"Log", "SessionStart"},
            {"Time", sessionStartTime.ToString()}