LogicBlock

Block Assets

Create Blocks and lists, organize gameplay logic, and work with list controls.

Block Assets

Create a Block

Right-click inside your Project folder and select Create > Game Creator > LogicBlock > Block.

Create Lists

  • Click Add Instruction List to create a list of instructions.
  • Click Add Condition List to create a list of condition branches.

Each list is self-contained. You can trigger, reuse, or reference it without changing other lists in the Block.

Organize Your Blocks

Keep each Block focused on one area of gameplay. This keeps shared logic easy to find and reuse.

BlockGood use cases
Character BlockJumping, dealing damage, picking up items, interacting, activating quests, and equipping weapons.
AI BlockTargeting, following, patrolling, and other common AI behaviour.
GameObject BlockPickups, moving objects, rotations, and other world interactions.

List Controls

Each list includes controls for common work:

  • Play runs the full instruction list during Play Mode for quick testing. Dynamic references must have valid values from a normal run first; the button then reuses the last valid values.
  • Edit lets you rename the list and assign a custom icon. The icon picker includes Game Creator 2 and module icons, colors, and search.
  • Delete removes the list after confirmation.
  • Duplicate creates an exact copy of the list.
  • Drag the list handle to reorder lists in a Block.

LogicBlock loads instruction and condition lists only when you expand them. This keeps the Unity editor responsive when a Block has many lists.

Self and Target

Inside a Block, Self and Target behave as though the instructions were placed directly in the Trigger. The expected Game Creator 2 context is preserved.

Share Blocks

You can share a Block by copying its asset file to the same relative folder in another project. The receiving project needs the same Game Creator modules, custom instructions, and hub scripts. Missing dependencies can stop instructions from loading correctly or cause them to be lost.