playMaker

Author Topic: Get material count  (Read 533 times)

troubleMaker

  • Playmaker Newbie
  • *
  • Posts: 25
    • View Profile
Get material count
« on: November 22, 2015, 03:34:54 AM »
Hi,

I would like to get the number of materials a mesh has - the "Size" under Materials of the Mesh Renderer object. I tried looking in the Ecosystem for an action and using the Get property action, but i couldn't find a way.

Thanks for any help!