public class TestBase : MonoBehaviour
{
public bool haveInfo;
[PlayaShowIf(nameof(haveInfo))]public string infoTextureName;
public bool isInt;
[ShowIf(nameof(isInt))] public int intA;
}
public class Test : TestBase
{
[Space(20)]
public bool isString;
[ShowIf("isString")]
public string strA;
public bool haveInfo2;
[PlayaShowIf(nameof(haveInfo2))] public string infoTextureName2;
}
me again 2! Unity2022.3.16