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

14 lines
274 B
C#

public class TransportChallenge : Challenge
{
public BasePart.PartType partToTransport;
public override bool IsCompleted()
{
return WPFMonoBehaviour.levelManager.IsPartTransported(partToTransport);
}
private void Awake()
{
m_type = ChallengeType.Transport;
}
}