public override void SetState(TileController.State newState)
    {
        switch (newState)
        {
        case TileController.State.CLOSED:
            dust.enabled = false;
            break;

        case TileController.State.OPEN:
            dust.enabled = true;
            break;

        case TileController.State.FILLED:
            dust.enabled = false;
            break;

        default:
            break;
        }
    }
Пример #2
0
 public virtual void SetState(TileController.State state)
 {
 }