Search Unity

Can't have animated property set value on another object

Discussion in 'Scripting' started by AVOlight, Oct 21, 2014.

  1. AVOlight

    AVOlight

    Joined:
    Apr 15, 2014
    Posts:
    427
    wondering if theres a way to have my object set a value on another object from within the animated property setter{otherObject.value = value;}

    it works while the object is selected in the editor

    but stops working when the object is deselected

    current work around is having the other object constantly check the value in the animated object
    which seems rather silly
     
    Last edited: Oct 23, 2014