Пример #1
0
 // Start is called before the first frame update
 void Start()
 {
     rakeController = GetComponent <RakeController>();
     charController = GetComponent <CharacterController>();
     animator       = GetComponent <Animator>();
     myInteractor   = GetComponent <EnvironmentInteractor>();
     audioSource    = GetComponent <AudioSource>();
     inventory      = new Stack <GameObject>();
     wagon.SetActive(false);
 }
Пример #2
0
 private void Awake()
 {
     Instance = this;
 }