浏览代码

Merge branch 'main' of github.com:UnityTechnologies/open-project-1

/main
Ciro Continisio 3 年前
当前提交
1b98a3e3
共有 33 个文件被更改,包括 381 次插入46 次删除
  1. 18
      UOP1_Project/Assets/Art/Props/Food/CritterSeeds/critterSeed.mat
  2. 4
      UOP1_Project/Assets/LocalizationFiles/AssetTables/QuestSystem/Questline Dialogue_en.asset
  3. 2
      UOP1_Project/Assets/Prefabs/Characters/PlantCritter.prefab
  4. 2
      UOP1_Project/Assets/Scenes/Menus/MainMenu.unity
  5. 7
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/Seed.asset
  6. 1
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Q1-QL1.asset
  7. 3
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step1/S1-Q1-QL1.asset
  8. 2
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step2/SD-S2-Q1-QL1.asset
  9. 12
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step3/CD-S3-Q1-QL1.asset
  10. 1
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step3/S3-Q1-QL1.asset
  11. 6
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step3/SD-S3-Q1-QL1.asset
  12. 2
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step5/SD-S5-Q1-QL1.asset
  13. 2
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline2/Quest1/Step3/SD-S3-Q1-QL2.asset
  14. 2
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline2/Quest2/Step2/SD-S2-Q2-QL2.asset
  15. 1
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Q1-QL4.asset
  16. 2
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step3/CD-S3-Q1-QL4.asset
  17. 2
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step3/ID-S3-Q1-QL4.asset
  18. 6
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step3/S3-Q1-QL4.asset
  19. 4
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step3/SD-S3-Q1-QL4.asset
  20. 7
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step4/CD-S4-Q1-QL4.asset
  21. 1
      UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step4/S4-Q1-QL4.asset
  22. 6
      UOP1_Project/Assets/ScriptableObjects/SaveSystem/SaveSystem.asset
  23. 1
      UOP1_Project/Assets/Scripts/Inventory/InventoryManager.cs
  24. 5
      UOP1_Project/Assets/Scripts/Quests/QuestManager.asset
  25. 14
      UOP1_Project/Assets/Scripts/Quests/QuestManagerSO.cs
  26. 5
      UOP1_Project/Assets/Scripts/SaveSystem/FileManager.cs
  27. 172
      UOP1_Project/Assets/Prefabs/Droppable/Collectable_Seed.prefab
  28. 7
      UOP1_Project/Assets/Prefabs/Droppable/Collectable_Seed.prefab.meta
  29. 95
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Icons/Icon_Seed.png
  30. 20
      UOP1_Project/Assets/ScriptableObjects/StateMachine/Config/PlantCritterReward.asset
  31. 8
      UOP1_Project/Assets/ScriptableObjects/StateMachine/Config/PlantCritterReward.asset.meta
  32. 7
      UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Icons/Apple copy.png
  33. 0
      /UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Icons/Icon_Seed.png.meta

18
UOP1_Project/Assets/Art/Props/Food/CritterSeeds/critterSeed.mat


m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- Texture2D_300EB541:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}

m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Vector1_8606F96E: 0
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1

- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _SpecularColor: {r: 0, g: 0, b: 0, a: 0}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}
m_BuildTextureStacks: []
--- !u!114 &970521707829791027
MonoBehaviour:
m_ObjectHideFlags: 11

4
UOP1_Project/Assets/LocalizationFiles/AssetTables/QuestSystem/Questline Dialogue_en.asset


m_Localized: Ok come back when you have it
m_Metadata:
m_Items: []
- m_Id: 51002952604573696
m_Localized: You are welcome
m_Metadata:
m_Items: []
references:
version: 1

2
UOP1_Project/Assets/Prefabs/Characters/PlantCritter.prefab


_healthConfigSO: {fileID: 11400000, guid: 301a61db8a2a4ef408992e723f0b6b53, type: 2}
_getHitEffectSO: {fileID: 11400000, guid: b025ed16ca528cd4da2ec4afe52db2d4, type: 2}
_mainMeshRenderer: {fileID: 855856000742017355}
_droppableRewardSO: {fileID: 11400000, guid: 6158158d6ef9a3d47827f7851295bcef, type: 2}
_droppableRewardSO: {fileID: 11400000, guid: d931c8048a12ddc42abba9e390bd608f, type: 2}
--- !u!114 &5617243883715629265
MonoBehaviour:
m_ObjectHideFlags: 0

