예제 #1
0
    protected override void Awake()
    {
        base.Awake();
        hyperParameterSet[(int)HyperParameterOfSpell.Spell01] = new SpellHyperParameter {
            CoolDown = 3, Damage = 1, Range = 2.0f, ColliderHalfExtends = Vector3.one * 0.2f, Motion = (int)SpellMotionName.Normal01
        };


        Pattern pattern1 = new Pattern(1);

        pattern1.actionQueue.AddLast(ChillingSlash());
        pattern1.actionQueue.AddLast(ChillingSlash());
        pattern1.frequency       = 20;
        pattern1.patternCooldown = 2;

        PatternGroup.Add(pattern1);
    }