GetChangeGameObjectStructureEvent(int, out ChangeGameObjectStructureEventArgs)
Retrieves the event data at the given index as a ChangeGameObjectStructureEventArgs. 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
GetChangeGameObjectStructureEvent(int, ChangeGameObjectStructureEventArgs)
public void GetChangeGameObjectStructureEvent(int eventIdx, out ChangeGameObjectStructureEventArgs data)
Parameters
The index of the event to get the data for.
The data associated with the event.