Assets.Characters.AiScripts.ScriptedBehaviours.Toturial01Behaviour.OnTriggerStay C# (CSharp) Метод

OnTriggerStay() приватный Метод

private OnTriggerStay ( Collider other ) : void
other UnityEngine.Collider
Результат void

            _agent.destination = _agent.transform.position;

            _waitingForPlayer = true;

            var waypoints = GameObject.FindGameObjectWithTag(Constants.Tags.GameMaster).transform.FindChild("Waypoints");
            waypoint01 = waypoints.FindChild("waypoint");
            waypoint02 = waypoints.FindChild("waypoint (1)");


            bubble = FindObjectOfType<InteractableSpeechBubble>();
        }

        // Update is called once per frame