Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only. On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live. Read our full announcement for more information and let us know if you have any questions.

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.