Beispiel #1
0
        private void Start()
        {
            TCBasicA05 presetA = ScriptableObject.CreateInstance <TCBasicA05>();

            presetA.singleTime   = 0.1f;
            presetA.interval     = 0.3f;
            presetA.loopInterval = 1.2f;

            AddAnimatextComponent(textA, new Effect(presetA, generalParamGroup));


            TWBasicA05 presetB = ScriptableObject.CreateInstance <TWBasicA05>();

            presetB.singleTime   = 0.1f;
            presetB.interval     = 0.6f;
            presetB.loopInterval = 1.5f;

            AddAnimatextComponent(textB, new Effect(presetB, generalParamGroup));


            TLBasicA05 presetC = ScriptableObject.CreateInstance <TLBasicA05>();

            presetC.singleTime   = 0.1f;
            presetC.interval     = 0.9f;
            presetC.loopInterval = 1.8f;

            AddAnimatextComponent(textC, new Effect(presetC, generalParamGroup));


            TGBasicA05 presetD = ScriptableObject.CreateInstance <TGBasicA05>();

            presetD.singleTime   = 0.1f;
            presetD.interval     = 0.6f;
            presetD.loopInterval = 1.5f;

            AddAnimatextComponent(textD, new Effect(presetD, generalParamGroup));
        }
Beispiel #2
0
        private void Start()
        {
            TCBasicA05 A1 = ScriptableObject.CreateInstance <TCBasicA05>();

            A1.singleTime = characterSingleTimeA;
            A1.easingType = easingTypeA;

            presetA1 = A1;

            TCBasicA05 A2 = ScriptableObject.CreateInstance <TCBasicA05>();

            A2.singleTime = characterSingleTimeB;
            A2.easingType = easingTypeB;

            presetA2 = A2;

            TCBasicA05 A3 = ScriptableObject.CreateInstance <TCBasicA05>();

            A3.singleTime = characterSingleTimeC;
            A3.easingType = easingTypeC;

            presetA3 = A3;

            TCBasicA05 A4 = ScriptableObject.CreateInstance <TCBasicA05>();

            A4.singleTime = characterSingleTimeD;
            A4.easingType = easingTypeD;

            presetA4 = A4;

            TWBasicA05 B1 = ScriptableObject.CreateInstance <TWBasicA05>();

            B1.singleTime = wordSingleTimeA;
            B1.easingType = easingTypeA;

            presetB1 = B1;

            TWBasicA05 B2 = ScriptableObject.CreateInstance <TWBasicA05>();

            B2.singleTime = wordSingleTimeB;
            B2.easingType = easingTypeB;

            presetB2 = B2;

            TWBasicA05 B3 = ScriptableObject.CreateInstance <TWBasicA05>();

            B3.singleTime = wordSingleTimeC;
            B3.easingType = easingTypeC;

            presetB3 = B3;

            TWBasicA05 B4 = ScriptableObject.CreateInstance <TWBasicA05>();

            B4.singleTime = wordSingleTimeD;
            B4.easingType = easingTypeD;

            presetB4 = B4;

            TLBasicA05 C1 = ScriptableObject.CreateInstance <TLBasicA05>();

            C1.singleTime = lineSingleTimeA;
            C1.easingType = easingTypeA;

            presetC1 = C1;

            TLBasicA05 C2 = ScriptableObject.CreateInstance <TLBasicA05>();

            C2.singleTime = lineSingleTimeB;
            C2.easingType = easingTypeB;

            presetC2 = C2;

            TLBasicA05 C3 = ScriptableObject.CreateInstance <TLBasicA05>();

            C3.singleTime = lineSingleTimeC;
            C3.easingType = easingTypeC;

            presetC3 = C3;

            TLBasicA05 C4 = ScriptableObject.CreateInstance <TLBasicA05>();

            C4.singleTime = lineSingleTimeD;
            C4.easingType = easingTypeD;

            presetC4 = C4;

            TGBasicA05 D1 = ScriptableObject.CreateInstance <TGBasicA05>();

            D1.singleTime = groupSingleTimeA;
            D1.easingType = easingTypeA;

            presetD1 = D1;

            TGBasicA05 D2 = ScriptableObject.CreateInstance <TGBasicA05>();

            D2.singleTime = groupSingleTimeB;
            D2.easingType = easingTypeB;

            presetD2 = D2;

            TGBasicA05 D3 = ScriptableObject.CreateInstance <TGBasicA05>();

            D3.singleTime = groupSingleTimeC;
            D3.easingType = easingTypeC;

            presetD3 = D3;

            TGBasicA05 D4 = ScriptableObject.CreateInstance <TGBasicA05>();

            D4.singleTime = groupSingleTimeD;
            D4.easingType = easingTypeD;

            presetD4 = D4;

            AddAnimatextComponents();
        }
