Example #1
0
    bool SummonCommand(Transform chess)
    {
        bool      summoned = false;
        Transform gf       = decisions.GetSummonGF(chess);
        Transform map      = decisions.GetSummonPosition(chess);

        if (gf != null && map != null)
        {
            CurrentSel.currentGF = gf;
            CurrentSel.SummonTrueCmd(chess, gf, map);
            summoned = true;
        }
        oldCamPosition = Camera.mainCamera.transform.position;
        newCamPosition = CurrentRC.playerB.transform.position - CurrentRC.CamOffest;
        camMoveMode    = true;
        return(summoned);
    }