using System.Collections; using System.Collections.Generic; using UnityEngine; namespace VertexAnimationTools_30{ public class SmoothCurveGraphTexture { Color32[] clearPixels; Color32[] pixels; Color32 redPixel = new Color32((byte)255, (byte)0, (byte)0, (byte)80); Color32 backgroundPixel = new Color32((byte)255, (byte)255, (byte)255, (byte)120); public Texture2D GraphTexture; public SmoothCurveGraphTexture(float minAmount, float maxAmount, float easeOffset, float easeLength, bool isDarkTheme){ if (isDarkTheme) { redPixel = new Color32((byte)255, (byte)100, (byte)100, (byte)255); backgroundPixel = new Color32((byte)100, (byte)100, (byte)100, (byte)255); } GraphTexture = new Texture2D(200,100, TextureFormat.ARGB32, false); clearPixels = new Color32[20000]; for(int i = 0; i