Compare commits

..

2 Commits

Author SHA1 Message Date
haitem
563bdf456a Merge branch 'master' of https://git.steelants.cz/GJP/GlobalGameJam-2021 2021-01-31 04:07:34 +01:00
haitem
49bcceb0b7 Make DataSaver 2021-01-31 04:06:54 +01:00
33 changed files with 8164 additions and 150 deletions

View File

@ -0,0 +1,270 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!74 &7400000
AnimationClip:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: ArtifacIdle
serializedVersion: 6
m_Legacy: 1
m_Compressed: 0
m_UseHighQualityCurve: 1
m_RotationCurves: []
m_CompressedRotationCurves: []
m_EulerCurves: []
m_PositionCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: {x: -0, y: 0.5, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 0.5
value: {x: 0, y: 0.56, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 1
value: {x: 0, y: 0.5, z: 0}
inSlope: {x: 0, y: -0.120000005, z: 0}
outSlope: {x: 0, y: -0.120000005, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 1.5
value: {x: 0, y: 0.44, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2
value: {x: 0, y: 0.5, z: 0}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
path:
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves: []
m_SampleRate: 60
m_WrapMode: 2
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings: []
pptrCurveMapping: []
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 2
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
m_HasAdditiveReferencePose: 0
m_LoopTime: 1
m_LoopBlend: 0
m_LoopBlendOrientation: 0
m_LoopBlendPositionY: 0
m_LoopBlendPositionXZ: 0
m_KeepOriginalOrientation: 0
m_KeepOriginalPositionY: 1
m_KeepOriginalPositionXZ: 0
m_HeightFromFeet: 0
m_Mirror: 0
m_EditorCurves:
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: -0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.5
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.x
path:
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0.5
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.5
value: 0.56
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0.5
inSlope: -0.120000005
outSlope: -0.120000005
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
value: 0.44
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
value: 0.5
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.y
path:
classID: 4
script: {fileID: 0}
- curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 0.5
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
attribute: m_LocalPosition.z
path:
classID: 4
script: {fileID: 0}
m_EulerEditorCurves: []
m_HasGenericRootTransform: 0
m_HasMotionFloatCurves: 0
m_Events: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: caf624c2eeddd1641bef9f2186d098ea
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7b2196741a438974c9dce19d116cb57c
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,72 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1107 &-6490670766361676489
AnimatorStateMachine:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: -4857542192712024000}
m_Position: {x: 200, y: 0, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: -4857542192712024000}
--- !u!1102 &-4857542192712024000
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Rotate
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: a298aa3d7fc3f4d408e1c3583de0050b, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Pickup
serializedVersion: 5
m_AnimatorParameters: []
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: -6490670766361676489}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 45bccd5ea84fda34e8dc8bc624c7fe45
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -88,7 +88,7 @@ ModelImporter:
skeletonHasParents: 1 skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0} lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1 autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2 animationType: 1
humanoidOversampling: 1 humanoidOversampling: 1
avatarSetup: 0 avatarSetup: 0
additionalBone: 0 additionalBone: 0

View File

@ -88,7 +88,7 @@ ModelImporter:
skeletonHasParents: 1 skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0} lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1 autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2 animationType: 1
humanoidOversampling: 1 humanoidOversampling: 1
avatarSetup: 0 avatarSetup: 0
additionalBone: 0 additionalBone: 0

View File

