private void Awake() { this.eMojiCtrl = base.transform.Find("child/child/body/Emotion_BG").GetComponent <GoodsEventEmojiCtrl>(); this.ani = base.transform.Find("child").GetComponent <Animation>(); this.ani[this.MissAction].time = this.ani[this.MissAction].clip.length; this.ani[this.MissAction].speed = -1f; this.ani.Play(this.MissAction); }
private void Awake() { this.mSphere = base.GetComponent <SphereCollider>(); this.eMojiCtrl = base.transform.Find("child/child/body/Emotion_BG").GetComponent <GoodsEventEmojiCtrl>(); this.shadow = base.transform.Find("child/shadow").gameObject; this.ani = base.transform.Find("child").GetComponent <Animation>(); this.starttime = Updater.AliveTime; if (this.windowID == WindowID.WindowID_EventBlackShop) { this.anispeed = 1.5f; SdkManager.send_event_mysteries("APPEAR", 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, string.Empty, string.Empty); } }