void Start() { jave = GameObject.FindGameObjectWithTag("Player").GetComponent <JaveController>(); if (chest && isFirstChest && jave.neuralNetworks > 0) { Destroy(gameObject); } }
void Start() { text = GameObject.FindGameObjectWithTag("Selector"); jave = GameObject.FindGameObjectWithTag("Player").GetComponent <JaveController>(); }