unity particle system color

    Color myColor; 
	var particlesMain = gameObject.GetComponent<ParticleSystem>().main;
    particlesMain.startColor = myColor;

0
9
Stoicfury 115 points

                                    Color myColor;
gameObject.GetComponent&lt;ParticleSystem&gt;().startColor = myColor;

0
0
Are there any code examples left?
Create a Free Account
Unlock the power of data and AI by diving into Python, ChatGPT, SQL, Power BI, and beyond.
Sign up
Develop soft skills on BrainApps
Complete the IQ Test
Relative searches
how to make particle system different color unity particle system set color through script unity particle system change color of part of a particles unity particle change color unity particle system how to change color unity set particle system color setting start color of particle system unity particle color in unity cant see particle color unity unity set particle color set particle systems startcolor 2 colors particle system change start color unity change color of particle system how to change particle system color in unity unity particle system start color unity how to make color for 3d particles unity set particle system color by script how to set the colour in unitys particles system unity set color of particle system how to change color of particle system unity unity change particle system color in code unity3d particle system color doesent work unity particle system start color script unity color particle color unity unity 2020 change particle system color script 2020 change particle system color script change particle system color script unity particle system change color unity set particle start color unity vfx change color in script change color of particle system unity c# unity set particle system start colour set unity particle system color main change start color of particle system unity change color of particle system unity how to change start color of particle system unity how to use unity particlesystem.startcolor how to change unity particle color particle system start color how to change start color of particle system particle system change the start color unity color system unity change particle color unity code unity change particle color set particle system start colour unity change particle color script change particle system color unity unity set partical color unity startcolor Unity set the start color for particles unity get particle system startcolor setting start color has no effect in particle system unity unity change color of particle system script unity change particle start color in script particlesystem unity 2019 set color in code unity particle color unity change color of particle system material unity set particle color through code unity particle system change particle color unity unity particle system color
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source