-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unity 2022.1.0a16 C# reference source code
- Loading branch information
Unity Technologies
committed
Nov 29, 2021
1 parent
3fcad4b
commit d0fe81a
Showing
289 changed files
with
22,908 additions
and
7,835 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// Unity C# reference source | ||
// Copyright (c) Unity Technologies. For terms of use, see | ||
// https://unity3d.com/legal/licenses/Unity_Reference_Only_License | ||
|
||
using System; | ||
using UnityEngine; | ||
|
||
namespace UnityEditor | ||
{ | ||
[Serializable] | ||
internal class EditorDisplayFullscreenSetting | ||
{ | ||
public enum Mode | ||
{ | ||
DoNothing, | ||
FullscreenOnPlaymode, | ||
AlwaysFullscreen | ||
} | ||
|
||
public EditorDisplayFullscreenSetting(int id, string name) | ||
{ | ||
displayId = id; | ||
displayName = name; | ||
mode = Mode.DoNothing; | ||
enabled = false; | ||
viewWindowTitle = string.Empty; | ||
playModeViewSettings = null; | ||
} | ||
|
||
public string displayName; | ||
public int displayId; | ||
|
||
public bool enabled; | ||
|
||
public Mode mode; | ||
|
||
public string viewWindowTitle; | ||
|
||
[SerializeReference] | ||
public IPlayModeViewFullscreenSettings playModeViewSettings; | ||
} | ||
} |
Oops, something went wrong.