diff --git a/Assets/Prefabs/Tiles/doorInner.prefab b/Assets/Prefabs/Tiles/doorInner.prefab index d738515..3723f80 100644 --- a/Assets/Prefabs/Tiles/doorInner.prefab +++ b/Assets/Prefabs/Tiles/doorInner.prefab @@ -23,6 +23,7 @@ GameObject: - component: {fileID: 61866627210428188} - component: {fileID: 114053119853995034} - component: {fileID: 61243635969098510} + - component: {fileID: 95497231115638686} m_Layer: 0 m_Name: doorInner m_TagString: door @@ -36,8 +37,8 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1065161683117842} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 10} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} @@ -93,6 +94,24 @@ BoxCollider2D: serializedVersion: 2 m_Size: {x: 1, y: 1} m_EdgeRadius: 0 +--- !u!95 &95497231115638686 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1065161683117842} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: 3c94375a71a4f8b4cafdcc56d9095295, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorControllerStateOnDisable: 0 --- !u!114 &114053119853995034 MonoBehaviour: m_ObjectHideFlags: 1 diff --git a/Assets/Prefabs/Tiles/doorOuter.prefab b/Assets/Prefabs/Tiles/doorOuter.prefab index aad2537..ca413ab 100644 --- a/Assets/Prefabs/Tiles/doorOuter.prefab +++ b/Assets/Prefabs/Tiles/doorOuter.prefab @@ -23,6 +23,7 @@ GameObject: - component: {fileID: 61252126965124090} - component: {fileID: 114203808595097248} - component: {fileID: 61597103562615806} + - component: {fileID: 95237938444101396} m_Layer: 0 m_Name: doorOuter m_TagString: door @@ -36,8 +37,8 @@ Transform: m_PrefabParentObject: {fileID: 0} m_PrefabInternal: {fileID: 100100000} m_GameObject: {fileID: 1575370008060226} - m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} - m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 10} m_LocalScale: {x: 1, y: 1, z: 1} m_Children: [] m_Father: {fileID: 0} @@ -93,6 +94,24 @@ BoxCollider2D: serializedVersion: 2 m_Size: {x: 1, y: 1} m_EdgeRadius: 0 +--- !u!95 &95237938444101396 +Animator: + serializedVersion: 3 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 100100000} + m_GameObject: {fileID: 1575370008060226} + m_Enabled: 1 + m_Avatar: {fileID: 0} + m_Controller: {fileID: 9100000, guid: a009ee739710f0f4a94cbfca5cf53e21, type: 2} + m_CullingMode: 0 + m_UpdateMode: 0 + m_ApplyRootMotion: 0 + m_LinearVelocityBlending: 0 + m_WarningMessage: + m_HasTransformHierarchy: 1 + m_AllowConstantClipSamplingOptimization: 1 + m_KeepAnimatorControllerStateOnDisable: 0 --- !u!114 &114203808595097248 MonoBehaviour: m_ObjectHideFlags: 1 diff --git a/Assets/Scripts/Door.cs b/Assets/Scripts/Door.cs index 65e5489..ec61c79 100644 --- a/Assets/Scripts/Door.cs +++ b/Assets/Scripts/Door.cs @@ -2,6 +2,7 @@ [RequireComponent(typeof(SpriteRenderer))] public class Door : MonoBehaviour { private bool locked = false; + private Animator animator; [SerializeField] Room parent; @@ -12,6 +13,7 @@ public class Door : MonoBehaviour { // Use this for initialization void Awake() { BoxCollider2D[] colliders = GetComponents(); + animator = GetComponent(); foreach ( BoxCollider2D collider in colliders ) { if ( collider.isTrigger ) { triggerBox = collider; @@ -30,11 +32,12 @@ public class Door : MonoBehaviour { public void SetParent(Room room) { this.parent = room; } - + /// /// Locks the door. /// public void Lock() { + animator.SetBool("open", false); locked = true; boundingBox.enabled = true; triggerBox.enabled = false; @@ -45,6 +48,7 @@ public class Door : MonoBehaviour { /// Unlocks the door. /// public void Unlock() { + animator.SetBool("open", true); locked = false; boundingBox.enabled = false; triggerBox.enabled = true; diff --git a/Assets/graphics/Animations/doorInner.controller b/Assets/graphics/Animations/doorInner.controller new file mode 100644 index 0000000..d17eae1 --- /dev/null +++ b/Assets/graphics/Animations/doorInner.controller @@ -0,0 +1,253 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorInner + serializedVersion: 5 + m_AnimatorParameters: + - m_Name: open + m_Type: 4 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 1 + m_Controller: {fileID: 0} + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 1107387124837383864} + 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} +--- !u!1101 &1101264152120807612 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 2 + m_ConditionEvent: open + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102890209287877762} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101367902061491896 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102528310069999234} + m_Solo: 1 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0.7 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101881240310320098 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102890284555953346} + m_Solo: 1 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0.7 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101922952207817586 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: open + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102216784250618962} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1102 &1102216784250618962 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorInnerOpening + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101367902061491896} + 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: a7251f210054ec5499840e549a33aac4, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102528310069999234 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorInnerOpen + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101264152120807612} + 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: 4651fe249217e2e4694dcbaf56661a53, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102890209287877762 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorInnerClosing + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101881240310320098} + 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: 6fa36b87b8e7bbc44aca3f72a7286a1e, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102890284555953346 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorInnerClosed + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101922952207817586} + 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: fec50bad5a5a2e94c889d103ea4048fa, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &1107387124837383864 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102528310069999234} + m_Position: {x: 240, y: -24, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102890284555953346} + m_Position: {x: 456, y: 36, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102216784250618962} + m_Position: {x: 240, y: 36, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102890209287877762} + m_Position: {x: 456, y: -24, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 240, y: -120, z: 0} + m_EntryPosition: {x: 240, y: -72, z: 0} + m_ExitPosition: {x: 240, y: 96, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102528310069999234} diff --git a/Assets/graphics/Animations/doorInner.controller.meta b/Assets/graphics/Animations/doorInner.controller.meta new file mode 100644 index 0000000..b21b1f3 --- /dev/null +++ b/Assets/graphics/Animations/doorInner.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 3c94375a71a4f8b4cafdcc56d9095295 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/doorInnerClosed.anim b/Assets/graphics/Animations/doorInnerClosed.anim new file mode 100644 index 0000000..e7b08fb --- /dev/null +++ b/Assets/graphics/Animations/doorInnerClosed.anim @@ -0,0 +1,68 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorInnerClosed + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300008, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300008, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.016666668 + 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: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/graphics/Animations/doorInnerClosed.anim.meta b/Assets/graphics/Animations/doorInnerClosed.anim.meta new file mode 100644 index 0000000..198f669 --- /dev/null +++ b/Assets/graphics/Animations/doorInnerClosed.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: fec50bad5a5a2e94c889d103ea4048fa +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/doorInnerClosing.anim b/Assets/graphics/Animations/doorInnerClosing.anim new file mode 100644 index 0000000..9c19947 --- /dev/null +++ b/Assets/graphics/Animations/doorInnerClosing.anim @@ -0,0 +1,83 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorInnerClosing + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300000, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - time: 0.16666667 + value: {fileID: 21300002, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - time: 0.33333334 + value: {fileID: 21300004, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - time: 0.5 + value: {fileID: 21300006, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - time: 0.6666667 + value: {fileID: 21300008, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - time: 0.81666666 + value: {fileID: 21300008, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300000, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - {fileID: 21300002, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - {fileID: 21300004, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - {fileID: 21300006, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - {fileID: 21300008, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - {fileID: 21300008, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.8333333 + 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: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/graphics/Animations/doorInnerClosing.anim.meta b/Assets/graphics/Animations/doorInnerClosing.anim.meta new file mode 100644 index 0000000..3f1a0a0 --- /dev/null +++ b/Assets/graphics/Animations/doorInnerClosing.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 6fa36b87b8e7bbc44aca3f72a7286a1e +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/doorInnerOpen.anim b/Assets/graphics/Animations/doorInnerOpen.anim new file mode 100644 index 0000000..38851aa --- /dev/null +++ b/Assets/graphics/Animations/doorInnerOpen.anim @@ -0,0 +1,68 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorInnerOpen + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300000, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300000, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.016666668 + 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: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/graphics/Animations/doorInnerOpen.anim.meta b/Assets/graphics/Animations/doorInnerOpen.anim.meta new file mode 100644 index 0000000..8e308df --- /dev/null +++ b/Assets/graphics/Animations/doorInnerOpen.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4651fe249217e2e4694dcbaf56661a53 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/doorInnerOpening.anim b/Assets/graphics/Animations/doorInnerOpening.anim new file mode 100644 index 0000000..15305fb --- /dev/null +++ b/Assets/graphics/Animations/doorInnerOpening.anim @@ -0,0 +1,83 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorInnerOpening + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300008, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - time: 0.16666667 + value: {fileID: 21300006, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - time: 0.33333334 + value: {fileID: 21300004, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - time: 0.5 + value: {fileID: 21300002, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - time: 0.6666667 + value: {fileID: 21300000, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - time: 0.81666666 + value: {fileID: 21300000, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300008, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - {fileID: 21300006, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - {fileID: 21300004, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - {fileID: 21300002, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - {fileID: 21300000, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + - {fileID: 21300000, guid: c859997db2d488d42a8189791f73e0fb, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.8333333 + 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: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/graphics/Animations/doorInnerOpening.anim.meta b/Assets/graphics/Animations/doorInnerOpening.anim.meta new file mode 100644 index 0000000..e942b38 --- /dev/null +++ b/Assets/graphics/Animations/doorInnerOpening.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a7251f210054ec5499840e549a33aac4 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/doorOuter.controller b/Assets/graphics/Animations/doorOuter.controller new file mode 100644 index 0000000..b69ab93 --- /dev/null +++ b/Assets/graphics/Animations/doorOuter.controller @@ -0,0 +1,253 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!91 &9100000 +AnimatorController: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorOuter + serializedVersion: 5 + m_AnimatorParameters: + - m_Name: open + m_Type: 4 + m_DefaultFloat: 0 + m_DefaultInt: 0 + m_DefaultBool: 1 + m_Controller: {fileID: 0} + m_AnimatorLayers: + - serializedVersion: 5 + m_Name: Base Layer + m_StateMachine: {fileID: 1107943283646818384} + 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} +--- !u!1101 &1101129100735222018 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 2 + m_ConditionEvent: open + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102939526012972808} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101591872035396538 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102989137786363650} + m_Solo: 1 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0.7058823 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101624744802708874 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: + - m_ConditionMode: 1 + m_ConditionEvent: open + m_EventTreshold: 0 + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102228485895363028} + m_Solo: 0 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1101 &1101629471958861096 +AnimatorStateTransition: + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: + m_Conditions: [] + m_DstStateMachine: {fileID: 0} + m_DstState: {fileID: 1102275838657248328} + m_Solo: 1 + m_Mute: 0 + m_IsExit: 0 + serializedVersion: 3 + m_TransitionDuration: 0.25 + m_TransitionOffset: 0 + m_ExitTime: 0.7 + m_HasExitTime: 1 + m_HasFixedDuration: 1 + m_InterruptionSource: 0 + m_OrderedInterruption: 1 + m_CanTransitionToSelf: 1 +--- !u!1102 &1102228485895363028 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorOuterOpening + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101629471958861096} + 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: d212d01be5f890c4f9a3bc81def5b173, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102275838657248328 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorOuterOpen + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101129100735222018} + 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: 26eec1f5d8eb171469d6d0f5997233c1, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102939526012972808 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorOuterClosing + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101591872035396538} + 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: 923b20c761d280a4f99bbf184df29e0b, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1102 &1102989137786363650 +AnimatorState: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorOuterClosed + m_Speed: 1 + m_CycleOffset: 0 + m_Transitions: + - {fileID: 1101624744802708874} + 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: 98935a01456c94549a4100daedd5676e, type: 2} + m_Tag: + m_SpeedParameter: + m_MirrorParameter: + m_CycleOffsetParameter: + m_TimeParameter: +--- !u!1107 &1107943283646818384 +AnimatorStateMachine: + serializedVersion: 5 + m_ObjectHideFlags: 1 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: Base Layer + m_ChildStates: + - serializedVersion: 1 + m_State: {fileID: 1102275838657248328} + m_Position: {x: 204, y: 0, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102989137786363650} + m_Position: {x: 420, y: 60, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102939526012972808} + m_Position: {x: 420, y: 0, z: 0} + - serializedVersion: 1 + m_State: {fileID: 1102228485895363028} + m_Position: {x: 204, y: 60, z: 0} + m_ChildStateMachines: [] + m_AnyStateTransitions: [] + m_EntryTransitions: [] + m_StateMachineTransitions: {} + m_StateMachineBehaviours: [] + m_AnyStatePosition: {x: 204, y: -96, z: 0} + m_EntryPosition: {x: 204, y: -48, z: 0} + m_ExitPosition: {x: 204, y: 120, z: 0} + m_ParentStateMachinePosition: {x: 800, y: 20, z: 0} + m_DefaultState: {fileID: 1102275838657248328} diff --git a/Assets/graphics/Animations/doorOuter.controller.meta b/Assets/graphics/Animations/doorOuter.controller.meta new file mode 100644 index 0000000..3aefe84 --- /dev/null +++ b/Assets/graphics/Animations/doorOuter.controller.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: a009ee739710f0f4a94cbfca5cf53e21 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 9100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/doorOuterClosed.anim b/Assets/graphics/Animations/doorOuterClosed.anim new file mode 100644 index 0000000..6322d3f --- /dev/null +++ b/Assets/graphics/Animations/doorOuterClosed.anim @@ -0,0 +1,68 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorOuterClosed + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300008, guid: d9380a46a795012449f336288fbd1854, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300008, guid: d9380a46a795012449f336288fbd1854, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.016666668 + 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: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/graphics/Animations/doorOuterClosed.anim.meta b/Assets/graphics/Animations/doorOuterClosed.anim.meta new file mode 100644 index 0000000..e12dd93 --- /dev/null +++ b/Assets/graphics/Animations/doorOuterClosed.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 98935a01456c94549a4100daedd5676e +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/doorOuterClosing.anim b/Assets/graphics/Animations/doorOuterClosing.anim new file mode 100644 index 0000000..ba3a616 --- /dev/null +++ b/Assets/graphics/Animations/doorOuterClosing.anim @@ -0,0 +1,83 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorOuterClosing + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300000, guid: d9380a46a795012449f336288fbd1854, type: 3} + - time: 0.16666667 + value: {fileID: 21300002, guid: d9380a46a795012449f336288fbd1854, type: 3} + - time: 0.33333334 + value: {fileID: 21300004, guid: d9380a46a795012449f336288fbd1854, type: 3} + - time: 0.5 + value: {fileID: 21300006, guid: d9380a46a795012449f336288fbd1854, type: 3} + - time: 0.6666667 + value: {fileID: 21300008, guid: d9380a46a795012449f336288fbd1854, type: 3} + - time: 0.8333333 + value: {fileID: 21300008, guid: d9380a46a795012449f336288fbd1854, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300000, guid: d9380a46a795012449f336288fbd1854, type: 3} + - {fileID: 21300002, guid: d9380a46a795012449f336288fbd1854, type: 3} + - {fileID: 21300004, guid: d9380a46a795012449f336288fbd1854, type: 3} + - {fileID: 21300006, guid: d9380a46a795012449f336288fbd1854, type: 3} + - {fileID: 21300008, guid: d9380a46a795012449f336288fbd1854, type: 3} + - {fileID: 21300008, guid: d9380a46a795012449f336288fbd1854, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.84999996 + 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: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/graphics/Animations/doorOuterClosing.anim.meta b/Assets/graphics/Animations/doorOuterClosing.anim.meta new file mode 100644 index 0000000..9ce211a --- /dev/null +++ b/Assets/graphics/Animations/doorOuterClosing.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 923b20c761d280a4f99bbf184df29e0b +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/doorOuterOpen.anim b/Assets/graphics/Animations/doorOuterOpen.anim new file mode 100644 index 0000000..738a6b1 --- /dev/null +++ b/Assets/graphics/Animations/doorOuterOpen.anim @@ -0,0 +1,53 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorOuterOpen + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: [] + m_SampleRate: 60 + m_WrapMode: 0 + 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: 1 + 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: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/graphics/Animations/doorOuterOpen.anim.meta b/Assets/graphics/Animations/doorOuterOpen.anim.meta new file mode 100644 index 0000000..6fcc14e --- /dev/null +++ b/Assets/graphics/Animations/doorOuterOpen.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 26eec1f5d8eb171469d6d0f5997233c1 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/doorOuterOpening.anim b/Assets/graphics/Animations/doorOuterOpening.anim new file mode 100644 index 0000000..6379849 --- /dev/null +++ b/Assets/graphics/Animations/doorOuterOpening.anim @@ -0,0 +1,83 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!74 &7400000 +AnimationClip: + m_ObjectHideFlags: 0 + m_PrefabParentObject: {fileID: 0} + m_PrefabInternal: {fileID: 0} + m_Name: doorOuterOpening + serializedVersion: 6 + m_Legacy: 0 + m_Compressed: 0 + m_UseHighQualityCurve: 1 + m_RotationCurves: [] + m_CompressedRotationCurves: [] + m_EulerCurves: [] + m_PositionCurves: [] + m_ScaleCurves: [] + m_FloatCurves: [] + m_PPtrCurves: + - curve: + - time: 0 + value: {fileID: 21300008, guid: d9380a46a795012449f336288fbd1854, type: 3} + - time: 0.16666667 + value: {fileID: 21300006, guid: d9380a46a795012449f336288fbd1854, type: 3} + - time: 0.33333334 + value: {fileID: 21300004, guid: d9380a46a795012449f336288fbd1854, type: 3} + - time: 0.5 + value: {fileID: 21300002, guid: d9380a46a795012449f336288fbd1854, type: 3} + - time: 0.6666667 + value: {fileID: 21300000, guid: d9380a46a795012449f336288fbd1854, type: 3} + - time: 0.81666666 + value: {fileID: 21300000, guid: d9380a46a795012449f336288fbd1854, type: 3} + attribute: m_Sprite + path: + classID: 212 + script: {fileID: 0} + m_SampleRate: 60 + m_WrapMode: 0 + m_Bounds: + m_Center: {x: 0, y: 0, z: 0} + m_Extent: {x: 0, y: 0, z: 0} + m_ClipBindingConstant: + genericBindings: + - serializedVersion: 2 + path: 0 + attribute: 0 + script: {fileID: 0} + typeID: 212 + customType: 23 + isPPtrCurve: 1 + pptrCurveMapping: + - {fileID: 21300008, guid: d9380a46a795012449f336288fbd1854, type: 3} + - {fileID: 21300006, guid: d9380a46a795012449f336288fbd1854, type: 3} + - {fileID: 21300004, guid: d9380a46a795012449f336288fbd1854, type: 3} + - {fileID: 21300002, guid: d9380a46a795012449f336288fbd1854, type: 3} + - {fileID: 21300000, guid: d9380a46a795012449f336288fbd1854, type: 3} + - {fileID: 21300000, guid: d9380a46a795012449f336288fbd1854, type: 3} + m_AnimationClipSettings: + serializedVersion: 2 + m_AdditiveReferencePoseClip: {fileID: 0} + m_AdditiveReferencePoseTime: 0 + m_StartTime: 0 + m_StopTime: 0.8333333 + 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: [] + m_EulerEditorCurves: [] + m_HasGenericRootTransform: 0 + m_HasMotionFloatCurves: 0 + m_GenerateMotionCurves: 0 + m_Events: [] diff --git a/Assets/graphics/Animations/doorOuterOpening.anim.meta b/Assets/graphics/Animations/doorOuterOpening.anim.meta new file mode 100644 index 0000000..a00f6b1 --- /dev/null +++ b/Assets/graphics/Animations/doorOuterOpening.anim.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d212d01be5f890c4f9a3bc81def5b173 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 7400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/graphics/Animations/frontWheel.anim b/Assets/graphics/Animations/frontWheel.anim index 664c097..25ed27b 100644 --- a/Assets/graphics/Animations/frontWheel.anim +++ b/Assets/graphics/Animations/frontWheel.anim @@ -18,9 +18,11 @@ AnimationClip: m_FloatCurves: [] m_PPtrCurves: - curve: - - time: 0.05 - value: {fileID: 21300000, guid: 7b233f3621c89564e8e5464f0cb73b5b, type: 3} + - time: 0 + value: {fileID: 21300002, guid: 7b233f3621c89564e8e5464f0cb73b5b, type: 3} - time: 0.11666667 + value: {fileID: 21300000, guid: 7b233f3621c89564e8e5464f0cb73b5b, type: 3} + - time: 0.25 value: {fileID: 21300002, guid: 7b233f3621c89564e8e5464f0cb73b5b, type: 3} attribute: m_Sprite path: @@ -41,6 +43,7 @@ AnimationClip: customType: 23 isPPtrCurve: 1 pptrCurveMapping: + - {fileID: 21300002, guid: 7b233f3621c89564e8e5464f0cb73b5b, type: 3} - {fileID: 21300000, guid: 7b233f3621c89564e8e5464f0cb73b5b, type: 3} - {fileID: 21300002, guid: 7b233f3621c89564e8e5464f0cb73b5b, type: 3} m_AnimationClipSettings: @@ -48,7 +51,7 @@ AnimationClip: m_AdditiveReferencePoseClip: {fileID: 0} m_AdditiveReferencePoseTime: 0 m_StartTime: 0 - m_StopTime: 0.13333334 + m_StopTime: 0.26666668 m_OrientationOffsetY: 0 m_Level: 0 m_CycleOffset: 0 diff --git a/Assets/graphics/textures/Entities/Player/wheelFront.png b/Assets/graphics/textures/Entities/Player/wheelFront.png index b3fc4bf..3ff1f33 100644 Binary files a/Assets/graphics/textures/Entities/Player/wheelFront.png and b/Assets/graphics/textures/Entities/Player/wheelFront.png differ diff --git a/Assets/graphics/textures/FixedObjects/Door/doorInner.png.meta b/Assets/graphics/textures/FixedObjects/Door/doorInner.png.meta index 5bf9b96..d206131 100644 --- a/Assets/graphics/textures/FixedObjects/Door/doorInner.png.meta +++ b/Assets/graphics/textures/FixedObjects/Door/doorInner.png.meta @@ -34,7 +34,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -1 wrapU: 1 diff --git a/Assets/graphics/textures/FixedObjects/Door/doorOuter.png.meta b/Assets/graphics/textures/FixedObjects/Door/doorOuter.png.meta index 3717335..8094fc3 100644 --- a/Assets/graphics/textures/FixedObjects/Door/doorOuter.png.meta +++ b/Assets/graphics/textures/FixedObjects/Door/doorOuter.png.meta @@ -34,7 +34,7 @@ TextureImporter: maxTextureSize: 2048 textureSettings: serializedVersion: 2 - filterMode: -1 + filterMode: 0 aniso: -1 mipBias: -1 wrapU: 1