Forge/Integration/GameEngineManager.cs
/// <summary>
/// Returns the IGameSnapshot JSON that the engine will be loaded with.
/// </summary>
Returns the IGameSnapshot JSON that the engine will be loaded with.
Returns the IGameSnapshot JSON that the engine will be loaded with .
protected string GetSnapshotJson() {
            string snapshotJson = _levelDesigner.SavedSnapshotState;
            if (string.IsNullOrEmpty(snapshotJson)) {
                snapshotJson = File.ReadAllText(_levelDesigner.SnapshotPath);
            }
            return snapshotJson;
        }
protected string GetSnapshotJson ( ) { string snapshotJson = _levelDesigner . SavedSnapshotState ; if ( string . IsNullOrEmpty ( snapshotJson ) ) { snapshotJson = File . ReadAllText ( _levelDesigner . SnapshotPath ) ; } return snapshotJson ; }
Returns the IGameSnapshot JSON that the engine will be loaded with.
Returns the IGameSnapshot JSON that the engine will be loaded with .