【发布时间】:2017-02-21 00:59:19
【问题描述】:
我想将 Server.Timestamp 保存到我的 Firebase 数据库 unity3d c#。我尝试了几种方法,但都没有得到结果。从 Google Firebase 示例中,我可以看到时间戳保存为长 https://firebase.google.com/docs/database/unity/structure-data 但他们的例子都没有真正处理保存这个值或读取这个值。
"chats": {
"one": {
"title": "Historical Tech Pioneers",
"lastMessage": "ghopper: Relay malfunction found. Cause: moth.",
"timestamp": 1459361875666
},
"two": { ... },
"three": { ... }
},
我找不到一个简单的例子来保存和读取 servervalue.timestamp。 基本上我想知道如何在 c# 中保存和使用 Google Firebase ServerValue.Timestamp。
谢谢。
【问题讨论】:
标签: unity3d firebase firebase-realtime-database