@ -62,6 +62,22 @@ MonoBehaviour:
powerTime: 5 powerTime: 5
powerUnit: 10 powerUnit: 10
nextSceneName: Vasek nextSceneName: Vasek
--- !u!111 &7403971995892228203
Animation:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7318292290777720372}
m_Enabled: 1
serializedVersion: 3
m_Animation: {fileID: 7400000, guid: caf624c2eeddd1641bef9f2186d098ea, type: 2}
m_Animations:
- {fileID: 7400000, guid: caf624c2eeddd1641bef9f2186d098ea, type: 2}
m_WrapMode: 0
m_PlayAutomatically: 1
m_AnimatePhysics: 0
m_CullingType: 0
--- !u!1001 &7588184672228875109 --- !u!1001 &7588184672228875109
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -77,17 +93,17 @@ PrefabInstance:
- target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495, - target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 5 value: 10
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495, - target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 5 value: 10
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495, - target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 5 value: 10
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495, - target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495,
type: 3} type: 3}
@ -97,7 +113,7 @@ PrefabInstance:
- target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495, - target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495,
type: 3} type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 0.2 value: 0.5
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495, - target: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495,
type: 3} type: 3}
@ -156,6 +172,12 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: dbb67ade1acacb046b14f8c82b3d1495, type: 3} m_SourcePrefab: {fileID: 100100000, guid: dbb67ade1acacb046b14f8c82b3d1495, type: 3}
--- !u!1 &7318292290777720372 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: dbb67ade1acacb046b14f8c82b3d1495,
type: 3}
m_PrefabInstance: {fileID: 7588184672228875109}
m_PrefabAsset: {fileID: 0}
--- !u!4 &7981536033805794446 stripped --- !u!4 &7981536033805794446 stripped
Transform: Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495, m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: dbb67ade1acacb046b14f8c82b3d1495,

View File

@ -0,0 +1,45 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &6901859008078105624
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 6901859008078105626}
- component: {fileID: 6901859008078105627}
m_Layer: 0
m_Name: GameData
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &6901859008078105626
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6901859008078105624}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -2.7897677, y: 2.9002213, z: 1.1020358}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &6901859008078105627
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6901859008078105624}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a1bf5899e586bf44b99a8432ec6136cd, type: 3}
m_Name:
m_EditorClassIdentifier:

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 636669e57d3ca314ea99663ac1cd72a4
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -29,7 +29,7 @@ Transform:
m_LocalPosition: {x: -7.346, y: 0, z: 0} m_LocalPosition: {x: -7.346, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 5945663955776413348} - {fileID: 845251230183330849}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -62,103 +62,133 @@ BoxCollider:
serializedVersion: 2 serializedVersion: 2
m_Size: {x: 1, y: 0.55, z: 1} m_Size: {x: 1, y: 0.55, z: 1}
m_Center: {x: 0, y: 0.4, z: 0} m_Center: {x: 0, y: 0.4, z: 0}
--- !u!1001 &6127574593887074639 --- !u!1001 &878297578535875530
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
m_TransformParent: {fileID: 1593063039033634447} m_TransformParent: {fileID: 1593063039033634447}
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_RootOrder propertyPath: m_RootOrder
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 0.4 value: 0.5
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.w propertyPath: m_LocalRotation.w
value: 1 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.x propertyPath: m_LocalRotation.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.x propertyPath: m_LocalEulerAnglesHint.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.y propertyPath: m_LocalEulerAnglesHint.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Materials.Array.size propertyPath: m_Materials.Array.size
value: 2 value: 2
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: 941edc3467b1519428e4f6a649d8abec, type: 2}
- target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Materials.Array.data[1] propertyPath: m_Materials.Array.data[1]
value: value:
objectReference: {fileID: 2100000, guid: 49025a60961b95a43986697748175308, type: 2} objectReference: {fileID: 2100000, guid: 49025a60961b95a43986697748175308, type: 2}
- target: {fileID: 919132149155446097, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: 919132149155446097, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
value: SkillCube value: Pickup
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] - target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
m_SourcePrefab: {fileID: 100100000, guid: a2c33b905bb71c74aacdeca187b58abf, type: 3}
--- !u!4 &5945663955776413348 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf,
type: 3} type: 3}
m_PrefabInstance: {fileID: 6127574593887074639} propertyPath: m_Animation
value:
objectReference: {fileID: 7400000, guid: 7b2196741a438974c9dce19d116cb57c, type: 2}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_PlayAutomatically
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Animations.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Animations.Array.data[0]
value:
objectReference: {fileID: 7400000, guid: 7b2196741a438974c9dce19d116cb57c, type: 2}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Animations.Array.data[1]
value:
objectReference: {fileID: 7400000, guid: 7b2196741a438974c9dce19d116cb57c, type: 2}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 27f9a7a634f0ed14f89cde65cc3a7050, type: 3}
--- !u!4 &845251230183330849 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
m_PrefabInstance: {fileID: 878297578535875530}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}

View File

@ -29,7 +29,7 @@ Transform:
m_LocalPosition: {x: 2.58, y: 0, z: 0} m_LocalPosition: {x: 2.58, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 4467613211269340880} - {fileID: 6272148014671076009}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -62,103 +62,128 @@ BoxCollider:
serializedVersion: 2 serializedVersion: 2
m_Size: {x: 1, y: 0.55, z: 1} m_Size: {x: 1, y: 0.55, z: 1}
m_Center: {x: 0, y: 0.4, z: 0} m_Center: {x: 0, y: 0.4, z: 0}
--- !u!1001 &4146302289838111035 --- !u!1001 &5801089448357231938
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
m_TransformParent: {fileID: 8833996703784759035} m_TransformParent: {fileID: 8833996703784759035}
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_RootOrder propertyPath: m_RootOrder
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 0.4 value: 0.5
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.w propertyPath: m_LocalRotation.w
value: 1 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.x propertyPath: m_LocalRotation.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.x propertyPath: m_LocalEulerAnglesHint.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.y propertyPath: m_LocalEulerAnglesHint.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Materials.Array.size propertyPath: m_Materials.Array.size
value: 2 value: 2
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: a5657c5d1f7a3d948ab3bc57a7c27dbf, type: 2}
- target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Materials.Array.data[1] propertyPath: m_Materials.Array.data[1]
value: value:
objectReference: {fileID: 2100000, guid: 49025a60961b95a43986697748175308, type: 2} objectReference: {fileID: 2100000, guid: 49025a60961b95a43986697748175308, type: 2}
- target: {fileID: 919132149155446097, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: 919132149155446097, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
value: SkillCube value: Pickup
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] - target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
m_SourcePrefab: {fileID: 100100000, guid: a2c33b905bb71c74aacdeca187b58abf, type: 3}
--- !u!4 &4467613211269340880 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf,
type: 3} type: 3}
m_PrefabInstance: {fileID: 4146302289838111035} propertyPath: m_Animation
value:
objectReference: {fileID: 7400000, guid: 7b2196741a438974c9dce19d116cb57c, type: 2}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_PlayAutomatically
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Animations.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Animations.Array.data[0]
value:
objectReference: {fileID: 7400000, guid: 7b2196741a438974c9dce19d116cb57c, type: 2}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 27f9a7a634f0ed14f89cde65cc3a7050, type: 3}
--- !u!4 &6272148014671076009 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
m_PrefabInstance: {fileID: 5801089448357231938}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}

View File

@ -1,5 +1,21 @@
%YAML 1.1 %YAML 1.1
%TAG !u! tag:unity3d.com,2011: %TAG !u! tag:unity3d.com,2011:
--- !u!111 &1054515339
Animation:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3214629839467533544}
m_Enabled: 1
serializedVersion: 3
m_Animation: {fileID: 7400000, guid: 7b2196741a438974c9dce19d116cb57c, type: 2}
m_Animations:
- {fileID: 7400000, guid: 7b2196741a438974c9dce19d116cb57c, type: 2}
m_WrapMode: 0
m_PlayAutomatically: 1
m_AnimatePhysics: 0
m_CullingType: 0
--- !u!1 &7411583397803452420 --- !u!1 &7411583397803452420
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -29,7 +45,7 @@ Transform:
m_LocalPosition: {x: -10.03, y: 0, z: 0} m_LocalPosition: {x: -10.03, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 6493111389015250895} - {fileID: 2870895650770587218}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -62,103 +78,134 @@ BoxCollider:
serializedVersion: 2 serializedVersion: 2
m_Size: {x: 1, y: 0.55, z: 1} m_Size: {x: 1, y: 0.55, z: 1}
m_Center: {x: 0, y: 0.4, z: 0} m_Center: {x: 0, y: 0.4, z: 0}
--- !u!1001 &6743739212516913188 --- !u!1001 &2332232522107742649
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
m_TransformParent: {fileID: 2199064835177506788} m_TransformParent: {fileID: 2199064835177506788}
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_RootOrder propertyPath: m_RootOrder
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 0.4 value: 0.5
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.w propertyPath: m_LocalRotation.w
value: 1 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.x propertyPath: m_LocalRotation.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.x propertyPath: m_LocalEulerAnglesHint.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.y propertyPath: m_LocalEulerAnglesHint.y
value: 0 value: -23.884117
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Materials.Array.size propertyPath: m_Materials.Array.size
value: 2 value: 2
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: d60bc4b1ee84a674a9cb2f36aac4d4ba, type: 2}
- target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Materials.Array.data[1] propertyPath: m_Materials.Array.data[1]
value: value:
objectReference: {fileID: 2100000, guid: 49025a60961b95a43986697748175308, type: 2} objectReference: {fileID: 2100000, guid: 49025a60961b95a43986697748175308, type: 2}
- target: {fileID: 919132149155446097, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: 919132149155446097, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
value: SkillCube value: Pickup
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] - target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
m_SourcePrefab: {fileID: 100100000, guid: a2c33b905bb71c74aacdeca187b58abf, type: 3}
--- !u!4 &6493111389015250895 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf,
type: 3} type: 3}
m_PrefabInstance: {fileID: 6743739212516913188} propertyPath: m_Animation
value:
objectReference: {fileID: 7400000, guid: 36cc18922c8f9994b9ac1a5590bd6694, type: 2}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_PlayAutomatically
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Animations.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Animations.Array.data[0]
value:
objectReference: {fileID: 7400000, guid: 36cc18922c8f9994b9ac1a5590bd6694, type: 2}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 27f9a7a634f0ed14f89cde65cc3a7050, type: 3}
--- !u!1 &3214629839467533544 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
m_PrefabInstance: {fileID: 2332232522107742649}
m_PrefabAsset: {fileID: 0}
--- !u!4 &2870895650770587218 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
m_PrefabInstance: {fileID: 2332232522107742649}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}

View File

@ -29,7 +29,7 @@ Transform:
m_LocalPosition: {x: 2.58, y: 0, z: 0} m_LocalPosition: {x: 2.58, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1} m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: m_Children:
- {fileID: 1761911225665247036} - {fileID: 7007793391185134679}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 0 m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -62,103 +62,128 @@ BoxCollider:
serializedVersion: 2 serializedVersion: 2
m_Size: {x: 1, y: 0.55, z: 1} m_Size: {x: 1, y: 0.55, z: 1}
m_Center: {x: 0, y: 0.4, z: 0} m_Center: {x: 0, y: 0.4, z: 0}
--- !u!1001 &2303918390432084183 --- !u!1001 &7406758412770796476
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Modification: m_Modification:
m_TransformParent: {fileID: 6695479724104099607} m_TransformParent: {fileID: 6695479724104099607}
m_Modifications: m_Modifications:
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_RootOrder propertyPath: m_RootOrder
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.x propertyPath: m_LocalScale.x
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.y propertyPath: m_LocalScale.y
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalScale.z propertyPath: m_LocalScale.z
value: 0.1 value: 100
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.y propertyPath: m_LocalPosition.y
value: 0.4 value: 0.5
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalPosition.z propertyPath: m_LocalPosition.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.w propertyPath: m_LocalRotation.w
value: 1 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.x propertyPath: m_LocalRotation.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.y propertyPath: m_LocalRotation.y
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalRotation.z propertyPath: m_LocalRotation.z
value: -0 value: -0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.x propertyPath: m_LocalEulerAnglesHint.x
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.y propertyPath: m_LocalEulerAnglesHint.y
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_LocalEulerAnglesHint.z propertyPath: m_LocalEulerAnglesHint.z
value: 0 value: 0
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Materials.Array.size propertyPath: m_Materials.Array.size
value: 2 value: 2
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: -7635826562936255635, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: f2a8abba4812f9a44a60b1a120a2cf73, type: 2}
- target: {fileID: -7511558181221131132, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Materials.Array.data[1] propertyPath: m_Materials.Array.data[1]
value: value:
objectReference: {fileID: 2100000, guid: 49025a60961b95a43986697748175308, type: 2} objectReference: {fileID: 2100000, guid: 49025a60961b95a43986697748175308, type: 2}
- target: {fileID: 919132149155446097, guid: a2c33b905bb71c74aacdeca187b58abf, - target: {fileID: 919132149155446097, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3} type: 3}
propertyPath: m_Name propertyPath: m_Name
value: SkillCube value: Pickup
objectReference: {fileID: 0} objectReference: {fileID: 0}
m_RemovedComponents: [] - target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
m_SourcePrefab: {fileID: 100100000, guid: a2c33b905bb71c74aacdeca187b58abf, type: 3}
--- !u!4 &1761911225665247036 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: a2c33b905bb71c74aacdeca187b58abf,
type: 3} type: 3}
m_PrefabInstance: {fileID: 2303918390432084183} propertyPath: m_Animation
value:
objectReference: {fileID: 7400000, guid: 7b2196741a438974c9dce19d116cb57c, type: 2}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_PlayAutomatically
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Animations.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2223639932434330405, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
propertyPath: m_Animations.Array.data[0]
value:
objectReference: {fileID: 7400000, guid: 7b2196741a438974c9dce19d116cb57c, type: 2}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 27f9a7a634f0ed14f89cde65cc3a7050, type: 3}
--- !u!4 &7007793391185134679 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8679921383154817045, guid: 27f9a7a634f0ed14f89cde65cc3a7050,
type: 3}
m_PrefabInstance: {fileID: 7406758412770796476}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}

