bad-piggies-0.1.3-porting/Assets/Scripts/Assembly-CSharp/CreditsMenu.cs
2024-02-24 22:40:44 -05:00

17 lines
368 B
C#

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);
}
}
}