Exemple #1
0
    private void Awake()
    {
        _callAppUi = FindObjectOfType <CallAppUi>();

        _callApp              = FindObjectOfType <CallApp>();
        _callAppUi.OnMessage += CallAppOnMessage;

        _customWebRtcRestManager = FindObjectOfType <CustomWebRtcRestManager>();
        _targetHighlight         = FindObjectOfType <TargetHighlight>();
    }
 private void Awake()
 {   
     // Setup
     sphereCollider = GetComponent<SphereCollider>();
     targetGraphic = GetComponentInChildren<TargetHighlight>();
 }