Exemplo n.º 1
0
        //Depois qm sabe lista com quests ou algo do tipo

        private void Awake()
        {
            if (stats == null)
            {
                stats = GetComponent <BaseStats>();
            }
        }
Exemplo n.º 2
0
 private void Awake()
 {
     _baseStats = GetComponent <BaseStats>();
 }
Exemplo n.º 3
0
 void Awake()
 {
     playerBaseStats = FindObjectOfType <PlayerController>().GetComponent <BaseStats>();
     //levelhValueText = GetComponent<Text>();//?????
 }
Exemplo n.º 4
0
 private void Awake()
 {
     baseStats = GameObject.FindWithTag("Player").GetComponent <BaseStats>();
 }
Exemplo n.º 5
0
 private void Start()
 {
     baseStats   = GameObject.FindWithTag("Player").GetComponent <BaseStats>();
     textDisplay = GetComponent <Text>();
 }
Exemplo n.º 6
0
 private void Awake()
 {
     baseStats    = GameObject.FindWithTag("Player").GetComponent <BaseStats>();
     levelDisplay = GetComponent <TextMeshProUGUI>();
 }
Exemplo n.º 7
0
 private void Awake()
 {
     experience = GameObject.FindWithTag("Player").GetComponent <Experience>();
     baseStats  = GameObject.FindWithTag("Player").GetComponent <BaseStats>();
 }
Exemplo n.º 8
0
 // Use this for initialization
 void Start()
 {
     baseStats = GameObject.FindGameObjectWithTag("Player").GetComponent <BaseStats>();
 }
Exemplo n.º 9
0
 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>();
 }
Exemplo n.º 11
0
 private void Awake()
 {
     baseStat = GameObject.FindGameObjectWithTag("Player").GetComponent <BaseStats>();
     text     = GetComponent <Text>();
 }
Exemplo n.º 12
0
 // Start is called before the first frame update
 void Start()
 {
     level     = GetComponent <TextMeshProUGUI>();
     baseStats = GameObject.FindWithTag("Player").GetComponent <BaseStats>();
 }
Exemplo n.º 13
0
 //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>();
 }
Exemplo n.º 14
0
 void Awake()
 {
     baseStats  = GameObject.FindWithTag("Player").GetComponent <BaseStats> ();
     levelValue = GetComponent <Text> ();
 }