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