// Use this for initialization void Start() { if (instance != null) //If there is an instance already { Destroy(gameObject); //Destroy the pendning gameobject } else { instance = this; //"Claim" the instance GameObject.DontDestroyOnLoad(gameObject); //Don't destroy pending instance } }
public static DuplicateCheck CheckForDuplicateID([FromBody] DuplicateCheck m) {