UnityEngine.Networking.NetworkTransport.Init C# (CSharp) Method

Init() public static method

Initializes the NetworkTransport. Should be called before any other operations on the NetworkTransport are done.

public static Init ( ) : void
return void
        public static void Init()
        {
            InitWithNoParameters();
        }

Same methods

NetworkTransport::Init ( GlobalConfig config ) : void

Usage Example

コード例 #1
0
        public override void Init()
        {
            if (NetworkManager.Get().enableLogging)
            {
                Debug.Log("Unet init called");
            }
            messageBuffer = new byte[MessageBufferSize];

            Unet.Init();
        }
All Usage Examples Of UnityEngine.Networking.NetworkTransport::Init