Example #1
0
 /// <summary>
 /// </summary>
 public override void RemotePostSetup()
 {
     if (this.normalised_overwrite_space_if_env_bounds)
     {
         if (this.ParentEnvironment)
         {
             this._position_space = Space3.FromCenterExtents(this.ParentEnvironment.PlayableArea.Bounds.extents);
         }
     }
 }
        /// <summary>
        ///
        /// </summary>
        public override void RemotePostSetup()
        {
            if (this.fetch_env_bounds)
            {
                if (this.ParentEnvironment?.PlayableArea)
                {
                    var dec_gran = 4;
                    if (this._pos_space.Space != null)
                    {
                        dec_gran = this._pos_space.Space.DecimalGranularity;
                    }

                    this._pos_space.Space = Space3.FromCenterExtents(this.ParentEnvironment.PlayableArea.Bounds.extents,
                                                                     decimal_granularity: dec_gran);
                }
            }
        }