C# sdk
var obj = LCObject.Create("Test");
obj["count"] = 0;
await obj.Save();
var objectId = obj.ObjectId;
var increase = LCObject.CreateWithoutData("Test", objectId);
increase.Increment("count", 1);
await increase.Save(true);
Debug.Log($"1 count={increase["count"]}");
var increase2 = LCObject.CreateWithoutData("Test", objectId);
increase2.Increment("count", 1);
await increase2.Save(true);
Debug.Log($"2 count={increase2["count"]}");
永遠都只會是1
目前測試 永遠都會返回Increase的值
改成Increment("count", 2); 結果就會是返回2