Description
This property allows you to set your own selected month in place of the default selected month, so that on start the month scroll field will immediately scroll to that specific month.
This property only works if TodayAsDefaultDay property is set to false and this property works in conjunction with DefaultDay & DefaultYear.
Type
Int
Syntax
AMADatePicker.ADP.DefaultMonth = 8;
Example
using UnityEngine;
using AMADatePicker;
public class DateViewer : MonoBehavior
// Get reference to an ADP instance through the inspector
[SerializeField] private ADP _ADPInstance;
// Setting default date as August 29, 1989
private void Start()
{
_ADPInstance.TodayAsDefaultDay = false;
_ADPInstance.DefaultMonth = 8;
_ADPInstance.DefaultDay = 29;
_ADPInstance.DefaultYear = 1989;
}