﻿namespace LiteNetLibManager
{
    public class WebSocketTransportFactory : BaseTransportFactory
    {
        public override bool CanUseWithWebGL { get { return false; } }

        public override ITransport Build()
        {
            return new WebSocketTransport();
        }
    }
}

﻿namespace LiteNetLibManager
{
    public class WebSocketTransportFactory : BaseTransportFactory
    {
        public override bool CanUseWithWebGL { get { return true; } }

        public override ITransport Build()
        {
            return new WebSocketTransport();
        }
    }
}

Add check is transport work with webGL or not at transport factory
Add check is transport work with webGL or not at transport factory
