| | |
| | | scene.delay = obj; |
| | | btnSceneDelayInfo.Text = FunctionList.List.GetDelayText(obj); |
| | | }; |
| | | new PublicAssmebly().SetSceneDelayDialog(action ,scene.delay); |
| | | Dictionary<string, string> items = new Dictionary<string, string>(); |
| | | items.Add("30", "30s"); |
| | | items.Add("60", "1min"); |
| | | items.Add("120", "2min"); |
| | | items.Add("300", "5min"); |
| | | new PublicAssmebly().SetSceneDelayDialog(items, action ,scene.delay); |
| | | }; |
| | | |
| | | contentView.AddChidren(new Button() |
| | |
| | | { |
| | | if (result == StateCode.SUCCESS) |
| | | { |
| | | scene = serverScene; |
| | | FunctionList.List.scenes.Add(scene); |
| | | backAction(); |
| | | RemoveFromParent(); |