private void GameMap_DisableMarkers(On.GameMap.orig_DisableMarkers orig, GameMap self) { if (!IsRando) { orig(self); return; } //Dev.Log("UNMARK THE MAP!"); this.custPinGroup.SetActive(false); orig(self); }
private static void DisableMarkerStatic(On.GameMap.orig_DisableMarkers orig, GameMap self) { orig(self); MapOn = false; MultiplayerClient.Instance.Log("map off"); }
private void DisableMarker(On.GameMap.orig_DisableMarkers orig, GameMap self) { orig(self); gameObject.SetActive(false); username.SetActive(false); }