Author Topic: PropertyReference GameObject values  (Read 1267 times)

miniScruff

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
PropertyReference GameObject values
« on: May 12, 2014, 09:52:42 PM »
I have been using the Property Reference script to create a system to compare one value to another, either constant or using another property reference. It has saved be quite a lot of time and it is really great. The only issue I have is that I would really like to reference the values on the game object itself and not just the components on it. Such as gameObject.activeSelf or gameObject.layer.

I have done a hacky-ish version on my own but would much rather have it done officially and clean.

It would also be awesome if Event Delegates could call game object functions as well, such as SetActive. This might be too much though, I am not sure if it would break anything.

That should of answered any questions, but let me know if there is anything else.