Author Topic: RFC Call Bug  (Read 2102 times)

Manmax75

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 3
  • Posts: 32
    • View Profile
RFC Call Bug
« on: July 27, 2013, 08:08:40 AM »
I've noticed that putting a script that calls an RFC, and also having the same script on either the parent or any other children. Will cause RFC callbacks on every script in every child/parent to be called in the whole gameobject, rather than just the one script that calls it.

I have a custom interpolator script that exists on both the parent gameobject and it's child.
If the child calls it's RFC, then the parent's RFC also gets called.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: RFC Call Bug
« Reply #1 on: July 27, 2013, 12:17:35 PM »
That's correct. One prefab = one TNObject = one set of callbacks. If you don't want this behaviour, change some of your function names.