private void overTask(MessageHandle msg) { if (msg != null && msg.buttonID == MessageHandle.BUTTON_LEFT) { return; } TaskCompleteFPort fport = FPortManager.Instance.getFPort("TaskCompleteFPort") as TaskCompleteFPort; fport.access(task.sid, win, getAward); }
private void onGetAwards(GameObject obj) { if (!TaskManagerment.Instance.isComplete(task)) { //receiveButton.disableButton(true); showMessage(false); return; } UiManager.Instance.applyMask(); TaskCompleteFPort fport = FPortManager.Instance.getFPort("TaskCompleteFPort") as TaskCompleteFPort; fport.access(task.sid, dailyContent, showMessage2); // TaskManagerment.Instance.completeTask (task.sid); // updateTask (task); }
private void overTask() { TaskCompleteFPort fport = FPortManager.Instance.getFPort("TaskCompleteFPort") as TaskCompleteFPort; fport.access(task.sid, win, getAward); }