public VideoPlayer() { _state = MediaState.Stopped; _game = Game.Instance; _platform = (iOSGamePlatform)_game.Services.GetService(typeof(iOSGamePlatform)); if (_platform == null) throw new InvalidOperationException("No iOSGamePlatform instance was available"); }
private void PlatformInitialize() { _game = Game.Instance; _platform = (iOSGamePlatform)_game.Services.GetService(typeof(iOSGamePlatform)); if (_platform == null) throw new InvalidOperationException("No iOSGamePlatform instance was available"); }
public VideoPlayer() { _state = MediaState.Stopped; _game = Game.Instance; _platform = (iOSGamePlatform)_game.Services.GetService(typeof(iOSGamePlatform)); if (_platform == null) { throw new InvalidOperationException("No iOSGamePlatform instance was available"); } }
private void PlatformInitialize() { _game = Game.Instance; _platform = (iOSGamePlatform)_game.Services.GetService(typeof(iOSGamePlatform)); if (_platform == null) { throw new InvalidOperationException("No iOSGamePlatform instance was available"); } }