I am destroying any instances of GameObject.Find() to save the world #5
@ -236,7 +236,6 @@ namespace Terkoiz.Freecam
|
|||||||
{
|
{
|
||||||
// Destroy FreeCamScript before FreeCamController if exists
|
// Destroy FreeCamScript before FreeCamController if exists
|
||||||
Destroy(_freeCamScript);
|
Destroy(_freeCamScript);
|
||||||
Destroy(this);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user