bad-piggies-0.1.3-porting/Assets/Scripts/Assembly-CSharp/CreditsMenu.cs

18 lines
368 B
C#
Raw Permalink Normal View History

2024-02-24 22:40:44 -05:00
using UnityEngine;
public class CreditsMenu : MonoBehaviour
{
public void CloseCredits()
{
GameObject.Find("MainMenuLogic").GetComponent<MainMenu>().CloseCredits();
}
public void Start()
{
if (DeviceInfo.Instance.ActiveDeviceFamily == DeviceInfo.DeviceFamily.Ios)
{
SocialGameManager.Instance.ReportAchievementProgress("grp.LITERATE", 100.0);
}
}
}