RotatingMenuPanel.setPanelObjectStates C# (CSharp) 메소드

setPanelObjectStates() 공개 메소드

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