Exemplo n.º 1
0
 protected override void ReleaseSelf(bool calledDestroy)
 {
     if (SystemConfig.IsReleaseResourceOn)
     {
         LuckDrawUI.Instance = null;
         base.ReleaseSelf(true);
     }
 }
Exemplo n.º 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();
 }