备份CatanBuilding瘦身独立工程
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#if UNITY_2017_1_OR_NEWER
|
||||
using PlayFab.PfEditor;
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
public class MakeScriptableObject
|
||||
{
|
||||
[MenuItem("PlayFab/MakePlayFabSharedSettings")]
|
||||
public static void MakePlayFabSharedSettings()
|
||||
{
|
||||
PlayFabSharedSettings asset = ScriptableObject.CreateInstance<PlayFabSharedSettings>();
|
||||
|
||||
AssetDatabase.CreateAsset(asset, "Assets/PlayFabSdk/Shared/Public/Resources/PlayFabSharedSettings.asset"); // TODO: Path should not be hard coded
|
||||
AssetDatabase.SaveAssets();
|
||||
|
||||
EditorUtility.FocusProjectWindow();
|
||||
|
||||
Selection.activeObject = asset;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3e92542860dab28489c3d9cc0baa1ebd
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
38
LocalPackages/PlayFabSDK/Shared/Editor/PlayFabHelp.cs
Normal file
38
LocalPackages/PlayFabSDK/Shared/Editor/PlayFabHelp.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
namespace PlayFab.PfEditor
|
||||
{
|
||||
public static class PlayFabHelp
|
||||
{
|
||||
[MenuItem("PlayFab/GettingStarted")]
|
||||
private static void GettingStarted()
|
||||
{
|
||||
Application.OpenURL("https://docs.microsoft.com/en-us/gaming/playfab/index#pivot=documentation&panel=quickstarts");
|
||||
}
|
||||
|
||||
[MenuItem("PlayFab/Docs")]
|
||||
private static void Documentation()
|
||||
{
|
||||
Application.OpenURL("https://docs.microsoft.com/en-us/gaming/playfab/api-references/");
|
||||
}
|
||||
|
||||
[MenuItem("PlayFab/Dashboard")]
|
||||
private static void Dashboard()
|
||||
{
|
||||
Application.OpenURL("https://developer.playfab.com/");
|
||||
}
|
||||
|
||||
[MenuItem("PlayFab/Forum")]
|
||||
private static void Forum()
|
||||
{
|
||||
Application.OpenURL("https://community.playfab.com/index.html");
|
||||
}
|
||||
|
||||
[MenuItem("PlayFab/Provide Feedback")]
|
||||
private static void Feedback()
|
||||
{
|
||||
Application.OpenURL("https://playfab.com/contact/");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e51e733dabbc847fa839b19c01bc577c
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"name": "PlayFabSDKEditor",
|
||||
"references": [
|
||||
"PlayFab"
|
||||
],
|
||||
"includePlatforms": [
|
||||
"Editor"
|
||||
],
|
||||
"excludePlatforms": [],
|
||||
"allowUnsafeCode": false,
|
||||
"overrideReferences": false,
|
||||
"precompiledReferences": [],
|
||||
"autoReferenced": true,
|
||||
"defineConstraints": [],
|
||||
"versionDefines": []
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8aa8a8085039f0e4ba1c8d6480d45262
|
||||
AssemblyDefinitionImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
BIN
LocalPackages/PlayFabSDK/Shared/Editor/PlayFablogo.png
Normal file
BIN
LocalPackages/PlayFabSDK/Shared/Editor/PlayFablogo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3.4 KiB |
91
LocalPackages/PlayFabSDK/Shared/Editor/PlayFablogo.png.meta
Normal file
91
LocalPackages/PlayFabSDK/Shared/Editor/PlayFablogo.png.meta
Normal file
@@ -0,0 +1,91 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ec8f5065b10fb4f04bebf82a992c442e
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 10
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
mipMapsPreserveCoverage: 0
|
||||
alphaTestReferenceValue: 0.5
|
||||
mipMapFadeDistanceStart: 1
|
||||
mipMapFadeDistanceEnd: 3
|
||||
bumpmap:
|
||||
convertToNormalMap: 0
|
||||
externalNormalMap: 0
|
||||
heightScale: 0.25
|
||||
normalMapFilter: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: -1
|
||||
maxTextureSize: 1024
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: -1
|
||||
aniso: 16
|
||||
mipBias: -100
|
||||
wrapU: -1
|
||||
wrapV: -1
|
||||
wrapW: -1
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 1
|
||||
spriteExtrude: 1
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 100
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
alphaIsTransparency: 1
|
||||
spriteTessellationDetail: -1
|
||||
textureType: 8
|
||||
textureShape: 1
|
||||
singleChannelComponent: 0
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 1024
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
spritePackingTag:
|
||||
pSDRemoveMatte: 0
|
||||
pSDShowRemoveMatteOption: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user