public void AddNewReplayParentEntity(ReplayParentObject replayObject, int parentIndex) { TinyReplayEntity newEntity = this.CreateNewTinyReplayEntity(replayObject.entityType); newEntity.InitReplayEntity(replayObject.gameObject, replayObject.prefabName, parentIndex); this.allEntity.Add(newEntity); }
public void AddNewReplayEntity(ReplayObject replayObject) { TinyReplayEntity newEntity = this.CreateNewTinyReplayEntity(replayObject.entityType); newEntity.InitReplayEntity(replayObject.gameObject, string.Empty, replayObject.entityIndex); this.allEntity.Add(newEntity); }