Commit for pull

This commit is contained in:
Patrice Vignola 2015-08-23 13:20:22 -04:00
parent e7671d3014
commit e4ee5509f6
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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<Rigidbody>();
AnimationPillow.SetActive(false);
}
void Update()