private void Start()
    {
        SetAllActive();

        goCatPageSources = GetComponent <GoCatPageSources>();
        if (goCatPageSources == null)
        {
            Debug.Log("Can't find GoCatPageSources");
        }

        if (goCatPageSources != null)
        {
            SetResoucre(goCatPageSources.Home_Cat_Clip, goCatPageSources.DeepBG_Cat_Clip, goCatPageSources.Error_Cat_Clip, goCatPageSources.NextSceneName);
            SetGoCatPageInfo(GoCatType.DeepBG_Cat_GoBtn);
        }

        ChangeMuteState(CrossoverSceneField.Instance.IsMute);
    }
Example #2
0
 private void OnEnable()
 {
     Instance = (GoCatPageSources)target;
 }