示例#1
0
 private void OnDestroy()
 {
     UserInterfacePortManager.ReleaseUtils.Releases(ref mSprites_RewardMaterials);
     UserInterfacePortManager.ReleaseUtils.Release(ref mLabelTitle);
     UserInterfacePortManager.ReleaseUtils.Release(ref mLabelDescription);
     UserInterfacePortManager.ReleaseUtils.Release(ref mLabelFuelValue);
     UserInterfacePortManager.ReleaseUtils.Release(ref mLabelSteelValue);
     UserInterfacePortManager.ReleaseUtils.Release(ref mLabelAmmoValue);
     UserInterfacePortManager.ReleaseUtils.Release(ref mLabelBauxiteValue);
     UserInterfacePortManager.ReleaseUtils.Release(ref mLabelTitle);
     UserInterfacePortManager.ReleaseUtils.Release(ref mLabelTitle);
     UserInterfacePortManager.ReleaseUtils.Release(ref mLabelTitle);
     UserInterfacePortManager.ReleaseUtils.Release(ref mLabelTitle);
     mDutyStartButton          = null;
     mDutyDetailActionCallBack = null;
     mDutyModel     = null;
     mKeyController = null;
 }
示例#2
0
 public void SetDutyDetailCallBack(UIDutyDetailAction action)
 {
     mDutyDetailActionCallBack = action;
 }