/// <summary> /// 获取售票口CD对象 /// </summary> private void GetSceneUIGameObject() { var entity = (this.fsmCtr as FSMMachineVisitor).ownerEntity; int index = EntryGateModule.GetPresentSceneTicketCell(entity.zooEntryID);//观光位置 visitCDGameObject = EntryGateModule.GetVisitCDGameObject(index); image_VisitCD = visitCDGameObject.transform.Find("Text_UI").Find("Image_Skill").GetComponent <Image>(); image_VisitCD.fillAmount = 0f; }
/// <summary> /// 获取售票口飘字对象 /// </summary> private void GetFlutterTextGameObject() { var entity = (this.fsmCtr as FSMMachineVisitor).ownerEntity; int index = EntryGateModule.GetPresentSceneTicketCell(entity.zooEntryID);//观光位置 image_VisitCD.fillAmount = 0f; //节点下的飘钱对象 EntryGateModule.GetFlutterTextGameObject(index); //金钱粒子特效 PlayEntrySimpleParticle(index); }