Klak.Wiring.ActiveStatusOut.SetActive C# (CSharp) Méthode

SetActive() private méthode

private SetActive ( bool flag ) : void
flag bool
Résultat void
        void SetActive(bool flag)
        {
            if (_targetComponent != null && _propertyInfo != null)
                _propertyInfo.SetValue(_targetComponent, flag, null);

            if (_targetGameObject != null)
                _targetGameObject.SetActive(flag);
        }