浏览代码

Changed GitIgnore. Tweaked Warrior Controls.

/main
andytouch 4 年前
当前提交
c4e8a4f7
共有 3 个文件被更改,包括 17 次插入35 次删除
  1. 42
      .gitignore
  2. 8
      InputSystem_LocalMultiplayer_Project/Assets/Scenes/Scene_Example_Warriors.unity
  3. 2
      InputSystem_LocalMultiplayer_Project/Assets/Scripts/PlayerController.cs

42
.gitignore


# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore
#
/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/
/[Mm]emoryCaptures/
# Asset meta data should only be ignored when the corresponding asset is also ignored
!/[Aa]ssets/**/*.meta
# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*
# Autogenerated Jetbrains Rider plugin
[Aa]ssets/Plugins/Editor/JetBrains*
[Ll]ibrary/
[Tt]emp/
[Oo]bj/
[Bb]uild/
[Bb]uilds/
[Ll]ogs/
[Ss]creenshots/
Assets/AssetStoreTools*
# Gradle cache directory
.gradle/
.vscode/
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/

*.booproj
*.svd
*.pdb
*.mdb
*.VC.db
*.mdb.meta
# Unity3D generated file on crash reports
# Unity3D Generated File On Crash Reports
# Crashlytics generated file
crashlytics-build.properties
.idea

8
InputSystem_LocalMultiplayer_Project/Assets/Scenes/Scene_Example_Warriors.unity


- target: {fileID: 3528249008770642978, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: m_DefaultControlScheme
value: Gamepads
value:
objectReference: {fileID: 0}
- target: {fileID: 3528249008770642978, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}

type: 3}
propertyPath: m_Actions
value:
objectReference: {fileID: 0}
objectReference: {fileID: -944628639613478452, guid: aa45cad44afd790488f6540bc766db91,
type: 3}
- target: {fileID: 4244790990042693115, guid: 7040c04d00ad25e4cad0ba1b7d40c3c0,
type: 3}
propertyPath: useOldInputManager

m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 10, z: 10, w: -11}
m_BoundingSphereOverride: {x: 0.00000020990123, y: 2.1887701e+23, z: 1.3592422e+22,
w: 0.000000002622607}
m_UseBoundingSphereOverride: 0
m_ShadowRadius: 0
m_ShadowAngle: 0

2
InputSystem_LocalMultiplayer_Project/Assets/Scripts/PlayerController.cs


if(useOldInputManager)
{
if(Input.GetKeyDown(KeyCode.E))
if(Input.GetKeyDown(KeyCode.Space))
{
playerAnimator.SetTrigger("Attack");
}

正在加载...
取消
保存