WolframDatabin.Add()
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.
Details
- WolframDatabin.Add() is a member function of the WolframDatabin class.
- WolframDatabin.Add() is only available for use in Unity scripts.
Examples
Basic Examples (1)
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()}
}
databin.Add(data);
}
}