Scripting API

Scripting API

ComponentMenuAction<T>

Delegate in Abyss.Core, from Abyss.Core.

What a component's item in the Inspector does to it: changed through component, written back after.

public delegate void ComponentMenuAction<T>(World world, ulong entity, ref T component);

Type parameters

  • T: The component.

Parameters

  • world: The editor's world.
  • entity: The entity it is on.
  • component: The component, as it is on the entity, written back once this returns.