Search Unity

[Tutorial] Particle Sea in Unity3D

Discussion in 'Community Learning & Teaching' started by thoorne, Apr 27, 2015.

  1. thoorne

    thoorne

    Joined:
    Jul 22, 2012
    Posts:
    64
    Last edited: Apr 28, 2015
    Hormic and Nimue like this.
  2. Nimue

    Nimue

    Joined:
    Apr 27, 2015
    Posts:
    6
    I like it overall :) I'm writing this as I'm working through it so I'm noting issues as I work.

    1. In the code under Perlin Noise the less than (<) sign changes to &lt;. This pops an error in Unity.
     
  3. Bharatm23

    Bharatm23

    Joined:
    Jan 3, 2013
    Posts:
    1
    Hi!
    In the tutorial where I have to assign the particle system (ParticleSea) to the script, I do not have the option to simply drag and drop the particle system. The roll-out in the script only allows to attach a script and nothing else. Could you help me with this?
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      21.5 KB
      Views:
      990
  4. thoorne

    thoorne

    Joined:
    Jul 22, 2012
    Posts:
    64
    Nice catch, thanks! Fixed!

    Make sure in ParticleSea.cs script you have following variable: public ParticleSystem particleSystem;

    So code should look something like this:
    Code (CSharp):
    1. using UnityEngine;
    2. using System.Collections;
    3.  
    4. public class ParticleSea : MonoBehaviour {
    5.  
    6.     public ParticleSystem particleSystem;
    7.     private ParticleSystem.Particle[] particlesArray;
    8.  
    9.        // Other things
    10. }
    Hope this helps.
     
  5. Nimue

    Nimue

    Joined:
    Apr 27, 2015
    Posts:
    6
    You're very welcome :) Playing with the settings is addictive!
     
  6. Hormic

    Hormic

    Joined:
    Aug 12, 2014
    Posts:
    251
  7. Adam-Buckner

    Adam-Buckner

    Joined:
    Jun 27, 2007
    Posts:
    5,664
    You could try the internet archives way back machine.
     
  8. Hormic

    Hormic

    Joined:
    Aug 12, 2014
    Posts:
    251