protected virtual void SaveVideoPlayers() { if (!this.isReplayVideoPlayers) { return; } this.dataLines.Add(PlaybackVideoPlayerEventController.GetDataLine(this.GetHeaderElapsedTime(), this.targetVideoPlayers)); }
// Use this for initialization protected virtual void Start() { WorldPlaybackCommon common = this.GetComponent <WorldPlaybackCommon>(); this.filePath = common.GetFilePath(); this.transformController = new PlaybackTransformEventController(common); // Transform this.videoPlayerController = new PlaybackVideoPlayerEventController(common); // Video Player }
protected virtual List <string> GetDefinitionLines() { List <string> definitionLines = new List <string>(); // Transform definitionLines.Add(PlaybackTransformEventController.GetDefinitionLine(this.targetTransforms)); // Video Player if (this.isReplayVideoPlayers) { definitionLines.Add(PlaybackVideoPlayerEventController.GetDefinitionLine(this.targetVideoPlayers)); } return(definitionLines); }