Files

27 lines
478 B
C#
Raw Permalink Normal View History

2025-05-13 05:19:58 +03:00
using UnityEngine;
using System.Collections;
public class ElevatorLockedPredicate : Predicate {
public ElevatorController elevator;
public bool locked;
protected override bool CheckInternal ()
{
locked = elevator.state == ElevatorState.Moving;
return locked;
}
protected override bool CheckInternal (object param)
{
return CheckInternal();
}
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
}