コード例 #1
0
ファイル: GreatCoinScript.cs プロジェクト: JoeSnow0/Great-Ape
 private void CoinCollected()
 {
     //Update score with collected coin
     mainMenu.AddScore(coinIndex);
     coinAnimator.SetBool("collected", true);
     //sound effect
     SoundManager.instance.PlayPitched(collectSFX, 0.9f, 1.1f);
     //Remove Coin from game
     col.enabled = false;
 }