Beispiel #1
0
 protected override void ReleaseSelf(bool calledDestroy)
 {
     if (SystemConfig.IsReleaseResourceOn)
     {
         LuckDrawUI.Instance = null;
         base.ReleaseSelf(true);
     }
 }
Beispiel #2
0
 private void Awake()
 {
     base.AwakeBase(BindingContext.BindingContextMode.MonoBinding, false);
     LuckDrawUI.Instance     = this;
     this.ImageTouchPlace    = base.FindTransform("ImageTouchPlace").get_gameObject();
     this.ImageActor         = base.FindTransform("RawImageActor").GetComponent <RawImage>();
     this.petAttor           = base.FindTransform("TextPetAttor").GetComponent <Text>();
     this.ButtonArea1Consume = base.FindTransform("ButtonArea1Consume").get_gameObject();
 }