コード例 #1
0
ファイル: LuckDrawUI.cs プロジェクト: unseen-code/tianqi_src
 protected override void ReleaseSelf(bool calledDestroy)
 {
     if (SystemConfig.IsReleaseResourceOn)
     {
         LuckDrawUI.Instance = null;
         base.ReleaseSelf(true);
     }
 }
コード例 #2
0
ファイル: LuckDrawUI.cs プロジェクト: unseen-code/tianqi_src
 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();
 }