diff --git a/Assets/Animations/TurtlePatrolling.anim b/Assets/Animations/TurtlePatrolling.anim deleted file mode 100644 index f201c54..0000000 --- a/Assets/Animations/TurtlePatrolling.anim +++ /dev/null @@ -1,675 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!74 &7400000 -AnimationClip: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: TurtlePatrolling - serializedVersion: 6 - m_Legacy: 0 - m_Compressed: 0 - m_UseHighQualityCurve: 1 - m_RotationCurves: [] - m_CompressedRotationCurves: [] - m_EulerCurves: - - curve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: {x: 0, y: 0, z: 0} - inSlope: {x: 0, y: 0, z: 0} - outSlope: {x: 0, y: 0, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 10 - value: {x: 0, y: 0, z: 0} - inSlope: {x: 0, y: 0, z: 0} - outSlope: {x: 0, y: 0, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 15.133333 - value: {x: 0, y: -90, z: 0} - inSlope: {x: 0, y: -18, z: 0} - outSlope: {x: 0, y: -18, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 20 - value: {x: 0, y: -180, z: 0} - inSlope: {x: 0, y: 0, z: 0} - outSlope: {x: 0, y: 0, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 30 - value: {x: 0, y: -180, z: 0} - inSlope: {x: 0, y: 0, z: 0} - outSlope: {x: 0, y: 0, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 35 - value: {x: 0, y: -270, z: 0} - inSlope: {x: 0, y: -18, z: 0} - outSlope: {x: 0, y: -18, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 40 - value: {x: 0, y: -360, z: 0} - inSlope: {x: 0, y: 0, z: 0} - outSlope: {x: 0, y: 0, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - path: - m_PositionCurves: - - curve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: {x: 286, y: 25, z: 205} - inSlope: {x: 0, y: 0, z: 0} - outSlope: {x: 0, y: 0, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 10 - value: {x: 286, y: 25, z: 235} - inSlope: {x: 0, y: 0, z: 3.3039649} - outSlope: {x: 0, y: 0, z: 3.3039649} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 15.133333 - value: {x: 266, y: 25, z: 255} - inSlope: {x: -4, y: 0, z: 0} - outSlope: {x: -4, y: 0, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 20 - value: {x: 246, y: 25, z: 235} - inSlope: {x: 0, y: 0, z: -3.3632286} - outSlope: {x: 0, y: 0, z: -3.3632286} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 30 - value: {x: 246, y: 25, z: 205} - inSlope: {x: 0, y: 0, z: -3.3333333} - outSlope: {x: 0, y: 0, z: -3.3333333} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 35 - value: {x: 266, y: 25, z: 185} - inSlope: {x: 4, y: 0, z: 0} - outSlope: {x: 4, y: 0, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - - serializedVersion: 3 - time: 40 - value: {x: 286, y: 25, z: 205} - inSlope: {x: 0, y: 0, z: 0} - outSlope: {x: 0, y: 0, z: 0} - tangentMode: 0 - weightedMode: 0 - inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334} - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - path: - m_ScaleCurves: [] - m_FloatCurves: [] - m_PPtrCurves: [] - m_SampleRate: 60 - m_WrapMode: 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: 1 - script: {fileID: 0} - typeID: 4 - customType: 0 - isPPtrCurve: 0 - - serializedVersion: 2 - path: 0 - attribute: 4 - script: {fileID: 0} - typeID: 4 - customType: 4 - isPPtrCurve: 0 - pptrCurveMapping: [] - m_AnimationClipSettings: - serializedVersion: 2 - m_AdditiveReferencePoseClip: {fileID: 0} - m_AdditiveReferencePoseTime: 0 - m_StartTime: 0 - m_StopTime: 40 - m_OrientationOffsetY: 0 - m_Level: 0 - m_CycleOffset: 0 - m_HasAdditiveReferencePose: 0 - m_LoopTime: 1 - m_LoopBlend: 0 - m_LoopBlendOrientation: 0 - m_LoopBlendPositionY: 0 - m_LoopBlendPositionXZ: 0 - m_KeepOriginalOrientation: 0 - m_KeepOriginalPositionY: 1 - m_KeepOriginalPositionXZ: 0 - m_HeightFromFeet: 0 - m_Mirror: 0 - m_EditorCurves: - - curve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 286 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 10 - value: 286 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 15.133333 - value: 266 - inSlope: -4 - outSlope: -4 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 20 - value: 246 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 30 - value: 246 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 35 - value: 266 - inSlope: 4 - outSlope: 4 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 40 - value: 286 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - attribute: m_LocalPosition.x - path: - classID: 4 - script: {fileID: 0} - - curve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 25 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 10 - value: 25 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 15.133333 - value: 25 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 20 - value: 25 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 30 - value: 25 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 35 - value: 25 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 40 - value: 25 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - attribute: m_LocalPosition.y - path: - classID: 4 - script: {fileID: 0} - - curve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 205 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 10 - value: 235 - inSlope: 3.3039649 - outSlope: 3.3039649 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 15.133333 - value: 255 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 20 - value: 235 - inSlope: -3.3632286 - outSlope: -3.3632286 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 30 - value: 205 - inSlope: -3.3333333 - outSlope: -3.3333333 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 35 - value: 185 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 40 - value: 205 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - attribute: m_LocalPosition.z - path: - classID: 4 - script: {fileID: 0} - - curve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 10 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 15.133333 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 20 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 30 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 35 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 40 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - attribute: localEulerAnglesRaw.x - path: - classID: 4 - script: {fileID: 0} - - curve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 10 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 15.133333 - value: -90 - inSlope: -18 - outSlope: -18 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 20 - value: -180 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 30 - value: -180 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 35 - value: -270 - inSlope: -18 - outSlope: -18 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 40 - value: -360 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - attribute: localEulerAnglesRaw.y - path: - classID: 4 - script: {fileID: 0} - - curve: - serializedVersion: 2 - m_Curve: - - serializedVersion: 3 - time: 0 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 10 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 15.133333 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 20 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 30 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 35 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - - serializedVersion: 3 - time: 40 - value: 0 - inSlope: 0 - outSlope: 0 - tangentMode: 136 - weightedMode: 0 - inWeight: 0.33333334 - outWeight: 0.33333334 - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - attribute: localEulerAnglesRaw.z - path: - classID: 4 - script: {fileID: 0} - m_EulerEditorCurves: - - curve: - serializedVersion: 2 - m_Curve: [] - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - attribute: m_LocalEulerAngles.x - path: - classID: 4 - script: {fileID: 0} - - curve: - serializedVersion: 2 - m_Curve: [] - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - attribute: m_LocalEulerAngles.y - path: - classID: 4 - script: {fileID: 0} - - curve: - serializedVersion: 2 - m_Curve: [] - m_PreInfinity: 2 - m_PostInfinity: 2 - m_RotationOrder: 4 - attribute: m_LocalEulerAngles.z - path: - classID: 4 - script: {fileID: 0} - m_HasGenericRootTransform: 1 - m_HasMotionFloatCurves: 0 - m_Events: [] diff --git a/Assets/Animations/TurtlePatrolling.anim.meta b/Assets/Animations/TurtlePatrolling.anim.meta deleted file mode 100644 index b262b73..0000000 --- a/Assets/Animations/TurtlePatrolling.anim.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f3f32a13e65031e459b36f3022517e50 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 7400000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Patrol.cs b/Assets/Patrol.cs new file mode 100644 index 0000000..d763bf8 --- /dev/null +++ b/Assets/Patrol.cs @@ -0,0 +1,48 @@ +// Patrol.cs +using UnityEngine; +using UnityEngine.AI; + +public class Patrol : MonoBehaviour +{ + public Transform[] points; + private int destPoint = 0; + private NavMeshAgent agent; + + void Start () + { + agent = GetComponent(); + + // Disabling auto-braking allows for continuous movement + // between points (ie, the agent doesn't slow down as it + // approaches a destination point). + agent.autoBraking = false; + + GotoNextPoint(); + } + + + void GotoNextPoint() + { + // Returns if no points have been set up + if (points.Length == 0) + { + return; + } + + // Set the agent to go to the currently selected destination. + agent.destination = points[destPoint].position; + + // Choose the next point in the array as the destination, + // cycling to the start if necessary. + destPoint = (destPoint + 1) % points.Length; + } + + + void Update () + { + // Choose the next destination point when the agent gets + // close to the current one. + if (!agent.pathPending && agent.remainingDistance < 0.5f) + GotoNextPoint(); + } +} \ No newline at end of file diff --git a/Assets/Patrol.cs.meta b/Assets/Patrol.cs.meta new file mode 100644 index 0000000..0f8c20e --- /dev/null +++ b/Assets/Patrol.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: b7ba498a5d471b74a8f19b5189f03e2e +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Procedural Worlds/Gaia/Water/Content Resources/Material/Gaia Ocean Underwater.mat b/Assets/Procedural Worlds/Gaia/Water/Content Resources/Material/Gaia Ocean Underwater.mat index d84cb71..7e0a2f0 100644 --- a/Assets/Procedural Worlds/Gaia/Water/Content Resources/Material/Gaia Ocean Underwater.mat +++ b/Assets/Procedural Worlds/Gaia/Water/Content Resources/Material/Gaia Ocean Underwater.mat @@ -1,46 +1,47 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!21 &2100000 -Material: - serializedVersion: 6 - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_Name: Gaia Ocean Underwater - m_Shader: {fileID: 4800000, guid: a839315960c0a48d8a4580e4c1ee9de7, type: 3} - m_ShaderKeywords: - m_LightmapFlags: 4 - m_EnableInstancingVariants: 0 - m_DoubleSidedGI: 0 - m_CustomRenderQueue: -1 - stringTagMap: {} - disabledShaderPasses: [] - m_SavedProperties: - serializedVersion: 3 - m_TexEnvs: - - _NormalLayer0: - m_Texture: {fileID: 2800000, guid: bde6cb2e213a1a84a9a579bfd2ac765e, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - - _NormalLayer1: - m_Texture: {fileID: 2800000, guid: ba8b90b254eca554697a571d28aa6b1c, type: 3} - m_Scale: {x: 1, y: 1} - m_Offset: {x: 0, y: 0} - m_Floats: - - _EdgeWaterDist: 5 - - _NormalLayer0Scale: 1 - - _NormalLayer1Scale: 1 - - _NormalTile: 512 - - _RefractionToggle: 0 - - _WaveBackwashToggle: 0 - - _WaveDirGlobal: 1 - - _WaveLength: 1024 - - _WavePeakToggle: 0 - - _WaveShoreClamp: 0.33 - - _WaveSpeed: 10 - - _WaveSteepness: 0.1 - m_Colors: - - _EdgeWaterColor: {r: 0.09999994, g: 0.09999994, b: 0.19999993, a: 1} - - _UnderWaterColor: {r: 0.533, g: 0.764, b: 1, a: 1} - - _WaveDirection: {r: 1, g: 0, b: 0, a: 0} +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!21 &2100000 +Material: + serializedVersion: 6 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Gaia Ocean Underwater + m_Shader: {fileID: 4800000, guid: a839315960c0a48d8a4580e4c1ee9de7, type: 3} + m_ShaderKeywords: + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: {} + disabledShaderPasses: [] + m_SavedProperties: + serializedVersion: 3 + m_TexEnvs: + - _NormalLayer0: + m_Texture: {fileID: 2800000, guid: bde6cb2e213a1a84a9a579bfd2ac765e, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + - _NormalLayer1: + m_Texture: {fileID: 2800000, guid: ba8b90b254eca554697a571d28aa6b1c, type: 3} + m_Scale: {x: 1, y: 1} + m_Offset: {x: 0, y: 0} + m_Floats: + - _EdgeWaterDist: 5 + - _NormalLayer0Scale: 1 + - _NormalLayer1Scale: 1 + - _NormalTile: 512 + - _RefractionToggle: 0 + - _WaveBackwashToggle: 0 + - _WaveDirGlobal: 1 + - _WaveLength: 1024 + - _WavePeakToggle: 0 + - _WaveShoreClamp: 0.33 + - _WaveSpeed: 10 + - _WaveSteepness: 0.1 + m_Colors: + - _EdgeWaterColor: {r: 0.09999994, g: 0.09999994, b: 0.19999993, a: 1} + - _UnderWaterColor: {r: 1, g: 0.4268818, b: 0.119498275, a: 1} + - _WaveDirection: {r: 1, g: 0, b: 0, a: 0} + m_BuildTextureStacks: [] diff --git a/Assets/Scenes/PrincessLand.unity b/Assets/Scenes/PrincessLand.unity index df9917b..0fd89a7 100644 --- a/Assets/Scenes/PrincessLand.unity +++ b/Assets/Scenes/PrincessLand.unity @@ -1337,6 +1337,36 @@ Transform: type: 3} m_PrefabInstance: {fileID: 95006639} m_PrefabAsset: {fileID: 0} +--- !u!1 &115099252 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 115099253} + m_Layer: 0 + m_Name: Point1 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &115099253 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 115099252} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -12.86, y: -0.83, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1705947251} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &118882457 PrefabInstance: m_ObjectHideFlags: 0 @@ -1898,6 +1928,76 @@ Transform: type: 3} m_PrefabInstance: {fileID: 148279810} m_PrefabAsset: {fileID: 0} +--- !u!1 &152640663 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 152640666} + - component: {fileID: 152640665} + - component: {fileID: 152640664} + m_Layer: 0 + m_Name: TortoiseNavigator + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!114 &152640664 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 152640663} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: b7ba498a5d471b74a8f19b5189f03e2e, type: 3} + m_Name: + m_EditorClassIdentifier: + points: + - {fileID: 115099253} + - {fileID: 779035078} +--- !u!195 &152640665 +NavMeshAgent: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 152640663} + m_Enabled: 1 + m_AgentTypeID: 0 + m_Radius: 0.5 + m_Speed: 3.5 + m_Acceleration: 8 + avoidancePriority: 50 + m_AngularSpeed: 120 + m_StoppingDistance: 0 + m_AutoTraverseOffMeshLink: 1 + m_AutoBraking: 1 + m_AutoRepath: 1 + m_Height: 2 + m_BaseOffset: 0 + m_WalkableMask: 4294967295 + m_ObstacleAvoidanceType: 4 +--- !u!4 &152640666 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 152640663} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 286, y: 26, z: 227} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1235649820} + m_Father: {fileID: 0} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &160123520 PrefabInstance: m_ObjectHideFlags: 0 @@ -6014,6 +6114,37 @@ Transform: type: 3} m_PrefabInstance: {fileID: 285683084} m_PrefabAsset: {fileID: 0} +--- !u!1 &292577723 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 292577724} + m_Layer: 0 + m_Name: NavigationPoints + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &292577724 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 292577723} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1705947251} + m_Father: {fileID: 0} + m_RootOrder: 18 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &298121435 PrefabInstance: m_ObjectHideFlags: 0 @@ -13258,7 +13389,7 @@ PrefabInstance: m_ObjectHideFlags: 0 serializedVersion: 2 m_Modification: - m_TransformParent: {fileID: 0} + m_TransformParent: {fileID: 152640666} m_Modifications: - target: {fileID: 4250993406816908800, guid: 81f092561090b8a478b811250e9e061d, type: 3} @@ -13438,42 +13569,42 @@ PrefabInstance: - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} propertyPath: m_RootOrder - value: 6 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} propertyPath: m_LocalPosition.x - value: 274.0611 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} propertyPath: m_LocalPosition.y - value: 25.03 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} propertyPath: m_LocalPosition.z - value: 227.35574 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} propertyPath: m_LocalRotation.w - value: 0.935503 + value: 1 objectReference: {fileID: 0} - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} propertyPath: m_LocalRotation.x - value: -0 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} propertyPath: m_LocalRotation.y - value: -0.3533188 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} propertyPath: m_LocalRotation.z - value: -0 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} @@ -13483,7 +13614,7 @@ PrefabInstance: - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} propertyPath: m_LocalEulerAnglesHint.y - value: -41.381 + value: 0 objectReference: {fileID: 0} - target: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, type: 3} @@ -16221,6 +16352,36 @@ Transform: type: 3} m_PrefabInstance: {fileID: 778281040} m_PrefabAsset: {fileID: 0} +--- !u!1 &779035077 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 779035078} + m_Layer: 0 + m_Name: Point2 + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &779035078 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 779035077} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: -87.1, y: -0.83, z: 43.4} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1705947251} + m_RootOrder: 1 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &779375379 PrefabInstance: m_ObjectHideFlags: 0 @@ -40218,6 +40379,12 @@ Animator: m_HasTransformHierarchy: 1 m_AllowConstantClipSamplingOptimization: 1 m_KeepAnimatorControllerStateOnDisable: 0 +--- !u!4 &1235649820 stripped +Transform: + m_CorrespondingSourceObject: {fileID: 4250993406855589042, guid: 81f092561090b8a478b811250e9e061d, + type: 3} + m_PrefabInstance: {fileID: 633987594} + m_PrefabAsset: {fileID: 0} --- !u!111 &1235649821 Animation: m_ObjectHideFlags: 0 @@ -62109,6 +62276,38 @@ Transform: type: 3} m_PrefabInstance: {fileID: 1698564866} m_PrefabAsset: {fileID: 0} +--- !u!1 &1705947250 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1705947251} + m_Layer: 0 + m_Name: Tortoise + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!4 &1705947251 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1705947250} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 286, y: 26, z: 227} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 115099253} + - {fileID: 779035078} + m_Father: {fileID: 292577724} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1001 &1705960726 PrefabInstance: m_ObjectHideFlags: 0 @@ -79925,7 +80124,7 @@ Material: - _WaveSteepness: 0.1 m_Colors: - _AmbientColor: {r: 0.5840786, g: 0.49693304, b: 0.60382754, a: 1} - - _EdgeWaterColor: {r: 0.099985294, g: 0.099985294, b: 0.19998544, a: 1} + - _EdgeWaterColor: {r: 0.09997145, g: 0.09997145, b: 0.1999717, a: 1} - _PW_MainLightColor: {r: 1, g: 0.4268818, b: 0.119498275, a: 1} - _PW_MainLightDir: {r: 0.8365165, g: 0.2588191, b: 0.48296306, a: 0} - _PW_MainLightSpecular: {r: 0.3137255, g: 0.27189302, b: 0.22345544, a: 1}