示例#1
0
    // ------------------------------------------------------------------------------------

    /*										Debug用
     * void OnGUI() {
     *      GUI.Label (new Rect (120, 10, 200, 20), "Attacker: " + controller.ToString ());
     *      GUI.Label (new Rect (120, 50, 200, 20), "Attacker: " + conditionStatus.ToString());
     * }
     * //*/

    // Use this for initialization
    void Start()
    {
        startPos   = this.transform.position;
        p_funcList = new P_Delegate[] { Skill1, Skill4 };
        controller = ReadyMode.Instance;
        controller.Enter(this);
        skillBtnGenerate();
        HideSkillBtn();
    }
示例#2
0
    // Use this for initialization
    void Start()
    {
        startPos   = this.transform.position;
        p_funcList = new P_Delegate[] { Skill4, Skill1, Skill2, Skill3 };
        Set_b_Status(BattelStatus.NORMAL);
        controller = ReadyMode.Instance;
        controller.Enter(this);
        skillBtnGenerate();
        HideKirenBtn();
        //---------

        /*foreach (ConditionStatus status in Enum.GetValues(typeof(ConditionStatus))) {
         *      if (!CheckFlag (status))
         *              Debug.Log (Enum.GetName (typeof(ConditionStatus), status));
         * }*/
    }