Skip to content

PrefabEvent beta ​

Interface of @v12-engine/editor

ts
export interface PrefabEvent

An instance of a prefab put down, or brought up to its prefab (updated, reverted, applied): the instance's id (editor.prefabs.prefabInstances()) and the prefab's name

Members ​

instance ​

ts
instance: number;

The id of the instance of the prefab that was put down or brought up to it

prefab ​

ts
prefab: string;

The prefab's name