Пример #1
0
        public void AddNewReplayParentEntity(ReplayParentObject replayObject, int parentIndex)
        {
            TinyReplayEntity newEntity = this.CreateNewTinyReplayEntity(replayObject.entityType);

            newEntity.InitReplayEntity(replayObject.gameObject, replayObject.prefabName, parentIndex);
            this.allEntity.Add(newEntity);
        }
Пример #2
0
        public void AddNewReplayEntity(ReplayObject replayObject)
        {
            TinyReplayEntity newEntity = this.CreateNewTinyReplayEntity(replayObject.entityType);

            newEntity.InitReplayEntity(replayObject.gameObject, string.Empty, replayObject.entityIndex);
            this.allEntity.Add(newEntity);
        }