True, its not a member of Object, its basically a member of GameObject. I cannot see a clear code of what pauseFilter is, you can try casting “as GameObject”, but that might not work depending on the case, share the full code with us, that would let us help you more.
enabled is not a member of GameObject - it is a member of anything derived from Behaviour.
pauseFilter has no type and no initialization, so it is Object. give your variables type. private var pauseFilter : AClassIJustMadeUp;
– Loius