Pressure Plates für Objects mit Tag PressurePlatable hinzugefügt und eins nur für Player, mit dementsprechenden Tag als Player of course. Ändert aktuell nur den Sprite beim betreten
This commit is contained in:
parent
843f5fa1ba
commit
31b0666c93
33
Assets/AssetsFORELLE/Script/ObjPressurePlate.cs
Normal file
33
Assets/AssetsFORELLE/Script/ObjPressurePlate.cs
Normal file
@ -0,0 +1,33 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class ObjPressurePlate: MonoBehaviour
|
||||
{
|
||||
public SpriteRenderer spriteRenderer;
|
||||
public Sprite originalSprite;
|
||||
public Sprite activatedSprite;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void OnTriggerEnter2D(Collider2D other) {
|
||||
if (other.CompareTag("PressurePlatable")) {
|
||||
spriteRenderer.sprite = activatedSprite;
|
||||
}
|
||||
}
|
||||
|
||||
void OnTriggerExit2D(Collider2D other) {
|
||||
if (other.CompareTag("PressurePlatable")) {
|
||||
spriteRenderer.sprite = originalSprite;
|
||||
}
|
||||
}
|
||||
}
|
11
Assets/AssetsFORELLE/Script/ObjPressurePlate.cs.meta
generated
Normal file
11
Assets/AssetsFORELLE/Script/ObjPressurePlate.cs.meta
generated
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6c98bff63d012cd46ae3f1da27d9c742
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
33
Assets/AssetsFORELLE/Script/PlayerPressurePlate.cs
Normal file
33
Assets/AssetsFORELLE/Script/PlayerPressurePlate.cs
Normal file
@ -0,0 +1,33 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class PlayerPressurePlate: MonoBehaviour
|
||||
{
|
||||
public SpriteRenderer spriteRenderer;
|
||||
public Sprite originalSprite;
|
||||
public Sprite activatedSprite;
|
||||
// Start is called before the first frame update
|
||||
void Start()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
// Update is called once per frame
|
||||
void Update()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void OnTriggerEnter2D(Collider2D other) {
|
||||
if (other.CompareTag("Player")) {
|
||||
spriteRenderer.sprite = activatedSprite;
|
||||
}
|
||||
}
|
||||
|
||||
void OnTriggerExit2D(Collider2D other) {
|
||||
if (other.CompareTag("Player")) {
|
||||
spriteRenderer.sprite = originalSprite;
|
||||
}
|
||||
}
|
||||
}
|
11
Assets/AssetsFORELLE/Script/PlayerPressurePlate.cs.meta
generated
Normal file
11
Assets/AssetsFORELLE/Script/PlayerPressurePlate.cs.meta
generated
Normal file
@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f4fc276bfd5b40942b9ca5950733343d
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
54
Assets/Scenes/2023-05-04 Pressure Plates.scenetemplate
Normal file
54
Assets/Scenes/2023-05-04 Pressure Plates.scenetemplate
Normal file
@ -0,0 +1,54 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 13966, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: 2023-05-04 Pressure Plates
|
||||
m_EditorClassIdentifier:
|
||||
templateScene: {fileID: 102900000, guid: fbe70c4c8e70f854eb0306248869dfa6, type: 3}
|
||||
templateName:
|
||||
description:
|
||||
preview: {fileID: 0}
|
||||
dependencies:
|
||||
- dependency: {fileID: 2800000, guid: 0ccc508108fa6ed4fa11b4a467d7f609, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 6200000, guid: 9a162dcdc92b4194ba53630f8785bed1, type: 2}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 3a7e66d5a44a93a4c92b1ec5adbbbab9, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 0c6a2a64ca9f9c946a7dbbd1674cf5bd, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 7400000, guid: a365ad615f8e3174d8ba7f9026c65cb7, type: 2}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 7400000, guid: e5863731ec9142e4988081d88f0fa545, type: 2}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: b4fab302387dd5a4e8c59120fb28f06c, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: d393166e35af62140af2d003436dba4f, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 9100000, guid: 44043e1d2a4d940438b0fdfee3f92bb0, type: 2}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 748ae8b33df036b46a86e0387f1602cf, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 194aedcc234be71428a25e32d62ccd9d, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: bc1e36585ebd79d4db8ca18c1637587d, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: f0562aa725f59684cbbf4dac90ab7aae, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: ac4f690e99db5bb43bedb920eda2f7c5, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 23e66f7264c74424889342127f229577, type: 3}
|
||||
instantiationMode: 0
|
||||
templatePipeline: {fileID: 0}
|
||||
badge: {fileID: 0}
|
||||
addToDefaults: 0
|
8
Assets/Scenes/2023-05-04 Pressure Plates.scenetemplate.meta
generated
Normal file
8
Assets/Scenes/2023-05-04 Pressure Plates.scenetemplate.meta
generated
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2542d902835d777439aaf51889a85ef1
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -538,6 +538,133 @@ BoxCollider2D:
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 9.85, y: 7.4062223}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!1 &510833262
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 510833266}
|
||||
- component: {fileID: 510833265}
|
||||
- component: {fileID: 510833264}
|
||||
- component: {fileID: 510833263}
|
||||
m_Layer: 0
|
||||
m_Name: PressurePlateStone
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!61 &510833263
|
||||
BoxCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 510833262}
|
||||
m_Enabled: 1
|
||||
m_Density: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
oldSize: {x: 0.16, y: 0.16}
|
||||
newSize: {x: 0.16, y: 0.16}
|
||||
adaptiveTilingThreshold: 0.5
|
||||
drawMode: 0
|
||||
adaptiveTiling: 0
|
||||
m_AutoTiling: 0
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 0.64, y: 0.64}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!114 &510833264
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 510833262}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 6c98bff63d012cd46ae3f1da27d9c742, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
spriteRenderer: {fileID: 510833265}
|
||||
originalSprite: {fileID: 21300000, guid: 23e66f7264c74424889342127f229577, type: 3}
|
||||
activatedSprite: {fileID: 21300000, guid: 0c6a2a64ca9f9c946a7dbbd1674cf5bd, type: 3}
|
||||
--- !u!212 &510833265
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 510833262}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Sprite: {fileID: 21300000, guid: 23e66f7264c74424889342127f229577, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 0.16, y: 0.16}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!4 &510833266
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 510833262}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 7.712, y: -3.13, z: -0.16734385}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 9
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &593477712
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -656,6 +783,133 @@ MonoBehaviour:
|
||||
m_RequiresDepthTexture: 0
|
||||
m_RequiresColorTexture: 0
|
||||
m_Version: 2
|
||||
--- !u!1 &594001340
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 594001344}
|
||||
- component: {fileID: 594001343}
|
||||
- component: {fileID: 594001342}
|
||||
- component: {fileID: 594001341}
|
||||
m_Layer: 0
|
||||
m_Name: PressurePlatePlayer
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!61 &594001341
|
||||
BoxCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 594001340}
|
||||
m_Enabled: 1
|
||||
m_Density: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
oldSize: {x: 0.64, y: 0.64}
|
||||
newSize: {x: 0.24, y: 0.24}
|
||||
adaptiveTilingThreshold: 0.5
|
||||
drawMode: 0
|
||||
adaptiveTiling: 0
|
||||
m_AutoTiling: 0
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 0.64, y: 0.64}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!114 &594001342
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 594001340}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f4fc276bfd5b40942b9ca5950733343d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
spriteRenderer: {fileID: 594001343}
|
||||
originalSprite: {fileID: 21300000, guid: 0ccc508108fa6ed4fa11b4a467d7f609, type: 3}
|
||||
activatedSprite: {fileID: 21300000, guid: 748ae8b33df036b46a86e0387f1602cf, type: 3}
|
||||
--- !u!212 &594001343
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 594001340}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Sprite: {fileID: 21300000, guid: 0ccc508108fa6ed4fa11b4a467d7f609, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 0.24, y: 0.24}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!4 &594001344
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 594001340}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 5.86, y: -3.13, z: -0.16734385}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 8
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &893552674
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
@ -670,7 +924,7 @@ GameObject:
|
||||
- component: {fileID: 893552678}
|
||||
m_Layer: 0
|
||||
m_Name: Stone
|
||||
m_TagString: Untagged
|
||||
m_TagString: PressurePlatable
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
7
Assets/Scenes/2023-05-04 Pressure Plates.unity.meta
generated
Normal file
7
Assets/Scenes/2023-05-04 Pressure Plates.unity.meta
generated
Normal file
@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: fbe70c4c8e70f854eb0306248869dfa6
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -17,6 +17,8 @@ MonoBehaviour:
|
||||
description:
|
||||
preview: {fileID: 0}
|
||||
dependencies:
|
||||
- dependency: {fileID: 2800000, guid: 0ccc508108fa6ed4fa11b4a467d7f609, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 3a7e66d5a44a93a4c92b1ec5adbbbab9, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 6200000, guid: 9a162dcdc92b4194ba53630f8785bed1, type: 2}
|
||||
@ -35,6 +37,8 @@ MonoBehaviour:
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 194aedcc234be71428a25e32d62ccd9d, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 748ae8b33df036b46a86e0387f1602cf, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: bc1e36585ebd79d4db8ca18c1637587d, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: f0562aa725f59684cbbf4dac90ab7aae, type: 3}
|
||||
|
127
Assets/Scenes/AnimationBeta2-2704.unity
generated
127
Assets/Scenes/AnimationBeta2-2704.unity
generated
@ -878,6 +878,133 @@ Transform:
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 5
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!1 &1668295182
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
serializedVersion: 6
|
||||
m_Component:
|
||||
- component: {fileID: 1668295186}
|
||||
- component: {fileID: 1668295185}
|
||||
- component: {fileID: 1668295183}
|
||||
- component: {fileID: 1668295187}
|
||||
m_Layer: 0
|
||||
m_Name: PressurePlatePlayer
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!114 &1668295183
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1668295182}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: f4fc276bfd5b40942b9ca5950733343d, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
spriteRenderer: {fileID: 1668295185}
|
||||
originalSprite: {fileID: 21300000, guid: 0ccc508108fa6ed4fa11b4a467d7f609, type: 3}
|
||||
activatedSprite: {fileID: 21300000, guid: 748ae8b33df036b46a86e0387f1602cf, type: 3}
|
||||
--- !u!212 &1668295185
|
||||
SpriteRenderer:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1668295182}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_DynamicOccludee: 1
|
||||
m_StaticShadowCaster: 0
|
||||
m_MotionVectors: 1
|
||||
m_LightProbeUsage: 1
|
||||
m_ReflectionProbeUsage: 1
|
||||
m_RayTracingMode: 0
|
||||
m_RayTraceProcedural: 0
|
||||
m_RenderingLayerMask: 1
|
||||
m_RendererPriority: 0
|
||||
m_Materials:
|
||||
- {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
m_StaticBatchInfo:
|
||||
firstSubMesh: 0
|
||||
subMeshCount: 0
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_ProbeAnchor: {fileID: 0}
|
||||
m_LightProbeVolumeOverride: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_ReceiveGI: 1
|
||||
m_PreserveUVs: 0
|
||||
m_IgnoreNormalsForChartDetection: 0
|
||||
m_ImportantGI: 0
|
||||
m_StitchLightmapSeams: 1
|
||||
m_SelectedEditorRenderState: 0
|
||||
m_MinimumChartSize: 4
|
||||
m_AutoUVMaxDistance: 0.5
|
||||
m_AutoUVMaxAngle: 89
|
||||
m_LightmapParameters: {fileID: 0}
|
||||
m_SortingLayerID: 0
|
||||
m_SortingLayer: 0
|
||||
m_SortingOrder: 0
|
||||
m_Sprite: {fileID: 21300000, guid: 0ccc508108fa6ed4fa11b4a467d7f609, type: 3}
|
||||
m_Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
m_FlipX: 0
|
||||
m_FlipY: 0
|
||||
m_DrawMode: 0
|
||||
m_Size: {x: 0.24, y: 0.24}
|
||||
m_AdaptiveModeThreshold: 0.5
|
||||
m_SpriteTileMode: 0
|
||||
m_WasSpriteAssigned: 1
|
||||
m_MaskInteraction: 0
|
||||
m_SpriteSortPoint: 0
|
||||
--- !u!4 &1668295186
|
||||
Transform:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1668295182}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 5.86, y: -3.13, z: -0.16734385}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children: []
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 8
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!61 &1668295187
|
||||
BoxCollider2D:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 1668295182}
|
||||
m_Enabled: 1
|
||||
m_Density: 1
|
||||
m_Material: {fileID: 0}
|
||||
m_IsTrigger: 1
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
oldSize: {x: 0.64, y: 0.64}
|
||||
newSize: {x: 0.24, y: 0.24}
|
||||
adaptiveTilingThreshold: 0.5
|
||||
drawMode: 0
|
||||
adaptiveTiling: 0
|
||||
m_AutoTiling: 0
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 0.64, y: 0.64}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!1 &1678984576
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
@ -17,6 +17,8 @@ MonoBehaviour:
|
||||
description:
|
||||
preview: {fileID: 0}
|
||||
dependencies:
|
||||
- dependency: {fileID: 2800000, guid: 0ccc508108fa6ed4fa11b4a467d7f609, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 3a7e66d5a44a93a4c92b1ec5adbbbab9, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 6200000, guid: 9a162dcdc92b4194ba53630f8785bed1, type: 2}
|
||||
@ -35,6 +37,8 @@ MonoBehaviour:
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 194aedcc234be71428a25e32d62ccd9d, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 748ae8b33df036b46a86e0387f1602cf, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: bc1e36585ebd79d4db8ca18c1637587d, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: f0562aa725f59684cbbf4dac90ab7aae, type: 3}
|
||||
|
54
Assets/Scenes/BoxMovable.scenetemplate
Normal file
54
Assets/Scenes/BoxMovable.scenetemplate
Normal file
@ -0,0 +1,54 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 13966, guid: 0000000000000000e000000000000000, type: 0}
|
||||
m_Name: BoxMovable
|
||||
m_EditorClassIdentifier:
|
||||
templateScene: {fileID: 102900000, guid: 5c327360f9a5e4148a437b98ccb74ad1, type: 3}
|
||||
templateName:
|
||||
description:
|
||||
preview: {fileID: 0}
|
||||
dependencies:
|
||||
- dependency: {fileID: 2800000, guid: 0ccc508108fa6ed4fa11b4a467d7f609, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 6200000, guid: 9a162dcdc92b4194ba53630f8785bed1, type: 2}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 3a7e66d5a44a93a4c92b1ec5adbbbab9, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 0c6a2a64ca9f9c946a7dbbd1674cf5bd, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 7400000, guid: a365ad615f8e3174d8ba7f9026c65cb7, type: 2}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 7400000, guid: e5863731ec9142e4988081d88f0fa545, type: 2}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2100000, guid: a97c105638bdf8b4a8650670310a4cd3, type: 2}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: b4fab302387dd5a4e8c59120fb28f06c, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: d393166e35af62140af2d003436dba4f, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 9100000, guid: 44043e1d2a4d940438b0fdfee3f92bb0, type: 2}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 194aedcc234be71428a25e32d62ccd9d, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 748ae8b33df036b46a86e0387f1602cf, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: bc1e36585ebd79d4db8ca18c1637587d, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: f0562aa725f59684cbbf4dac90ab7aae, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: ac4f690e99db5bb43bedb920eda2f7c5, type: 3}
|
||||
instantiationMode: 0
|
||||
- dependency: {fileID: 2800000, guid: 23e66f7264c74424889342127f229577, type: 3}
|
||||
instantiationMode: 0
|
||||
templatePipeline: {fileID: 0}
|
||||
badge: {fileID: 0}
|
||||
addToDefaults: 0
|
8
Assets/Scenes/BoxMovable.scenetemplate.meta
generated
Normal file
8
Assets/Scenes/BoxMovable.scenetemplate.meta
generated
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 12d2b448136fc414e9c6738dc2624e8e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
1378
Assets/Scenes/BoxMovable.unity
generated
Normal file
1378
Assets/Scenes/BoxMovable.unity
generated
Normal file
File diff suppressed because it is too large
Load Diff
3
ProjectSettings/TagManager.asset
generated
3
ProjectSettings/TagManager.asset
generated
@ -3,7 +3,8 @@
|
||||
--- !u!78 &1
|
||||
TagManager:
|
||||
serializedVersion: 2
|
||||
tags: []
|
||||
tags:
|
||||
- PressurePlatable
|
||||
layers:
|
||||
- Default
|
||||
- TransparentFX
|
||||
|
Loading…
x
Reference in New Issue
Block a user