Search Unity

Help with object activate

Discussion in 'Editor & General Support' started by keepthachange, Jul 13, 2019.

  1. keepthachange

    keepthachange

    Joined:
    Oct 15, 2014
    Posts:
    87
    Trying to get an object "ammo box"
    To deactivate if another object "the floor its on" has its shader alpha set to zero and then active if its 1.

    Its a top down game. And I have items on second floor that i would not like visible if the floor it's on is not visible.

    If it helps I'm using object fader from asset store to fade my floors. And what's being changed is the albedo transparency (a).

    I like it, it works good just need to figure out this last little hump to carry on. Thank you in advance.