示例#1
0
    void Awake()
    {
        if (instance == null)
        {
            instance = this;
            DontDestroyOnLoad(gameObject);
        }
        else
        {
            Destroy(gameObject);
        }
        UniLocalNotification.Initialize();
        ClearNotification();

        pushFlg = PlayerPrefs.GetInt("PUSH_FLG", 0);
    }
示例#2
0
 private void Awake()
 {
     UniLocalNotification.Initialize();
 }