diff --git a/Assets/Scenes/PatScene.unity b/Assets/Scenes/PatScene.unity index 97eea8b..24f7705 100644 --- a/Assets/Scenes/PatScene.unity +++ b/Assets/Scenes/PatScene.unity @@ -1014,6 +1014,7 @@ MonoBehaviour: m_Name: m_EditorClassIdentifier: PlayerCount: 4 + mom: {fileID: 1257411050} --- !u!4 &945259370 Transform: m_ObjectHideFlags: 0 @@ -2522,6 +2523,10 @@ Prefab: propertyPath: PlayerNumber value: 0 objectReference: {fileID: 0} + - target: {fileID: 134552, guid: 6dd661a967968c64dbae75c01fac6a09, type: 2} + propertyPath: m_IsActive + value: 1 + objectReference: {fileID: 0} m_RemovedComponents: [] m_ParentPrefab: {fileID: 100100000, guid: 6dd661a967968c64dbae75c01fac6a09, type: 2} m_IsPrefabParent: 0 diff --git a/Assets/Scripts/Child.cs b/Assets/Scripts/Child.cs index dd1d4a9..98cd135 100644 --- a/Assets/Scripts/Child.cs +++ b/Assets/Scripts/Child.cs @@ -15,6 +15,7 @@ public class Child : MonoBehaviour public Pillow pillow; public MomBehavior Mom; public Animator Animator; + public GameObject AnimationPillow; private Rigidbody _rb; private bool _isGrounded = false; @@ -48,6 +49,7 @@ public class Child : MonoBehaviour void Awake() { _rb = GetComponent(); + AnimationPillow.SetActive(false); } void Update()