private IEnumerator Activate() { _thirdPersonUserControl.m_Disabled = true; Fade.SetTrigger("FadeIn"); yield return(new WaitForSeconds(0.1f)); _sightJackView = gameObject.AddComponent <SightJackView>(); }
private void Start() { _parent = GetComponentInParent <SightJackView>(); CreateView(); }