private void Start() { popupSystem = GetComponent <PopupSystem>(); popupMaterials = new List <PopupSystemMaterial> { new PopupSystemMaterial(OnPushNextButton, toNextButton.gameObject.name, false), new PopupSystemMaterial(OnPushPreviousButton, toPreviousButton.gameObject.name, false), new PopupSystemMaterial(Close, closeButton.gameObject.name, false), }; }