2
UOP1_Project/Assets/Scenes/Menus/MainMenu.unity


m_Script: {fileID: 11500000, guid: 45ecefb9fe27f1f4b8cf3ecc3fad707c, type: 3}
m_Name:
m_EditorClassIdentifier:
_locationsToLoad: {fileID: 11400000, guid: 1514f833150a79e4c9d242f58bdbcbc0, type: 2}
_locationsToLoad: {fileID: 11400000, guid: 2f386bbc670c05145834a0f9c7d55798, type: 2}
_showLoadScreen: 1
_saveSystem: {fileID: 11400000, guid: edc355c4a7d5028408d322b90814e19e, type: 2}
_startGameEvent: {fileID: 11400000, guid: 00e3063edc5902e40832ea618644c597, type: 2}

7
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Items/QuestItems/Seed.asset


m_KeyId: 75354930851733504
m_Key:
m_FallbackState: 0
_previewImage: {fileID: 0}
m_WaitForCompletion: 1
_previewImage: {fileID: 21300000, guid: 1e84374e0e280473b8680d37be006d4c, type: 3}
_description:
m_TableReference:
m_TableCollectionName: GUID:63bf683e4210c4e48a201dfa773125d5

m_FallbackState: 0
m_WaitForCompletion: 1
_prefab: {fileID: 0}
_prefab: {fileID: 7465331494643049025, guid: aba512b95c55f634e92258733580acb9, type: 3}
_ingredientsList: []
_resultingDish: {fileID: 0}
_isLocalized: 0

m_KeyId: 0
m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1

1
UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Q1-QL1.asset


m_Script: {fileID: 11500000, guid: b4f9c8aa1ce987b4799f7093a99181a9, type: 3}
m_Name: Q1-QL1
m_EditorClassIdentifier:
_guid: 2419d670f41b60f45939ba1637631315
_idQuest: 1
_steps:
- {fileID: 11400000, guid: 2187c1f18f6f9ae4bbd10f33a1871d8e, type: 2}

3
UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step1/S1-Q1-QL1.asset


m_Script: {fileID: 11500000, guid: 3c4c03cb18bdd224b898e0687da8d1ac, type: 3}
m_Name: S1-Q1-QL1
m_EditorClassIdentifier:
_guid: 2187c1f18f6f9ae4bbd10f33a1871d8e
_actor: {fileID: 11400000, guid: 027d026cf519df04eb8b7bf251472e13, type: 2}
_dialogueBeforeStep: {fileID: 11400000, guid: 5a6e0fec2011b0a499c3d5825198b724,
type: 2}

_type: 0
_isDone: 0
_isDone: 1
_endStepEvent: {fileID: 0}

2
UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step2/SD-S2-Q1-QL1.asset


m_FallbackState: 0
m_WaitForCompletion: 1
_nextDialogue: {fileID: 0}
_actionType: 0
_actionType: 1
- _response:
m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3

12
UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step3/CD-S3-Q1-QL1.asset


m_Script: {fileID: 11500000, guid: a0c0171b565b4074a9462307824be26c, type: 3}
m_Name: CD-S3-Q1-QL1
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: 027d026cf519df04eb8b7bf251472e13, type: 2}
_actor: {fileID: 0}
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3
m_TableCollectionName: Questline Dialogue
m_KeyId: 21419501962518528
m_Key:
m_KeyId: 0
m_Key: L1-CD-S3-Q1-QL1
m_WaitForCompletion: 0
m_WaitForCompletion: 1
_dialogueType: 3
_dialogueType: 1

1
UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step3/S3-Q1-QL1.asset


m_Script: {fileID: 11500000, guid: 3c4c03cb18bdd224b898e0687da8d1ac, type: 3}
m_Name: S3-Q1-QL1
m_EditorClassIdentifier:
_guid: 081f946471c1cce4da8b7d99e82e7b40
_actor: {fileID: 11400000, guid: 027d026cf519df04eb8b7bf251472e13, type: 2}
_dialogueBeforeStep: {fileID: 11400000, guid: 08330fe80fc97eb4e8fd3f9bb2bfdcc3,
type: 2}

