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

10 lines
440 B
C#

using UnityEngine;
public class SplashPlayer : MonoBehaviour
{
private void Start()
{
SplashScreenSequence original = ((!BuildCustomizationLoader.Instance.IsHDVersion) ? ((SplashScreenSequence)Resources.Load("Splashes/Sequences/SplashSequence_iPhone", typeof(SplashScreenSequence))) : ((SplashScreenSequence)Resources.Load("Splashes/Sequences/SplashSequence_iPad", typeof(SplashScreenSequence))));
Object.Instantiate(original);
}
}