Example #1
0
        public void EmitMarker(string SocketType, Matrix4x4 transform, IntVector gridPosition, int cellId)
        {
            PropSocket socket = new PropSocket();

            socket.Id           = ++_SocketIdCounter;
            socket.IsConsumed   = false;
            socket.SocketType   = SocketType;
            socket.Transform    = transform;
            socket.gridPosition = gridPosition;
            socket.cellId       = cellId;
            PropSockets.Add(socket);
        }
Example #2
0
 protected void ClearSockets()
 {
     _SocketIdCounter = 0;
     PropSockets.Clear();
 }