Пример #1
0
    protected void PlayerLookToMe()
    {
        _player.GetAvatarHolder().LookAt(transform);
        Vector3 rot = _player.GetAvatarHolder().localEulerAngles;

        rot.x = 0f;
        rot.z = 0f;

        _player.GetAvatarHolder().localEulerAngles = rot;
    }