기술 자료

Unity Engine

Unity Engine

Initialize(Object[])

Called when the Preview gets created with the objects being previewed.
읽는 시간 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.