Beispiel #3
0
        private void Start()
        {
            TCBasicA05 presetA1 = ScriptableObject.CreateInstance <TCBasicA05>();

            presetA1.singleTime   = 0.1f;
            presetA1.interval     = 0.1f;
            presetA1.loopInterval = 1f;

            AddAnimatextComponent(textA1, new Effect(presetA1, generalParamGroup));

            TWBasicA05 presetA2 = ScriptableObject.CreateInstance <TWBasicA05>();

            presetA2.singleTime   = 0.2f;
            presetA2.interval     = 1f;
            presetA2.loopInterval = 1f;

            AddAnimatextComponent(textA2, new Effect(presetA2, generalParamGroup));

            TLBasicA05 presetA3 = ScriptableObject.CreateInstance <TLBasicA05>();

            presetA3.singleTime   = 0.2f;
            presetA3.interval     = 1.2f;
            presetA3.loopInterval = 2f;

            AddAnimatextComponent(textA3, new Effect(presetA3, generalParamGroup));

            TGBasicA05 presetA4 = ScriptableObject.CreateInstance <TGBasicA05>();

            presetA4.singleTime   = 0.2f;
            presetA4.interval     = 0.5f;
            presetA4.loopInterval = 1f;

            AddAnimatextComponent(textA4, new Effect(presetA4, generalParamGroup));

            TLBasicA01 presetB1 = ScriptableObject.CreateInstance <TLBasicA01>();

            presetB1.singleTime   = 1.2f;
            presetB1.interval     = 1.2f;
            presetB1.loopInterval = 1f;
            presetB1.position     = new Vector2(0, 30);

            AddAnimatextComponent(textB1, new Effect(presetB1, generalParamGroup));

            CLBasicA01 presetB2 = ScriptableObject.CreateInstance <CLBasicA01>();

            presetB2.singleTime       = 1.2f;
            presetB2.interval         = 1.2f;
            presetB2.loopInterval     = 1f;
            presetB2.position         = new Vector2(0, 30);
            presetB2.continuousEasing = true;

            AddAnimatextComponent(textB2, new Effect(presetB2, generalParamGroup));

            TLBasicA01 presetC1 = ScriptableObject.CreateInstance <TLBasicA01>();

            presetC1.singleTime   = 1.2f;
            presetC1.interval     = 1.2f;
            presetC1.loopInterval = 1f;
            presetC1.position     = new Vector2(0, 30);

            AddAnimatextComponent(textC1, new Effect(presetC1, generalParamGroup));

            TLBounceA03 presetC2 = ScriptableObject.CreateInstance <TLBounceA03>();

            presetC2.singleTime   = 1.2f;
            presetC2.interval     = 1.2f;
            presetC2.loopInterval = 1f;

            AddAnimatextComponent(textC2, new Effect(presetC2, generalParamGroup));

            TLElasticA02 presetC3 = ScriptableObject.CreateInstance <TLElasticA02>();

            presetC3.singleTime   = 1.2f;
            presetC3.interval     = 1.2f;
            presetC3.loopInterval = 1f;
            presetC3.rotation     = 15;
            presetC3.stiffness    = 3;

            AddAnimatextComponent(textC3, new Effect(presetC3, generalParamGroup));
        }