Exemple #1
0
    public void sadTV(ChildManager child, Transform sitTransform)
    {
        child.transform.position = sitTransform.position;
        child.transform.rotation = sitTransform.rotation;

        child.SwitchToState(ChildManager.ChildrenAnimation.Cry);
        child.PlayCrying();
        child.isCrying = true;
        // Play sad TV
        tv.PlayTV(tv.sadClip);
    }