GetChangeGameObjectParentEvent(int, out ChangeGameObjectParentEventArgs)
Retrieves the event data at the given index as a ChangeGameObjectParentEventArgs. Throws an exception if the event type requested does not match the event stored in the stream.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
GetChangeGameObjectParentEvent(int, ChangeGameObjectParentEventArgs)
public void GetChangeGameObjectParentEvent(int eventIdx, out ChangeGameObjectParentEventArgs data)
Parameters
The index of the event to get the data for.
The data associated with the event.