Tests.FakeGameObject.setActiveRecursively C# (CSharp) Method

setActiveRecursively() public method

public setActiveRecursively ( bool active ) : void
active bool
return void
        public override void setActiveRecursively(bool active)
        {
            if (destroyed) {
                throw new Exception ("Cannot access destroyed gameobject.");
            }
            active = false;
        }