This commit is contained in:
Sofia 2017-05-09 17:16:10 +03:00
commit 87e3f31f9f
5 changed files with 55 additions and 93 deletions

View File

@ -194,18 +194,7 @@ MonoBehaviour:
m_CharacterLimit: 0 m_CharacterLimit: 0
m_OnEndEdit: m_OnEndEdit:
m_PersistentCalls: m_PersistentCalls:
m_Calls: m_Calls: []
- m_Target: {fileID: 1463006271}
m_MethodName: CallCommand
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 0
m_CallState: 2
m_TypeName: UnityEngine.UI.InputField+SubmitEvent, UnityEngine.UI, Version=1.0.0.0, m_TypeName: UnityEngine.UI.InputField+SubmitEvent, UnityEngine.UI, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null Culture=neutral, PublicKeyToken=null
m_OnValueChanged: m_OnValueChanged:

View File

@ -138,9 +138,15 @@ namespace Cyber.Console {
} }
private void Update() { private void Update() {
// Inputs
if (Input.GetButtonDown("Console Toggle")) { if (Input.GetButtonDown("Console Toggle")) {
Visible = !Visible; Visible = !Visible;
} }
if (Input.GetButtonDown("Enter Command")) {
CallCommand();
}
// Slide up/down animation
RectTransform Rect = Panel.GetComponent<RectTransform>(); RectTransform Rect = Panel.GetComponent<RectTransform>();
Vector2 OffsetMin = Rect.offsetMin; Vector2 OffsetMin = Rect.offsetMin;
if (Visible) { if (Visible) {

View File

@ -117,6 +117,22 @@ InputManager:
type: 0 type: 0
axis: 0 axis: 0
joyNum: 0 joyNum: 0
- serializedVersion: 3
m_Name: Enter Command
descriptiveName:
descriptiveNegativeName:
negativeButton:
positiveButton: return
altNegativeButton:
altPositiveButton:
gravity: 1000
dead: 0.001
sensitivity: 1000
snap: 0
invert: 0
type: 0
axis: 0
joyNum: 0
- serializedVersion: 3 - serializedVersion: 3
m_Name: Mouse X m_Name: Mouse X
descriptiveName: descriptiveName:

View File

@ -579,12 +579,15 @@ PlayerSettings:
daydreamIconForeground: {fileID: 0} daydreamIconForeground: {fileID: 0}
daydreamIconBackground: {fileID: 0} daydreamIconBackground: {fileID: 0}
cloudServicesEnabled: cloudServicesEnabled:
Build: 0
Collab: 0 Collab: 0
ErrorHub: 0
Hub: 0
UNet: 1 UNet: 1
facebookSdkVersion: 7.9.1 facebookSdkVersion: 7.9.1
apiCompatibilityLevel: 2 apiCompatibilityLevel: 2
cloudProjectId: ce574e88-0640-4292-be86-1e81238c639e cloudProjectId:
projectName: Cyber projectName:
organizationId: exne organizationId:
cloudEnabled: 0 cloudEnabled: 0
enableNewInputSystem: 0 enableNewInputSystem: 0

View File

@ -4,10 +4,10 @@
QualitySettings: QualitySettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 5 serializedVersion: 5
m_CurrentQuality: 5 m_CurrentQuality: 3
m_QualitySettings: m_QualitySettings:
- serializedVersion: 2 - serializedVersion: 2
name: Fastest name: Toaster
pixelLightCount: 0 pixelLightCount: 0
shadows: 0 shadows: 0
shadowResolution: 0 shadowResolution: 0
@ -18,7 +18,7 @@ QualitySettings:
shadowCascade2Split: 0.33333334 shadowCascade2Split: 0.33333334
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
blendWeights: 1 blendWeights: 1
textureQuality: 1 textureQuality: 3
anisotropicTextures: 0 anisotropicTextures: 0
antiAliasing: 0 antiAliasing: 0
softParticles: 0 softParticles: 0
@ -33,61 +33,9 @@ QualitySettings:
asyncUploadBufferSize: 4 asyncUploadBufferSize: 4
excludedTargetPlatforms: [] excludedTargetPlatforms: []
- serializedVersion: 2 - serializedVersion: 2
name: Fast name: Optimized
pixelLightCount: 0
shadows: 0
shadowResolution: 0
shadowProjection: 1
shadowCascades: 1
shadowDistance: 20
shadowNearPlaneOffset: 3
shadowCascade2Split: 0.33333334
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 0
antiAliasing: 0
softParticles: 0
softVegetation: 0
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 0
lodBias: 0.4
maximumLODLevel: 0
particleRaycastBudget: 16
asyncUploadTimeSlice: 2
asyncUploadBufferSize: 4
excludedTargetPlatforms: []
- serializedVersion: 2
name: Simple
pixelLightCount: 1
shadows: 1
shadowResolution: 0
shadowProjection: 1
shadowCascades: 1
shadowDistance: 20
shadowNearPlaneOffset: 3
shadowCascade2Split: 0.33333334
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
blendWeights: 2
textureQuality: 0
anisotropicTextures: 1
antiAliasing: 0
softParticles: 0
softVegetation: 0
realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 0
vSyncCount: 1
lodBias: 0.7
maximumLODLevel: 0
particleRaycastBudget: 64
asyncUploadTimeSlice: 2
asyncUploadBufferSize: 4
excludedTargetPlatforms: []
- serializedVersion: 2
name: Good
pixelLightCount: 2 pixelLightCount: 2
shadows: 2 shadows: 1
shadowResolution: 1 shadowResolution: 1
shadowProjection: 1 shadowProjection: 1
shadowCascades: 2 shadowCascades: 2
@ -96,12 +44,12 @@ QualitySettings:
shadowCascade2Split: 0.33333334 shadowCascade2Split: 0.33333334
shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667} shadowCascade4Split: {x: 0.06666667, y: 0.2, z: 0.46666667}
blendWeights: 2 blendWeights: 2
textureQuality: 0 textureQuality: 1
anisotropicTextures: 1 anisotropicTextures: 1
antiAliasing: 0 antiAliasing: 0
softParticles: 0 softParticles: 0
softVegetation: 1 softVegetation: 1
realtimeReflectionProbes: 1 realtimeReflectionProbes: 0
billboardsFaceCameraPosition: 1 billboardsFaceCameraPosition: 1
vSyncCount: 1 vSyncCount: 1
lodBias: 1 lodBias: 1
@ -111,7 +59,7 @@ QualitySettings:
asyncUploadBufferSize: 4 asyncUploadBufferSize: 4
excludedTargetPlatforms: [] excludedTargetPlatforms: []
- serializedVersion: 2 - serializedVersion: 2
name: Beautiful name: Balanced
pixelLightCount: 3 pixelLightCount: 3
shadows: 2 shadows: 2
shadowResolution: 2 shadowResolution: 2
@ -137,8 +85,8 @@ QualitySettings:
asyncUploadBufferSize: 4 asyncUploadBufferSize: 4
excludedTargetPlatforms: [] excludedTargetPlatforms: []
- serializedVersion: 2 - serializedVersion: 2
name: Fantastic name: Looking Good
pixelLightCount: 4 pixelLightCount: 6
shadows: 2 shadows: 2
shadowResolution: 2 shadowResolution: 2
shadowProjection: 1 shadowProjection: 1
@ -150,7 +98,7 @@ QualitySettings:
blendWeights: 4 blendWeights: 4
textureQuality: 0 textureQuality: 0
anisotropicTextures: 2 anisotropicTextures: 2
antiAliasing: 2 antiAliasing: 8
softParticles: 1 softParticles: 1
softVegetation: 1 softVegetation: 1
realtimeReflectionProbes: 1 realtimeReflectionProbes: 1
@ -163,18 +111,18 @@ QualitySettings:
asyncUploadBufferSize: 4 asyncUploadBufferSize: 4
excludedTargetPlatforms: [] excludedTargetPlatforms: []
m_PerPlatformDefaultQuality: m_PerPlatformDefaultQuality:
Android: 2 Android: 0
Nintendo 3DS: 5 Nintendo 3DS: 3
PS4: 5 PS4: 3
PSM: 5 PSM: 3
PSP2: 2 PSP2: 0
Samsung TV: 2 Samsung TV: 0
Standalone: 5 Standalone: 3
Tizen: 2 Tizen: 0
Web: 5 Web: 3
WebGL: 3 WebGL: 1
WiiU: 5 WiiU: 3
Windows Store Apps: 5 Windows Store Apps: 3
XboxOne: 5 XboxOne: 3
iPhone: 2 iPhone: 0
tvOS: 2 tvOS: 0