Inheritance: MonoBehaviour
Ejemplo n.º 1
0
 // Update is called once per frame
 public void Start()
 {
     sm     = GameObject.FindGameObjectWithTag("Sound").GetComponent <SoundManager>();
     knight = GameObject.FindGameObjectWithTag("Player").GetComponent <KnightAttack>();
     manaUi = GameObject.Find("ManaUI").GetComponent <ManaUI>();
 }
Ejemplo n.º 2
0
 private void Awake()
 {
     instance = this;
 }
Ejemplo n.º 3
0
 // Start is called before the first frame update
 private void Awake()
 {
     ManaBar = this;
 }