public void IncrementCurrentZone()
 {
     if (currentZoneIndex >= zones.Length - 1)
     {
         Debug.Log("No more Friends Zones!");
         return;
     }
     currentZoneIndex++;
     currentZone = zones[currentZoneIndex];
 }
        public void GoToFriendsZone(FriendsZone zone, bool left)
        {
            var side              = left ? zone.left : zone.right;
            var from              = zone.entrancePosition;
            var to                = side.transform.position;
            var rotation          = zone.entranceRotation;
            var duration          = zone.entranceDuration;
            var afterWalkRotation = left ? zone.finalRotationLeft : zone.finalRotationRight;

            this.transform.SetParent(side.transform);
            this.transform.localPosition = Vector3.zero;
            Walk(from, to, rotation, duration, walkAnimation: LLAnimationStates.LL_walking, walkSpeed: 1f, rotateAfterWalk: true, afterWalkRotation: afterWalkRotation);
        }
 public void GoToFriendsZone(FriendsZone zone)
 {
     livingLetter.GoToFriendsZone(zone, left);
 }
 void Start()
 {
     currentZoneIndex = 0;
     currentZone      = zones[currentZoneIndex];
 }