Skip to content

Instantly share code, notes, and snippets.

View EvgenNechyporuk's full-sized avatar
🏠
Working from home

Evgen Nechyporuk EvgenNechyporuk

🏠
Working from home
View GitHub Profile
@EvgenNechyporuk
EvgenNechyporuk / pipeGenerator.cs
Created September 27, 2023 10:33 — forked from antonkudin/pipeGenerator.cs
Generates pipe mesh from mesh segments
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class pipeGenerator : MonoBehaviour
{
[SerializeField] Mesh straightMesh;
[SerializeField] Mesh elbowMesh;
[Space]
[SerializeField] Vector3[] pathPoints;