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); }
protected void ClearSockets() { _SocketIdCounter = 0; PropSockets.Clear(); }