예제 #1
0
    //Fire this script's Start after every other Starts.
    private void Start()
    {
        stats.FireEvent();
        OnLevelUp += OnLevelUpCallback;

        weapManager = GetComponent <WeaponManager>();
        if (weapManager != null)
        {
            weapManager.OnKill += OnKillCallback;
        }

        maxExp = ComputeMaxExp();
    }