Skip to content

Commit

Permalink
Not conflict. Merge branch 'master' of https://github.com/jcs090218/J…
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Jul 22, 2019
2 parents 07392f8 + e36112a commit 678a6ce
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
11 changes: 11 additions & 0 deletions Assets/JCSUnity/Scripts/GUI/Text/JCS_TextAnimation.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 3 additions & 6 deletions Assets/JCSUnity/Scripts/GUI/Timer/JCS_SpriteTimer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* $Date: 2017-03-10 $
* $Revision: $
* $Creator: Jen-Chieh Shen $
* $Notice: See LICENSE.txt for modification and distribution information
* $Notice: See LICENSE.txt for modification and distribution information
* Copyright (c) 2016 by Shen, Jen-Chieh $
*/
using System.Collections;
Expand Down Expand Up @@ -165,7 +165,7 @@ public class JCS_SpriteTimer
[SerializeField]
private AudioClip mSecondSound = null;

// Track the second changes, so we are able to play the
// Track the second changes, so we are able to play the
// second sound.
private int mTrackSecond = 0;

Expand Down Expand Up @@ -591,11 +591,8 @@ private void PlayTimerSound(AudioClip clip)
if (clip == null)
return;

OM_SoundManager sm = OM_SoundManager.instance;
JCS_SoundManager sm = JCS_SoundManager.instance;
sm.GetGlobalSoundPlayer().PlayOneShot(clip);

//JCS_SoundPlayer sm = JCS_SoundPlayer.instance;
//sm.GetGlobalSoundPlayer().PlayOneShot(clip);
}
}
}
7 changes: 2 additions & 5 deletions Assets/JCSUnity/Scripts/GUI/Timer/JCS_TextTimer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public class JCS_TextTimer
[SerializeField]
private AudioClip mSecondSound = null;

// Track the second changes, so we are able to play the
// Track the second changes, so we are able to play the
// second sound.
private int mTrackSecond = 0;

Expand Down Expand Up @@ -413,11 +413,8 @@ private void PlayTimerSound(AudioClip clip)
if (clip == null)
return;

OM_SoundManager sm = OM_SoundManager.instance;
JCS_SoundManager sm = JCS_SoundManager.instance;
sm.GetGlobalSoundPlayer().PlayOneShot(clip);

//JCS_SoundPlayer sm = JCS_SoundPlayer.instance;
//sm.GetGlobalSoundPlayer().PlayOneShot(clip);
}
}
}

0 comments on commit 678a6ce

Please sign in to comment.