Results 1 to 1 of 1

Thread: Asset Bundle Material Editing with New Component/Children Scripting

  1. #1

    Asset Bundle Material Editing with New Component/Children Scripting

    I've been loving the new control that these commands offer for my custom assetbundles!

    https://api.tabletopsimulator.com/co...ldren-commands

    I can access the Skinned Mesh Renderer component and manipulate most anything that is accessible without a drop down. For example simple tick boxes like "Update When Offscreen", "Skinned Motion Vectors", or "Receive Shadows" can be edited with a code as simple as:

    Code:
    texture = self.getChildren()[1].getChildren()[1].getComponent('SkinnedMeshRenderer').set('receiveShadows', false)
    However, I'm a bit stumped at some of the implementation and limitations. Is there any way to access items inside drop down lists of a component, like the Material or Lighting drop downs of the Skinned Mesh Renderer? My main goal is altering the tint of the Asset Bundles' Material through scripting. Here is a picture of the Unity element I want to alter through Table Top Sim's scripting.

    thumbnail is tiny. I'd check it out on imgur itself
    imgur.com/a/0SgtjEZ
    Attached Images Attached Images

Similar Threads

  1. Asset Bundle will not load
    By Volg in forum General Discussion
    Replies: 0
    Last Post: 01-27-2019, 04:46 AM
  2. Asset bundle shader options?
    By FoaS in forum General Discussion
    Replies: 1
    Last Post: 05-13-2017, 11:18 AM
  3. In-game Tint for Additive Material in Asset Bundle
    By FoaS in forum General Discussion
    Replies: 0
    Last Post: 04-08-2017, 04:10 PM
  4. Asset Bundle Animation
    By RiceKun in forum General Discussion
    Replies: 8
    Last Post: 02-01-2017, 01:24 AM
  5. Asset Bundle Animation
    By MrStump in forum General Discussion
    Replies: 11
    Last Post: 12-30-2016, 11:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •