CheckBox.OnActivate C# (CSharp) 메소드

OnActivate() 개인적인 메소드

private OnActivate ( bool state ) : void
state bool
리턴 void
    void OnActivate(bool state)
    {
        MolCheckBoxList p = gameObject.transform.parent.GetComponent<MolCheckBoxList>();
        if (p == null)
          return;
        p.changeMoleculeState(gameObject.GetComponentInChildren<UILabel>().text, state);
    }