RotatingMenuPanel.setPanelObjectStates C# (CSharp) Method

setPanelObjectStates() public method

public setPanelObjectStates ( bool active ) : void
active bool
return void
    public void setPanelObjectStates(bool active)
    {
        for(int i = 0; i < transform.childCount; i++)
        {
            displayPanel.transform.GetChild(i).gameObject.SetActive(active);
        }
    }