You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the code below, the field "field" is not disabled if "trigger" is true.
using System;
using DG.DeInspektor.Attributes;
using UnityEngine;
[Serializable]
public class TestObj
{
public bool trigger;
[DeConditional("trigger", true)]
public int field;
}
public class DeTest : MonoBehaviour
{
public TestObj TestObj;
}
The text was updated successfully, but these errors were encountered:
In the code below, the field "field" is not disabled if "trigger" is true.
using System;
using DG.DeInspektor.Attributes;
using UnityEngine;
[Serializable]
public class TestObj
{
public bool trigger;
[DeConditional("trigger", true)]
public int field;
}
public class DeTest : MonoBehaviour
{
public TestObj TestObj;
}
The text was updated successfully, but these errors were encountered: