GetTarget() public static method

public static GetTarget ( System.Vector3 fromPosition ) : Obj_AI_Base
fromPosition System.Vector3
return Obj_AI_Base
Exemplo n.º 1
0
        public static Obj_AI_Base GetCondemnTarget(Vector3 fromPosition)
        {
            switch (Manager.MenuManager.CondemnMode)
            {
            case 0:
                //VH Revolution
                return(Shine.GetTarget(fromPosition));

            case 1:
                //VH Reborn
                return(VHReborn.GetTarget(fromPosition));

            case 2:
                //Marksman / Gosu
                return(Marksman.GetTarget(fromPosition));

            case 3:
                //Shine#
                return(VHRevolution.GetTarget(fromPosition));
            }
            return(null);
        }