//Depois qm sabe lista com quests ou algo do tipo private void Awake() { if (stats == null) { stats = GetComponent <BaseStats>(); } }
private void Awake() { _baseStats = GetComponent <BaseStats>(); }
void Awake() { playerBaseStats = FindObjectOfType <PlayerController>().GetComponent <BaseStats>(); //levelhValueText = GetComponent<Text>();//????? }
private void Awake() { baseStats = GameObject.FindWithTag("Player").GetComponent <BaseStats>(); }
private void Start() { baseStats = GameObject.FindWithTag("Player").GetComponent <BaseStats>(); textDisplay = GetComponent <Text>(); }
private void Awake() { baseStats = GameObject.FindWithTag("Player").GetComponent <BaseStats>(); levelDisplay = GetComponent <TextMeshProUGUI>(); }
private void Awake() { experience = GameObject.FindWithTag("Player").GetComponent <Experience>(); baseStats = GameObject.FindWithTag("Player").GetComponent <BaseStats>(); }
// Use this for initialization void Start() { baseStats = GameObject.FindGameObjectWithTag("Player").GetComponent <BaseStats>(); }
private void Awake() { player = GameObject.FindWithTag("Player"); power = player.GetComponent <Power>(); baseStats = player.GetComponent <BaseStats>(); }
private void Awake() { baseStats = GameObject.Find("Player").GetComponent <BaseStats>(); exp = GameObject.Find("Player").GetComponent <Experience>(); }
private void Awake() { baseStat = GameObject.FindGameObjectWithTag("Player").GetComponent <BaseStats>(); text = GetComponent <Text>(); }
// Start is called before the first frame update void Start() { level = GetComponent <TextMeshProUGUI>(); baseStats = GameObject.FindWithTag("Player").GetComponent <BaseStats>(); }
//Start metotlarından önce can hesaplansın diye Awake de yaptık private void Awake() { //Player dan BaseStats componentini aldık baseStats = GameObject.FindWithTag("Player").GetComponent <BaseStats>(); }
void Awake() { baseStats = GameObject.FindWithTag("Player").GetComponent <BaseStats> (); levelValue = GetComponent <Text> (); }