GitHub
4 年前
当前提交
fa209161
共有 13 个文件被更改,包括 429 次插入 和 235 次删除
-
1Assets/Prefabs/Player.prefab
-
338Assets/Scenes/Store.unity
-
2Assets/ScriptableObjects/GameManager.asset
-
6Assets/Scripts/GameManagerSO.cs
-
11Assets/Scripts/PlayerConfigurator.cs
-
96Assets/Scripts/Store.cs
-
12UserSettings/EditorUserSettings.asset
-
147Assets/Prefabs/Dino_Store Variant.prefab
-
7Assets/Prefabs/Dino_Store Variant.prefab.meta
-
8Assets/Scripts/Tools.meta
-
25Assets/Scripts/Tools/CacheUtilities.cs
-
11Assets/Scripts/Tools/CacheUtilities.cs.meta
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!1 &99641489 |
|||
GameObject: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
serializedVersion: 6 |
|||
m_Component: |
|||
- component: {fileID: 99641490} |
|||
m_Layer: 0 |
|||
m_Name: Hat Attach Point |
|||
m_TagString: Untagged |
|||
m_Icon: {fileID: 0} |
|||
m_NavMeshLayer: 0 |
|||
m_StaticEditorFlags: 0 |
|||
m_IsActive: 1 |
|||
--- !u!4 &99641490 |
|||
Transform: |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 99641489} |
|||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} |
|||
m_LocalPosition: {x: 0, y: 0, z: 0} |
|||
m_LocalScale: {x: 1, y: 1, z: 1} |
|||
m_Children: [] |
|||
m_Father: {fileID: 2822599031909793820} |
|||
m_RootOrder: 0 |
|||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} |
|||
--- !u!95 &2023127987 |
|||
Animator: |
|||
serializedVersion: 3 |
|||
m_ObjectHideFlags: 0 |
|||
m_CorrespondingSourceObject: {fileID: 0} |
|||
m_PrefabInstance: {fileID: 0} |
|||
m_PrefabAsset: {fileID: 0} |
|||
m_GameObject: {fileID: 7396894013401668915} |
|||
m_Enabled: 1 |
|||
m_Avatar: {fileID: 0} |
|||
m_Controller: {fileID: 9100000, guid: 67370538fb35c754ba6f64bd4fe3e9a3, type: 2} |
|||
m_CullingMode: 0 |
|||
m_UpdateMode: 0 |
|||
m_ApplyRootMotion: 0 |
|||
m_LinearVelocityBlending: 0 |
|||
m_WarningMessage: |
|||
m_HasTransformHierarchy: 1 |
|||
m_AllowConstantClipSamplingOptimization: 1 |
|||
m_KeepAnimatorControllerStateOnDisable: 0 |
|||
--- !u!1001 &7666923424576970850 |
|||
PrefabInstance: |
|||
m_ObjectHideFlags: 0 |
|||
serializedVersion: 2 |
|||
m_Modification: |
|||
m_TransformParent: {fileID: 0} |
|||
m_Modifications: |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_RootOrder |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalScale.x |
|||
value: 1.7941301 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalScale.y |
|||
value: 1.7941301 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalScale.z |
|||
value: 1.7941301 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.x |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.y |
|||
value: -2.0800216 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalPosition.z |
|||
value: -10.0020275 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.w |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.x |
|||
value: -0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.y |
|||
value: 0.9943846 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalRotation.z |
|||
value: -0.105826765 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.x |
|||
value: 12.150001 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.y |
|||
value: 180.00002 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: -8679921383154817045, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_LocalEulerAnglesHint.z |
|||
value: 0 |
|||
objectReference: {fileID: 0} |
|||
- target: {fileID: 919132149155446097, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
propertyPath: m_Name |
|||
value: Dino_Store |
|||
objectReference: {fileID: 0} |
|||
m_RemovedComponents: [] |
|||
m_SourcePrefab: {fileID: 100100000, guid: 9f5858cf2c3ec59428254c8fff5e9130, type: 3} |
|||
--- !u!1 &7396894013401668915 stripped |
|||
GameObject: |
|||
m_CorrespondingSourceObject: {fileID: 919132149155446097, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 7666923424576970850} |
|||
m_PrefabAsset: {fileID: 0} |
|||
--- !u!4 &2822599031909793820 stripped |
|||
Transform: |
|||
m_CorrespondingSourceObject: {fileID: 5570250042315399294, guid: 9f5858cf2c3ec59428254c8fff5e9130, |
|||
type: 3} |
|||
m_PrefabInstance: {fileID: 7666923424576970850} |
|||
m_PrefabAsset: {fileID: 0} |
|
|||
fileFormatVersion: 2 |
|||
guid: 1231a5a0b4836214eac976942422be31 |
|||
PrefabImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: e5c863eaf57c6d246a1faa0ec2cc986c |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
using UnityEngine; |
|||
using UnityEditor; |
|||
|
|||
// Based on this script by kimsama: https://gist.github.com/kimsama/5530104
|
|||
public class CacheTools : ScriptableObject |
|||
{ |
|||
[MenuItem("Tools/Cache/Clean Cache")] |
|||
public static void CleanCache() |
|||
{ |
|||
if (Caching.ClearCache()) |
|||
{ |
|||
Debug.LogWarning("Successfully cleaned all caches."); |
|||
} |
|||
else |
|||
{ |
|||
Debug.LogWarning("Cache was in use."); |
|||
} |
|||
} |
|||
|
|||
[MenuItem("Tools/Cache/Clean Store")] |
|||
public static void CleanStore() |
|||
{ |
|||
// TODO: Clean up the current selected store
|
|||
} |
|||
} |
|
|||
fileFormatVersion: 2 |
|||
guid: 8db8ccfeff2cb314582b2d6c6be088d0 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue