-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f48406
commit f693e88
Showing
9 changed files
with
101 additions
and
66 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
public enum ControlState | ||
{ | ||
keyboard, | ||
gamepad, | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,8 @@ | ||
public class ControlSchemes | ||
{ | ||
public static readonly string keyboardMouse = "Keyboard&Mouse"; | ||
public static readonly string gamepad = "Gamepad"; | ||
public static readonly string touch = "Touch"; | ||
public static readonly string joystick = "Joystick"; | ||
public static readonly string xr = "XR"; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
using UnityEngine; | ||
|
||
class Layers | ||
public class Layers | ||
{ | ||
public static int defaultLayer = 0; | ||
public static int uiLayer = 5; | ||
public static int enemyLayer = 6; | ||
public static int geometryLayer = 7; | ||
public static readonly int defaultLayer = 0; | ||
public static readonly int uiLayer = 5; | ||
public static readonly int enemyLayer = 6; | ||
public static readonly int geometryLayer = 7; | ||
|
||
public static int enemyMask = ((int)Mathf.Pow(2, enemyLayer)); | ||
public static int geometryMask = ((int)Mathf.Pow(2, geometryLayer)); | ||
public static readonly int enemyMask = ((int)Mathf.Pow(2, enemyLayer)); | ||
public static readonly int geometryMask = ((int)Mathf.Pow(2, geometryLayer)); | ||
} |