Esempio n. 1
0
 protected override void ReleaseSelf(bool calledDestroy)
 {
     if (SystemConfig.IsReleaseResourceOn)
     {
         this.ResetRoleModel();
         EquipShowUIView.Instance = null;
         base.ReleaseSelf(true);
     }
 }
Esempio n. 2
0
 private void Awake()
 {
     EquipShowUIView.Instance = this;
     base.AwakeBase(BindingContext.BindingContextMode.MonoBinding, false);
     this.TextName        = base.FindTransform("TextName").GetComponent <Text>();
     this.ImageTouchPlace = base.FindTransform("ImageTouchPlace").get_gameObject();
     this.ImageActor      = base.FindTransform("RawImageActor").GetComponent <RawImage>();
     this.TextFightNum    = base.FindTransform("TextFightNum").GetComponent <Text>();
     this.TextLevel       = base.FindTransform("TextLevel").GetComponent <Text>();
 }