Documentation

Unity Engine

Unity Engine

Initialize(Object[])

Called when the Preview gets created with the objects being previewed.
Read time 1 minuteLast updated a day ago

Definition

public virtual void Initialize(Object[] targets)

Parameters

targets

The objects being previewed.

Remarks

You can override this function and use this to cache or initialize anything needed by your preview.