Pendant l'utilisation ScriptableObjects, comment puis-je rendre certaines variables conditionnelles?
Exemple de code:
[System.Serializable]
public class Test : ScriptableObject
{
public bool testbool;
public string teststring;
public int testint;
}
Objectif: quand est testbool == truealors teststringdisponible pour éditer, quand testbool == falsealors testintest disponible pour éditer tandis que l'autre est " grisé ".
