// Autoassign id for a newely created item. private void Reset() { var mapHolder = UnityEngine.Object.FindObjectOfType <MapHolder>(); id = IdGenerator.AutogenerateNextId <MapSign>(idPrefix); }