essence add to playerinfo

This commit is contained in:
joonasp 2022-04-11 18:27:18 +03:00
parent f7734432cc
commit f032bb323a
17 changed files with 1002 additions and 871 deletions

View File

@ -17,7 +17,7 @@ GameObject:
- component: {fileID: 1264022012566418942} - component: {fileID: 1264022012566418942}
- component: {fileID: 759522315152862422} - component: {fileID: 759522315152862422}
- component: {fileID: 7019801789685915322} - component: {fileID: 7019801789685915322}
m_Layer: 0 m_Layer: 10
m_Name: Log m_Name: Log
m_TagString: Throwable m_TagString: Throwable
m_Icon: {fileID: 0} m_Icon: {fileID: 0}

View File

@ -4835,6 +4835,8 @@ GameObject:
- component: {fileID: 824121554007831541} - component: {fileID: 824121554007831541}
- component: {fileID: 3271421586109646936} - component: {fileID: 3271421586109646936}
- component: {fileID: 6090694805862981561} - component: {fileID: 6090694805862981561}
- component: {fileID: 6268334591715512481}
- component: {fileID: 7195648623186244198}
m_Layer: 10 m_Layer: 10
m_Name: IceBolt m_Name: IceBolt
m_TagString: IceBolt m_TagString: IceBolt
@ -4897,7 +4899,7 @@ SphereCollider:
m_IsTrigger: 0 m_IsTrigger: 0
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 2
m_Radius: 1 m_Radius: 0.5
m_Center: {x: 0, y: 0, z: 0} m_Center: {x: 0, y: 0, z: 0}
--- !u!135 &6090694805862981561 --- !u!135 &6090694805862981561
SphereCollider: SphereCollider:
@ -4910,8 +4912,58 @@ SphereCollider:
m_IsTrigger: 1 m_IsTrigger: 1
m_Enabled: 1 m_Enabled: 1
serializedVersion: 2 serializedVersion: 2
m_Radius: 1 m_Radius: 0.5
m_Center: {x: 0, y: 0, z: 0} m_Center: {x: 0, y: 0, z: 0}
--- !u!33 &6268334591715512481
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3928666337405863711}
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!23 &7195648623186244198
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3928666337405863711}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: bd0bb729cb6159b4ab21c5f62cad24ee, type: 3}
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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &4403856838497526616 --- !u!1 &4403856838497526616
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

View File

@ -0,0 +1,105 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &8183020133482818824
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8183020133482637934}
- component: {fileID: 8183020133483952674}
- component: {fileID: 8183020133484680894}
- component: {fileID: 8183020133918107436}
m_Layer: 0
m_Name: EssenceWell
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8183020133482637934
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8183020133482818824}
m_LocalRotation: {x: 0.000000115202326, y: 0.7071068, z: 0.7071068, w: -0.000000115202326}
m_LocalPosition: {x: -10.25, y: 1.47, z: -12.115}
m_LocalScale: {x: 10, y: 10, z: 10}
m_ConstrainProportionsScale: 1
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &8183020133483952674
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8183020133482818824}
m_Mesh: {fileID: 4300122, guid: 7374575f12d49ba459e91009f7a9ec62, type: 3}
--- !u!23 &8183020133484680894
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8183020133482818824}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_StaticShadowCaster: 0
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: b27fa8aa11d99d440bab56b1de24981f, 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: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!114 &8183020133918107436
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8183020133482818824}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 580a2bc767950d54d9fdf84752500d7f, type: 3}
m_Name:
m_EditorClassIdentifier:
node: {fileID: 3467985268477833302, guid: 215fe2a51d12ecc43ba8f86d3dc3ae54, type: 3}
numberOfNodes: 5
spawnDelay: 1
despawnTime: 2
rightDistance: 0.1
maxUp: 0.2
minDown: -0.2

View File

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

View File

