Skip to content

Commit

Permalink
added debug to TimelineTriggerEventListener
Browse files Browse the repository at this point in the history
  • Loading branch information
Percevent13 committed Aug 16, 2024
1 parent 49679c6 commit e4cb555
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Runtime/Listeners/TimelineTriggerEventListener.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ public bool isDebug

private void OnEnable()
{
if (_channel != null)
Debug.Log("Played Timeline's enable");
if (_channel != null)
_channel.OnEventRaised += Respond;
}

Expand All @@ -49,7 +50,6 @@ private void OnDisable()

private void Respond(PlayableAsset timeline, bool value)
{
Debug.Log("STARTING TIMELINE: " + timeline.name);
if (assignTimelineToPlayableDirector) _playableDirectorToControl.playableAsset = timeline;
if(timeline != _playableDirectorToControl.playableAsset) return;
OnEventRaised?.Invoke(timeline, value);
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fr.jeanf.eventsystem",
"version": "0.1.108",
"version": "0.1.109",
"displayName": "Event System",
"description": "This package contains a basic Event System based on Scriptable Objects as communication medium",
"unity": "2021.3",
Expand Down

0 comments on commit e4cb555

Please sign in to comment.