ドキュメント

Unity Engine

Unity Engine

Initialize(Object[])

Called when the Preview gets created with the objects being previewed.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.