Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    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:
    40
    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:
    676
    I believe tiny rendering only support one material right now.