mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-17 05:18:27 +00:00
Remove unused code for camera
This commit is contained in:
parent
9944d54c20
commit
b89e365619
1 changed files with 0 additions and 7 deletions
|
@ -58,13 +58,6 @@ namespace SanAndreasUnity.Behaviours.Peds.States
|
|||
m_ped.characterController.enabled = false;
|
||||
|
||||
|
||||
if (m_ped.IsControlledByLocalPlayer)
|
||||
{
|
||||
if (m_ped.Camera != null) {
|
||||
// m_ped.Camera.transform.SetParent (seat.Parent, true);
|
||||
}
|
||||
}
|
||||
|
||||
m_ped.transform.SetParent(seat.Parent);
|
||||
m_ped.transform.localPosition = Vector3.zero;
|
||||
m_ped.transform.localRotation = Quaternion.identity;
|
||||
|
|
Loading…
Add table
Reference in a new issue