예제 #1
0
    private void Start()
    {
        animationManager      = transform.Find("Graphics").GetComponent <AnimationManager>();
        state                 = new PlayerState();
        state.isBlindToDamage = false;

        sharedStatistics.ApplyStatistics(this);

        movement.OnStart(this);
        combat.OnStart(this);
        items.OnStart(this);

        OnDeath += Player_OnDeath;
        alive    = true;
        UpdateMatColor(0);
    }