void Start() { dist = GameObject.Find("NormalDistribution").GetComponentInChildren <NormalDistributionScript>(); graph = GameObject.Find("Graph").GetComponentInChildren <GraphScript>(); }
void Start() { dist = GameObject.Find("NormalDistribution").GetComponentInChildren <NormalDistributionScript>(); points = new ParticleSystem.Particle[CalculateNumberOfPoints()]; BuildMesh(); }