Import 2D Level

This commit is contained in:
2026-04-30 00:53:30 +02:00
parent c67979c7cf
commit 5797038baf
479 changed files with 430785 additions and 0 deletions
@@ -0,0 +1,69 @@
%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: 8f107dc6d4c984c45bdafd3bb15f98f0, type: 3}
m_Name: 5 BuildAndPublish
m_EditorClassIdentifier:
TutorialTitle:
m_Untranslated: Build and publish
m_ProgressTrackingEnabled: 1
m_LessonId: 46146
m_Version: 1
m_ReturnToPreviousScenes: 1
m_SceneManagementBehavior: 0
m_Scenes:
- {fileID: 102900000, guid: 2cda990e2423bbf4892e6590ba056729, type: 3}
m_DefaultSceneCameraSettings:
m_CameraMode: 0
m_FocusMode: 0
m_Orthographic: 0
m_Size: 0
m_Pivot: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
m_FrameObject:
m_SceneGuid:
m_GameObjectGuid:
m_SerializedComponentType:
m_TypeName:
m_ComponentIndex: 0
m_AssetObject: {fileID: 0}
m_Prefab: {fileID: 0}
m_Enabled: 0
m_WindowLayout: {fileID: 0}
m_Pages:
m_Items:
- {fileID: 11400000, guid: 2e886da6f6aba0f47b6241a2700a78b9, type: 2}
- {fileID: 11400000, guid: fcca6e4cbcfd27e49bf16a7c3a6eb019, type: 2}
- {fileID: 11400000, guid: 97f3ee3958d87894d8f23cc258f28f0e, type: 2}
- {fileID: 11400000, guid: eb4604b43980b3740a07722643b2ecbe, type: 2}
- {fileID: 11400000, guid: 6ae3d723607a8634f95e896bf40b3ae5, type: 2}
CompletionDialog: {fileID: 0}
Modified:
m_PersistentCalls:
m_Calls: []
Initiated:
m_PersistentCalls:
m_Calls: []
PageInitiated:
m_PersistentCalls:
m_Calls: []
GoingBack:
m_PersistentCalls:
m_Calls: []
Completed:
m_PersistentCalls:
m_Calls: []
Quit:
m_PersistentCalls:
m_Calls: []
m_Scene: {fileID: 0}
m_TutorialTitle:
m_FaqEntries: []
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