6
UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step3/SD-S3-Q1-QL1.asset


m_Key:
m_FallbackState: 0
m_WaitForCompletion: 1
_nextDialogue: {fileID: 11400000, guid: cad4cc194b595b545ba1ca5333d6531d, type: 2}
_choiceClickedEvent: {fileID: 0}
_playDialogueEvent: {fileID: 11400000, guid: 5cfe626f5482b914a9e46ebbe35ea1a8,
type: 2}
_nextDialogue: {fileID: 0}
_actionType: 1
_dialogueType: 0

2
UOP1_Project/Assets/ScriptableObjects/Quests/Questline1/Quest1/Step5/SD-S5-Q1-QL1.asset


m_FallbackState: 0
m_WaitForCompletion: 1
_nextDialogue: {fileID: 0}
_actionType: 0
_actionType: 1
- _response:
m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3

2
UOP1_Project/Assets/ScriptableObjects/Quests/Questline2/Quest1/Step3/SD-S3-Q1-QL2.asset


m_FallbackState: 0
m_WaitForCompletion: 1
_nextDialogue: {fileID: 0}
_actionType: 0
_actionType: 1
- _response:
m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3

2
UOP1_Project/Assets/ScriptableObjects/Quests/Questline2/Quest2/Step2/SD-S2-Q2-QL2.asset


m_FallbackState: 0
m_WaitForCompletion: 1
_nextDialogue: {fileID: 0}
_actionType: 0
_actionType: 1
- _response:
m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3

1
UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Q1-QL4.asset


m_Script: {fileID: 11500000, guid: b4f9c8aa1ce987b4799f7093a99181a9, type: 3}
m_Name: Q1-QL4
m_EditorClassIdentifier:
_guid: 49d3b696f23bb1a42b920c18d4bbfd8f
_idQuest: 1
_steps:
- {fileID: 11400000, guid: 54ec3687943b4f648a4742db4f07901f, type: 2}

2
UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step3/CD-S3-Q1-QL4.asset


m_Script: {fileID: 11500000, guid: a0c0171b565b4074a9462307824be26c, type: 3}
m_Name: CD-S3-Q1-QL4
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: f69d689cc127a104ba12b6a06cad8bf8, type: 2}
_actor: {fileID: 0}
_dialogueLines:
- m_TableReference:
m_TableCollectionName: Questline Dialogue

2
UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step3/ID-S3-Q1-QL4.asset


m_Script: {fileID: 11500000, guid: a0c0171b565b4074a9462307824be26c, type: 3}
m_Name: ID-S3-Q1-QL4
m_EditorClassIdentifier:
_actor: {fileID: 11400000, guid: f69d689cc127a104ba12b6a06cad8bf8, type: 2}
_actor: {fileID: 0}
_dialogueLines:
- m_TableReference:
m_TableCollectionName: Questline Dialogue

6
UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step3/S3-Q1-QL4.asset


m_Script: {fileID: 11500000, guid: 3c4c03cb18bdd224b898e0687da8d1ac, type: 3}
m_Name: S3-Q1-QL4
m_EditorClassIdentifier:
_guid: c0990e60e5858ed48b0add09c1895572
_completeDialogue: {fileID: 0}
_incompleteDialogue: {fileID: 0}
_completeDialogue: {fileID: 11400000, guid: 3f5d67fc13b226040865b8abdd8c2b7d, type: 2}
_incompleteDialogue: {fileID: 11400000, guid: d69361c4a016fde478566ac520ab817e,
type: 2}
_item: {fileID: 11400000, guid: 26e2059a5873f9a4ba3a38f5c2349365, type: 2}
_type: 2
_isDone: 0

4
UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step3/SD-S3-Q1-QL4.asset


m_FallbackState: 0
m_WaitForCompletion: 1
_nextDialogue: {fileID: 0}
_actionType: 0
_actionType: 1
- _response:
m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3

m_FallbackState: 0
m_WaitForCompletion: 1
_nextDialogue: {fileID: 11400000, guid: d69361c4a016fde478566ac520ab817e, type: 2}
_nextDialogue: {fileID: 0}
_actionType: 0
_dialogueType: 0

7
UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step4/CD-S4-Q1-QL4.asset


_actor: {fileID: 0}
_dialogueLines:
- m_TableReference:
m_TableCollectionName: GUID:f81a49615d56c1a4fbbd14b4569b06f3
m_TableCollectionName: Questline Dialogue
m_KeyId: 21419501962518528
m_Key:
m_KeyId: 0
m_Key: L1-CD-S4-Q1-QL4
m_WaitForCompletion: 1
_choices: []
_dialogueType: 1

1
UOP1_Project/Assets/ScriptableObjects/Quests/Questline4/Quest1/Step4/S4-Q1-QL4.asset


m_Script: {fileID: 11500000, guid: 3c4c03cb18bdd224b898e0687da8d1ac, type: 3}
m_Name: S4-Q1-QL4
m_EditorClassIdentifier:
_guid: 6399425d00d3d184b83bf64febb562e0
_actor: {fileID: 11400000, guid: f69d689cc127a104ba12b6a06cad8bf8, type: 2}
_dialogueBeforeStep: {fileID: 11400000, guid: 5075a9a8b248c8b4ab2353b8f9d31a9c,
type: 2}

6
UOP1_Project/Assets/ScriptableObjects/SaveSystem/SaveSystem.asset


saveFilename: save.chop
backupSaveFilename: save.chop.bak
saveData:
_locationId: d102ba8fe3b291249aeb9de4b95c1904
_itemStacks:
- itemGuid: 0a7c779a15b2c4143ae2068725b8ece9
amount: 1
_locationId: 1514f833150a79e4c9d242f58bdbcbc0
_itemStacks: []
_finishedQuestlineItemsGUIds: []

1
UOP1_Project/Assets/Scripts/Inventory/InventoryManager.cs


}
_saveSystem.SaveDataToDisk();

5
UOP1_Project/Assets/Scripts/Quests/QuestManager.asset


m_Name: QuestManager
m_EditorClassIdentifier:
_questlines:
- {fileID: 11400000, guid: 7b43c62a4fa974bbc82d5af43cc173ca, type: 2}
- {fileID: 11400000, guid: cff82743d25f94a4ab7ae60dcc0b25a9, type: 2}
- {fileID: 11400000, guid: 2a7356cec2e1bfa419e9adadf891d5a8, type: 2}
- {fileID: 11400000, guid: e53837a78a301d641bdd95eff3e7d220, type: 2}
- {fileID: 11400000, guid: 4056d228b0cfae143948cd1185e918f8, type: 2}
_inventory: {fileID: 11400000, guid: 59c84467f7726dc4587a8373b0936f03, type: 2}
_playWinningQuest: {fileID: 11400000, guid: cf85098764f74134e80c631a1a1a1709, type: 2}

type: 2}
_giveItemEvent: {fileID: 11400000, guid: c54b320c4205f1c49b296b878daf2097, type: 2}
_rewardItemEvent: {fileID: 11400000, guid: ceeec59dc461abd4f91dac5b07084d24, type: 2}
saveSystem: {fileID: 11400000, guid: edc355c4a7d5028408d322b90814e19e, type: 2}

14
UOP1_Project/Assets/Scripts/Quests/QuestManagerSO.cs


[SerializeField] private ItemEventChannelSO _giveItemEvent = default;
[SerializeField] private ItemEventChannelSO _rewardItemEvent = default;
[SerializeField] private SaveSystem saveSystem = default;
private QuestSO _currentQuest = null;
private QuestlineSO _currentQuestline;
private StepSO _currentStep;

