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