Created
July 27, 2018 12:29
-
-
Save eka/f07cd886a03e0dcdd89b5718433b6548 to your computer and use it in GitHub Desktop.
InfiniteRunner Managers Can't be extended
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
namespace YakDogGames | |
{ | |
public class GameManager : MoreMountains.InfiniteRunnerEngine.GameManager | |
{ | |
public override void LoseLives(int lives) | |
{ | |
base.LoseLives(lives); | |
YakDogGames.GUIManager.Instance.RefreshPoints(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment