コード例 #1
0
        public void SetStateToTruePressesPressurePlate()
        {
            pressurePlateReplayer.SetState(true);
            bool stateIsPressed = pressurePlate.IsPressed();

            Assert.True(stateIsPressed);
        }
コード例 #2
0
 /// get the actual state of the pressure plate being tracked this frame
 protected override bool GetState()
 {
     return(plate.IsPressed());
 }
コード例 #3
0
 /// Get the state of the pressure plate
 public override bool GetState()
 {
     return(plate.IsPressed());
 }