Beispiel #1
0
    private void Start()
    {
        ResetActions();
        GridItem slot = SelectionManager.GetAsSlot(transform.position - Vector3.forward);

        curSlot = slot;
        Move(slot);
        FlagManager.RegisterUnit(this);

        if (hpUI)
        {
            hpUI.InitHp(hp, this);
        }
    }