Пример #1
0
 /// <summary>
 /// Creates the boundaries from the limit data of the play area
 /// </summary>
 /// <returns>The boundaries.</returns>
 /// <param name="xmin">Xmin.</param>
 /// <param name="xmax">Xmax.</param>
 /// <param name="ymin">Ymin.</param>
 /// <param name="ymax">Ymax.</param>
 IEnumerator CreateBoundaries(float xmin, float xmax, float ymin, float ymax)
 {
     VRT_RoomBoundarySystem.CreateBoundariesFromLimit(xmin, xmax, ymin, ymax);
     yield return(null);
 }
Пример #2
0
        /// <summary>
        /// Updates the boundaries from the data received from the network
        /// </summary>
        /// <returns>The boundaries.</returns>
        /// <param name="boundariesData">Boundaries data.</param>

        IEnumerator UpdateBoundaries(string boundariesData)
        {
            VRT_RoomBoundarySystem.SaveBoundaries(boundariesData);
            yield return(null);
        }