22 lines
809 B
C#
22 lines
809 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using System;
|
|
|
|
public class SocialRushStPatrickRewardItemView : ASocialRushRewardItemView
|
|
{
|
|
public override async System.Threading.Tasks.Task PlayClaimed()
|
|
{
|
|
gameObject.SetActive(true);
|
|
aniMain.Play("EventSocialRushCommonGet");
|
|
await System.Threading.Tasks.Task.Delay(TimeSpan.FromSeconds(35f / 60f));
|
|
pointsLightLeft[0].SetActive(true);
|
|
pointsLightRight[0].SetActive(true);
|
|
// var length = aniPointsLeft.GetClip("EventSocialRushSaintPatrickLineLeft").length;
|
|
var length = aniPointsLeft.clip.length;
|
|
await System.Threading.Tasks.Task.Delay(TimeSpan.FromSeconds(length));
|
|
fxLeftList[0].SetActive(true);
|
|
fxRightList[0].SetActive(true);
|
|
}
|
|
}
|