Logic Script Generator window
This window is for generating scripts that perform simple processing such as method calls and property input/output.
You can open it using one of the following methods.
- Select Window > Logic Toolkit > Logic Script Generator from the menu.
- Click the “⋮” button on the toolbar of Logic Editor and select Logic Script Generator from the menu.
- Click the assembly selection dropdown in the left pane and select Create New Assembly from the menu.
If no assembly has been created in the project, click the “Create New Assembly” button in the center of the right frame. - Enter the name of the assembly in the pop-up window that appears.
- Click the “Create” button.
- Click the assembly selection dropdown in the left pane.
- Select Assembly from the menu.
- Delete Assets/Logic Toolkit/Generated Scripts/assembly name folder from the Project window.
- Click the “+” button on the toolbar.
- Select the script to add from the menu. *Click the “Add” button in the footer.
- Select script from list.
- Set in details field
- Uncheck the scripts you want to remove from the list.
Additions, settings, and deletions will be reflected in the generated results by applying them.
- Click the “Apply” button in the footer.
- Click the “Revert” button in the footer.
Generates an ActionComponent script that retrieves C# type properties and fields and outputs them to the DataPort.
Setting items | Description |
---|---|
Dont Use Compute | Applies an attribute that should not be used on a Compute node. |
Recompute Mode Settings | Specify how to set the recompute mode when you want to use it with the Compute node.
|
Recompute Mode | If Recompute Mode Settings is Default or Fixed, specify the Recompute Mode to be set.
|
Generates an ActionComponent script that sets the value received from InputField to a C# type property or field. If the type is a value type, outputs the result of the setting word to the DataPort.
Items are displayed only if the type is a value type.
Setting items | Description |
---|---|
Dont Use Compute | Applies an attribute that should not be used on a Compute node. |
Recompute Mode Settings | Specify how to set the recompute mode when you want to use it with the Compute node.
|
Recompute Mode | If Recompute Mode Settings is Default or Fixed, specify the Recompute Mode to be set.
|
Generates an ActionComponent script that calls a C# type method. If there is a return value, out, or ref argument, output the value to the DataPort after the call.
The item is only visible if there is an output DataPort.
Setting items | Description |
---|---|
Dont Use Compute | Applies an attribute that should not be used on a Compute node. |
Recompute Mode Settings | Specify how to set the recompute mode when you want to use it with the Compute node.
|
Recompute Mode | If Recompute Mode Settings is Default or Fixed, specify the Recompute Mode to be set.
|
Set fields and events of delegate type, and generate an EventComponent script that handles the event when called.
Generates a TweenComponent script that gradually changes the properties and fields of a class.