AttackInfo.Start C# (CSharp) Méthode

Start() public méthode

public Start ( ) : void
Résultat void
	void Start () {
        int combo_count = this.comboList.Length;
        for ( int i = 0; i < combo_count; ++i ) {
            ComboInfo combo = this.comboList[i];
            DebugHelper.Assert(combo.endTime!=-1.0f, "endTime can't be minus!");
            DebugHelper.Assert(combo.animName!="unknown", "animName can't be unknown!");
            DebugHelper.Assert(combo.validInputTime.x < combo.validInputTime.y, "input time is invalid!");
            DebugHelper.Assert(combo.attack_shape, "please define attack shape!");

            combo.attack_shape.active = false;
            int next = i+1;
            if ( next != combo_count )
                combo.next = this.comboList[next];
        }
        this.combo_entry = this.comboList[0];
        this.comboList = null;
	}