mirror of
https://github.com/GTA-ASM/SanAndreasUnity
synced 2025-02-24 19:27:16 +00:00
remove unneeded code
This commit is contained in:
parent
e4aa3c9f92
commit
beb76b6499
1 changed files with 1 additions and 5 deletions
|
@ -13,11 +13,7 @@ namespace SanAndreasUnity
|
|||
|
||||
private void Start()
|
||||
{
|
||||
if (targetObject == null)
|
||||
{
|
||||
if (Camera.main != null)
|
||||
targetObject = Camera.main.transform;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void Update()
|
||||
|
|
Loading…
Add table
Reference in a new issue