initial commit
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6165330ab58ff425c911aceb1f876477
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 761 KiB |
@@ -0,0 +1,154 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 428a4d057279948b796373c0af99db8c
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 13
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
nPOTScale: 0
|
||||
lightmap: 0
|
||||
compressionQuality: 50
|
||||
spriteMode: 2
|
||||
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
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 4
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 4
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
customData:
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
@@ -0,0 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 903f7bc8ba49c498e80aad001c222eec
|
||||
TextureImporter:
|
||||
internalIDToNameTable: []
|
||||
externalObjects: {}
|
||||
serializedVersion: 12
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
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
|
||||
flipGreenChannel: 0
|
||||
isReadable: 0
|
||||
streamingMipmaps: 0
|
||||
streamingMipmapsPriority: 0
|
||||
vTOnly: 0
|
||||
ignoreMipmapLimit: 0
|
||||
grayScaleToAlpha: 0
|
||||
generateCubemap: 6
|
||||
cubemapConvolution: 0
|
||||
seamlessCubemap: 0
|
||||
textureFormat: 1
|
||||
maxTextureSize: 2048
|
||||
textureSettings:
|
||||
serializedVersion: 2
|
||||
filterMode: 1
|
||||
aniso: 1
|
||||
mipBias: 0
|
||||
wrapU: 1
|
||||
wrapV: 1
|
||||
wrapW: 0
|
||||
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
|
||||
flipbookRows: 1
|
||||
flipbookColumns: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
ignorePngGamma: 0
|
||||
applyGammaDecoding: 0
|
||||
swizzle: 50462976
|
||||
cookieLightType: 0
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
- serializedVersion: 3
|
||||
buildTarget: Server
|
||||
maxTextureSize: 2048
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
ignorePlatformSupport: 0
|
||||
androidETC2FallbackOverride: 0
|
||||
forceMaximumCompressionQuality_BC6H_BC7: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
physicsShape: []
|
||||
bones: []
|
||||
spriteID: 5e97eb03825dee720800000000000000
|
||||
internalID: 0
|
||||
vertices: []
|
||||
indices:
|
||||
edges: []
|
||||
weights: []
|
||||
secondaryTextures: []
|
||||
nameFileIdTable: {}
|
||||
mipmapLimitGroupName:
|
||||
pSDRemoveMatte: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,135 @@
|
||||
%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: Step_4.1.0
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Mission overview
|
||||
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: d98bac27e09e35f4cb921c5840d426c4, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/Talking%20Head%20Videos/M4_Programming/Essentials_Pathway_M4_Programming.webm
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/Talking%20Head%20Videos/M4_Programming/Essentials_Pathway_M4_Programming.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 1
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "In this Mission, you\u2019ll program a simple interactive
|
||||
experience where you control a character in a living room scene and move
|
||||
around to collect objects. \n\nYou'll be able to choose from a variety
|
||||
of characters and collectible objects. In our example, we'll use a robot
|
||||
vacuum that maneuvers to pick up dirt around the room."
|
||||
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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f5622cd4c6830435b8f7e49dd0afd025
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,133 @@
|
||||
%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: Step_4.1.1
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Tutorial overview
|
||||
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: d98bac27e09e35f4cb921c5840d426c4, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.1%20-%20Overview%20v2%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 0}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.1%20-%20Overview%20v2%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
m_CriteriaCompletion: 0
|
||||
m_Criteria:
|
||||
m_Items: []
|
||||
m_MaskingSettings:
|
||||
m_MaskingEnabled: 1
|
||||
m_UnmaskedViews: []
|
||||
m_Summary:
|
||||
m_Description:
|
||||
m_InstructionBoxTitle:
|
||||
m_InstructionText:
|
||||
m_TutorialButtonText:
|
||||
- m_Type: 0
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated: "In this first tutorial, you\u2019ll add your first lines
|
||||
of C# code to your Unity project to steer your chosen character around
|
||||
the room."
|
||||
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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ec0b8b60dfff876499782cfff0d26dd0
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,147 @@
|
||||
%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: Step_4.1.10
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Review and proceed to the next tutorial
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 6
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.1%20-%20Overview%20v2%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
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:
|
||||
Text:
|
||||
m_Untranslated: "Congratulations on adding your first script to control the
|
||||
player as it navigates throughout the room!\n\nHere are some of the things
|
||||
you learned how to do along the way:\n\n\u2022 Explain how code is edited
|
||||
in a Unity project. (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/ScriptingToolsIDEs.html?utm_source=learnTPOCi'>more</a>)\n\u2022
|
||||
Make a new script component. (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/CreatingAndUsingScripts.html?utm_source=learnTPOCi'>more</a>)\n\u2022
|
||||
Add a script component to a GameObject. (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/CreatingAndUsingScripts.html?utm_source=learnTPOCi'>more</a>)\n\u2022
|
||||
Open the IDE from the Unity Editor. (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/ScriptingToolsIDEs.html?utm_source=learnTPOCi'>more</a>)\n\u2022
|
||||
Assign a camera as a child GameObject that follows the player.\n\u2022
|
||||
Adjust component properties temporarily in <b>Play</b> mode (<b>Game</b>
|
||||
view). (<a href='https://docs.unity3d.com/6000.0/Documentation/Manual/UsingComponents.html?utm_source=learnTPOCi'>more</a>)\n"
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
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:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a31ff2ae63ec451f9e6e24f0098180e
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,142 @@
|
||||
%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: Step_4.1.2
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Open the programming scene
|
||||
m_Paragraphs:
|
||||
m_Items:
|
||||
- m_Type: 6
|
||||
Title:
|
||||
m_Untranslated:
|
||||
Text:
|
||||
m_Untranslated:
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 2800000, guid: 903f7bc8ba49c498e80aad001c222eec, type: 3}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
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:
|
||||
Text:
|
||||
m_Untranslated: The first thing you need to do is open the new scene for
|
||||
this Mission, which is a simple living room environment.
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
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: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In the <b>Project</b> window, navigate to <b>_Unity_Essentials</b>
|
||||
> <b>Scenes.</b> \n\n<b>2.</b> Find <b>4_LivingRoom_Programming_Scene</b>
|
||||
and double-click to open it. \n\n<b>3.</b> Adjust your view of the 3D
|
||||
scene to see the living room interior layout from a good angle."
|
||||
m_CodeSample:
|
||||
m_PostInstructionImage: {fileID: 0}
|
||||
m_Tutorial: {fileID: 0}
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoUrl:
|
||||
m_Video: {fileID: 0}
|
||||
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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a2867451ce973614188ef66074bee38c
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,173 @@
|
||||
%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: Step_4.1.3
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: 'Add a player to the scene '
|
||||
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: 2db283fa76e604392a93d9a02e9c56cf, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.3%20-%20Add%20a%20player%20to%20the%20scene%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.3%20-%20Add%20a%20player%20to%20the%20scene%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
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:
|
||||
Text:
|
||||
m_Untranslated: "The next step is to add a player to the scene. This player
|
||||
is the character that the user of your game will control. \n\nIn this living
|
||||
room scene, your player can be one of the following: \n\n\u2022 A robot
|
||||
vacuum sucking up dirt\n\u2022 A toy car getting stars \n\u2022 A wind-up
|
||||
mouse finding cheese\n\u2022 An alien in a UFO collecting gemstones \n\nIt\u2019s
|
||||
up to you which one sounds the most fun!"
|
||||
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: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In the <b>Project</b> window, navigate to <b>_Unity
|
||||
Essentials</b> > <b>Prefabs</b> > <b>Characters</b> and browse through
|
||||
the options. \n\n<b>2.</b> Click and drag your chosen character into the
|
||||
scene, near the main door on the left. \n\n<b>Warning:</b> Avoid double-clicking
|
||||
the prefab in the <b>Project</b> window because this will open prefab editing
|
||||
mode. Instead, simply drag and drop it into the scene.\n\n<b>3.</b> If
|
||||
necessary, rotate the player by 90 degrees on the Y-axis so that it\u2019s
|
||||
facing the center of the room. \n\n<b>4.</b> In the <b>Hierarchy</b> window,
|
||||
rename your chosen character \u201CPlayer\u201D for clarity."
|
||||
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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7c1d5f896e9d746739bb538b129098cc
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,180 @@
|
||||
%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: Step_4.1.4
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Create a new PlayerController script
|
||||
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: 905a5bae5effc47b88ea3207ca3ed8cd, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.4%20-%20Create%20a%20new%20PlayerController%20script%20-%20VIDEO_U6_V2.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.4%20-%20Create%20a%20new%20PlayerController%20script%20-%20VIDEO_U6_V2.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
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:
|
||||
Text:
|
||||
m_Untranslated: "It is time to create your first C# script! \n\n<b>C#</b>
|
||||
(pronounced \u201Csee-sharp\u201D) is a versatile programming language
|
||||
that is widely used for developing a broad range of applications, from
|
||||
web to mobile to game development, and particularly with Unity for game
|
||||
scripting.\n\nYour first <b>script,</b> which is just a document with code
|
||||
in it, will be named \"PlayerController\". In this script, you'll define
|
||||
how your player interacts within the game world."
|
||||
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: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In the <b>Project</b> window, navigate to <b>_Unity
|
||||
Essentials</b> > <b>Scripts.</b> There should already be a folder inside
|
||||
the <b>Scripts</b> folder named <b>Provided Scripts</b> \u2014 ignore this
|
||||
folder for now.\n\n<b>2.</b> Right-click in an empty part of the <b>Scripts</b>
|
||||
folder and select <b>Create</b> > <b>MonoBehaviour Script.</b>\n\n<b>3.</b>
|
||||
WIth the script\u2019s name automatically highlighted, immediately rename
|
||||
this new script \"PlayerController\" (with a capital 'P' and 'C'). \n\nIt's
|
||||
important to get the name correct right now \u2014 renaming it later can
|
||||
cause problems. \n\n<b>4.</b> Press <b>Enter</b> to save the script name.
|
||||
\n\nYou'll see the code of the new blank script in the <b>Inspector</b>
|
||||
window. Notice that the name of the file is included in the code. That's
|
||||
why it's important to spell the file name correctly.\n\n<b>Note:</b> If
|
||||
you make a typo in your script name or have to rename it for any reason,
|
||||
it will be easier to just delete it and create a new one with the correct
|
||||
name."
|
||||
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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6910e093c2e5047f3b927442c61312b7
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,171 @@
|
||||
%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: Step_4.1.5
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Apply the script to the Player GameObject
|
||||
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: c19681465ddd24bbbb0f30e492ec2a73, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.5%20-%20Apply%20the%20script%20to%20the%20Player%20GameObject%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.5%20-%20Apply%20the%20script%20to%20the%20Player%20GameObject%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
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:
|
||||
Text:
|
||||
m_Untranslated: "Next, you'll apply your script to the player object. \n\nHere's
|
||||
a fun fact: in Unity, the scripts you write in C# are components, similar
|
||||
to the <b>Rigidbody,</b> <b>Audio Source,</b> and other components you've
|
||||
worked with. The difference between the components you create and Unity's
|
||||
built-in components is that your custom components are editable."
|
||||
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: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In the <b>Project</b> window, find the <b>PlayerController</b>
|
||||
script you created in the <b>Scripts</b> folder. \n\n<b>2.</b> Click and
|
||||
drag this script onto your player character in the <b>Scene</b> view. \n\nNothing
|
||||
will appear to happen after you do this.\n\n<b>3.</b> In the <b>Hierarchy</b>
|
||||
window, select your player GameObject, then verify that your <b>PlayerController</b>
|
||||
script has successfully been added at the bottom of the <b>Inspector</b>
|
||||
window.\n\n<b>Note:</b> Remember to save your scene with <b>Ctrl+S</b>
|
||||
(macOS: <b>Cmd+S</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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 912ac3600c6de4bd2b21ba942398837f
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,177 @@
|
||||
%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: Step_4.1.6
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Open the PlayerController script in a script editor
|
||||
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: 5586970ee9236467aa668bb3f41daffb, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.6%20-%20Open%20PlayerController.cs%20script%20in%20a%20script%20editor%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.6%20-%20Open%20PlayerController.cs%20script%20in%20a%20script%20editor%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
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:
|
||||
Text:
|
||||
m_Untranslated: "Unity doesn\u2019t allow you to edit code directly in the
|
||||
Unity Editor, so the next step is to open your <b>PlayerController</b>
|
||||
script in a separate script editor application. \n\nYou may not have realized
|
||||
it at the time, but when you installed Unity, you likely also installed
|
||||
a separate application called <b>Visual Studio,</b> which is a code editing
|
||||
application (also known as an <b>Integrated Development Environment,</b>
|
||||
or IDE).\n\nThis IDE is where you'll start coding the behavior of your
|
||||
player character. A script editor, such as Visual Studio, provides you
|
||||
with tools and features to write and manage your code efficiently."
|
||||
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: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> Locate the <b>PlayerController</b> script in
|
||||
the Unity Editor's <b>Project</b> window. \n\n<b>2.</b> Double-click the
|
||||
script file to open it in your default script editor, such as Visual Studio.
|
||||
\n\nIt may take a while to open the application the first time.\n\nWhen
|
||||
the IDE opens, you'll see the default starter code that generates any time
|
||||
you create a new script. \n\n<b>Note</b>: Don\u2019t worry if your IDE
|
||||
doesn\u2019t look identical to the one shown in the demo videos. \n\nIf
|
||||
the script doesn\u2019t open in an IDE, follow <a href=\"https://learn.unity.com/tutorial/65f8a6e3edbc2a545fc44bd3?uv=2022.3#65f8a6e3edbc2a545fc44bd7\">these
|
||||
instructions</a> to install Visual Studio, relaunch Unity, and try opening
|
||||
the script again."
|
||||
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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f3bf0ba0e29534a069a57f0bb8ff96e3
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,199 @@
|
||||
%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: Step_4.1.7
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Copy and paste code and save
|
||||
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: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.7%20-%20Copy%20and%20Paste%20code%20and%20save%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.7%20-%20Copy%20and%20Paste%20code%20and%20save%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
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:
|
||||
Text:
|
||||
m_Untranslated: "In this step, you will infuse life into your player character
|
||||
by adding some pre-written code to the <b>PlayerController</b> script.
|
||||
This code contains the logic for player movement. \n\nTo start, you\u2019ll
|
||||
copy and paste all the code from a completed script, overwriting the code
|
||||
already in your script in its entirety. Later on, you\u2019ll take more
|
||||
time to understand the code and write it line by line. \n\nCopying and
|
||||
pasting code, then adjusting it, is actually a big part of every professional
|
||||
developer\u2019s workflow!"
|
||||
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: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In your IDE, in the <b>PlayerController.cs</b>
|
||||
file, select all the code either by clicking and dragging with your cursor,
|
||||
or by pressing <b>Ctrl+A</b> (macOS: <b>Cmd+A</b>), then delete it all.
|
||||
\n\n<b>2.</b> Select all of the code below, then copy it with <b>Ctrl+C</b>
|
||||
(macOS: <b>Cmd+C</b>).\n\n<b>Note:</b> You can also use the <b>Copy Code
|
||||
Sample</b> button in the upper-right corner of the code sample. \n\n<b>3.</b>
|
||||
In the script editor, paste this code into your now empty <b>PlayerController</b>
|
||||
script with <b>Ctrl+V</b> (macOS: <b>Cmd+V</b>).\n\n<b>4.</b> Save your
|
||||
changes by pressing <b>Ctrl+S</b> (macOS: <b>Cmd+S</b>).\n\nThere should
|
||||
be no errors (red underlines) in your code. If there are, make sure that
|
||||
the <b>PlayerController</b> script is spelled correctly in the <b>Project</b>
|
||||
window. \n\n<b>5.</b> In the Unity Editor, enter Play mode. \n\n<b>6.</b>
|
||||
Move the player with the arrow keys or the WASD keys. \n\nIf your player
|
||||
does not move as expected, exit Play mode and check the script for any
|
||||
errors and make sure to save it. If there are errors, try deleting all
|
||||
the code again and re-pasting it in, then saving it again.\n\nIf you\u2019re
|
||||
interested, read through the code and the comments (lines that start with
|
||||
two forward slashes) to see if you can understand some of it."
|
||||
m_CodeSample: "using UnityEngine;\r\n\r\n// Controls player movement and rotation.\r\npublic
|
||||
class PlayerController : MonoBehaviour\r\n{\r\n public float speed = 5.0f;
|
||||
// Set player's movement speed.\r\n public float rotationSpeed = 120.0f;
|
||||
// Set player's rotation speed.\r\n\r\n private Rigidbody rb; // Reference
|
||||
to player's Rigidbody.\r\n\r\n // Start is called before the first frame
|
||||
update\r\n private void Start()\r\n {\r\n rb = GetComponent<Rigidbody>();
|
||||
// Access player's Rigidbody.\r\n }\r\n\r\n // Update is called once
|
||||
per frame\r\n void Update()\r\n {\r\n \r\n }\r\n\r\n //
|
||||
Handle physics-based movement and rotation.\r\n private void FixedUpdate()\r\n
|
||||
{\r\n // Move player based on vertical input.\r\n float moveVertical
|
||||
= Input.GetAxis(\"Vertical\");\r\n Vector3 movement = transform.forward
|
||||
* moveVertical * speed * Time.fixedDeltaTime;\r\n rb.MovePosition(rb.position
|
||||
+ movement);\r\n\r\n // Rotate player based on horizontal input.\r\n
|
||||
float turn = Input.GetAxis(\"Horizontal\") * rotationSpeed * Time.fixedDeltaTime;\r\n
|
||||
Quaternion turnRotation = Quaternion.Euler(0f, turn, 0f);\r\n rb.MoveRotation(rb.rotation
|
||||
* turnRotation);\r\n }\r\n}\r"
|
||||
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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5ad4e580b20474a9e91e2332848e01a8
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -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: Step_4.1.8
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Set the camera as a child of the player
|
||||
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: b9909ddcfcbef48daaa2a1e1e7df84b7, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.8%20-%20Set%20the%20camera%20as%20a%20child%20of%20the%20Player%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.8%20-%20Set%20the%20camera%20as%20a%20child%20of%20the%20Player%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
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:
|
||||
Text:
|
||||
m_Untranslated: "Right now, the camera is stationary, making the experience
|
||||
feel a bit distant and potentially confusing for the actual control of
|
||||
the player character. \n\nNow, you\u2019ll position the camera to follow
|
||||
the player in a third-person view, which will be more immersive and intuitive.
|
||||
\n\nIf you make the camera a child GameObject of the player GameObject
|
||||
in the <b>Hierarchy</b> window, it will inherit the player GameObject's
|
||||
position and rotation, and also maintain a steady view of the player as
|
||||
it moves."
|
||||
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: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> In the <b>Hierarchy</b> window, locate the <b>Main
|
||||
Camera</b> GameObject. \n\n<b>2.</b> Click and drag the <b>Main Camera</b>
|
||||
GameObject onto your player character in the <b>Hierarchy</b> window, making
|
||||
it a child GameObject. \n\nYou'll see the <b>Main Camera</b> GameObject
|
||||
indented under the player character in the <b>Hierarchy</b> window. \n\n<b>3.</b>
|
||||
In the <b>Transform</b> component of <b>Main Camera</b> GameObject, reset
|
||||
all of the position and rotation values to <b>0</b>.\n\nNow that the <b>Main
|
||||
Camera</b> GameObject is a child GameObject, its position and rotation
|
||||
are relative to its parent GameObject.\n\n<b>Tip:</b> To reset these value
|
||||
quickly, select the <b>More</b> (<b>\u22EE</b>) context menu in the upper-right
|
||||
corner of the <b>Transform</b> component and select <b>Reset.</b> \n\nThe
|
||||
camera should now be positioned at the exact same position and rotation
|
||||
as the player.\n\n<b>4.</b> In the <b>Scene</b> view, adjust the camera's
|
||||
position to be slightly above and behind the player. \n\n<b>5.</b> Enter
|
||||
<b>Play</b> mode and use the arrow or WASD keys to rotate the player. \n\nFeel
|
||||
free to adjust the camera\u2019s position and rotation relative to the
|
||||
player to your liking. If the camera starts behind the left wall, you may
|
||||
need to move the player forward a bit into the room.\n\nYou'll now have
|
||||
a more satisfying gameplay experience!"
|
||||
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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 21830422c859042aba342a130a7e5a89
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,182 @@
|
||||
%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: Step_4.1.9
|
||||
m_EditorClassIdentifier:
|
||||
Title:
|
||||
m_Untranslated: Edit player properties in Play mode
|
||||
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: 61d7419a5d7ae4fd69bf08e2dd8513ff, type: 3}
|
||||
m_VideoUrl: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.9%20-%20Edit%20Player%20properties%20in%20Play%20mode%20-%20VIDEO.webm
|
||||
m_Video: {fileID: 32900000, guid: 5b69f4d6321874ec19173e92689ae1ad, type: 3}
|
||||
m_Media:
|
||||
m_ContentType: 2
|
||||
m_Image: {fileID: 0}
|
||||
m_VideoClip: {fileID: 0}
|
||||
m_Url: https://storage.googleapis.com/learn-media-public/Essentials-Pathway/4.1%20-%20Add%20a%20movement%20script/4.1.9%20-%20Edit%20Player%20properties%20in%20Play%20mode%20-%20VIDEO.webm
|
||||
m_AutoStart: 0
|
||||
m_Loop: 0
|
||||
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:
|
||||
Text:
|
||||
m_Untranslated: 'Editing player properties while in Play mode is a dynamic
|
||||
way to fine-tune the behavior and characteristics of your player character
|
||||
while observing the immediate effects of those changes.
|
||||
|
||||
|
||||
<b>Important:</b>
|
||||
Remember, anything you change while in <b>Play</b> mode is only temporary
|
||||
and will not be saved! To save your changes, you''ll need to exit Play
|
||||
mode, make those edits again, and save your scene.'
|
||||
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: Instructions
|
||||
Text:
|
||||
m_Untranslated: "<b>1.</b> Enter Play mode, then select your player character
|
||||
in the <b>Hierarchy</b> window. \n\n<b>2.</b> In the <b>Inspector</b>
|
||||
window, locate the new <b>Speed</b> and <b>Rotation Speed</b> properties
|
||||
that have appeared in the <b>PlayerController</b> script component. \n\nThese
|
||||
were added when you saved your script. \n\n<b>3.</b> Modify these <b>Speed</b>
|
||||
and <b>Rotation Speed</b> values in the <b>Inspector</b> window as you
|
||||
move your player with the arrow or WASD keys. \n\nFor example, make the
|
||||
player move and rotate more slowly.\n\n<b>Warning:</b> After editing values
|
||||
in the Inspector, the player may appear to freeze. If this happens, just
|
||||
click somewhere in the Game view window to regain control of the player.
|
||||
\n\n<b>4.</b> Take note of the values you prefer for <b>Speed</b> and
|
||||
<b>Rotation Speed</b>, and then exit <b>Play</b> mode. \n\nThe values will
|
||||
revert back when you return to the <b>Scene</b> view!\n\n<b>5.</b> Set
|
||||
the <b>Speed</b> and <b>Rotation Speed</b> properties to the values you
|
||||
prefer, then save your scene with these values."
|
||||
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: 0}
|
||||
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,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a0294ea39fecc4e5db326781594a1cb2
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,73 @@
|
||||
%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: Tut 4.1
|
||||
m_EditorClassIdentifier:
|
||||
TutorialTitle:
|
||||
m_Untranslated: Add a movement script
|
||||
m_ProgressTrackingEnabled: 1
|
||||
m_LessonId: 094ed2bb-3e99-4d8e-8bfc-72b718cae157
|
||||
m_Version: 1
|
||||
m_ReturnToPreviousScenes: 0
|
||||
m_SceneManagementBehavior: 1
|
||||
m_Scenes: []
|
||||
m_DefaultSceneCameraSettings:
|
||||
m_CameraMode: 1
|
||||
m_FocusMode: 0
|
||||
m_Orthographic: 0
|
||||
m_Size: 0.7414055
|
||||
m_Pivot: {x: 12, y: 8, z: -15}
|
||||
m_Rotation: {x: -0.20906472, y: 0.2526841, z: -0.05601874, w: -0.9430295}
|
||||
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: f5622cd4c6830435b8f7e49dd0afd025, type: 2}
|
||||
- {fileID: 11400000, guid: ec0b8b60dfff876499782cfff0d26dd0, type: 2}
|
||||
- {fileID: 11400000, guid: a2867451ce973614188ef66074bee38c, type: 2}
|
||||
- {fileID: 11400000, guid: 7c1d5f896e9d746739bb538b129098cc, type: 2}
|
||||
- {fileID: 11400000, guid: 6910e093c2e5047f3b927442c61312b7, type: 2}
|
||||
- {fileID: 11400000, guid: 912ac3600c6de4bd2b21ba942398837f, type: 2}
|
||||
- {fileID: 11400000, guid: f3bf0ba0e29534a069a57f0bb8ff96e3, type: 2}
|
||||
- {fileID: 11400000, guid: 5ad4e580b20474a9e91e2332848e01a8, type: 2}
|
||||
- {fileID: 11400000, guid: 21830422c859042aba342a130a7e5a89, type: 2}
|
||||
- {fileID: 11400000, guid: a0294ea39fecc4e5db326781594a1cb2, type: 2}
|
||||
- {fileID: 11400000, guid: 8a31ff2ae63ec451f9e6e24f0098180e, 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:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 97ed548fe019e487c8196755312795f5
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user