1274
Assets/Scenes/Filip.unity Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: dbd25c74acc18104796bbf05997a368d
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -4246,3 +4246,72 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2006801646} m_GameObject: {fileID: 2006801646}
m_CullTransparentMesh: 0 m_CullTransparentMesh: 0
--- !u!1001 &6901859007917529965
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 6901859008078105624, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_Name
value: GameData
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_RootOrder
value: 3
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_LocalPosition.x
value: -2.7897677
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_LocalPosition.y
value: 2.9002213
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_LocalPosition.z
value: 1.1020358
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6901859008078105626, guid: 636669e57d3ca314ea99663ac1cd72a4,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 636669e57d3ca314ea99663ac1cd72a4, type: 3}

View File

@ -0,0 +1,44 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class DataManager : MonoBehaviour
{
public static float score = 0;
public static int actualLevel = 0;
void Start()
{
DontDestroyOnLoad(this.gameObject);
if (PlayerPrefs.HasKey("level"))
{
actualLevel = PlayerPrefs.GetInt("level");
}
}
void Update()
{
}
public static void Score(float value)
{
score = value;
}
public static float Score()
{
return score;
}
public static void Level(int value)
{
actualLevel = value;
PlayerPrefs.SetInt("level", value);
}
public static int Level()
{
return actualLevel;
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a1bf5899e586bf44b99a8432ec6136cd
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -11,11 +11,9 @@ public class MainMenu : MonoBehaviour
{ {
public TMPro.TextMeshProUGUI ScoreText; public TMPro.TextMeshProUGUI ScoreText;
public InputField name; public InputField name;
public InputField score;
// Start is called before the first frame update // Start is called before the first frame update
void Start() void Start()
{ {
score.text = "Score: " + DataManager.Score();
} }
// Update is called once per frame // Update is called once per frame
@ -32,6 +30,7 @@ public class MainMenu : MonoBehaviour
public void Credits() public void Credits()
{ {
StartCoroutine(GetText("dev.steelants.cz/GGJ2021/GeorgeJones/Server/api.php")); StartCoroutine(GetText("dev.steelants.cz/GGJ2021/GeorgeJones/Server/api.php"));
ScoreText.text = "test";
} }
public void QuitGame() public void QuitGame()
@ -40,25 +39,17 @@ public class MainMenu : MonoBehaviour
Application.Quit(); Application.Quit();
} }
public void BackToMainMenu()
{
SceneManager.LoadScene(0);
}
public void ScoreSubmit() public void ScoreSubmit()
{ {
WWWForm form = new WWWForm(); WWWForm form = new WWWForm();
form.AddField("name", name.text); form.AddField("name", name.text);
form.AddField("score", DataManager.Score()); form.AddField("score", DataManager.Score().ToString());
StartCoroutine(PostText("dev.steelants.cz/vasek/GGJ2021/GeorgeJones/Server/api.php", form)); StartCoroutine(PostText("dev.steelants.cz/vasek/GGJ2021/GeorgeJones/Server/api.php", form));
DataManager.Level(0);
SceneManager.LoadScene(0); SceneManager.LoadScene(0);
} }
public void RestartLevel(){
SceneManager.LoadScene(DataManager.Level());
}
IEnumerator GetText(string uri) { IEnumerator GetText(string uri) {
UnityWebRequest www = UnityWebRequest.Get(uri); UnityWebRequest www = UnityWebRequest.Get(uri);
yield return www.SendWebRequest(); yield return www.SendWebRequest();

View File

@ -35,6 +35,7 @@ public class ObjectManager : MonoBehaviour
{ {
meshRenderer = GetComponent<MeshRenderer>(); meshRenderer = GetComponent<MeshRenderer>();
} }
meshRenderer.materials[0].DisableKeyword("_EMISSION");
meshRenderer.materials[1].SetFloat ("_Outline", 0.0f); meshRenderer.materials[1].SetFloat ("_Outline", 0.0f);
meshRenderer.materials[1].SetColor("_OutlineColor", new Color(0.5276349f, 0.5566038f, 0.118147f)); meshRenderer.materials[1].SetColor("_OutlineColor", new Color(0.5276349f, 0.5566038f, 0.118147f));
rigidBody = GetComponent<Rigidbody>(); rigidBody = GetComponent<Rigidbody>();

View File

@ -59,7 +59,7 @@ public class PlayerManager : MonoBehaviour
{ {
if (Input.GetKeyDown(KeyCode.Escape)) if (Input.GetKeyDown(KeyCode.Escape))
{ {
SceneManager.LoadScene("MainMenu"); SceneManager.LoadScene(0);
} }
if (actualHealth <= 0 || gameObject.transform.position.y < -400.0f) if (actualHealth <= 0 || gameObject.transform.position.y < -400.0f)
{ {
@ -194,6 +194,7 @@ public class PlayerManager : MonoBehaviour
public void Die() public void Die()
{ {
DataManager.Level(SceneManager.GetActiveScene().buildIndex);
SceneManager.LoadScene(SceneManager.GetActiveScene().name); SceneManager.LoadScene(SceneManager.GetActiveScene().name);
} }
@ -272,6 +273,7 @@ public class PlayerManager : MonoBehaviour
{ {
if ((powerType.GetHashCode() - 1) == 3) if ((powerType.GetHashCode() - 1) == 3)
{ {
DataManager.Level(SceneManager.GetSceneByName(nextSceneName).buildIndex);
SceneManager.LoadScene(nextSceneName); SceneManager.LoadScene(nextSceneName);
} }
else if ((powerType.GetHashCode() - 1) == 4) else if ((powerType.GetHashCode() - 1) == 4)

View File

@ -14,22 +14,6 @@ public class PowerCubeManager : MonoBehaviour
void Start() void Start()
{ {
if (powerType == PowerType.DubleJump)
{
GetComponentInChildren<MeshRenderer>().material.color = Color.cyan;
}
if (powerType == PowerType.PushPull)
{
GetComponentInChildren<MeshRenderer>().material.color = Color.yellow;
}
if (powerType == PowerType.Dash)
{
GetComponentInChildren<MeshRenderer>().material.color = Color.white;
}
if (powerType == PowerType.Ladder)
{
GetComponentInChildren<MeshRenderer>().material.color = Color.black;
}
if (powerType == PowerType.Bigger) { if (powerType == PowerType.Bigger) {
GetComponentInChildren<MeshRenderer>().material.color = Color.blue; GetComponentInChildren<MeshRenderer>().material.color = Color.blue;
} }
@ -44,6 +28,7 @@ public class PowerCubeManager : MonoBehaviour
else if (powerType == PowerType.Artefact || powerType == PowerType.DubleJump || powerType == PowerType.PushPull || powerType == PowerType.Dash || powerType == PowerType.Ladder) else if (powerType == PowerType.Artefact || powerType == PowerType.DubleJump || powerType == PowerType.PushPull || powerType == PowerType.Dash || powerType == PowerType.Ladder)
{ {
meshRenderer = GetComponentInChildren<MeshRenderer>(); meshRenderer = GetComponentInChildren<MeshRenderer>();
meshRenderer.materials[0].DisableKeyword("_EMISSION");
meshRenderer.materials[1].SetFloat("_Outline", 0.0f); meshRenderer.materials[1].SetFloat("_Outline", 0.0f);
meshRenderer.materials[1].SetColor("_OutlineColor", new Color(0.5276349f, 0.5566038f, 0.118147f)); meshRenderer.materials[1].SetColor("_OutlineColor", new Color(0.5276349f, 0.5566038f, 0.118147f));
} }
@ -61,11 +46,15 @@ public class PowerCubeManager : MonoBehaviour
{ {
if (powerType == PowerType.Artefact) if (powerType == PowerType.Artefact)
{ {
meshRenderer.materials[0].EnableKeyword("_EMISSION");
meshRenderer.materials[0].SetColor("_EmissionColor", new Color(0.2735849f, 0.2018939f, 0.09162514f) * 0.8f);
meshRenderer.materials[1].SetFloat("_Outline", 0.4f); meshRenderer.materials[1].SetFloat("_Outline", 0.4f);
} }
else if (powerType == PowerType.DubleJump || powerType == PowerType.PushPull || powerType == PowerType.Dash || powerType == PowerType.Ladder) else if (powerType == PowerType.DubleJump || powerType == PowerType.PushPull || powerType == PowerType.Dash || powerType == PowerType.Ladder)
{ {
meshRenderer.materials[1].SetFloat("_Outline", 0.01f); meshRenderer.materials[1].SetFloat("_Outline", 6f);
meshRenderer.materials[0].EnableKeyword("_EMISSION");
meshRenderer.materials[0].SetColor("_EmissionColor", new Color(0.2735849f, 0.2018939f, 0.09162514f) * 0.8f);
} }
} }
} }
@ -75,6 +64,7 @@ public class PowerCubeManager : MonoBehaviour
{ {
if (powerType == PowerType.Artefact || powerType == PowerType.DubleJump || powerType == PowerType.PushPull || powerType == PowerType.Dash || powerType == PowerType.Ladder) if (powerType == PowerType.Artefact || powerType == PowerType.DubleJump || powerType == PowerType.PushPull || powerType == PowerType.Dash || powerType == PowerType.Ladder)
{ {
meshRenderer.materials[0].DisableKeyword("_EMISSION");
meshRenderer.materials[1].SetFloat("_Outline", 0.0f); meshRenderer.materials[1].SetFloat("_Outline", 0.0f);
} }
} }

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dee75cba66d44df44874ecd41f76ee5f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,77 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: climb_3
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 92bad1a4524af17479ce7b274fd4c941, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0.2735849, g: 0.20189387, b: 0.09162514, a: 1}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: d60bc4b1ee84a674a9cb2f36aac4d4ba
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,77 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: jump_3
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: b486233fe80c73e41ad238593d9950d7, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: a5657c5d1f7a3d948ab3bc57a7c27dbf
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,77 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: push_3
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 39371c4e9eb74b4449614b13a886d673, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: f2a8abba4812f9a44a60b1a120a2cf73
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,77 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: sprint_3
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 54d88af8950445844b1b95a6339ab8d1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 941edc3467b1519428e4f6a649d8abec
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant: