Esempio n. 1
0
    // Start is called before the first frame update
    void Start()
    {
        healthController = GetComponent <HealthController>();
        healthController.SetMaxVit(maxVit);
        healthController.SetMaxShield(startingShield);
        healthController.SetAttack(attack);
        healthController.LoadCombatInformation(colorTag); //Must go after SetMaxVit

        moveController = GetComponent <PlayerMoveController>();
        moveController.SetPlayerController(this);
    }