Example #1
0
    public OnPlayerHurt ONPlayerHurt; // 여기에 플레이어가 피해를 입었을때 호출되는 함수들을 추가해주세요

    private void Awake()
    {
        if (Instance != null && Instance != this)
        {
            Destroy(this.gameObject);
        }
        Instance = this;
    }
Example #2
0
 private void Start()
 {
     loManager = LevelObjectsManager.Instance;
 }