public void SetPlaybackTargets() { HumanNaviPlaybackCommon common = this.GetComponent <HumanNaviPlaybackCommon>(); common.SetPlaybackTargets(); this.filePath = common.GetFilePath(); this.isReplayVideoPlayers = common.IsReplayVideoPlayers(); this.targetTransforms = common.GetTargetTransforms(); // Transform this.targetVideoPlayers = common.GetTargetVideoPlayers(); // Video Player }
protected override void Start() { HumanNaviPlaybackCommon common = this.GetComponent <HumanNaviPlaybackCommon>(); this.filePath = common.GetFilePath(); //this.transformController = new PlaybackTransformEventController (common); // Transform this.videoPlayerController = new PlaybackVideoPlayerEventController(common); // Video Player this.taskInfoController = new PlaybackTaskInfoEventController(this.trialNumberText, this.timeLeftValText, this.taskMessageText); this.scoreController = new PlaybackScoreEventController(this.scoreText, this.totalText); // Score this.panelNoticeController = new PlaybackPanelNoticeEventController(this, this.mainMenu); // Notice of a Panel this.collisionController = new PlaybackCollisionEventController(this.collisionEffect); // Collision this.hsrCollisionController = new PlaybackHsrCollisionEventController(this.collisionEffect); // HSR Collision }