Skip to content
This repository has been archived by the owner on May 22, 2021. It is now read-only.

Commit

Permalink
Last fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Team-on committed May 18, 2021
1 parent 7520013 commit e38cbca
Show file tree
Hide file tree
Showing 5 changed files with 239 additions and 236 deletions.
10 changes: 5 additions & 5 deletions BCGJam/Assets/Editor/Setting/BuildSequences.asset

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

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

5 changes: 4 additions & 1 deletion BCGJam/Assets/Scripts/Game/Bars/ProgressBarSector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ public class ProgressBarSector : MonoBehaviour {
bool isFilledHalf;

private void Update() {
fillHalfImage.color = fillHalfImage.color.SetA(Mathf.PingPong(Time.time, 0.5f));
if(fillHalfImage)
fillHalfImage.color = fillHalfImage.color.SetA(Mathf.PingPong(Time.time / 4, 0.1f) + 0.4f);
if (eyeCg)
eyeCg.alpha = Mathf.PingPong(Time.time / 4, 0.1f) + 0.4f;
}

public void Init(int id) {
Expand Down
Loading

0 comments on commit e38cbca

Please sign in to comment.