Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Change material at index

Discussion in 'Project Tiny' started by dallin_unity, Oct 9, 2021.

  1. dallin_unity

    dallin_unity

    Joined:
    Dec 18, 2019
    Posts:
    38
    Hi guys, currently my meshrenderer have 3 materials
    upload_2021-10-9_18-4-42.png
    I need to change material for the second one at run time, but I can't find a way to access the materials array like in classic unity, as I checked
    upload_2021-10-9_18-5-32.png
    So I can only apply material for the first material in the list, is there anyway I can change the second material in the list?
    Thanks for your time.
     
  2. GilCat

    GilCat

    Joined:
    Sep 21, 2013
    Posts:
    671
    I believe tiny rendering only support one material right now.
     
unityunity