Esempio n. 1
0
        public void Connect(WireBundle bundle)
        {
            if (Connected)
            {
                throw new Exception($"Disconnect the existing bundle '{ConnectedBundle}' first!");
            }

            ConnectedBundle = bundle;
            bundle.JoinPort(this);

            DebugHelperUnity.Log($"Connected to {bundle}");
        }