RotatingMenuPanel.setPanelObjectStates C# (CSharp) Méthode

setPanelObjectStates() public méthode

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