mirror of
https://github.com/Xevion/Boids.git
synced 2025-12-15 04:11:12 -06:00
add public mesh field to Triangle.cs script
This commit is contained in:
@@ -3,8 +3,9 @@ using System.Linq;
|
||||
using UnityEngine;
|
||||
|
||||
public class Triangle : MonoBehaviour {
|
||||
public Material material;
|
||||
[NonSerialized] public Color FillColor = Color.red;
|
||||
public MeshRenderer meshRenderer;
|
||||
[HideInInspector] public MeshRenderer meshRenderer;
|
||||
|
||||
private void Start () {
|
||||
// Create Vector2 vertices
|
||||
|
||||
Reference in New Issue
Block a user