//start Step
_currentStepIndex = 0;
_currentStepIndex = _currentQuest.Steps.FindIndex(o => o.IsDone == false);
Debug.Log("Step " + _currentStepIndex);
Debug.Log("Step done" + _currentQuest.Steps.FindIndex(o => o.IsDone));
if (_currentStepIndex >= 0)
StartStep();
}

}
void StartStep()
{
Debug.Log("StartStep");
if (_currentQuest.Steps != null)
if (_currentQuest.Steps.Count > _currentStepIndex)
{

if (_currentQuest.Steps.Count > _currentStepIndex)
{
_currentQuest.Steps[_currentStepIndex].FinishStep();
saveSystem.SaveDataToDisk();
}
else
{

}
}
void EndQuest()

{
saveSystem.SaveDataToDisk();
}
_currentQuest = null;
_currentQuestIndex = -1;
if (_currentQuestline != null)

if (_currentQuestline != null)
{
_currentQuestline.FinishQuestline();
saveSystem.SaveDataToDisk();
}

5
UOP1_Project/Assets/Scripts/SaveSystem/FileManager.cs


public static bool LoadFromFile(string fileName, out string result)
{
var fullPath = Path.Combine(Application.persistentDataPath, fileName);
if(!File.Exists(fullPath))
{
File.WriteAllText(fullPath, "");
}
try
{
result = File.ReadAllText(fullPath);

172
UOP1_Project/Assets/Prefabs/Droppable/Collectable_Seed.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1001 &3507167653204633186
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 1443417100705198942}
m_Modifications:
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalScale.x
value: 3.6244
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalScale.y
value: 3.6244
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalScale.z
value: 3.6244
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalPosition.x
value: 0.00074900547
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalPosition.y
value: -0.058876216
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalPosition.z
value: 0.040355057
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.48040026
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.5852523
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalRotation.y
value: 0.59196806
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.2761688
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: -62.783
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 147.535
objectReference: {fileID: 0}
- target: {fileID: -8679921383154817045, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: -69.199
objectReference: {fileID: 0}
- target: {fileID: -7511558181221131132, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID: 2100000, guid: d89b7561253f4d84f81d56b33fdbfb3a, type: 2}
- target: {fileID: 919132149155446097, guid: b59aa5bc28d1be344887bffa8e0b7e92,
type: 3}
propertyPath: m_Name
value: critterSeed
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b59aa5bc28d1be344887bffa8e0b7e92, type: 3}
--- !u!1001 &8798074038123614948
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_RootOrder
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_LocalPosition.x
value: -0.000000009238796
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_LocalPosition.y
value: 0.0010264516
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_LocalPosition.z
value: 0.039226
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_LocalRotation.w
value: 0.95968795
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_LocalRotation.x
value: -0.02511383
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_LocalRotation.y
value: -0.27984783
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_LocalRotation.z
value: 0.007323269
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: -2.528
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: -32.549
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616352, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 1.612
objectReference: {fileID: 0}
- target: {fileID: 2126586097156616356, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: _currentItem
value:
objectReference: {fileID: 11400000, guid: 42396f680e5649c4b91e2b29ff34f811,
type: 2}
- target: {fileID: 2126586097156616357, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
propertyPath: m_Name
value: Collectable_Seed
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 0f60adbc96570cb4e9898a0409956f1d, type: 3}
--- !u!4 &1443417100705198942 stripped
Transform:
m_CorrespondingSourceObject: {fileID: 7931126524805128634, guid: 0f60adbc96570cb4e9898a0409956f1d,
type: 3}
m_PrefabInstance: {fileID: 8798074038123614948}
m_PrefabAsset: {fileID: 0}

7
UOP1_Project/Assets/Prefabs/Droppable/Collectable_Seed.prefab.meta


fileFormatVersion: 2
guid: aba512b95c55f634e92258733580acb9
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

95
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Icons/Icon_Seed.png

之前 之后
宽度: 300  |  高度: 300  |  大小: 23 KiB

20
UOP1_Project/Assets/ScriptableObjects/StateMachine/Config/PlantCritterReward.asset


%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: 64cbe6eac594d2847ab007f73118655a, type: 3}
m_Name: PlantCritterReward
m_EditorClassIdentifier:
_scatteringDistance: 1.5
_dropGroups:
- _drops:
- _item: {fileID: 11400000, guid: 42396f680e5649c4b91e2b29ff34f811, type: 2}
_itemDropRate: 1
_dropRate: 1

8
UOP1_Project/Assets/ScriptableObjects/StateMachine/Config/PlantCritterReward.asset.meta


fileFormatVersion: 2
guid: d931c8048a12ddc42abba9e390bd608f
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:

7
UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Icons/Apple copy.png

之前 之后

/UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Icons/Apple copy.png.meta → /UOP1_Project/Assets/ScriptableObjects/Inventory/ScriptableObjects/Icons/Icon_Seed.png.meta

正在加载...
取消
保存