using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MyScript: MonoBehaviour
{
public bool a;
int b;
}
for example, this is my script, and I want to show a in the inspector if b is true, and hide a in the inspector when b is false.
How to make my custom editor?