Пример #1
0
    private void Start()
    {
        Assert.IsTrue(possiblePaths.Length > 0, "Possible Bezier Spline Paths not found in the scene. Make sure to spawn them first");
        int randomPathIndex = Random.Range(0, possiblePaths.Length);

        follower.AssignPath(possiblePaths[randomPathIndex]);
    }