Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     playerCtrl      = FindObjectOfType <Player_ControllerV2>();
     interactManager = FindObjectOfType <Interact_Manager>();
 }
 // Start is called before the first frame update
 void Start()
 {
     interactManager = FindObjectOfType <Interact_Manager>();
     rb     = GetComponent <Rigidbody>();
     camara = FindObjectOfType <Camera>().transform;
 }