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

15 lines
274 B
C#
Raw Permalink Normal View History

2024-02-24 22:40:44 -05:00
public class TransportChallenge : Challenge
{
public BasePart.PartType partToTransport;
public override bool IsCompleted()
{
return WPFMonoBehaviour.levelManager.IsPartTransported(partToTransport);
}
private void Awake()
{
m_type = ChallengeType.Transport;
}
}