@@ -0,0 +1,185 @@
%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: ff771ccdf4150419d9ff4d342b069aae, type: 3}
m_Name: BuildAndPublish 005
m_EditorClassIdentifier:
Title:
m_Untranslated: Build and publish
m_Paragraphs:
m_Items:
- m_Type: 9
Title:
m_Untranslated:
Text:
m_Untranslated:
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 2800000, guid: 5ab95756baccd446898f557557202c2b, type: 3}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 2800000, guid: f843e694150058147a4d96b3c2df4169, type: 3}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 1
m_UnmaskedViews:
- m_SelectorType: 1
m_ViewType:
m_TypeName:
m_FocusEditorWindow: 0
m_EditorWindowType:
m_TypeName: Unity.Tutorials.Core.Editor.TutorialWindow, Unity.Tutorials.Core.Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
m_AlternateEditorWindowTypes:
m_Items: []
m_MaskType: 0
m_MaskSizeModifier: 0
m_UnmaskedControls: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 0
Title:
m_Untranslated: Build and publish
Text:
m_Untranslated: "Publishing a Unity project lets you share your game on different
platforms, like mobile and web.\n\nIn this tutorial, you'll build your
project for the Web platform so that anyone with the link can instantly
and easily play your game. You\u2019ll then publish your game to <b>Unity
Play</b>, Unity\u2019s free web hosting platform.\n\n<b>Notes:</b>\n\n\u2022
Please keep in mind that building this Unity project can take some time."
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description: "Before you publish your game, have you tried adding some of
the LEGO\xAE <a href=\"https://learn.unity.com/project/lego-template\">Creative
Mods</a> to make it your own? \r\n\r\nWhen you\u2019re ready, this tutorial
will guide you through building and publishing your game so your friends
and family can play it on a dedicated webpage.\r\n\r\n<b>Notes:</b>\n\n\u2022
The Creative Mods link above will open the Unity Learn website in your default
browser.\n\n\u2022 Building this Unity project can take some time \u2014
please be patient when you complete this tutorial and publish your game.
\r"
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 1
Title:
m_Untranslated:
Text:
m_Untranslated: Select <b>Start</b> to begin.
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText: Select <b>Start</b> to begin.
m_TutorialButtonText:
m_CameraSettings:
m_CameraMode: 0
m_FocusMode: 0
m_Orthographic: 0
m_Size: 0
m_Pivot: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
m_FrameObject:
m_SceneGuid:
m_GameObjectGuid:
m_SerializedComponentType:
m_TypeName:
m_ComponentIndex: 0
m_AssetObject: {fileID: 0}
m_Prefab: {fileID: 0}
m_Enabled: 0
NextButton:
m_Untranslated: Start
DoneButton:
m_Untranslated: Done
m_CompletedSound: {fileID: 8300000, guid: 93fbb109633e844259ea828442bda0cb, type: 3}
m_FaqEntries: []
m_AutoAdvance: 0
Showing:
m_PersistentCalls:
m_Calls: []
Shown:
m_PersistentCalls:
m_Calls: []
Staying:
m_PersistentCalls:
m_Calls: []
CriteriaValidated:
m_PersistentCalls:
m_Calls: []
MaskingSettingsChanged:
m_PersistentCalls:
m_Calls: []
NonMaskingSettingsChanged:
m_PersistentCalls:
m_Calls: []
m_OnBeforePageShown:
m_PersistentCalls:
m_Calls: []
m_OnAfterPageShown:
m_PersistentCalls:
m_Calls: []
m_OnTutorialPageStay:
m_PersistentCalls:
m_Calls: []
m_OnBeforeTutorialQuit:
m_PersistentCalls:
m_Calls: []
m_NextButton: Start
m_DoneButton: Done
@@ -0,0 +1,219 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-4710486571970311243
MonoBehaviour:
m_ObjectHideFlags: 1
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: f095ab04ffe3b514c808035bb335fa56, type: 3}
m_Name:
m_EditorClassIdentifier:
Completed:
m_PersistentCalls:
m_Calls: []
Invalidated:
m_PersistentCalls:
m_Calls: []
isTesting: 1
m_EditorWindowType:
m_TypeName: UnityEditor.Build.Profile.BuildProfileWindow, UnityEditor.BuildProfileModule,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
m_CloseIfAlreadyOpen: 0
--- !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: ff771ccdf4150419d9ff4d342b069aae, type: 3}
m_Name: BuildAndPublish 010
m_EditorClassIdentifier:
Title:
m_Untranslated: Switch to the Web platform
m_Paragraphs:
m_Items:
- m_Type: 9
Title:
m_Untranslated:
Text:
m_Untranslated:
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 2800000, guid: 3158e76594f2c37418ede32eca8ee207, type: 3}
m_VideoUrl:
m_Video: {fileID: 32900000, guid: 5b7680371f1b34fe49c339038de4258f, type: 3}
m_Media:
m_ContentType: 0
m_Image: {fileID: 2800000, guid: ffadc6299cbd7084e960861aba9116cb, type: 3}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 1
m_UnmaskedViews:
- m_SelectorType: 1
m_ViewType:
m_TypeName:
m_FocusEditorWindow: 0
m_EditorWindowType:
m_TypeName: Unity.Tutorials.Core.Editor.TutorialWindow, Unity.Tutorials.Core.Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
m_AlternateEditorWindowTypes:
m_Items: []
m_MaskType: 0
m_MaskSizeModifier: 0
m_UnmaskedControls: []
- m_SelectorType: 1
m_ViewType:
m_TypeName:
m_FocusEditorWindow: 0
m_EditorWindowType:
m_TypeName: UnityEditor.Build.Profile.BuildProfileWindow, UnityEditor.BuildProfileModule,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
m_AlternateEditorWindowTypes:
m_Items: []
m_MaskType: 0
m_MaskSizeModifier: 0
m_UnmaskedControls: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 0
Title:
m_Untranslated:
Text:
m_Untranslated: Unity allows you to publish a single project to many different
platforms, including mobile, console, desktop, web, and more. To publish
your project to the web, you first need to switch to that platform.
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 1
Title:
m_Untranslated:
Text:
m_Untranslated: "Open <b>File</b> > <b>Build Profiles</b> and select <b>Web</b>
under the <b>Platforms</b> section.\n\nThen click <b>Switch Platform</b>
and wait for the process to complete. \n\n<b>Tip:</b> If <b>Web</b> appears
grayed out, choose <b>Install with Unity Hub</b> to add the <b>WebGL Build
Support</b> module. \nYou will have to restart Unity after you install
the WebGL module.\n\nOnce finished, your project will be ready for Web
deployment."
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items:
- Type:
m_TypeName: Unity.Tutorials.Core.Editor.EditorWindowCriterion, Unity.Tutorials.Core.Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Criterion: {fileID: -4710486571970311243}
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
m_CameraSettings:
m_CameraMode: 0
m_FocusMode: 0
m_Orthographic: 0
m_Size: 0
m_Pivot: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
m_FrameObject:
m_SceneGuid:
m_GameObjectGuid:
m_SerializedComponentType:
m_TypeName:
m_ComponentIndex: 0
m_AssetObject: {fileID: 0}
m_Prefab: {fileID: 0}
m_Enabled: 0
NextButton:
m_Untranslated: Next
DoneButton:
m_Untranslated: Done
m_CompletedSound: {fileID: 8300000, guid: 93fbb109633e844259ea828442bda0cb, type: 3}
m_FaqEntries: []
m_AutoAdvance: 0
Showing:
m_PersistentCalls:
m_Calls: []
Shown:
m_PersistentCalls:
m_Calls: []
Staying:
m_PersistentCalls:
m_Calls: []
CriteriaValidated:
m_PersistentCalls:
m_Calls: []
MaskingSettingsChanged:
m_PersistentCalls:
m_Calls: []
NonMaskingSettingsChanged:
m_PersistentCalls:
m_Calls: []
m_OnBeforePageShown:
m_PersistentCalls:
m_Calls: []
m_OnAfterPageShown:
m_PersistentCalls:
m_Calls: []
m_OnTutorialPageStay:
m_PersistentCalls:
m_Calls: []
m_OnBeforeTutorialQuit:
m_PersistentCalls:
m_Calls: []
m_NextButton:
m_DoneButton:
@@ -0,0 +1,242 @@
%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: ff771ccdf4150419d9ff4d342b069aae, type: 3}
m_Name: BuildAndPublish 013
m_EditorClassIdentifier:
Title:
m_Untranslated: Build your project
m_Paragraphs:
m_Items:
- m_Type: 9
Title:
m_Untranslated:
Text:
m_Untranslated:
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 2800000, guid: 8397db88d32d5418e8ebc7e6bb6ccafc, type: 3}
m_VideoUrl:
m_Video: {fileID: 32900000, guid: 18934230bcad14b3fb113e46ad744bc1, type: 3}
m_Media:
m_ContentType: 0
m_Image: {fileID: 2800000, guid: 310b8bc946ed99a44bb55fe022ccafa2, type: 3}
m_VideoClip: {fileID: 32900000, guid: be6e8647fd26ea14dbbdf95c39341796, type: 3}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 1
m_UnmaskedViews:
- m_SelectorType: 1
m_ViewType:
m_TypeName:
m_FocusEditorWindow: 0
m_EditorWindowType:
m_TypeName: Unity.Tutorials.Core.Editor.TutorialWindow, Unity.Tutorials.Core.Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
m_AlternateEditorWindowTypes:
m_Items: []
m_MaskType: 0
m_MaskSizeModifier: 0
m_UnmaskedControls: []
- m_SelectorType: 1
m_ViewType:
m_TypeName:
m_FocusEditorWindow: 0
m_EditorWindowType:
m_TypeName: UnityEditor.Build.Profile.BuildProfileWindow, UnityEditor.BuildProfileModule,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
m_AlternateEditorWindowTypes:
m_Items: []
m_MaskType: 0
m_MaskSizeModifier: 0
m_UnmaskedControls:
- m_SelectorMode: 5
m_SelectorMatchType: 0
m_GUIContent:
m_Text:
m_Image: {fileID: 0}
m_Tooltip:
m_TextWithWhitespace:
m_ControlName:
m_PropertyPath:
m_TargetType:
m_TypeName:
m_GUIStyleName:
m_ObjectReference:
m_SceneObjectReference:
m_SceneGuid:
m_GameObjectGuid:
m_SerializedComponentType:
m_TypeName:
m_ComponentIndex: 0
m_AssetObject: {fileID: 0}
m_Prefab: {fileID: 0}
m_FutureObjectReference: {fileID: 0}
m_VisualElementClassName:
m_VisualElementName: build-dropdown-button
m_VisualElementTypeName:
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 0
Title:
m_Untranslated:
Text:
m_Untranslated: Now that you've switched platforms, you can create a build
of your project. A <b>build</b> is a packaged, playable version of your
game that you create when you want people to play it outside the Unity
Editor.
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 1
Title:
m_Untranslated:
Text:
m_Untranslated: "In the <b>Build Profiles</b> window, select <b>Build</b>.
\nA file explorer will open to choose where to save your build. \n\n<b>Tip:</b>
Create a folder named \u201CWeb Builds\u201D to stay organized. \nOn Windows,
the build name matches the folder name; on macOS, you must enter a name
such as \u201C[YourProjectName] build 1.0\u201D. \n\nSelect <b>Select Folder</b>
(macOS: <b>Save</b>). \n\nThe first build may take up to ten minutes, but
later builds will be faster. \nWhen it finishes, the folder containing
your build will appear."
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items:
- Type:
m_TypeName: Unity.Tutorials.Core.Editor.BuildStartedCriterion, Unity.Tutorials.Core.Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
Criterion: {fileID: 959259174703485290}
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
m_CameraSettings:
m_CameraMode: 0
m_FocusMode: 0
m_Orthographic: 0
m_Size: 0
m_Pivot: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
m_FrameObject:
m_SceneGuid:
m_GameObjectGuid:
m_SerializedComponentType:
m_TypeName:
m_ComponentIndex: 0
m_AssetObject: {fileID: 0}
m_Prefab: {fileID: 0}
m_Enabled: 0
NextButton:
m_Untranslated: Next
DoneButton:
m_Untranslated: Done
m_CompletedSound: {fileID: 8300000, guid: 93fbb109633e844259ea828442bda0cb, type: 3}
m_FaqEntries: []
m_AutoAdvance: 1
Showing:
m_PersistentCalls:
m_Calls: []
Shown:
m_PersistentCalls:
m_Calls: []
Staying:
m_PersistentCalls:
m_Calls: []
CriteriaValidated:
m_PersistentCalls:
m_Calls: []
MaskingSettingsChanged:
m_PersistentCalls:
m_Calls: []
NonMaskingSettingsChanged:
m_PersistentCalls:
m_Calls: []
m_OnBeforePageShown:
m_PersistentCalls:
m_Calls: []
m_OnAfterPageShown:
m_PersistentCalls:
m_Calls: []
m_OnTutorialPageStay:
m_PersistentCalls:
m_Calls: []
m_OnBeforeTutorialQuit:
m_PersistentCalls:
m_Calls: []
m_NextButton:
m_DoneButton:
--- !u!114 &959259174703485290
MonoBehaviour:
m_ObjectHideFlags: 1
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: 17ecd043c7572b4429873c0f8ef1cae2, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.Tutorials.Core.Editor::Unity.Tutorials.Core.Editor.BuildStartedCriterion
Completed:
m_PersistentCalls:
m_Calls: []
Invalidated:
m_PersistentCalls:
m_Calls: []
isTesting: 1
@@ -0,0 +1,225 @@
%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: ff771ccdf4150419d9ff4d342b069aae, type: 3}
m_Name: BuildAndPublish 014
m_EditorClassIdentifier:
Title:
m_Untranslated: Publish to Unity Play
m_Paragraphs:
m_Items:
- m_Type: 9
Title:
m_Untranslated:
Text:
m_Untranslated:
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 2800000, guid: 9a16bbce5eded43a6888104b05ae9bd0, type: 3}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 2800000, guid: addf619741cbd5046b8b4ee31a95992e, type: 3}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 1
m_UnmaskedViews:
- m_SelectorType: 1
m_ViewType:
m_TypeName:
m_FocusEditorWindow: 0
m_EditorWindowType:
m_TypeName: Unity.Tutorials.Core.Editor.TutorialWindow, Unity.Tutorials.Core.Editor,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
m_AlternateEditorWindowTypes:
m_Items: []
m_MaskType: 0
m_MaskSizeModifier: 0
m_UnmaskedControls: []
- m_SelectorType: 1
m_ViewType:
m_TypeName:
m_FocusEditorWindow: 0
m_EditorWindowType:
m_TypeName: UnityEditor.Build.Profile.BuildProfileWindow, UnityEditor.BuildProfileModule,
Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
m_AlternateEditorWindowTypes:
m_Items: []
m_MaskType: 0
m_MaskSizeModifier: 0
m_UnmaskedControls:
- m_SelectorMode: 5
m_SelectorMatchType: 1
m_GUIContent:
m_Text:
m_Image: {fileID: 0}
m_Tooltip:
m_TextWithWhitespace:
m_ControlName:
m_PropertyPath:
m_TargetType:
m_TypeName:
m_GUIStyleName:
m_ObjectReference:
m_SceneObjectReference:
m_SceneGuid:
m_GameObjectGuid:
m_SerializedComponentType:
m_TypeName:
m_ComponentIndex: 0
m_AssetObject: {fileID: 0}
m_Prefab: {fileID: 0}
m_FutureObjectReference: {fileID: 0}
m_VisualElementClassName:
m_VisualElementName: additional-actions-dropdown-button
m_VisualElementTypeName:
- m_SelectorType: 1
m_ViewType:
m_TypeName:
m_FocusEditorWindow: 0
m_EditorWindowType:
m_TypeName: UnityEditor.WebGL.UnityPlay.UnityPlayUploadWindow, UnityEditor.WebGL.Extensions,
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_AlternateEditorWindowTypes:
m_Items: []
m_MaskType: 0
m_MaskSizeModifier: 0
m_UnmaskedControls: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 0
Title:
m_Untranslated:
Text:
m_Untranslated: With your build complete, you're ready to publish it to <b>Unity
Play</b>.
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 1
Title:
m_Untranslated:
Text:
m_Untranslated: "At the bottom of the <b>Build Profiles</b> window, select
<b>Publish to Play</b>. \n\nThis opens the <b>Publish to Unity Play</b>
window. \n\nSelect <b>Publish</b> to choose your most recent build, then
select <b>Publish</b> again to publish it as a <b>New game</b>. "
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
m_CameraSettings:
m_CameraMode: 0
m_FocusMode: 0
m_Orthographic: 0
m_Size: 0
m_Pivot: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
m_FrameObject:
m_SceneGuid:
m_GameObjectGuid:
m_SerializedComponentType:
m_TypeName:
m_ComponentIndex: 0
m_AssetObject: {fileID: 0}
m_Prefab: {fileID: 0}
m_Enabled: 0
NextButton:
m_Untranslated: Next
DoneButton:
m_Untranslated: Done
m_CompletedSound: {fileID: 8300000, guid: 93fbb109633e844259ea828442bda0cb, type: 3}
m_FaqEntries: []
m_AutoAdvance: 1
Showing:
m_PersistentCalls:
m_Calls: []
Shown:
m_PersistentCalls:
m_Calls: []
Staying:
m_PersistentCalls:
m_Calls: []
CriteriaValidated:
m_PersistentCalls:
m_Calls: []
MaskingSettingsChanged:
m_PersistentCalls:
m_Calls: []
NonMaskingSettingsChanged:
m_PersistentCalls:
m_Calls: []
m_OnBeforePageShown:
m_PersistentCalls:
m_Calls: []
m_OnAfterPageShown:
m_PersistentCalls:
m_Calls: []
m_OnTutorialPageStay:
m_PersistentCalls:
m_Calls: []
m_OnBeforeTutorialQuit:
m_PersistentCalls:
m_Calls: []
m_NextButton:
m_DoneButton:
@@ -0,0 +1,195 @@
%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: ff771ccdf4150419d9ff4d342b069aae, type: 3}
m_Name: buildAndPublish 015
m_EditorClassIdentifier: Unity.Tutorials.Core.Editor::Unity.Tutorials.Core.Editor.TutorialPage
Title:
m_Untranslated: Share your game
m_Paragraphs:
m_Items:
- m_Type: 9
Title:
m_Untranslated:
Text:
m_Untranslated:
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 2800000, guid: 6cfb2b038fd554ea98621af589e38de2, type: 3}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 0
Title:
m_Untranslated: Page title
Text:
m_Untranslated: "You\u2019re almost ready to share! Before you do, add some
details for your game directly on Unity Play: a title, description, and
a thumbnail, if you like.\n\nIt\u2019s also a good idea to test one more
time, to make sure that everything works as expected.\n\n<b>Your journey
doesn't end here:</b>\n\n\u2022 When you\u2019re ready, share the link
so others can play your game!"
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 1
Title:
m_Untranslated:
Text:
m_Untranslated: 'Select <b>Tutorial 6: What''s next?</b> to continue directly,
or <b>Done</b> to return to the tutorial overview.'
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 0}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
- m_Type: 2
Title:
m_Untranslated:
Text:
m_Untranslated: 'Tutorial 6: What''s next?'
m_CodeSample:
m_PostInstructionImage: {fileID: 0}
m_Tutorial: {fileID: 11400000, guid: c629112356890dd4fbc308be8994bca3, type: 2}
m_Image: {fileID: 0}
m_VideoUrl:
m_Video: {fileID: 0}
m_Media:
m_ContentType: 0
m_Image: {fileID: 0}
m_VideoClip: {fileID: 0}
m_Url:
m_AutoStart: 1
m_Loop: 1
m_CriteriaCompletion: 0
m_Criteria:
m_Items: []
m_MaskingSettings:
m_MaskingEnabled: 0
m_UnmaskedViews: []
m_Summary:
m_Description:
m_InstructionBoxTitle:
m_InstructionText:
m_TutorialButtonText:
m_CameraSettings:
m_CameraMode: 0
m_FocusMode: 0
m_Orthographic: 0
m_Size: 0
m_Pivot: {x: 0, y: 0, z: 0}
m_Rotation: {x: 0, y: 0, z: 0, w: 0}
m_FrameObject:
m_SceneGuid:
m_GameObjectGuid:
m_SerializedComponentType:
m_TypeName:
m_ComponentIndex: 0
m_AssetObject: {fileID: 0}
m_Prefab: {fileID: 0}
m_Enabled: 0
NextButton:
m_Untranslated: Next
DoneButton:
m_Untranslated: Done
m_CompletedSound: {fileID: 8300000, guid: 93fbb109633e844259ea828442bda0cb, type: 3}
m_FaqEntries: []
m_AutoAdvance: 0
Showing:
m_PersistentCalls:
m_Calls: []
Shown:
m_PersistentCalls:
m_Calls: []
Staying:
m_PersistentCalls:
m_Calls: []
CriteriaValidated:
m_PersistentCalls:
m_Calls: []
MaskingSettingsChanged:
m_PersistentCalls:
m_Calls: []
NonMaskingSettingsChanged:
m_PersistentCalls:
m_Calls: []
m_OnBeforePageShown:
m_PersistentCalls:
m_Calls: []
m_OnAfterPageShown:
m_PersistentCalls:
m_Calls: []
m_OnTutorialPageStay:
m_PersistentCalls:
m_Calls: []
m_OnBeforeTutorialQuit:
m_PersistentCalls:
m_Calls: []
m_NextButton: Next
m_DoneButton: Done
@@ -0,0 +1,14 @@
%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: c3420f187011c1a43824ca0d4c88d6c6, type: 3}
m_Name: PublishCriteria
m_EditorClassIdentifier:
@@ -0,0 +1,69 @@
using System.Linq;
using Unity.Play.Publisher.Editor;
using UnityEngine;
namespace Unity.Tutorials
{
/// <summary>
/// Contaisn all the callbacks needed for the Build And Publish tutorial
/// </summary>
[CreateAssetMenu(fileName = "PublishCriteria", menuName = "Tutorials/Microgame/PublishCriteria")]
class PublishCriteria : ScriptableObject
{
static PublisherWindow publisherWindow;
public bool IsNotDisplayingFirstTimeInstructions()
{
if (!IsWebGLPublisherOpen()) { return false; }
return (!string.IsNullOrEmpty(publisherWindow.CurrentTab) && publisherWindow.CurrentTab != PublisherWindow.TabIntroduction);
}
public bool IsUserLoggedIn()
{
if (!IsWebGLPublisherOpen()) { return false; }
return (publisherWindow.CurrentTab != PublisherWindow.TabNotLoggedIn);
}
public bool IsBuildBeingUploaded()
{
if (!IsWebGLPublisherOpen()) { return false; }
switch (PublisherUtils.GetCurrentPublisherState(publisherWindow))
{
case PublisherState.Upload:
case PublisherState.Process:
return true;
default: break;
}
return !string.IsNullOrEmpty(PublisherUtils.GetUrlOfLastPublishedBuild(publisherWindow));
}
public bool IsBuildPublished()
{
if (!IsWebGLPublisherOpen()) { return false; }
return !string.IsNullOrEmpty(PublisherUtils.GetUrlOfLastPublishedBuild(publisherWindow));
}
public bool AtLeastOneBuildIsRegistered()
{
if (!IsWebGLPublisherOpen()) { return false; }
switch (PublisherUtils.GetCurrentPublisherState(publisherWindow))
{
case PublisherState.Zip:
case PublisherState.Upload:
case PublisherState.Process:
return true;
default: break;
}
int availableBuilds = PublisherUtils.GetAllBuildsDirectories()
.Where(p => (p != string.Empty)
&& PublisherUtils.BuildIsValid(p)).Count();
return availableBuilds > 0;
}
bool IsWebGLPublisherOpen()
{
if (publisherWindow) { return true; }
publisherWindow = PublisherWindow.FindInstance();
return false;
}
}
}
@@ -0,0 +1,17 @@
{
"name": "Unity.2DPlatformer.Tutorials",
"references": [
"GUID:149cad238efed4f53ac932b1e9555356"
],
"includePlatforms": [
"Editor"
],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB