mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-18 22:08:30 +00:00
Fix camera
This commit is contained in:
parent
f22f1ae400
commit
6fd35e35ff
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ namespace SanAndreasUnity.Behaviours
|
|||
|
||||
#region Inspector Fields
|
||||
|
||||
public Camera Camera;
|
||||
public Camera Camera { get { return this == Ped.Instance ? Camera.main : null; } }
|
||||
public PedModel PlayerModel;
|
||||
|
||||
public bool shouldPlayAnims = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue