コード例 #1
0
    private IEnumerator Activate()
    {
        _thirdPersonUserControl.m_Disabled = true;
        Fade.SetTrigger("FadeIn");
        yield return(new WaitForSeconds(0.1f));

        _sightJackView = gameObject.AddComponent <SightJackView>();
    }
コード例 #2
0
    private void Start()
    {
        _parent = GetComponentInParent <SightJackView>();

        CreateView();
    }