@ -28,6 +28,7 @@ public class ActionGestureInteraction : MonoBehaviour
Debug.LogWarning(player.GetComponent<PlayerInfo>().GetRightHand().name); Debug.LogWarning(player.GetComponent<PlayerInfo>().GetRightHand().name);
if (player.GetComponent<PlayerInfo>().GetRightHand().name.Equals("wand")) holdingWand = true; if (player.GetComponent<PlayerInfo>().GetRightHand().name.Equals("wand")) holdingWand = true;
} }
else holdingWand = false;
switch (action) switch (action)
{ {
@ -56,7 +57,8 @@ public class ActionGestureInteraction : MonoBehaviour
case "Circle": case "Circle":
if (holdingWand) if (holdingWand)
{ {
Debug.LogWarning("WAND CIRCLE"); Debug.LogWarning("Arcing fireball");
} }
else else
{ {
@ -98,7 +100,7 @@ public class ActionGestureInteraction : MonoBehaviour
} }
} */ } */
} }
void EnableDisablePortal(GameObject portal) void MinigameEnable(GameObject portal)
{ {
// Did the raycast catch a portal in front of us? // Did the raycast catch a portal in front of us?
if (portal != null) if (portal != null)
@ -125,7 +127,7 @@ public class ActionGestureInteraction : MonoBehaviour
} }
} }
GameObject FindPortalInFront() GameObject FindMinigame()
{ {
Ray ray = playerCamera.ViewportPointToRay(new Vector3(0.5f, 0.5f, 0)); Ray ray = playerCamera.ViewportPointToRay(new Vector3(0.5f, 0.5f, 0));
RaycastHit hit; RaycastHit hit;

View File

@ -49,7 +49,7 @@ public class PortalTeleporter : MonoBehaviour
Debug.Log(_enabled); Debug.Log(_enabled);
if (_portalCanBeUsed && !_justUsed && _enabled) if (_portalCanBeUsed && !_justUsed && _enabled)
{ {
if (other.name.StartsWith("Holster") || other.tag.Contains("")) if (other.name.StartsWith("Holster") || other.tag.Contains("Holster"))
{ {
Debug.Log("holster"); Debug.Log("holster");
} }

View File

@ -11,7 +11,10 @@ public class EssenceNodeController : MonoBehaviour
public bool isTouched; public bool isTouched;
private bool followPlayer = false; private bool followPlayer = false;
private Transform player; private Transform playerCamera;
[SerializeField]
private PlayerInfo playerInfo;
private float timer; private float timer;
private Material nodeMaterial; private Material nodeMaterial;
@ -21,6 +24,7 @@ public class EssenceNodeController : MonoBehaviour
private void Awake() private void Awake()
{ {
nodeMaterial = GetComponent<Renderer>().material; nodeMaterial = GetComponent<Renderer>().material;
playerInfo = PlayerInfo.Instance;
} }
public void Touched() public void Touched()
@ -37,7 +41,7 @@ public class EssenceNodeController : MonoBehaviour
public void FollowPlayer() public void FollowPlayer()
{ {
followPlayer = true; followPlayer = true;
player = GameObject.FindGameObjectWithTag("MainCamera").transform; playerCamera = GameObject.FindGameObjectWithTag("MainCamera").transform;
StartCoroutine(Collect()); StartCoroutine(Collect());
} }
@ -56,8 +60,8 @@ public class EssenceNodeController : MonoBehaviour
IEnumerator Collect() IEnumerator Collect()
{ {
playerInfo.AddEssenceBasic(1);
yield return new WaitForSeconds(2f); yield return new WaitForSeconds(2f);
//TODO: Update value in player inventory
Destroy(gameObject); Destroy(gameObject);
} }
@ -76,7 +80,7 @@ public class EssenceNodeController : MonoBehaviour
if (followPlayer) if (followPlayer)
{ {
transform.position = Vector3.Lerp(transform.position, new Vector3(player.position.x,player.position.y - 0.5f, player.position.z), Time.deltaTime); transform.position = Vector3.Lerp(transform.position, new Vector3(playerCamera.position.x, playerCamera.position.y - 0.5f, playerCamera.position.z), Time.deltaTime);
} }
} }

View File

@ -4,6 +4,8 @@ using UnityEngine;
public class PlayerInfo : MonoBehaviour public class PlayerInfo : MonoBehaviour
{ {
public static PlayerInfo Instance;
private int health; private int health;
private int essence_basic; private int essence_basic;
@ -13,6 +15,7 @@ public class PlayerInfo : MonoBehaviour
private void Awake() private void Awake()
{ {
Instance = this;
health = 5; health = 5;
essence_basic = 0; essence_basic = 0;
rightHandHeld = null; rightHandHeld = null;

File diff suppressed because one or more lines are too long

View File

@ -131,31 +131,6 @@ Transform:
type: 3} type: 3}
m_PrefabInstance: {fileID: 973685166} m_PrefabInstance: {fileID: 973685166}
m_PrefabAsset: {fileID: 0} m_PrefabAsset: {fileID: 0}
--- !u!1 &48807391 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 122020, guid: 627e36a0129013a47a9ff4c741c3f6d6,
type: 3}
m_PrefabInstance: {fileID: 1694198627}
m_PrefabAsset: {fileID: 0}
--- !u!114 &48807395
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 48807391}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 580a2bc767950d54d9fdf84752500d7f, type: 3}
m_Name:
m_EditorClassIdentifier:
node: {fileID: 3467985268477833302, guid: 215fe2a51d12ecc43ba8f86d3dc3ae54, type: 3}
numberOfNodes: 5
spawnDelay: 1
despawnTime: 2
rightDistance: 0.1
maxUp: 0.2
minDown: -0.2
--- !u!4 &407110722 stripped --- !u!4 &407110722 stripped
Transform: Transform:
m_CorrespondingSourceObject: {fileID: 3475118261464492563, guid: 1f4d373a613d0466fbd8849470265852, m_CorrespondingSourceObject: {fileID: 3475118261464492563, guid: 1f4d373a613d0466fbd8849470265852,
@ -596,7 +571,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 3 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &629412354 --- !u!1 &629412354
GameObject: GameObject:
@ -646,7 +621,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 12 m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &629412357 --- !u!114 &629412357
MonoBehaviour: MonoBehaviour:
@ -758,7 +733,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 7 m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &705507993 --- !u!1 &705507993
GameObject: GameObject:
@ -1029,7 +1004,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 13 m_RootOrder: 12
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &913183357 --- !u!1 &913183357
GameObject: GameObject:
@ -1096,7 +1071,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 10 m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &953161746 --- !u!1001 &953161746
PrefabInstance: PrefabInstance:
@ -1332,7 +1307,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 8 m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1342371955 --- !u!114 &1342371955
MonoBehaviour: MonoBehaviour:
@ -1493,7 +1468,7 @@ Transform:
m_ConstrainProportionsScale: 1 m_ConstrainProportionsScale: 1
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 15 m_RootOrder: 14
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1366746230 --- !u!1 &1366746230
GameObject: GameObject:
@ -1528,7 +1503,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 9 m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1366746232 --- !u!114 &1366746232
MonoBehaviour: MonoBehaviour:
@ -1760,7 +1735,7 @@ PrefabInstance:
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa, - target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3} type: 3}
propertyPath: m_RootOrder propertyPath: m_RootOrder
value: 2 value: 1
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa, - target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3} type: 3}
@ -1866,7 +1841,7 @@ Transform:
m_Children: m_Children:
- {fileID: 508810528} - {fileID: 508810528}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 5 m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &1578543177 --- !u!114 &1578543177
MonoBehaviour: MonoBehaviour:
@ -2032,185 +2007,8 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 6 m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1694198627
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 122020, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_Name
value: EssenceWell
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_RootOrder
value: 14
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalScale.x
value: 10
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalScale.y
value: 10
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalScale.z
value: 10
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalPosition.x
value: -10.25
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalPosition.y
value: 1.47
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalPosition.z
value: -12.115
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalRotation.w
value: -0.000000115202326
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalRotation.x
value: 0.000000115202326
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalRotation.y
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalRotation.z
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 465858, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
propertyPath: m_ConstrainProportionsScale
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 627e36a0129013a47a9ff4c741c3f6d6, type: 3}
--- !u!1001 &1699517438
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 7543052554150911968, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: onDown.m_PersistentCalls.m_Calls.Array.size
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7543052554150911968, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: onDown.m_PersistentCalls.m_Calls.Array.data[0].m_Mode
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7543052554150911968, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: onDown.m_PersistentCalls.m_Calls.Array.data[0].m_Target
value:
objectReference: {fileID: 48807395}
- target: {fileID: 7543052554150911968, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: onDown.m_PersistentCalls.m_Calls.Array.data[0].m_CallState
value: 2
objectReference: {fileID: 0}
- target: {fileID: 7543052554150911968, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: onDown.m_PersistentCalls.m_Calls.Array.data[0].m_MethodName
value: StartMinigame
objectReference: {fileID: 0}
- target: {fileID: 7543052554150911968, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: onDown.m_PersistentCalls.m_Calls.Array.data[0].m_TargetAssemblyTypeName
value: WellController, Assembly-CSharp
objectReference: {fileID: 0}
- target: {fileID: 7543052554150911968, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: onDown.m_PersistentCalls.m_Calls.Array.data[0].m_Arguments.m_ObjectArgumentAssemblyTypeName
value: UnityEngine.Object, UnityEngine
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355069, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_Name
value: Lever (1)
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_LocalPosition.x
value: -8.716
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_LocalPosition.y
value: 1.235
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_LocalPosition.z
value: -11.355
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.6532815
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.27059805
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.6532815
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.27059805
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -90
objectReference: {fileID: 0}
- target: {fileID: 7543052554475355072, guid: cb8b19b563b3d224897e3b3d94c353aa,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 45
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: cb8b19b563b3d224897e3b3d94c353aa, type: 3}
--- !u!1 &1986139475 --- !u!1 &1986139475
GameObject: GameObject:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
@ -2460,7 +2258,7 @@ Transform:
m_ConstrainProportionsScale: 0 m_ConstrainProportionsScale: 0
m_Children: [] m_Children: []
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 4 m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2057955796 stripped --- !u!1 &2057955796 stripped
GameObject: GameObject:
@ -2675,7 +2473,7 @@ PrefabInstance:
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 431264, guid: 14a1089dfc8b2f949937da50bf38bc90, type: 3} - target: {fileID: 431264, guid: 14a1089dfc8b2f949937da50bf38bc90, type: 3}
propertyPath: m_RootOrder propertyPath: m_RootOrder
value: 11 value: 10
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 431264, guid: 14a1089dfc8b2f949937da50bf38bc90, type: 3} - target: {fileID: 431264, guid: 14a1089dfc8b2f949937da50bf38bc90, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
@ -3023,3 +2821,72 @@ SphereCollider:
serializedVersion: 2 serializedVersion: 2
m_Radius: 0.05 m_Radius: 0.05
m_Center: {x: 0, y: 0, z: 0} m_Center: {x: 0, y: 0, z: 0}
--- !u!1001 &8183020133965781711
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_RootOrder
value: 13
objectReference: {fileID: 0}
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_LocalPosition.x
value: -10.25
objectReference: {fileID: 0}
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_LocalPosition.y
value: 1.47
objectReference: {fileID: 0}
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_LocalPosition.z
value: -12.115
objectReference: {fileID: 0}
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_LocalRotation.w
value: -0.000000115202326
objectReference: {fileID: 0}
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_LocalRotation.x
value: 0.000000115202326
objectReference: {fileID: 0}
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_LocalRotation.y
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8183020133482637934, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8183020133482818824, guid: c52ee40e56d869645af73fd6f39c1323,
type: 3}
propertyPath: m_Name
value: EssenceWell
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c52ee40e56d869645af73fd6f39c1323, type: 3}

View File

@ -90,19 +90,19 @@ Material:
- _HorizonCloudSize: 4.91 - _HorizonCloudSize: 4.91
- _HorizonCloudStartPosition: -0.1 - _HorizonCloudStartPosition: -0.1
- _HorizonCloudStep: 25 - _HorizonCloudStep: 25
- _HorizonExponent: 3.4428504 - _HorizonExponent: 3.4556081
- _HorizonStep: 500 - _HorizonStep: 500
- _HorizonThickness: 1 - _HorizonThickness: 1
- _MoonGlow: 0 - _MoonGlow: 0
- _MoonLightIntensity: 0.000028431416 - _MoonLightIntensity: 0.000004351139
- _MoonSize: 0 - _MoonSize: 0
- _MoonSoftEdge: 0 - _MoonSoftEdge: 0
- _OverheadCloudAltitude: 1000 - _OverheadCloudAltitude: 1000
- _OverheadCloudAnimationSpeed: 50 - _OverheadCloudAnimationSpeed: 50
- _OverheadCloudFlowDirectionX: 1 - _OverheadCloudFlowDirectionX: 1
- _OverheadCloudFlowDirectionZ: 1 - _OverheadCloudFlowDirectionZ: 1
- _OverheadCloudRemapMax: 1.094984 - _OverheadCloudRemapMax: 1.1004372
- _OverheadCloudRemapMin: 0.12824413 - _OverheadCloudRemapMin: 0.13224335
- _OverheadCloudSize: 10 - _OverheadCloudSize: 10
- _OverheadCloudStep: 2 - _OverheadCloudStep: 2
- _StarsDensity0: 0.4 - _StarsDensity0: 0.4
@ -121,25 +121,25 @@ Material:
- _StarsTwinkle1: 6 - _StarsTwinkle1: 6
- _StarsTwinkle2: 2 - _StarsTwinkle2: 2
- _SunGlow: 0.45 - _SunGlow: 0.45
- _SunLightIntensity: 0.24817863 - _SunLightIntensity: 0.2545984
- _SunSize: 0.1 - _SunSize: 0.1
- _SunSoftEdge: 0.5 - _SunSoftEdge: 0.5
m_Colors: m_Colors:
- _DetailOverlayTintColor: {r: 0, g: 0, b: 0, a: 0} - _DetailOverlayTintColor: {r: 0, g: 0, b: 0, a: 0}
- _FogColor: {r: 0, g: 0, b: 0, a: 0} - _FogColor: {r: 0, g: 0, b: 0, a: 0}
- _GroundColor: {r: 0.4126587, g: 0.39280373, b: 0.43126184, a: 1} - _GroundColor: {r: 0.41328734, g: 0.3935753, b: 0.4317566, a: 1}
- _HorizonCloudColor: {r: 1, g: 1, b: 1, a: 1} - _HorizonCloudColor: {r: 1, g: 1, b: 1, a: 1}
- _HorizonColor: {r: 0.90445215, g: 0.8557181, b: 0.74831796, a: 1} - _HorizonColor: {r: 0.90417737, g: 0.85655284, b: 0.74991864, a: 1}
- _MoonColor: {r: 1, g: 1, b: 1, a: 0} - _MoonColor: {r: 1, g: 1, b: 1, a: 0}
- _MoonDirection: {r: 1, g: 1, b: 1, a: 0} - _MoonDirection: {r: 1, g: 1, b: 1, a: 0}
- _MoonLightColor: {r: 0, g: 0, b: 0, a: 0} - _MoonLightColor: {r: 0, g: 0, b: 0, a: 0}
- _OverheadCloudColor: {r: 1, g: 1, b: 1, a: 0.9677161} - _OverheadCloudColor: {r: 1, g: 1, b: 1, a: 0.96861386}
- _SkyColor: {r: 0.21007125, g: 0.3664659, b: 0.60232735, a: 1} - _SkyColor: {r: 0.2112336, g: 0.3694704, b: 0.6057861, a: 1}
- _StarsColor0: {r: 0.96470594, g: 0.9450981, b: 0.76470596, a: 1} - _StarsColor0: {r: 0.96470594, g: 0.9450981, b: 0.76470596, a: 1}
- _StarsColor1: {r: 1, g: 0.5294118, b: 0.93725497, a: 1} - _StarsColor1: {r: 1, g: 0.5294118, b: 0.93725497, a: 1}
- _StarsColor2: {r: 0, g: 0.92549026, b: 1, a: 1} - _StarsColor2: {r: 0, g: 0.92549026, b: 1, a: 1}
- _SunColor: {r: 0.97372705, g: 0.93037534, b: 0.858845, a: 1} - _SunColor: {r: 0.9735985, g: 0.9300345, b: 0.858154, a: 1}
- _SunDirection: {r: 0, g: -0.29469347, b: 0.95559186, a: 0} - _SunDirection: {r: 0, g: -0.30342793, b: 0.9528544, a: 0}
- _SunLightColor: {r: 1, g: 0.9929226, b: 0.9009434, a: 1} - _SunLightColor: {r: 1, g: 0.9929226, b: 0.9009434, a: 1}
m_BuildTextureStacks: [] m_BuildTextureStacks: []
--- !u!114 &11400000 --- !u!114 &11400000

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -27,17 +27,17 @@ Material:
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _ColorBlend: - _ColorBlend:
m_Texture: {fileID: 2713173277972343999, guid: b6bbea2e1167a7346822545139402874, m_Texture: {fileID: -6801517624070787717, guid: b6bbea2e1167a7346822545139402874,
type: 2} type: 2}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _ColorByHeight: - _ColorByHeight:
m_Texture: {fileID: -3898369796010551796, guid: b6bbea2e1167a7346822545139402874, m_Texture: {fileID: 7632090461019099052, guid: b6bbea2e1167a7346822545139402874,
type: 2} type: 2}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _ColorByNormal: - _ColorByNormal:
m_Texture: {fileID: -3196768955630093839, guid: b6bbea2e1167a7346822545139402874, m_Texture: {fileID: -4777867093011165434, guid: b6bbea2e1167a7346822545139402874,
type: 2} type: 2}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}

