상속: MonoBehaviour
예제 #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>();
 }
예제 #2
0
 private void Awake()
 {
     instance = this;
 }
예제 #3
0
 // Start is called before the first frame update
 private void Awake()
 {
     ManaBar = this;
 }