Scripting API

Scripting API

AddedInEditor<T>

Delegate in Abyss.Core, from Abyss.Core.

Fills a T the editor has just put on entity, from what the entity is: a collider made the size of the sprite it is put on.

public delegate void AddedInEditor<T>(World world, ulong entity, ref T added);

Type parameters

  • T:

Parameters

  • world: The world, on the engine thread.
  • entity: The entity it was put on.
  • added: The component as it starts, its initializers' values, to change.