private void InitialiseSubControllers( SpeedController speedController, HotkeyWatcher hotkeyWatcher, CardAnimationController cardAnimationController, MapController mapController, EndGameAnimController endGameAnimController, Notifier notifier, OptionsPanel optionsPanel) { orig_InitialiseSubControllers( speedController, hotkeyWatcher, cardAnimationController, mapController, endGameAnimController, notifier, optionsPanel); if (_defaultMapSprite != null) { return; } var image = mapBackground.GetComponent <Image>(); _defaultMapSprite = image.sprite; }
private extern void orig_InitialiseSubControllers( SpeedController speedController, HotkeyWatcher hotkeyWatcher, CardAnimationController cardAnimationController, MapController mapController, EndGameAnimController endGameAnimController, Notifier notifier, OptionsPanel optionsPanel);