Tessalator Posted August 24, 2023 Posted August 24, 2023 The changes to node data (get/set) and XML support are really powerful. Nice work! Adding a write event would provide even more power and make it easy to use it as a message port.
silent Posted August 25, 2023 Posted August 25, 2023 What do you mean by write event? Could you please elaborate more on this? Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Tessalator Posted August 25, 2023 Author Posted August 25, 2023 (edited) I would like to trigger actions when information is written to Node.Data. void SetData (string name, string data) Maybe something like: Engine.AddCallback(OnNodeDataChange, (Node node, string name) => { } ); or Engine.AddCallback(OnNodeDataChange, Node, () => { } ); or it could be a virtual method on Node itself. This would fire when SetData completes. In my case I want to use it for node-to-node messaging. It's just a nice to have. Edited August 26, 2023 by Tessalator added other approaches
Recommended Posts