Skip to content

Instantly share code, notes, and snippets.

@eka
Created July 27, 2018 12:29
Show Gist options
  • Save eka/f07cd886a03e0dcdd89b5718433b6548 to your computer and use it in GitHub Desktop.
Save eka/f07cd886a03e0dcdd89b5718433b6548 to your computer and use it in GitHub Desktop.
InfiniteRunner Managers Can't be extended
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