Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[showif],[playashowif]... not work Class inheritance #8

Closed
ZeroUltra opened this issue Mar 18, 2024 · 1 comment
Closed

[showif],[playashowif]... not work Class inheritance #8

ZeroUltra opened this issue Mar 18, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ZeroUltra
Copy link

me again 2!
Unity2022.3.16

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;
}

image

@TylerTemp TylerTemp self-assigned this Mar 18, 2024
@TylerTemp TylerTemp added the bug Something isn't working label Mar 18, 2024
TylerTemp added a commit that referenced this issue Mar 18, 2024
@TylerTemp
Copy link
Owner

Hi, please upgrade to "2.2.0" to see if it's fixed.

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants