Exemplo n.º 1
0
    private void Initialize()
    {
        InitializePlayerTools();

        //Input init
        _head = GetComponentInChildren <HeadManager>();
        _head.Initialize(this);

        for (int i = 0; i < controllers.Length; i++)
        {
            controllers[i].PadClicked += OnPadClicked;
        }

        //Character init
        currentHealth = maxHealth;
    }