Exemple #1
0
    public void OnValueChange()
    {
        TestUIController tuc = GetComponentInParent <TestUIController>();

        if (tuc)
        {
            tuc.OnAxisTitleUpdate();
        }
    }
Exemple #2
0
    // Start is called before the first frame update
    private void Awake()
    {
        if (instance == null)
        {
            instance = this;
        }
        if (this != instance)
        {
            Destroy(gameObject);
        }
        DontDestroyOnLoad(gameObject);
        fadeScreen = GameObject.FindGameObjectWithTag("FadeScreen");

        StartCoroutine(FadeIn());
    }