Ejemplo n.º 1
0
    void Update()
    {
        if (Input.GetMouseButtonUp(0))
        {
            // 创建技能
            var formula = skillInfo2.GetActionFormula(new FormulaParamsPacker()
            {
                StartPos  = new Vector3(10, 0, 10),
                TargetPos = new Vector3(100, 0, 0),
                //GType = GraphicType.Circle
            });

            // TODO 如何封装数据?
            //SkillManager.Single.DoFormula(formula.GetFirst());
        }
    }