Playmaker Forum

PlayMaker Updates & Downloads => Share New Actions => Topic started by: jeanfabre on January 31, 2012, 05:03:26 AM

Title: Set Material color to all children
Post by: jeanfabre on January 31, 2012, 05:03:26 AM
Hi,

 following a forum request:http://hutonggames.com/playmakerforum/index.php?topic=1028.0 (http://hutonggames.com/playmakerforum/index.php?topic=1028.0)

 Please find an action that allow you to set the material color of a gameObject AND all its children.

You can download it on the Ecosystem (https://hutonggames.fogbugz.com/default.asp?W1181) or below

SetMaterialColorToAllChildren (https://github.com/jeanfabre/PlayMakerCustomActions_U4/blob/b1d25c98ed906de33288617a7aca14d14fd7ef0a/Assets/PlayMaker%20Custom%20Actions/Material/SetMaterialColorToChildren.cs)

Bye,

 Jean
Title: Re: Set Material color to all children
Post by: Sid on August 23, 2015, 08:00:47 PM
Hi, 2015 here.

Was wondering if it'd be possible to update this fine action in due time.

Quote
Assets/Playmaker Actions/SetMaterialColorToChildren.cs(59,52): error CS0619: `UnityEngine.GameObject.renderer' is obsolete: `Property renderer has been deprecated. Use GetComponent<Renderer>() instead. (UnityUpgradable)'

Assets/Playmaker Actions/SetMaterialColorToChildren.cs(59,61): error CS1061: Type `UnityEngine.Component' does not contain a definition for `material' and no extension method `material' of type `UnityEngine.Component' could be found (are you missing a using directive or an assembly reference?)

Thanks for considering.
Title: Re: Set Material color to all children
Post by: sebaslive on August 24, 2015, 02:51:50 PM
Hi, future here. :D

Unity automatically updates the code if you let it but here is the updated code as well.
Title: Re: Set Material color to all children
Post by: djaydino on August 24, 2015, 03:45:15 PM
Hi,
present here  :o

the action is now available on the EcoSystem (https://hutonggames.fogbugz.com/default.asp?W1181)
Title: Re: Set Material color to all children
Post by: jeanfabre on August 25, 2015, 01:35:16 AM
Hi,

 Thanks Guys for updating and all! I made a tweet (https://twitter.com/JeanAtPlayMaker/status/636048838244073472) for it.

You should all update your member infos to feature your tweet username so that I can reference you guys, or even tweet yourself about your contribution, and we'll retweet with pleasure :)


 Bye,

 Jean
Title: Re: Set Material color to all children
Post by: Sid on August 25, 2015, 04:39:41 AM
You guys are the best!
Title: Re: Set Material color to all children
Post by: sebaslive on August 25, 2015, 11:32:57 AM
Hi,

 Thanks Guys for updating and all! I made a tweet (https://twitter.com/JeanAtPlayMaker/status/636048838244073472) for it.

You should all update your member infos to feature your tweet username so that I can reference you guys, or even tweet yourself about your contribution, and we'll retweet with pleasure :)


 Bye,

 Jean

Good idea Jean, I don't see a field for twitter but I added it to my sig.