Struct OnUpdate
Assembly: solution.dll
Syntax
[NodeSearcherItem("Events/On Update")]
[Serializable]
[NodeDescription("The **On Update** event node starts to trigger right after the **On Start** event node. From there, it will execute anything chained to it, during one frame and for any consecutive frames.", Example = "\r\n\r\nIn this example, we have a Cube containing a visual script that will:\r\n\r\n1. Trigger the On Start event when entering play mode\r\n\r\n 1. Wait 2 seconds.\r\n 2. Set the variable **CanUpdate** to **True**.\r\n\r\n2. The On Update will execute When the variable **CanUpdate** is **True**.\r\n\r\n 1. The Elapsed time will be logged until:\r\n\r\n - The object is destroyed.\r\n - The object is disabled.\r\n - The component with the script is destroyed.\r\n - The component with the script is disabled.\r\n - The variable CanUpdate is false.")]
public struct OnUpdate : IEntryPointNode, INode
Fields
Methods
Extension Methods