Get current updating GameObject
Is there a way to get the currently updating gameObject? I know if I'm in a monobehaviour you can do this.gameObject, but for logging/debugging purposes I'd like to know this inside functions deeper in the callstack. I don't want to have to pass this information down through the methods. Setting the current one at top of Update is also not ideal as I want this value from many different behaviours, some of which are not under my control (they may be in dll I don't have source to).
Comment