更新,spine和很多优化

This commit is contained in:
FloatGaming
2026-02-24 05:36:08 +08:00
parent 14fb281d6f
commit d5c8966abd
2039 changed files with 348643 additions and 2589 deletions
@@ -0,0 +1,55 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &11400000
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e466864f7f62639409ff977964559aba, type: 3}
m_Name: 10100_usertasks
m_EditorClassIdentifier:
tasks:
- taskID: 10101
description: "\u767B\u5F55\u6E38\u620F"
taskType: 0
refreshFrequency: 1
targetValue: 1
rewardType: 0
rewardAmount: 0
addToTaskPool: 1
- taskID: 10102
description: "\u5B8C\u62103\u9996\u6B4C\u66F2"
taskType: 1
refreshFrequency: 1
targetValue: 3
rewardType: 0
rewardAmount: 0
addToTaskPool: 1
- taskID: 10103
description: "\u5B8C\u6210\u4E00\u6B2199\u8FDE\u51FB"
taskType: 2
refreshFrequency: 1
targetValue: 99
rewardType: 0
rewardAmount: 0
addToTaskPool: 1
- taskID: 10104
description: "\u8FBE\u5230\u4E00\u6B21\u603B\u52061000000"
taskType: 3
refreshFrequency: 1
targetValue: 1000000
rewardType: 0
rewardAmount: 0
addToTaskPool: 1
- taskID: 10105
description: "\u4F7F\u7528\u4E00\u6B21\u9644\u9B54\u4E4B\u74F6"
taskType: 5
refreshFrequency: 1
targetValue: 1
rewardType: 0
rewardAmount: 0
addToTaskPool: 0
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b13eed1a8b291e54b9a402f5da3c97d0
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,66 @@
using UnityEngine;
using System.Collections.Generic;
[CreateAssetMenu(fileName = "NewUserTasksPool", menuName = "DailyTask/UserTasksPool")]
public class userTasksPool : ScriptableObject
{
[Header("Task Definitions")]
public List<TaskDefinition> tasks = new List<TaskDefinition>();
[System.Serializable]
public class TaskDefinition
{
[Tooltip("Unique identifier for the task")]
public string taskID;
[Tooltip("Description of the task shown to the user")]
[TextArea(2, 4)]
public string description;
[Tooltip("Type of the task logic")]
public TaskType taskType;
[Tooltip("How often the task refreshes")]
public RefreshFrequency refreshFrequency;
[Tooltip("Target value to complete the task (e.g., 100 combo, 3 songs)")]
public float targetValue;
[Tooltip("Type of reward given upon completion")]
public RewardType rewardType;
[Tooltip("Quantity of the reward")]
public int rewardAmount;
[Tooltip("是否加入任务池")]
public bool addToTaskPool = true;
}
public enum TaskType
{
Login,
PlaySong,
FullCombo,
TotalScore,
WatchStory,
UseItem,
ShareGame
}
public enum RewardType
{
player_money,
player_material,
bottleOfEXP,
playerEXP
}
public enum RefreshFrequency
{
OnLogin,
DailyReset,
Never
}
}
@@ -0,0 +1,2 @@
fileFormatVersion: 2
guid: e466864f7f62639409ff977964559aba