Is there a way to set "Enable GPU Instancing" to checked by default?

Hello,
After following the tutorials Unity - Manual: GPU instancing to enable GPU instancing , I have to click the checkbox manually.Is there a way to set it checked by default or set it via code(like EnableKeyword)? Thanks!

4533088--420016--upload_2019-5-13_16-17-30.png

I suppose you can make a script to do that:

Thanks! That’s exactly what I want.Guess I should search “instancing” at documentation first.:smile:

My apology for a little thread hijack @aleksandrk , but is there any rational reason, why we can not duplicate material? This way, all predefined setting could be stored, based on material template.

I know I can copy properties like

But I don’t understand, why there is no simple copy / duplicate.

@Antypodish sounds like a feature request :slight_smile:

1 Like

Oh, ok, I will look into relevant thread. Thx for reply.

@Antypodish Hello,my way is to select the material and press “Ctrl + D”, not sure if that is what you need.

1 Like

Ah definitely this.^^
To be honest, I never used that top edit menu, to copy, duplicate, paste.
Good to learn. Thx