# Logic Asset

This is the main object of Logic Toolkit that can be created as an asset (ScriptableObject). It has a built-in Logic Controller, which allows behavior control using graphs.

To play, you need to place a GameObject with Logic Player in the scene.

## How to create

### Project window

1. Select the folder where you want to save the file.
2. Click the “+” button in the Project window.
3. Select Logic Toolkit > Logic Asset from the menu.
4. Enter the name to enter name input mode.
5. Confirm with `Enter key`

### Logic Editor window

1. Click the “+” button in the Logic Editor window.
2. Select Logic Asset from the menu.
3. The save destination dialog will be displayed. Select the save destination folder, enter the file name, and save.

## Properties

Properties | Description
--- | ---
Edit button | Open Logic Editor window
Events | Defining a Custom Event

## Supplement

- Objects in the scene cannot be directly referenced from graphs created with Logic Asset.