View File

@ -40,17 +40,17 @@ Material:
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _ColorBlend: - _ColorBlend:
m_Texture: {fileID: 1178302760151159978, guid: 726ce83d589353742be6b48ff467fc48, m_Texture: {fileID: -5193949924077371402, guid: 726ce83d589353742be6b48ff467fc48,
type: 2} type: 2}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _ColorByHeight: - _ColorByHeight:
m_Texture: {fileID: 7638727188211499746, guid: 726ce83d589353742be6b48ff467fc48, m_Texture: {fileID: 836370342043809526, guid: 726ce83d589353742be6b48ff467fc48,
type: 2} type: 2}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _ColorByNormal: - _ColorByNormal:
m_Texture: {fileID: 3500522769472979249, guid: 726ce83d589353742be6b48ff467fc48, m_Texture: {fileID: 4428962203539512438, guid: 726ce83d589353742be6b48ff467fc48,
type: 2} type: 2}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}

View File

@ -40,17 +40,17 @@ Material:
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _ColorBlend: - _ColorBlend:
m_Texture: {fileID: -7459891758008157300, guid: 7f589c682d367b442b8cf75918f5aa55, m_Texture: {fileID: 3523615859096353334, guid: 7f589c682d367b442b8cf75918f5aa55,
type: 2} type: 2}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _ColorByHeight: - _ColorByHeight:
m_Texture: {fileID: 9029390223674640076, guid: 7f589c682d367b442b8cf75918f5aa55, m_Texture: {fileID: -6652137863509328346, guid: 7f589c682d367b442b8cf75918f5aa55,
type: 2} type: 2}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}
- _ColorByNormal: - _ColorByNormal:
m_Texture: {fileID: -4646601084344554280, guid: 7f589c682d367b442b8cf75918f5aa55, m_Texture: {fileID: 8282537599635226317, guid: 7f589c682d367b442b8cf75918f5aa55,
type: 2} type: 2}
m_Scale: {x: 1, y: 1} m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0} m_Offset: {x: 0, y: 0}