├── .gitignore ├── In Class Demos ├── Assets │ ├── ArraysAndLists.meta │ ├── ArraysAndLists │ │ ├── Arrays.cs │ │ ├── Arrays.cs.meta │ │ ├── Lists.cs │ │ └── Lists.cs.meta │ ├── AudioDemo.meta │ ├── AudioDemo │ │ ├── 231778__crazy-freerider__dry-grinds-on-brick-1.wav │ │ ├── 231778__crazy-freerider__dry-grinds-on-brick-1.wav.meta │ │ ├── 70941__alexbird__light-loop.wav │ │ ├── 70941__alexbird__light-loop.wav.meta │ │ ├── AudioDemo.unity │ │ ├── AudioDemo.unity.meta │ │ ├── AudioMixer.mixer │ │ ├── AudioMixer.mixer.meta │ │ ├── AudioPlaybackControl.cs │ │ ├── AudioPlaybackControl.cs.meta │ │ ├── AudioStinger.cs │ │ ├── AudioStinger.cs.meta │ │ ├── beanpour01.wav │ │ └── beanpour01.wav.meta │ ├── Ink.meta │ ├── Ink │ │ ├── Examples.meta │ │ ├── Examples │ │ │ ├── CanvasTutorial.unity │ │ │ ├── CanvasTutorial.unity.meta │ │ │ ├── InkLineByLine.cs │ │ │ ├── InkLineByLine.cs.meta │ │ │ ├── InkLineByLine.unity │ │ │ └── InkLineByLine.unity.meta │ │ ├── InkFiles.meta │ │ ├── InkFiles │ │ │ ├── Stuff.ink │ │ │ ├── Stuff.ink.meta │ │ │ ├── Stuff.json │ │ │ ├── Stuff.json.meta │ │ │ ├── murder.ink │ │ │ ├── murder.ink.meta │ │ │ ├── murder.json │ │ │ ├── murder.json.meta │ │ │ ├── variableExample.ink │ │ │ ├── variableExample.ink.meta │ │ │ ├── variableExample.json │ │ │ └── variableExample.json.meta │ │ ├── LMDN_Assets.meta │ │ ├── LMDN_Assets │ │ │ ├── Amy_1_1.json │ │ │ ├── Amy_1_1.json.meta │ │ │ ├── Amy_1_2.json │ │ │ ├── Amy_1_2.json.meta │ │ │ ├── DarknessAwAiTs1211_1_1.json │ │ │ ├── DarknessAwAiTs1211_1_1.json.meta │ │ │ ├── Jared_1_1.json │ │ │ ├── Jared_1_1.json.meta │ │ │ ├── Jared_1_2.json │ │ │ ├── Jared_1_2.json.meta │ │ │ ├── Kayla_1_1.json │ │ │ ├── Kayla_1_1.json.meta │ │ │ ├── Kayla_1_2.json │ │ │ ├── Kayla_1_2.json.meta │ │ │ ├── Kayla_1_3.json │ │ │ ├── Kayla_1_3.json.meta │ │ │ ├── lmdn_day_1.png │ │ │ └── lmdn_day_1.png.meta │ │ ├── kimmy_dialogue_day1.txt │ │ └── kimmy_dialogue_day1.txt.meta │ ├── InkLibrary.asset │ ├── InkLibrary.asset.meta │ ├── InkSettings.asset │ ├── InkSettings.asset.meta │ ├── Patterns.meta │ ├── Patterns │ │ ├── Singleton.cs │ │ └── Singleton.cs.meta │ ├── Plugins.meta │ ├── Plugins │ │ ├── Editor.meta │ │ ├── Editor │ │ │ ├── JetBrains.meta │ │ │ └── JetBrains │ │ │ │ ├── JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll │ │ │ │ └── JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll.meta │ │ ├── Ink.meta │ │ └── Ink │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ ├── Compiler.meta │ │ │ ├── Compiler │ │ │ │ ├── Auto Compiler.meta │ │ │ │ ├── Auto Compiler │ │ │ │ │ ├── InkPostProcessor.cs │ │ │ │ │ └── InkPostProcessor.cs.meta │ │ │ │ ├── InkCompiler.cs │ │ │ │ └── InkCompiler.cs.meta │ │ │ ├── Ink Inspector.meta │ │ │ ├── Ink Inspector │ │ │ │ ├── File Icons.meta │ │ │ │ ├── File Icons │ │ │ │ │ ├── InkBrowserIcons.cs │ │ │ │ │ └── InkBrowserIcons.cs.meta │ │ │ │ ├── Ink Inspector.meta │ │ │ │ └── Ink Inspector │ │ │ │ │ ├── DefaultAssetEditor.cs │ │ │ │ │ ├── DefaultAssetEditor.cs.meta │ │ │ │ │ ├── DefaultAssetInspector.cs │ │ │ │ │ ├── DefaultAssetInspector.cs.meta │ │ │ │ │ ├── InkInspector.cs │ │ │ │ │ └── InkInspector.cs.meta │ │ │ ├── Ink Library.meta │ │ │ ├── Ink Library │ │ │ │ ├── InkFile.cs │ │ │ │ ├── InkFile.cs.meta │ │ │ │ ├── InkLibrary.cs │ │ │ │ ├── InkLibrary.cs.meta │ │ │ │ ├── InkLibraryEditor.cs │ │ │ │ ├── InkLibraryEditor.cs.meta │ │ │ │ ├── InkMetaFile.cs │ │ │ │ ├── InkMetaFile.cs.meta │ │ │ │ ├── InkMetaLibrary.cs │ │ │ │ └── InkMetaLibrary.cs.meta │ │ │ ├── Ink Settings.meta │ │ │ ├── Ink Settings │ │ │ │ ├── InkSettings.cs │ │ │ │ ├── InkSettings.cs.meta │ │ │ │ ├── InkSettingsEditor.cs │ │ │ │ └── InkSettingsEditor.cs.meta │ │ │ ├── Player Window.meta │ │ │ ├── Player Window │ │ │ │ ├── InkPlayerWindow.cs │ │ │ │ └── InkPlayerWindow.cs.meta │ │ │ ├── Resources.meta │ │ │ ├── Resources │ │ │ │ ├── InkChildIcon-Large.psd │ │ │ │ ├── InkChildIcon-Large.psd.meta │ │ │ │ ├── InkChildIcon.psd │ │ │ │ ├── InkChildIcon.psd.meta │ │ │ │ ├── InkCompileManualIcon.psd │ │ │ │ ├── InkCompileManualIcon.psd.meta │ │ │ │ ├── InkDefaultTemplate.txt │ │ │ │ ├── InkDefaultTemplate.txt.meta │ │ │ │ ├── InkErrorIcon.psd │ │ │ │ ├── InkErrorIcon.psd.meta │ │ │ │ ├── InkFileIcon-Large.psd │ │ │ │ ├── InkFileIcon-Large.psd.meta │ │ │ │ ├── InkFileIcon-retina.psd │ │ │ │ ├── InkFileIcon-retina.psd.meta │ │ │ │ ├── InkFileIcon.psd │ │ │ │ ├── InkFileIcon.psd.meta │ │ │ │ ├── InkTodoIcon.psd │ │ │ │ ├── InkTodoIcon.psd.meta │ │ │ │ ├── InkUnknownFileIcon.psd │ │ │ │ ├── InkUnknownFileIcon.psd.meta │ │ │ │ ├── InkWarningIcon.psd │ │ │ │ └── InkWarningIcon.psd.meta │ │ │ ├── Tools.meta │ │ │ └── Tools │ │ │ │ ├── InkEditorUtils.cs │ │ │ │ └── InkEditorUtils.cs.meta │ │ │ ├── Example.meta │ │ │ ├── Example │ │ │ ├── Ink.meta │ │ │ ├── Ink │ │ │ │ ├── story.ink │ │ │ │ ├── story.ink.meta │ │ │ │ ├── story.json │ │ │ │ └── story.json.meta │ │ │ ├── InkExample.unity │ │ │ ├── InkExample.unity.meta │ │ │ ├── Prefabs.meta │ │ │ ├── Prefabs │ │ │ │ ├── Button.prefab │ │ │ │ ├── Button.prefab.meta │ │ │ │ ├── Text.prefab │ │ │ │ └── Text.prefab.meta │ │ │ ├── Scripts.meta │ │ │ └── Scripts │ │ │ │ ├── BasicInkExample.cs │ │ │ │ └── BasicInkExample.cs.meta │ │ │ ├── Extras.meta │ │ │ ├── Extras │ │ │ ├── Sublime3Syntax.zip │ │ │ └── Sublime3Syntax.zip.meta │ │ │ ├── InkRuntime.meta │ │ │ ├── InkRuntime │ │ │ ├── CallStack.cs │ │ │ ├── CallStack.cs.meta │ │ │ ├── Choice.cs │ │ │ ├── Choice.cs.meta │ │ │ ├── ChoicePoint.cs │ │ │ ├── ChoicePoint.cs.meta │ │ │ ├── Container.cs │ │ │ ├── Container.cs.meta │ │ │ ├── ControlCommand.cs │ │ │ ├── ControlCommand.cs.meta │ │ │ ├── DebugMetadata.cs │ │ │ ├── DebugMetadata.cs.meta │ │ │ ├── Divert.cs │ │ │ ├── Divert.cs.meta │ │ │ ├── Glue.cs │ │ │ ├── Glue.cs.meta │ │ │ ├── INamedContent.cs │ │ │ ├── INamedContent.cs.meta │ │ │ ├── InkList.cs │ │ │ ├── InkList.cs.meta │ │ │ ├── JsonSerialisation.cs │ │ │ ├── JsonSerialisation.cs.meta │ │ │ ├── ListDefinition.cs │ │ │ ├── ListDefinition.cs.meta │ │ │ ├── ListDefinitionsOrigin.cs │ │ │ ├── ListDefinitionsOrigin.cs.meta │ │ │ ├── NativeFunctionCall.cs │ │ │ ├── NativeFunctionCall.cs.meta │ │ │ ├── Object.cs │ │ │ ├── Object.cs.meta │ │ │ ├── Path.cs │ │ │ ├── Path.cs.meta │ │ │ ├── Pointer.cs │ │ │ ├── Pointer.cs.meta │ │ │ ├── Profiler.cs │ │ │ ├── Profiler.cs.meta │ │ │ ├── PushPop.cs │ │ │ ├── PushPop.cs.meta │ │ │ ├── SearchResult.cs │ │ │ ├── SearchResult.cs.meta │ │ │ ├── SimpleJson.cs │ │ │ ├── SimpleJson.cs.meta │ │ │ ├── Story.cs │ │ │ ├── Story.cs.meta │ │ │ ├── StoryException.cs │ │ │ ├── StoryException.cs.meta │ │ │ ├── StoryState.cs │ │ │ ├── StoryState.cs.meta │ │ │ ├── StringJoinExtension.cs │ │ │ ├── StringJoinExtension.cs.meta │ │ │ ├── Tag.cs │ │ │ ├── Tag.cs.meta │ │ │ ├── Value.cs │ │ │ ├── Value.cs.meta │ │ │ ├── VariableAssignment.cs │ │ │ ├── VariableAssignment.cs.meta │ │ │ ├── VariableReference.cs │ │ │ ├── VariableReference.cs.meta │ │ │ ├── VariablesState.cs │ │ │ ├── VariablesState.cs.meta │ │ │ ├── Void.cs │ │ │ └── Void.cs.meta │ │ │ ├── Inklecate.meta │ │ │ ├── Inklecate │ │ │ ├── ink-engine-runtime.dll │ │ │ ├── ink-engine-runtime.dll.meta │ │ │ ├── ink_compiler.dll │ │ │ ├── ink_compiler.dll.meta │ │ │ ├── inklecate_mac │ │ │ ├── inklecate_mac.meta │ │ │ ├── inklecate_win.exe │ │ │ └── inklecate_win.exe.meta │ │ │ ├── Readme.md │ │ │ └── Readme.md.meta │ ├── SceneTutorial.meta │ ├── SceneTutorial │ │ ├── AsyncLoadExamples.cs │ │ ├── AsyncLoadExamples.cs.meta │ │ ├── BasicSceneLoadUnload.cs │ │ ├── BasicSceneLoadUnload.cs.meta │ │ ├── SceneTutorialLoader.unity │ │ ├── SceneTutorialLoader.unity.meta │ │ ├── SceneTutorialSecondScene.unity │ │ └── SceneTutorialSecondScene.unity.meta │ ├── Scenes.meta │ ├── Scenes │ │ ├── ArraysAndLists.unity │ │ ├── ArraysAndLists.unity.meta │ │ ├── SampleScene.unity │ │ └── SampleScene.unity.meta │ ├── ScriptableObjects.meta │ ├── ScriptableObjects │ │ ├── Ball.prefab │ │ ├── Ball.prefab.meta │ │ ├── BallSpawner.cs │ │ ├── BallSpawner.cs.meta │ │ ├── BasicMaterial.physicsMaterial2D │ │ ├── BasicMaterial.physicsMaterial2D.meta │ │ ├── BoringGameSettings.preset │ │ ├── BoringGameSettings.preset.meta │ │ ├── Bouncy.physicsMaterial2D │ │ ├── Bouncy.physicsMaterial2D.meta │ │ ├── GameSettings.asset │ │ ├── GameSettings.asset.meta │ │ ├── GameSettings.cs │ │ ├── GameSettings.cs.meta │ │ ├── InputHandler.cs │ │ ├── InputHandler.cs.meta │ │ ├── Player.prefab │ │ ├── Player.prefab.meta │ │ ├── TunableBall.cs │ │ ├── TunableBall.cs.meta │ │ ├── TunableObject.cs │ │ ├── TunableObject.cs.meta │ │ ├── TunablePlayer.cs │ │ ├── TunablePlayer.cs.meta │ │ ├── TunableScene.unity │ │ └── TunableScene.unity.meta │ ├── Scripts.meta │ ├── Scripts │ │ ├── ExampleScript.cs │ │ ├── ExampleScript.cs.meta │ │ └── folder.meta │ ├── TextMesh Pro.meta │ ├── TextMesh Pro │ │ ├── Documentation.meta │ │ ├── Documentation │ │ │ ├── TextMesh Pro User Guide 2016.pdf │ │ │ └── TextMesh Pro User Guide 2016.pdf.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── Fonts & Materials.meta │ │ │ ├── Fonts & Materials │ │ │ │ ├── LiberationSans SDF - Drop Shadow.mat │ │ │ │ ├── LiberationSans SDF - Drop Shadow.mat.meta │ │ │ │ ├── LiberationSans SDF - Outline.mat │ │ │ │ ├── LiberationSans SDF - Outline.mat.meta │ │ │ │ ├── LiberationSans SDF.asset │ │ │ │ └── LiberationSans SDF.asset.meta │ │ │ ├── LineBreaking Following Characters.txt │ │ │ ├── LineBreaking Following Characters.txt.meta │ │ │ ├── LineBreaking Leading Characters.txt │ │ │ ├── LineBreaking Leading Characters.txt.meta │ │ │ ├── Shaders.meta │ │ │ ├── Shaders │ │ │ │ ├── TMP_Bitmap-Custom-Atlas.shader │ │ │ │ ├── TMP_Bitmap-Custom-Atlas.shader.meta │ │ │ │ ├── TMP_Bitmap-Mobile.shader │ │ │ │ ├── TMP_Bitmap-Mobile.shader.meta │ │ │ │ ├── TMP_Bitmap.shader │ │ │ │ ├── TMP_Bitmap.shader.meta │ │ │ │ ├── TMP_SDF Overlay.shader │ │ │ │ ├── TMP_SDF Overlay.shader.meta │ │ │ │ ├── TMP_SDF-Mobile Masking.shader │ │ │ │ ├── TMP_SDF-Mobile Masking.shader.meta │ │ │ │ ├── TMP_SDF-Mobile Overlay.shader │ │ │ │ ├── TMP_SDF-Mobile Overlay.shader.meta │ │ │ │ ├── TMP_SDF-Mobile.shader │ │ │ │ ├── TMP_SDF-Mobile.shader.meta │ │ │ │ ├── TMP_SDF-Surface-Mobile.shader │ │ │ │ ├── TMP_SDF-Surface-Mobile.shader.meta │ │ │ │ ├── TMP_SDF-Surface.shader │ │ │ │ ├── TMP_SDF-Surface.shader.meta │ │ │ │ ├── TMP_SDF.shader │ │ │ │ ├── TMP_SDF.shader.meta │ │ │ │ ├── TMP_Sprite.shader │ │ │ │ ├── TMP_Sprite.shader.meta │ │ │ │ ├── TMPro.cginc │ │ │ │ ├── TMPro.cginc.meta │ │ │ │ ├── TMPro_Properties.cginc │ │ │ │ ├── TMPro_Properties.cginc.meta │ │ │ │ ├── TMPro_Surface.cginc │ │ │ │ └── TMPro_Surface.cginc.meta │ │ │ ├── Sprite Assets.meta │ │ │ ├── Sprite Assets │ │ │ │ ├── EmojiOne.asset │ │ │ │ └── EmojiOne.asset.meta │ │ │ ├── Style Sheets.meta │ │ │ ├── Style Sheets │ │ │ │ ├── Default Style Sheet.asset │ │ │ │ └── Default Style Sheet.asset.meta │ │ │ ├── TMP Settings.asset │ │ │ └── TMP Settings.asset.meta │ │ ├── Sprites.meta │ │ └── Sprites │ │ │ ├── EmojiOne Attribution.txt │ │ │ ├── EmojiOne Attribution.txt.meta │ │ │ ├── EmojiOne.json │ │ │ ├── EmojiOne.json.meta │ │ │ ├── EmojiOne.png │ │ │ └── EmojiOne.png.meta │ ├── UFOTutorial.meta │ └── UFOTutorial │ │ ├── Sprites.meta │ │ ├── Sprites │ │ ├── Background.png │ │ ├── Background.png.meta │ │ ├── Pickup.png │ │ ├── Pickup.png.meta │ │ ├── UFO.png │ │ └── UFO.png.meta │ │ ├── TutorialInfo.meta │ │ ├── TutorialInfo │ │ ├── Fonts.meta │ │ ├── Fonts │ │ │ ├── LICENSE.txt │ │ │ ├── LICENSE.txt.meta │ │ │ ├── Roboto-Thin.ttf │ │ │ ├── Roboto-Thin.ttf.meta │ │ │ ├── RobotoCondensed-Bold.ttf │ │ │ └── RobotoCondensed-Bold.ttf.meta │ │ ├── Scripts.meta │ │ ├── Scripts │ │ │ ├── Editor.meta │ │ │ ├── Editor │ │ │ │ ├── TutorialInfoEditor.cs │ │ │ │ └── TutorialInfoEditor.cs.meta │ │ │ ├── TutorialInfo.cs │ │ │ └── TutorialInfo.cs.meta │ │ ├── Sprites.meta │ │ ├── Sprites │ │ │ ├── unity-logo.png │ │ │ └── unity-logo.png.meta │ │ ├── Triangle.png │ │ ├── Triangle.png.meta │ │ ├── Tutorial Info.prefab │ │ └── Tutorial Info.prefab.meta │ │ ├── _Complete-Game.unity │ │ ├── _Complete-Game.unity.meta │ │ ├── _Completed-Assets.meta │ │ └── _Completed-Assets │ │ ├── Prefabs.meta │ │ ├── Prefabs │ │ ├── Pickup (Completed).prefab │ │ └── Pickup (Completed).prefab.meta │ │ ├── Scenes.meta │ │ ├── Scenes │ │ ├── Main (Completed).unity │ │ └── Main (Completed).unity.meta │ │ ├── Scripts.meta │ │ └── Scripts │ │ ├── CompleteCameraController.cs │ │ ├── CompleteCameraController.cs.meta │ │ ├── CompletePlayerController.cs │ │ ├── CompletePlayerController.cs.meta │ │ ├── CompleteRotator.cs │ │ └── CompleteRotator.cs.meta ├── Packages │ └── manifest.json └── ProjectSettings │ ├── AudioManager.asset │ ├── ClusterInputManager.asset │ ├── DynamicsManager.asset │ ├── EditorBuildSettings.asset │ ├── EditorSettings.asset │ ├── GraphicsSettings.asset │ ├── InputManager.asset │ ├── NavMeshAreas.asset │ ├── NetworkManager.asset │ ├── Physics2DSettings.asset │ ├── PresetManager.asset │ ├── ProjectSettings.asset │ ├── ProjectVersion.txt │ ├── QualitySettings.asset │ ├── TagManager.asset │ ├── TimeManager.asset │ └── UnityConnectSettings.asset ├── Intro to Game Dev Fall 2018 Syllabus.pdf ├── LICENSE ├── README.md └── RiderInstall ├── Assets ├── New Sprite.prefab ├── New Sprite.prefab.meta ├── NewBehaviourScript.cs ├── NewBehaviourScript.cs.meta ├── Plugins.meta ├── Plugins │ ├── Editor.meta │ └── Editor │ │ ├── JetBrains.meta │ │ └── JetBrains │ │ ├── JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll │ │ └── JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll.meta ├── Scenes.meta ├── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── Square.png └── Square.png.meta ├── Packages └── manifest.json └── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── NavMeshAreas.asset ├── NetworkManager.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset └── UnityConnectSettings.asset /.gitignore: -------------------------------------------------------------------------------- 1 | **/[Ll]ibrary/** 2 | **/[Tt]emp/** 3 | **/[Oo]bj/** 4 | **/[Bb]uild/** 5 | **/[Bb]uilds/** 6 | **/Assets/AssetStoreTools* 7 | 8 | # Visual Studio cache directory 9 | .vs/ 10 | 11 | # Autogenerated VS/MD/Consulo solution and project files 12 | ExportedObj/ 13 | .consulo/ 14 | *.csproj 15 | *.unityproj 16 | *.sln 17 | *.suo 18 | *.tmp 19 | *.user 20 | *.userprefs 21 | *.pidb 22 | *.booproj 23 | *.svd 24 | *.pdb 25 | *.opendb 26 | 27 | # Unity3D generated meta files 28 | *.pidb.meta 29 | *.pdb.meta 30 | 31 | # Unity3D Generated File On Crash Reports 32 | sysinfo.txt 33 | 34 | # Builds 35 | *.apk 36 | *.unitypackage 37 | 38 | **/.idea/** 39 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ArraysAndLists.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d1706fb51ad42709eab687077bb9540 3 | timeCreated: 1539526074 -------------------------------------------------------------------------------- /In Class Demos/Assets/ArraysAndLists/Arrays.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 424a7c052f9f4a73b4d77525d7c41e13 3 | timeCreated: 1539526085 -------------------------------------------------------------------------------- /In Class Demos/Assets/ArraysAndLists/Lists.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace ArraysAndLists 5 | { 6 | public class Lists : MonoBehaviour 7 | { 8 | //If Unity knows how to Serialize the elements in the array, 9 | //they will appear in the Inspector 10 | public List MyPublicIntList; 11 | public List MyPublicGameObjectsList; 12 | public List MyPublicArraysList; 13 | 14 | private List _myGameObjectList; 15 | 16 | public void Start() 17 | { 18 | Debug.LogFormat("MyPublicArrayList is called {0}", MyPublicArraysList[0].name); 19 | 20 | _myGameObjectList = new List(); 21 | // _myGameObjectList = new List { gameObject }; // you can add elements in the initialization, too 22 | 23 | _myGameObjectList.Add(gameObject); 24 | _myGameObjectList.Add(gameObject); 25 | 26 | foreach (var obj in _myGameObjectList) 27 | { 28 | Debug.LogFormat("Object name is {0}", obj.name); 29 | } 30 | 31 | for (var i = 0; i < _myGameObjectList.Count; i++) 32 | { 33 | Debug.LogFormat("Object name is {0}", _myGameObjectList[i].name); 34 | 35 | } 36 | 37 | _myGameObjectList.Remove(gameObject); // removes the first instance of the element 38 | 39 | Debug.LogFormat("_myGameObjectList has {0} elements", _myGameObjectList.Count); 40 | 41 | _myGameObjectList.Clear(); // removes all elements 42 | 43 | Debug.LogFormat("_myGameObjectList has {0} elements", _myGameObjectList.Count); 44 | 45 | //Copying between Lists and Arrays 46 | 47 | var myListAsArray = _myGameObjectList.ToArray(); // new array with same contents 48 | // ToList() also exists for Arrays 49 | 50 | var myListCopy = _myGameObjectList; // copies reference to list -- behaves list Array example 51 | 52 | var myNewListWithValues = new List(); 53 | myNewListWithValues.AddRange(_myGameObjectList); // AddRange() copies the elements of the array to the other array 54 | 55 | } 56 | } 57 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/ArraysAndLists/Lists.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76ac61d6d3e844bc86d3785a68cc3392 3 | timeCreated: 1539531046 -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c51731ec59c5146d4aa0d87280001374 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/231778__crazy-freerider__dry-grinds-on-brick-1.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/AudioDemo/231778__crazy-freerider__dry-grinds-on-brick-1.wav -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/231778__crazy-freerider__dry-grinds-on-brick-1.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 42c023dc8116c4bf1bc6be6c707c03cd 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/70941__alexbird__light-loop.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/AudioDemo/70941__alexbird__light-loop.wav -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/70941__alexbird__light-loop.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b97541c870204e52ada0b920f4dc2c9 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/AudioDemo.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 151ba76b1484d4db49776da0ec7abfe9 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/AudioMixer.mixer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: de7ca1fd340dc4402a7c3105d4e6370d 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 24100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/AudioPlaybackControl.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class AudioPlaybackControl : MonoBehaviour 4 | { 5 | 6 | [SerializeField] private AudioSource _audio; 7 | [SerializeField] private KeyCode _playKey; 8 | [SerializeField] private KeyCode _stopKey; 9 | 10 | private void Update() 11 | { 12 | if (Input.GetKeyDown(_playKey)) 13 | _audio.Play(); 14 | if (Input.GetKeyDown(_stopKey)) 15 | _audio.Stop(); 16 | } 17 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/AudioPlaybackControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3032cf02938d74a4184418a666fc021b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/AudioStinger.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | public class AudioStinger : MonoBehaviour 4 | { 5 | [SerializeField] private AudioSource _audio; 6 | [SerializeField] private AudioClip _clip; 7 | [SerializeField] private KeyCode _key; 8 | [Range(0, 1f)] 9 | public float Volume; 10 | 11 | // private void Start() 12 | // { 13 | // // Best practice is to check that _audio != null and get the AudioSource if it is null 14 | // } 15 | 16 | private void Update() 17 | { 18 | if (Input.GetKeyDown(_key)) 19 | _audio.PlayOneShot(_clip, Volume); 20 | } 21 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/AudioStinger.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df1a39f5eea0d44339a8f46ed36a0c54 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/beanpour01.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/AudioDemo/beanpour01.wav -------------------------------------------------------------------------------- /In Class Demos/Assets/AudioDemo/beanpour01.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0fc3a4502da7462883f682b4821c1e2 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ae2019bdd405a4083af6afd10f7e8bff 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/Examples.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b52cfacc03fca4153b72a32c07467a5e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/Examples/CanvasTutorial.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 771db8ff20e5645a8a498293b5e1ab29 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/Examples/InkLineByLine.cs: -------------------------------------------------------------------------------- 1 | using Ink.Runtime; 2 | using UnityEngine; 3 | 4 | public class InkLineByLine : MonoBehaviour 5 | { 6 | [SerializeField] private TextAsset _inkJsonAsset; 7 | [SerializeField] private Story _story; 8 | 9 | private void Start() 10 | { 11 | _story = new Story(_inkJsonAsset.text); 12 | } 13 | 14 | private void Update() 15 | { 16 | if (!Input.anyKeyDown) return; 17 | 18 | if (_story.currentChoices.Count > 0) 19 | { 20 | for (var i = 0; i < _story.currentChoices.Count; i++) 21 | { 22 | //KeyCode.Alpha1 = 49 23 | // "(KeyCode)49" casts 49 to the KeyCode enum 24 | if (Input.GetKeyDown((KeyCode) 49 + i)) 25 | { 26 | _story.ChooseChoiceIndex(i); 27 | } 28 | } 29 | } 30 | 31 | if (!_story.canContinue) return; 32 | 33 | var text = _story.Continue(); 34 | var choiceText = ""; 35 | 36 | if (_story.currentChoices.Count > 0) 37 | foreach (var t in _story.currentChoices) 38 | { 39 | choiceText += t.text + "\n"; 40 | } 41 | 42 | Debug.LogFormat("{0} with choices:\n {1}", text, choiceText); 43 | } 44 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/Examples/InkLineByLine.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 251016a78a03848238e92db70a72a79d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/Examples/InkLineByLine.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7bcbab70a6d140698390af11b37170b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d14cea039f52f4da392d2b5fdbe47484 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles/Stuff.ink: -------------------------------------------------------------------------------- 1 | Late 1960s, Massachusetts. 2 | 3 | Your mom is standing on the porch. 4 | 5 | + [Talk to Mom] 6 | -> Mom1 7 | 8 | === Mom1 9 | Mom! Look! God sent me a baby! 10 | ...Excuse me? 11 | Her name is Kimmy! 12 | -> Kimmy1 13 | 14 | = Kimmy1 15 | + [It seems that Kimmy has something to say.] 16 | ... 17 | (Kimmy remains silent.) 18 | -> Nope 19 | 20 | 21 | = Nope 22 | * {X} [...] -> Y 23 | * {not X} [...] -> X 24 | 25 | = X 26 | That… No, Dana. God did not send you a baby. 27 | 28 | What do you mean…? You said God sends people babie sometimes! You told me that. 29 | 30 | Well… nevermind what I said. It doesn’t apply to you. God isn’t about to send you a baby anytime soon, trust me. 31 | 32 | What! Why? I wished for a baby, and he granted my wish. Isn’t it obvious? 33 | 34 | Where did you find this little girl? Honey, where’s your house? 35 | -> Kimmy1 36 | 37 | = Y 38 | Kimmy, can you tell me where your parents are? 39 | 40 | I can go home later if I want… 41 | 42 | Well maybe God didn’t send her, but she came out of nowhere! Kimmy, you just… appeared, right? Where did you come from? 43 | 44 | Ferry Street... I untied myself from the porch so I could go for a walk… 45 | 46 | +[How strange] -> Odd 47 | 48 | = Odd 49 | It’s ok dear, let’s go to your house Kimmy… you said it’s on Ferry Street? Your parents are probably worried. 50 | 51 | +[Head to Kimmy's house] -> Done 52 | 53 | === Done 54 | ->DONE 55 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles/Stuff.ink.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee827d18996ed4179a1bb0acb5154557 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles/Stuff.json: -------------------------------------------------------------------------------- 1 | {"inkVersion":18,"root":[["^Late 1960s, Massachusetts.","\n","^Your mom is standing on the porch.","\n","ev","str","^Talk to Mom","/str","/ev",{"*":"0.c-0","flg":4},{"c-0":["\n",{"->":"Mom1"},{"->":"0.g-0"},{"#f":7}],"g-0":["done",{"#f":7}]}],"done",{"Mom1":["^Mom! Look! God sent me a baby!","\n","^...Excuse me?","\n","^Her name is Kimmy!","\n",{"->":".^.Kimmy1"},{"Kimmy1":[["ev","str","^It seems that Kimmy has something to say.","/str","/ev",{"*":".^.c-0","flg":4},{"c-0":["\n","^...","\n","^(Kimmy remains silent.)","\n",{"->":"Mom1.Nope"},{"#f":7}]}],{"#f":3}],"Nope":[["ev","str","^...","/str",{"CNT?":"Mom1.X"},"/ev",{"*":".^.c-0","flg":21},"ev","str","^...","/str",{"CNT?":"Mom1.X"},"!","/ev",{"*":".^.c-1","flg":21},{"c-0":["^ ",{"->":"Mom1.Y"},"\n",{"#f":7}],"c-1":["^ ",{"->":"Mom1.X"},"\n",{"#f":7}]}],{"#f":3}],"X":["^That… No, Dana. God did not send you a baby.","\n","^What do you mean…? You said God sends people babie sometimes! You told me that.","\n","^Well… nevermind what I said. It doesn’t apply to you. God isn’t about to send you a baby anytime soon, trust me.","\n","^What! Why? I wished for a baby, and he granted my wish. Isn’t it obvious?","\n","^Where did you find this little girl? Honey, where’s your house?","\n",{"->":"Mom1.Kimmy1"},{"#f":3}],"Y":[["^Kimmy, can you tell me where your parents are?","\n","^I can go home later if I want…","\n","^Well maybe God didn’t send her, but she came out of nowhere! Kimmy, you just… appeared, right? Where did you come from?","\n","^Ferry Street... I untied myself from the porch so I could go for a walk…","\n","ev","str","^How strange","/str","/ev",{"*":".^.c-0","flg":4},{"c-0":["^ ",{"->":"Mom1.Odd"},"\n",{"#f":7}]}],{"#f":3}],"Odd":[["^It’s ok dear, let’s go to your house Kimmy… you said it’s on Ferry Street? Your parents are probably worried.","\n","ev","str","^Head to Kimmy's house","/str","/ev",{"*":".^.c-0","flg":4},{"c-0":["^ ",{"->":"Done"},"\n",{"#f":7}]}],{"#f":3}],"#f":3}],"Done":["done",{"#f":3}],"#f":3}],"listDefs":{}} -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles/Stuff.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8843700016da4949a0c7b7616064ebc 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles/murder.ink.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 379315fe7a25f45e0903a49232295834 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles/murder.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66f2d7c8892c9449cab024b099a9841d 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles/variableExample.ink: -------------------------------------------------------------------------------- 1 | VAR dice = false 2 | VAR chalk = false 3 | VAR appleWatch = false 4 | VAR wallet = 25 5 | VAR diceCost = 5 6 | VAR chalkCost = 6 7 | VAR appleWatchCost = 300 8 | 9 | ->BEGIN 10 | ===BEGIN 11 | Hi! Welcome to the shop! 12 | What do you wanna buy? You have {wallet} bucks. 13 | {dice : You have dice.} 14 | {chalk : You have chalk.} 15 | {appleWatch : You have an apple watch.} 16 | 17 | * [dice - {diceCost}] 18 | { diceCost < wallet: 19 | ~ wallet = wallet - diceCost 20 | ~ dice = true 21 | ->Bought 22 | - else: 23 | ->Broke 24 | } 25 | * [chalk - {chalkCost}] 26 | { chalkCost < wallet: 27 | ~ wallet = wallet - chalkCost 28 | ~ chalk = true 29 | ->Bought 30 | - else: 31 | ->Broke 32 | } 33 | + [apple watch - {appleWatchCost}] 34 | { appleWatchCost < wallet: 35 | ~ wallet = wallet - appleWatchCost 36 | ~ appleWatch = true 37 | ->Bought 38 | - else: 39 | ->Broke 40 | } 41 | 42 | =Broke 43 | You don't have enough cash. 44 | + [keep shopping] ->BEGIN 45 | 46 | =Bought 47 | You bought it. Wow. 48 | + [keep shopping] ->BEGIN 49 | 50 | ->DONE -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles/variableExample.ink.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e60ef43d58094a04b7347e467467ee1 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles/variableExample.json: -------------------------------------------------------------------------------- 1 | {"inkVersion":18,"root":[[{"->":"BEGIN"},["done",{"#f":7,"#n":"g-0"}],null],"done",{"BEGIN":[["^Hi! Welcome to the shop!","\n","^What do you wanna buy? You have ","ev",{"VAR?":"wallet"},"out","/ev","^ bucks.","\n","ev",{"VAR?":"dice"},"/ev",[{"->":".^.b","c":true},{"b":["^ You have dice.",{"->":".^.^.^.13"},null]}],"nop","\n","ev",{"VAR?":"chalk"},"/ev",[{"->":".^.b","c":true},{"b":["^ You have chalk.",{"->":".^.^.^.19"},null]}],"nop","\n","ev",{"VAR?":"appleWatch"},"/ev",[{"->":".^.b","c":true},{"b":["^ You have an apple watch.",{"->":".^.^.^.25"},null]}],"nop","\n","ev","str","^dice - ","ev",{"VAR?":"diceCost"},"out","/ev","/str","/ev",{"*":".^.c-0","flg":20},"ev","str","^chalk - ","ev",{"VAR?":"chalkCost"},"out","/ev","/str","/ev",{"*":".^.c-1","flg":20},"ev","str","^apple watch - ","ev",{"VAR?":"appleWatchCost"},"out","/ev","/str","/ev",{"*":".^.c-2","flg":4},{"c-0":["\n","ev",{"VAR?":"diceCost"},{"VAR?":"wallet"},"<","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"wallet"},{"VAR?":"diceCost"},"-","/ev",{"temp=":"wallet","re":true},"ev",1,"/ev",{"temp=":"dice","re":true},{"->":"BEGIN.Bought"},{"->":".^.^.^.8"},null]}],[{"->":".^.b"},{"b":["\n",{"->":"BEGIN.Broke"},{"->":".^.^.^.8"},null]}],"nop","\n",{"#f":7}],"c-1":["\n","ev",{"VAR?":"chalkCost"},{"VAR?":"wallet"},"<","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"wallet"},{"VAR?":"chalkCost"},"-","/ev",{"temp=":"wallet","re":true},"ev",1,"/ev",{"temp=":"chalk","re":true},{"->":"BEGIN.Bought"},{"->":".^.^.^.8"},null]}],[{"->":".^.b"},{"b":["\n",{"->":"BEGIN.Broke"},{"->":".^.^.^.8"},null]}],"nop","\n",{"#f":7}],"c-2":["\n","ev",{"VAR?":"appleWatchCost"},{"VAR?":"wallet"},"<","/ev",[{"->":".^.b","c":true},{"b":["\n","ev",{"VAR?":"wallet"},{"VAR?":"appleWatchCost"},"-","/ev",{"temp=":"wallet","re":true},"ev",1,"/ev",{"temp=":"appleWatch","re":true},{"->":"BEGIN.Bought"},{"->":".^.^.^.8"},null]}],[{"->":".^.b"},{"b":["\n",{"->":"BEGIN.Broke"},{"->":".^.^.^.8"},null]}],"nop","\n",{"#f":7}]}],{"Broke":[["^You don't have enough cash.","\n","ev","str","^keep shopping","/str","/ev",{"*":".^.c-0","flg":4},{"c-0":["^ ",{"->":"BEGIN"},"\n",{"#f":7}]}],{"#f":3}],"Bought":[["^You bought it. Wow.","\n","ev","str","^keep shopping","/str","/ev",{"*":".^.c-0","flg":4},{"c-0":["^ ",{"->":"BEGIN"},"\n","done",{"#f":7}]}],{"#f":3}],"#f":3}],"global decl":["ev",0,{"VAR=":"dice"},0,{"VAR=":"chalk"},0,{"VAR=":"appleWatch"},25,{"VAR=":"wallet"},5,{"VAR=":"diceCost"},6,{"VAR=":"chalkCost"},300,{"VAR=":"appleWatchCost"},"/ev","end",null],"#f":3}],"listDefs":{}} -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/InkFiles/variableExample.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7899070d82afd463ebd28801f661f5bc 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad34eea35b2764c94b70e1d61068cffe 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets/Amy_1_1.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8ff961e322e7452aa3e98ae8ca499f8 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets/Amy_1_2.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cc901b31c7084469da29a3c8ea3c40ed 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets/DarknessAwAiTs1211_1_1.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 50e663a5271f94e4085199bc7f1ae669 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets/Jared_1_1.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e8825ed814e9145c986e4fa94dcc35a8 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets/Jared_1_2.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3a41cb47cea547abb11cdd276c65065 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets/Kayla_1_1.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b7d21bafe8c74fb8b898dff2640a1ed 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets/Kayla_1_2.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00be6815893a64260b9895b0e3441b10 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets/Kayla_1_3.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f1a5bbf4fcd9449aa8efbdb2de3ab733 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets/lmdn_day_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Ink/LMDN_Assets/lmdn_day_1.png -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/LMDN_Assets/lmdn_day_1.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18832eb18fe964b57baa516d84bf9ae8 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 0 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: -1 35 | aniso: -1 36 | mipBias: -100 37 | wrapU: 1 38 | wrapV: 1 39 | wrapW: 1 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 1 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 100 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 1 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: -1 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: [] 76 | physicsShape: [] 77 | bones: [] 78 | spriteID: 79c6a16ab7f9f45999a40c2c270fac95 79 | vertices: [] 80 | indices: 81 | edges: [] 82 | weights: [] 83 | spritePackingTag: 84 | pSDRemoveMatte: 0 85 | pSDShowRemoveMatteOption: 0 86 | userData: 87 | assetBundleName: 88 | assetBundleVariant: 89 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Ink/kimmy_dialogue_day1.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e50052803b17d409fbd251a47a9fda78 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/InkLibrary.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: dc234ab28a32840f5adfb84a075bc023, type: 3} 12 | m_Name: InkLibrary 13 | m_EditorClassIdentifier: 14 | inkLibrary: 15 | - compileAutomatically: 0 16 | inkAsset: {fileID: 102900000, guid: ee827d18996ed4179a1bb0acb5154557, type: 3} 17 | jsonAssetPath: {fileID: 0} 18 | jsonAsset: {fileID: 4900000, guid: f8843700016da4949a0c7b7616064ebc, type: 3} 19 | - compileAutomatically: 0 20 | inkAsset: {fileID: 102900000, guid: 8e60ef43d58094a04b7347e467467ee1, type: 3} 21 | jsonAssetPath: {fileID: 0} 22 | jsonAsset: {fileID: 4900000, guid: 7899070d82afd463ebd28801f661f5bc, type: 3} 23 | - compileAutomatically: 0 24 | inkAsset: {fileID: 102900000, guid: 1460e815e969b43b8a83a7caa8b48c27, type: 3} 25 | jsonAssetPath: {fileID: 0} 26 | jsonAsset: {fileID: 4900000, guid: 6cf48bb6d89824cc69e35b43f9a1aca6, type: 3} 27 | - compileAutomatically: 0 28 | inkAsset: {fileID: 102900000, guid: 379315fe7a25f45e0903a49232295834, type: 3} 29 | jsonAssetPath: {fileID: 0} 30 | jsonAsset: {fileID: 4900000, guid: 66f2d7c8892c9449cab024b099a9841d, type: 3} 31 | pendingCompilationStack: [] 32 | compilationStack: [] 33 | -------------------------------------------------------------------------------- /In Class Demos/Assets/InkLibrary.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fecbe3b7608d74c33a76bd849d81351d 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/InkSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: 983af1b6602bf416b9928d40b37a38bd, type: 3} 12 | m_Name: InkSettings 13 | m_EditorClassIdentifier: 14 | templateFile: {fileID: 0} 15 | defaultJsonAssetPath: {fileID: 0} 16 | compileAutomatically: 1 17 | delayInPlayMode: 1 18 | handleJSONFilesAutomatically: 1 19 | compileTimeout: 6 20 | customInklecateOptions: 21 | runInklecateWithMono: 0 22 | monoPaths: 23 | - /usr/bin/mono 24 | - /usr/local/bin/mono 25 | - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono 26 | additionalCompilerOptions: 27 | inklecate: {fileID: 0} 28 | -------------------------------------------------------------------------------- /In Class Demos/Assets/InkSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 110978f9c8094453b95b3c6c7fe90be4 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Patterns.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4222fee8aefd449c8fc5c0db58982b02 3 | timeCreated: 1539955260 -------------------------------------------------------------------------------- /In Class Demos/Assets/Patterns/Singleton.cs: -------------------------------------------------------------------------------- 1 | // Singleton.cs 2 | // Last edited 7:43 PM 04/15/2015 by Aaron Freedman 3 | 4 | using UnityEngine; 5 | 6 | namespace Patterns 7 | { 8 | // This is a super lazy, but dead-simple way of doing a Singleton using a Template 9 | // It is definitely not performant in Unity (because of Reflection) 10 | // It also doesn't enforce a single instance of an object in any way. 11 | // It's convenient for prototyping, but I don't recommend using it long-term 12 | namespace Assets.PrototypingKit.Patterns 13 | { 14 | public abstract class Singleton : MonoBehaviour where T : Object 15 | { 16 | private static T _instance; 17 | 18 | /// 19 | /// Gets or sets the instance. 20 | /// 21 | /// The instance. 22 | public static T Instance 23 | { 24 | get 25 | { 26 | if (_instance == null) 27 | { 28 | Instance = FindObjectOfType(); 29 | } 30 | return _instance; 31 | } 32 | private set { _instance = value; } 33 | } 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/Patterns/Singleton.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c254a58a4aee4d9caf4d0a0b2c0218d0 3 | timeCreated: 1539955243 -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ce740322414b43008e2d6615037004c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7785996db51fe44b7b8ba847569d4fed 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Editor/JetBrains.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8d1deccce9931438d8fb4d4dd533ae8a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Editor/JetBrains/JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Editor/JetBrains/JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Editor/JetBrains/JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 715cbeeb7ad8d48f7bc86be533c678c7 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | isPreloaded: 0 9 | isOverridable: 0 10 | platformData: 11 | - first: 12 | Any: 13 | second: 14 | enabled: 0 15 | settings: {} 16 | - first: 17 | Editor: Editor 18 | second: 19 | enabled: 1 20 | settings: 21 | DefaultValueInitialized: true 22 | - first: 23 | Windows Store Apps: WindowsStoreApps 24 | second: 25 | enabled: 0 26 | settings: 27 | CPU: AnyCPU 28 | userData: 29 | assetBundleName: 30 | assetBundleVariant: 31 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 051c632258dd44070a36928a4c0949a0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: df28596461d414a1b9f56cb406a23a3f 3 | folderAsset: yes 4 | timeCreated: 1459882215 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Compiler.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ddef5103d5ce1401da019f7df6c472af 3 | folderAsset: yes 4 | timeCreated: 1459882122 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Compiler/Auto Compiler.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e277a78690c74451084fbfbedc0507e8 3 | folderAsset: yes 4 | timeCreated: 1459941651 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Compiler/Auto Compiler/InkPostProcessor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45a9c84618e20498993d11d2bb89946e 3 | timeCreated: 1459667420 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Compiler/InkCompiler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 430cb8f71c23c438cb8b0ce85cc80fa6 3 | timeCreated: 1459463931 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Inspector.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7ff1896f35a148d8a4c1850f1e8e13d 3 | folderAsset: yes 4 | timeCreated: 1459934446 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Inspector/File Icons.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 290647b1cd76b4b23b6ba5dd1eb0dee6 3 | folderAsset: yes 4 | timeCreated: 1459941567 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Inspector/File Icons/InkBrowserIcons.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38c650d4ee11f47559699f833d29d4b9 3 | timeCreated: 1459341699 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Inspector/Ink Inspector.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eda31f3944ab744f6b3b87e408c244e9 3 | folderAsset: yes 4 | timeCreated: 1460011342 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Inspector/Ink Inspector/DefaultAssetEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | using System; 4 | using System.Collections.Generic; 5 | using System.Reflection; 6 | 7 | namespace Ink.UnityIntegration { 8 | [CustomEditor(typeof(DefaultAsset), true)] 9 | public class DefaultAssetEditor : Editor { 10 | 11 | private DefaultAssetInspector inspector; 12 | 13 | private void OnEnable () { 14 | inspector = FindObjectInspector (); 15 | if(inspector != null) { 16 | inspector.editor = this; 17 | inspector.serializedObject = serializedObject; 18 | inspector.target = target; 19 | inspector.OnEnable(); 20 | } 21 | } 22 | 23 | private void OnDisable () { 24 | if(inspector != null) 25 | inspector.OnDisable(); 26 | } 27 | 28 | protected override void OnHeaderGUI () { 29 | if(inspector != null) { 30 | inspector.OnHeaderGUI(); 31 | } 32 | else if (target.GetType() != typeof(UnityEditor.DefaultAsset)) 33 | base.OnHeaderGUI(); 34 | } 35 | 36 | public override void OnInspectorGUI () { 37 | if(inspector != null) { 38 | GUI.enabled = true; 39 | inspector.OnInspectorGUI(); 40 | } 41 | else if (target.GetType() != typeof(UnityEditor.DefaultAsset)) 42 | base.OnInspectorGUI(); 43 | } 44 | 45 | private DefaultAssetInspector FindObjectInspector () { 46 | List assembliesToCheck = new List{"Assembly-CSharp-Editor", "Assembly-CSharp-Editor-firstpass", "Assembly-UnityScript-Editor", "Assembly-UnityScript-Editor-firstpass"}; 47 | string assetPath = AssetDatabase.GetAssetPath(target); 48 | Assembly[] referencedAssemblies = System.AppDomain.CurrentDomain.GetAssemblies(); 49 | for(int i = 0; i < referencedAssemblies.Length; ++i) { 50 | if(!assembliesToCheck.Contains(referencedAssemblies[i].GetName().Name)) 51 | continue; 52 | foreach(var type in referencedAssemblies[i].GetTypes()) { 53 | if(!type.IsSubclassOf(typeof(DefaultAssetInspector))) 54 | continue; 55 | DefaultAssetInspector objectInspector = (DefaultAssetInspector)Activator.CreateInstance(type); 56 | if(objectInspector.IsValid(assetPath)) { 57 | objectInspector.target = target; 58 | return objectInspector; 59 | } 60 | } 61 | } 62 | return null; 63 | } 64 | } 65 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Inspector/Ink Inspector/DefaultAssetEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe3507ae5d970447197e131c39ac31b6 3 | timeCreated: 1464440328 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Inspector/Ink Inspector/DefaultAssetInspector.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace Ink.UnityIntegration { 5 | public abstract class DefaultAssetInspector { 6 | // Reference to the actual editor we draw to 7 | public Editor editor; 8 | // Shortcut to the target object 9 | public Object target; 10 | // Shortcut to the serializedObject 11 | public SerializedObject serializedObject; 12 | 13 | public abstract bool IsValid(string assetPath); 14 | public virtual void OnEnable () {} 15 | public virtual void OnDisable () {} 16 | public virtual void OnHeaderGUI () {} 17 | public virtual void OnInspectorGUI() {} 18 | } 19 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Inspector/Ink Inspector/DefaultAssetInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fa6f007190b6408c8aebb32050a3bbe 3 | timeCreated: 1470299519 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Inspector/Ink Inspector/InkInspector.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6905e53703af64a70aa6eb42f98b047c 3 | timeCreated: 1460011343 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Library.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c547bc1dd015a497cb998538d42d2340 3 | folderAsset: yes 4 | timeCreated: 1459878666 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Library/InkFile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b497ccd4b61cb4fee8b8f0ce86302e83 3 | timeCreated: 1459464092 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Library/InkLibrary.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dc234ab28a32840f5adfb84a075bc023 3 | timeCreated: 1485516445 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Library/InkLibraryEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace Ink.UnityIntegration { 5 | 6 | [CustomEditor(typeof(InkLibrary))] 7 | public class InkLibraryEditor : Editor { 8 | 9 | #pragma warning disable 10 | protected InkLibrary data; 11 | 12 | public void OnEnable() { 13 | data = (InkLibrary) target; 14 | } 15 | 16 | public override void OnInspectorGUI() { 17 | serializedObject.Update(); 18 | 19 | if (GUILayout.Button(new GUIContent("Rebuild Library", "Rebuilds the ink library. Do this if you're getting unusual errors"))) { 20 | InkLibrary.Rebuild(); 21 | } 22 | 23 | if (GUILayout.Button(new GUIContent("Recompile All", "Rebuilds the ink library and recompiles all files."))) { 24 | InkEditorUtils.RecompileAll(); 25 | } 26 | 27 | EditorGUILayout.HelpBox("This file caches information about ink files in your project.", MessageType.Info); 28 | EditorGUILayout.PropertyField(serializedObject.FindProperty("inkLibrary"), true); 29 | EditorGUILayout.PropertyField(serializedObject.FindProperty("pendingCompilationStack"), true); 30 | EditorGUILayout.PropertyField(serializedObject.FindProperty("compilationStack"), true); 31 | if(GUI.changed && target != null) 32 | EditorUtility.SetDirty(target); 33 | serializedObject.ApplyModifiedProperties(); 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Library/InkLibraryEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da7a0f8590db84a63b1bc2f26b706ed1 3 | timeCreated: 1485516445 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Library/InkMetaFile.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 55271c8b592344dadb06d13898333e06 3 | timeCreated: 1485530170 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Library/InkMetaLibrary.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db8895787ed204ab68ec3b62a233cc18 3 | timeCreated: 1485529908 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Settings.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6188b37f5f5824313b73fb964d1b269e 3 | folderAsset: yes 4 | timeCreated: 1459878666 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Settings/InkSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 983af1b6602bf416b9928d40b37a38bd 3 | timeCreated: 1485516445 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Settings/InkSettingsEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | 4 | namespace Ink.UnityIntegration { 5 | 6 | [CustomEditor(typeof(InkSettings))] 7 | public class InkSettingsEditor : Editor { 8 | 9 | #pragma warning disable 10 | protected InkSettings data; 11 | 12 | public void OnEnable() { 13 | data = (InkSettings) target; 14 | } 15 | 16 | public override void OnInspectorGUI() { 17 | serializedObject.Update(); 18 | 19 | if(serializedObject.FindProperty("templateFile").objectReferenceValue == null) { 20 | EditorGUILayout.HelpBox("Template not found. Ink files created via Assets > Create > Ink will be blank.", MessageType.Info); 21 | } 22 | EditorGUILayout.PropertyField(serializedObject.FindProperty("templateFile"), new GUIContent("Ink Template", "Optional. The default content of files created via Assets > Create > Ink.")); 23 | 24 | EditorGUILayout.PropertyField(serializedObject.FindProperty("defaultJsonAssetPath"), new GUIContent("New JSON Path", "By default, story JSON files are placed next to the ink. Drag a folder here to place new JSON files there instead.")); 25 | 26 | data.compileAutomatically = EditorGUILayout.Toggle(new GUIContent("Compile All Ink Automatically", "When disabled, automatic compilation can be enabled on a per-story basis via the inspector for a master story file. This can be helpful when you have several stories in a single project."), data.compileAutomatically); 27 | data.delayInPlayMode = EditorGUILayout.Toggle(new GUIContent("Delay compilation if in Play Mode", "When enabled, ink compilation is delayed if in play mode. Files will be compiled on re-entering edit mode."), data.delayInPlayMode); 28 | 29 | data.handleJSONFilesAutomatically = EditorGUILayout.Toggle(new GUIContent("Handle JSON Automatically", "Whether JSON files are moved, renamed and deleted along with their ink files."), data.handleJSONFilesAutomatically); 30 | EditorGUILayout.PropertyField(serializedObject.FindProperty("customInklecateOptions"), new GUIContent("Custom Inklecate (Advanced)", "For games using a custom version of ink"), true); 31 | 32 | EditorGUILayout.PropertyField(serializedObject.FindProperty("compileTimeout"), new GUIContent("Compile Timeout", "The max time the compiler will attempt to compile for in case of unhanded errors. You may need to increase this for very large ink projects."), true); 33 | 34 | if(GUI.changed && target != null) 35 | EditorUtility.SetDirty(target); 36 | serializedObject.ApplyModifiedProperties(); 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Ink Settings/InkSettingsEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4842c69e8d1f0443d8f4626c65ea356a 3 | timeCreated: 1485516445 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Player Window.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76d8510b5dffa4afe814a18428526677 3 | folderAsset: yes 4 | timeCreated: 1459882092 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Player Window/InkPlayerWindow.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf969d7f2c98e470c9797844e20b20ee 3 | timeCreated: 1459342679 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7db532cf76e3b4072a4e7ea2ff88d03e 3 | folderAsset: yes 4 | timeCreated: 1475576594 5 | licenseType: Pro 6 | DefaultImporter: 7 | externalObjects: {} 8 | userData: 9 | assetBundleName: 10 | assetBundleVariant: 11 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkChildIcon-Large.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkChildIcon-Large.psd -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkChildIcon-Large.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f4e541342c07c476094e04dc118fed7b 3 | timeCreated: 1463742861 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkChildIcon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkChildIcon.psd -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkChildIcon.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 53256257fd17e4dfda5f08016551019e 3 | timeCreated: 1461958426 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkCompileManualIcon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkCompileManualIcon.psd -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkCompileManualIcon.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e91fdbfb2b154a18b675257bc4d43d9 3 | timeCreated: 1485360612 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | sRGBTexture: 0 12 | linearTexture: 1 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: -3 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: 0 31 | aniso: 1 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 0 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 0 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 1 45 | alphaIsTransparency: 1 46 | spriteTessellationDetail: -1 47 | textureType: 2 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 0 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | - buildTarget: Standalone 62 | maxTextureSize: 2048 63 | textureFormat: -1 64 | textureCompression: 0 65 | compressionQuality: 50 66 | crunchedCompression: 0 67 | allowsAlphaSplitting: 0 68 | overridden: 0 69 | - buildTarget: iPhone 70 | maxTextureSize: 2048 71 | textureFormat: -1 72 | textureCompression: 0 73 | compressionQuality: 50 74 | crunchedCompression: 0 75 | allowsAlphaSplitting: 0 76 | overridden: 0 77 | spriteSheet: 78 | serializedVersion: 2 79 | sprites: [] 80 | outline: [] 81 | spritePackingTag: 82 | userData: 83 | assetBundleName: 84 | assetBundleVariant: 85 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkDefaultTemplate.txt: -------------------------------------------------------------------------------- 1 | Hello world! 2 | * Hello back! 3 | Nice to hear from you! -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkDefaultTemplate.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0487be7f554cd45a6916f94d2b6baf50 3 | timeCreated: 1462291397 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkErrorIcon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkErrorIcon.psd -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkErrorIcon.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ab12885a47a21456596113fc9233946c 3 | timeCreated: 1461099630 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkFileIcon-Large.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkFileIcon-Large.psd -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkFileIcon-Large.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 957c8ea47888d42349ae208cffe69c4b 3 | timeCreated: 1463734461 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 16 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkFileIcon-retina.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkFileIcon-retina.psd -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkFileIcon-retina.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd3c497264be941e3a935055a433bbb9 3 | timeCreated: 1459953147 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkFileIcon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkFileIcon.psd -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkFileIcon.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e6b218461abe4192baeeabfbe7a9ced 3 | timeCreated: 1459341708 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 16 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkTodoIcon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkTodoIcon.psd -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkTodoIcon.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 73b0b2e787c654227845ff231c5eab5d 3 | timeCreated: 1485360612 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 4 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | sRGBTexture: 0 12 | linearTexture: 1 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 6 25 | cubemapConvolution: 0 26 | seamlessCubemap: 0 27 | textureFormat: -3 28 | maxTextureSize: 2048 29 | textureSettings: 30 | filterMode: 0 31 | aniso: 1 32 | mipBias: -1 33 | wrapMode: 1 34 | nPOTScale: 0 35 | lightmap: 0 36 | compressionQuality: 50 37 | spriteMode: 0 38 | spriteExtrude: 1 39 | spriteMeshType: 1 40 | alignment: 0 41 | spritePivot: {x: 0.5, y: 0.5} 42 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 43 | spritePixelsToUnits: 100 44 | alphaUsage: 1 45 | alphaIsTransparency: 1 46 | spriteTessellationDetail: -1 47 | textureType: 2 48 | textureShape: 1 49 | maxTextureSizeSet: 0 50 | compressionQualitySet: 0 51 | textureFormatSet: 0 52 | platformSettings: 53 | - buildTarget: DefaultTexturePlatform 54 | maxTextureSize: 2048 55 | textureFormat: -1 56 | textureCompression: 0 57 | compressionQuality: 50 58 | crunchedCompression: 0 59 | allowsAlphaSplitting: 0 60 | overridden: 0 61 | - buildTarget: Standalone 62 | maxTextureSize: 2048 63 | textureFormat: -1 64 | textureCompression: 0 65 | compressionQuality: 50 66 | crunchedCompression: 0 67 | allowsAlphaSplitting: 0 68 | overridden: 0 69 | - buildTarget: iPhone 70 | maxTextureSize: 2048 71 | textureFormat: -1 72 | textureCompression: 0 73 | compressionQuality: 50 74 | crunchedCompression: 0 75 | allowsAlphaSplitting: 0 76 | overridden: 0 77 | spriteSheet: 78 | serializedVersion: 2 79 | sprites: [] 80 | outline: [] 81 | spritePackingTag: 82 | userData: 83 | assetBundleName: 84 | assetBundleVariant: 85 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkUnknownFileIcon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkUnknownFileIcon.psd -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkUnknownFileIcon.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b26518ba7d72a4fd3bc42599f621c839 3 | timeCreated: 1462526037 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkWarningIcon.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkWarningIcon.psd -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Resources/InkWarningIcon.psd.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: efc1324f6160840a9a4c26231cc2d304 3 | timeCreated: 1461099630 4 | licenseType: Pro 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 0 11 | linearTexture: 1 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -3 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: 0 33 | aniso: 1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 0 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 2 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | outline: [] 54 | spritePackingTag: 55 | userData: 56 | assetBundleName: 57 | assetBundleVariant: 58 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Tools.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c467be9178a5427983a7344e352e0be 3 | folderAsset: yes 4 | timeCreated: 1459878675 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Editor/Tools/InkEditorUtils.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: eeaeb991395be4e9e9ab83197c649ad8 3 | timeCreated: 1459944754 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 437afae28f7ce478fa60ca517959ab62 3 | folderAsset: yes 4 | timeCreated: 1467986371 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example/Ink.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cb898eea3b699423d892ca460348ce1c 3 | folderAsset: yes 4 | timeCreated: 1473758854 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example/Ink/story.ink: -------------------------------------------------------------------------------- 1 | - I looked at Monsieur Fogg 2 | * ... and I could contain myself no longer. 3 | 'What is the purpose of our journey, Monsieur?' 4 | 'A wager,' he replied. 5 | * * 'A wager!'[] I returned. 6 | He nodded. 7 | * * * 'But surely that is foolishness!' 8 | * * * 'A most serious matter then!' 9 | - - - He nodded again. 10 | * * * 'But can we win?' 11 | 'That is what we will endeavour to find out,' he answered. 12 | * * * 'A modest wager, I trust?' 13 | 'Twenty thousand pounds,' he replied, quite flatly. 14 | * * * I asked nothing further of him then[.], and after a final, polite cough, he offered nothing more to me. <> 15 | * * 'Ah[.'],' I replied, uncertain what I thought. 16 | - - After that, <> 17 | * ... but I said nothing[] and <> 18 | - we passed the day in silence. 19 | - -> END -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example/Ink/story.ink.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1460e815e969b43b8a83a7caa8b48c27 3 | timeCreated: 1464457282 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example/Ink/story.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6cf48bb6d89824cc69e35b43f9a1aca6 3 | timeCreated: 1512575780 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example/InkExample.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8af1c5cbac5094782904447c9410b35d 3 | timeCreated: 1464868186 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4258ff9a1318848b4802459289151adc 3 | folderAsset: yes 4 | timeCreated: 1464454716 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example/Prefabs/Button.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 37c108a6c38964f79a6621eccb33ddc1 3 | timeCreated: 1457987203 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example/Prefabs/Text.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1aab6ef84d87c416f8f0b3e1ef3d77d2 3 | timeCreated: 1457983120 4 | licenseType: Free 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85425515af1dd47d098cd1c7d42eff0b 3 | folderAsset: yes 4 | timeCreated: 1464454731 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Example/Scripts/BasicInkExample.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 66e957d58a4584a8894329531ec0b096 3 | timeCreated: 1473758854 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Extras.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da9154df703de4360bd91ca5ce4ceb2d 3 | folderAsset: yes 4 | timeCreated: 1460814135 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Extras/Sublime3Syntax.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Extras/Sublime3Syntax.zip -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Extras/Sublime3Syntax.zip.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db1b6d593e1a4418489b76bb1e8b5ddd 3 | timeCreated: 1460814135 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09ba8a8c2206e48cfa59f4f51335455e 3 | folderAsset: yes 4 | timeCreated: 1460992356 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/CallStack.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 152213b0affe5410c9b7ef8eac085a64 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Choice.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Ink.Runtime 3 | { 4 | /// 5 | /// A generated Choice from the story. 6 | /// A single ChoicePoint in the Story could potentially generate 7 | /// different Choices dynamically dependent on state, so they're 8 | /// separated. 9 | /// 10 | public class Choice : Runtime.Object 11 | { 12 | /// 13 | /// The main text to presented to the player for this Choice. 14 | /// 15 | public string text { get; set; } 16 | 17 | /// 18 | /// The target path that the Story should be diverted to if 19 | /// this Choice is chosen. 20 | /// 21 | public string pathStringOnChoice { 22 | get { 23 | return targetPath.ToString (); 24 | } 25 | set { 26 | targetPath = new Path (value); 27 | } 28 | } 29 | 30 | /// 31 | /// Get the path to the original choice point - where was this choice defined in the story? 32 | /// 33 | /// A dot separated path into the story data. 34 | public string sourcePath; 35 | 36 | /// 37 | /// The original index into currentChoices list on the Story when 38 | /// this Choice was generated, for convenience. 39 | /// 40 | public int index { get; set; } 41 | 42 | internal Path targetPath; 43 | 44 | internal CallStack.Thread threadAtGeneration { get; set; } 45 | internal int originalThreadIndex; 46 | 47 | internal bool isInvisibleDefault; 48 | 49 | internal Choice() 50 | { 51 | } 52 | } 53 | } 54 | 55 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Choice.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8db545ff917fa46d7aa5f472a9fdbad8 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/ChoicePoint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b790cb942d6b84ca28e93a2b46d8c48f 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Container.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2739750c31df04462a8dedfa904e8760 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/ControlCommand.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 41100189b7af04624a6c92ee13e18232 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/DebugMetadata.cs: -------------------------------------------------------------------------------- 1 | namespace Ink.Runtime 2 | { 3 | internal class DebugMetadata 4 | { 5 | internal int startLineNumber = 0; 6 | internal int endLineNumber = 0; 7 | internal string fileName = null; 8 | internal string sourceName = null; 9 | 10 | public DebugMetadata () 11 | { 12 | } 13 | 14 | public override string ToString () 15 | { 16 | if (fileName != null) { 17 | return string.Format ("line {0} of {1}", startLineNumber, fileName); 18 | } else { 19 | return "line " + startLineNumber; 20 | } 21 | 22 | } 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/DebugMetadata.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1ae8e933de9541df9d12af663906aaf 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Divert.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e98dd0cea4d0a4ddcbc9a1f135b486d4 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Glue.cs: -------------------------------------------------------------------------------- 1 | namespace Ink.Runtime 2 | { 3 | internal class Glue : Runtime.Object 4 | { 5 | public Glue() { } 6 | 7 | public override string ToString () 8 | { 9 | return "Glue"; 10 | } 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Glue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 60dc9de8c1e834c6eade8d924a7afe45 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/INamedContent.cs: -------------------------------------------------------------------------------- 1 |  2 | namespace Ink.Runtime 3 | { 4 | internal interface INamedContent 5 | { 6 | string name { get; } 7 | bool hasValidName { get; } 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/INamedContent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: db1f7c668efd4422d8437ac965745242 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/InkList.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a56f188ddfd3452386a797f878ab7ed 3 | timeCreated: 1489138947 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/JsonSerialisation.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1365b619ff45f4d12b7bf20cc52a4173 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/ListDefinition.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: efacbd9aad3e9480d9c82bbd58922944 3 | timeCreated: 1489138947 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/ListDefinitionsOrigin.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | 3 | namespace Ink.Runtime 4 | { 5 | internal class ListDefinitionsOrigin 6 | { 7 | public List lists { 8 | get { 9 | var listOfLists = new List (); 10 | foreach (var namedList in _lists) { 11 | listOfLists.Add (namedList.Value); 12 | } 13 | return listOfLists; 14 | } 15 | } 16 | 17 | public ListDefinitionsOrigin (List lists) 18 | { 19 | _lists = new Dictionary (); 20 | _allUnambiguousListValueCache = new Dictionary(); 21 | 22 | foreach (var list in lists) { 23 | _lists [list.name] = list; 24 | 25 | foreach(var itemWithValue in list.items) { 26 | var item = itemWithValue.Key; 27 | var val = itemWithValue.Value; 28 | var listValue = new ListValue(item, val); 29 | 30 | // May be ambiguous, but compiler should've caught that, 31 | // so we may be doing some replacement here, but that's okay. 32 | _allUnambiguousListValueCache[item.itemName] = listValue; 33 | _allUnambiguousListValueCache[item.fullName] = listValue; 34 | } 35 | } 36 | } 37 | 38 | public bool TryListGetDefinition (string name, out ListDefinition def) 39 | { 40 | return _lists.TryGetValue (name, out def); 41 | } 42 | 43 | public ListValue FindSingleItemListWithName (string name) 44 | { 45 | ListValue val = null; 46 | _allUnambiguousListValueCache.TryGetValue(name, out val); 47 | return val; 48 | } 49 | 50 | Dictionary _lists; 51 | Dictionary _allUnambiguousListValueCache; 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/ListDefinitionsOrigin.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ec881a45ed342471fb87e412417b6343 3 | timeCreated: 1489138947 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/NativeFunctionCall.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b713d1356fec8458380a308bdc2e8b8f 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Object.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20b56f60ae0f44147bccbae6ef3d0054 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Path.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62ce05aceee3c42cc90313aec848e171 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Pointer.cs: -------------------------------------------------------------------------------- 1 | using Ink.Runtime; 2 | 3 | namespace Ink.Runtime 4 | { 5 | /// 6 | /// Internal structure used to point to a particular / current point in the story. 7 | /// Where Path is a set of components that make content fully addressable, this is 8 | /// a reference to the current container, and the index of the current piece of 9 | /// content within that container. This scheme makes it as fast and efficient as 10 | /// possible to increment the pointer (move the story forwards) in a way that's as 11 | /// native to the internal engine as possible. 12 | /// 13 | internal struct Pointer 14 | { 15 | public Container container; 16 | public int index; 17 | 18 | public Pointer (Container container, int index) 19 | { 20 | this.container = container; 21 | this.index = index; 22 | } 23 | 24 | public Runtime.Object Resolve () 25 | { 26 | if (index < 0) return container; 27 | if (container == null) return null; 28 | if (container.content.Count == 0) return container; 29 | if (index >= container.content.Count) return null; 30 | return container.content [index]; 31 | 32 | } 33 | 34 | public bool isNull { 35 | get { 36 | return container == null; 37 | } 38 | } 39 | 40 | public Path path { 41 | get { 42 | if( isNull ) return null; 43 | 44 | if (index >= 0) 45 | return container.path.PathByAppendingComponent (new Path.Component(index)); 46 | else 47 | return container.path; 48 | } 49 | } 50 | 51 | public override string ToString () 52 | { 53 | if (container == null) 54 | return "Ink Pointer (null)"; 55 | 56 | return "Ink Pointer -> " + container.path.ToString () + " -- index " + index; 57 | } 58 | 59 | public static Pointer StartOf (Container container) 60 | { 61 | return new Pointer { 62 | container = container, 63 | index = 0 64 | }; 65 | } 66 | 67 | public static Pointer Null = new Pointer { container = null, index = -1 }; 68 | 69 | } 70 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Pointer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 802f84ed94f0e4f518e4be47877e9a33 3 | timeCreated: 1523289646 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Profiler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8323a1136a1484abebab14150a06453a 3 | timeCreated: 1503652759 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/PushPop.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | 4 | namespace Ink.Runtime 5 | { 6 | internal enum PushPopType 7 | { 8 | Tunnel, 9 | Function, 10 | FunctionEvaluationFromGame 11 | } 12 | } 13 | 14 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/PushPop.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6f42c73ddbc24b8fadf5f6c84287fc0 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/SearchResult.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Ink.Runtime 3 | { 4 | // When looking up content within the story (e.g. in Container.ContentAtPath), 5 | // the result is generally found, but if the story is modified, then when loading 6 | // up an old save state, then some old paths may still exist. In this case we 7 | // try to recover by finding an approximate result by working up the story hierarchy 8 | // in the path to find the closest valid container. Instead of crashing horribly, 9 | // we might see some slight oddness in the content, but hopefully it recovers! 10 | internal struct SearchResult 11 | { 12 | public Runtime.Object obj; 13 | public bool approximate; 14 | 15 | public Runtime.Object correctObj { get { return approximate ? null : obj; } } 16 | public Container container { get { return obj as Container; } } 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/SearchResult.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40f07931ec6ee409e97714e5567fd5c6 3 | timeCreated: 1523956574 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/SimpleJson.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5f2b378ccb9e148929c90bae41bb2c9d 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Story.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9996ae35e3e4647e8b8ee0c5aeb61489 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/StoryException.cs: -------------------------------------------------------------------------------- 1 | namespace Ink.Runtime 2 | { 3 | /// 4 | /// Exception that represents an error when running a Story at runtime. 5 | /// An exception being thrown of this type is typically when there's 6 | /// a bug in your ink, rather than in the ink engine itself! 7 | /// 8 | public class StoryException : System.Exception 9 | { 10 | internal bool useEndLineNumber; 11 | 12 | /// 13 | /// Constructs a default instance of a StoryException without a message. 14 | /// 15 | public StoryException () { } 16 | 17 | /// 18 | /// Constructs an instance of a StoryException with a message. 19 | /// 20 | /// The error message. 21 | public StoryException(string message) : base(message) {} 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/StoryException.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 83b6443aded8c49e1960594d5f64e114 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/StoryState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 69b5ba5009dea4a3d8f67fbe1ebbc902 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/StringJoinExtension.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Text; 4 | 5 | namespace Ink.Runtime 6 | { 7 | internal static class StringExt 8 | { 9 | public static string Join(string separator, List objects) 10 | { 11 | var sb = new StringBuilder (); 12 | 13 | var isFirst = true; 14 | foreach (var o in objects) { 15 | 16 | if (!isFirst) 17 | sb.Append (separator); 18 | 19 | sb.Append (o.ToString ()); 20 | 21 | isFirst = false; 22 | } 23 | 24 | return sb.ToString (); 25 | } 26 | } 27 | } 28 | 29 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/StringJoinExtension.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c907c30d0b7c4e5aa2dfe477bba8a89 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Tag.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace Ink.Runtime 4 | { 5 | internal class Tag : Runtime.Object 6 | { 7 | public string text { get; private set; } 8 | 9 | public Tag (string tagText) 10 | { 11 | this.text = tagText; 12 | } 13 | 14 | public override string ToString () 15 | { 16 | return "# " + text; 17 | } 18 | } 19 | } 20 | 21 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Tag.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8a631dc795b748dfbe8f53304cd9675 3 | timeCreated: 1476701231 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Value.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 57357686b389f45c9ad0659798094c5d 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/VariableAssignment.cs: -------------------------------------------------------------------------------- 1 | using System.ComponentModel; 2 | 3 | namespace Ink.Runtime 4 | { 5 | // The value to be assigned is popped off the evaluation stack, so no need to keep it here 6 | internal class VariableAssignment : Runtime.Object 7 | { 8 | public string variableName { get; protected set; } 9 | public bool isNewDeclaration { get; protected set; } 10 | public bool isGlobal { get; set; } 11 | 12 | public VariableAssignment (string variableName, bool isNewDeclaration) 13 | { 14 | this.variableName = variableName; 15 | this.isNewDeclaration = isNewDeclaration; 16 | } 17 | 18 | // Require default constructor for serialisation 19 | public VariableAssignment() : this(null, false) {} 20 | 21 | public override string ToString () 22 | { 23 | return "VarAssign to " + variableName; 24 | } 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/VariableAssignment.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fb2c978a16e604e18b1c0ca3ea64db84 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/VariableReference.cs: -------------------------------------------------------------------------------- 1 | namespace Ink.Runtime 2 | { 3 | internal class VariableReference : Runtime.Object 4 | { 5 | // Normal named variable 6 | public string name { get; set; } 7 | 8 | // Variable reference is actually a path for a visit (read) count 9 | public Path pathForCount { get; set; } 10 | 11 | internal Container containerForCount { 12 | get { 13 | return this.ResolvePath (pathForCount).container; 14 | } 15 | } 16 | 17 | public string pathStringForCount { 18 | get { 19 | if( pathForCount == null ) 20 | return null; 21 | 22 | return CompactPathString(pathForCount); 23 | } 24 | set { 25 | if (value == null) 26 | pathForCount = null; 27 | else 28 | pathForCount = new Path (value); 29 | } 30 | } 31 | 32 | public VariableReference (string name) 33 | { 34 | this.name = name; 35 | } 36 | 37 | // Require default constructor for serialisation 38 | public VariableReference() {} 39 | 40 | public override string ToString () 41 | { 42 | if (name != null) { 43 | return string.Format ("var({0})", name); 44 | } else { 45 | var pathStr = pathStringForCount; 46 | return string.Format("read_count({0})", pathStr); 47 | } 48 | } 49 | } 50 | } 51 | 52 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/VariableReference.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3c9a8ec523da34a6196730896d7a2c1d 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/VariablesState.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98a3826d0e499440992195956701397e 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Void.cs: -------------------------------------------------------------------------------- 1 | namespace Ink.Runtime 2 | { 3 | internal class Void : Runtime.Object 4 | { 5 | public Void () 6 | { 7 | } 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/InkRuntime/Void.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28e3cd581fd59451fb8dacea1b19f477 3 | timeCreated: 1470932199 4 | licenseType: Pro 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Inklecate.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8cab9ecb645d648e69ebb708c7b38f32 3 | folderAsset: yes 4 | timeCreated: 1459802219 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Inklecate/ink-engine-runtime.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Inklecate/ink-engine-runtime.dll -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Inklecate/ink-engine-runtime.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7fce79c71cb84cde8c5b90e2bade87c 3 | timeCreated: 1485365436 4 | licenseType: Pro 5 | PluginImporter: 6 | serializedVersion: 1 7 | iconMap: {} 8 | executionOrder: {} 9 | isPreloaded: 0 10 | isOverridable: 0 11 | platformData: 12 | Any: 13 | enabled: 0 14 | settings: 15 | Exclude Editor: 1 16 | Exclude Linux: 1 17 | Exclude Linux64: 1 18 | Exclude LinuxUniversal: 1 19 | Exclude OSXIntel: 1 20 | Exclude OSXIntel64: 1 21 | Exclude OSXUniversal: 1 22 | Exclude Win: 1 23 | Exclude Win64: 1 24 | Exclude iOS: 1 25 | Editor: 26 | enabled: 0 27 | settings: 28 | CPU: AnyCPU 29 | DefaultValueInitialized: true 30 | OS: AnyOS 31 | Linux: 32 | enabled: 0 33 | settings: 34 | CPU: x86 35 | Linux64: 36 | enabled: 0 37 | settings: 38 | CPU: x86_64 39 | LinuxUniversal: 40 | enabled: 0 41 | settings: 42 | CPU: None 43 | OSXIntel: 44 | enabled: 0 45 | settings: 46 | CPU: AnyCPU 47 | OSXIntel64: 48 | enabled: 0 49 | settings: 50 | CPU: AnyCPU 51 | OSXUniversal: 52 | enabled: 0 53 | settings: 54 | CPU: None 55 | Win: 56 | enabled: 0 57 | settings: 58 | CPU: AnyCPU 59 | Win64: 60 | enabled: 0 61 | settings: 62 | CPU: AnyCPU 63 | WindowsStoreApps: 64 | enabled: 0 65 | settings: 66 | CPU: AnyCPU 67 | iOS: 68 | enabled: 0 69 | settings: 70 | CompileFlags: 71 | FrameworkDependencies: 72 | userData: 73 | assetBundleName: 74 | assetBundleVariant: 75 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Inklecate/ink_compiler.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Inklecate/ink_compiler.dll -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Inklecate/inklecate_mac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Inklecate/inklecate_mac -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Inklecate/inklecate_mac.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcee72ed045ae4564bffdf02252459fe 3 | timeCreated: 1467986245 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Inklecate/inklecate_win.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/Plugins/Ink/Inklecate/inklecate_win.exe -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Inklecate/inklecate_win.exe.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe57173b56f7c4aa588b0425b097c3d7 3 | timeCreated: 1467986245 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Plugins/Ink/Readme.md.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85254203c0564478cab552275fc29e5f 3 | timeCreated: 1460473537 4 | licenseType: Pro 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/SceneTutorial.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 453d5b0ac2c442b698f98aa5ea3d4569 3 | timeCreated: 1539538599 -------------------------------------------------------------------------------- /In Class Demos/Assets/SceneTutorial/AsyncLoadExamples.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a2bf957ba8946149eb33a68c065ea3b 3 | timeCreated: 1539542269 -------------------------------------------------------------------------------- /In Class Demos/Assets/SceneTutorial/BasicSceneLoadUnload.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using UnityEngine; 3 | using UnityEngine.SceneManagement; 4 | 5 | namespace SceneTutorial 6 | { 7 | public class BasicSceneLoadUnload : MonoBehaviour 8 | { 9 | 10 | public int FirstSceneIndex; 11 | public string FirstSceneName; 12 | 13 | private void Start() 14 | { 15 | LoadSceneExamples(); 16 | } 17 | 18 | // Don't actually run this on the Load scene or you just load the same scene infinitely 19 | private void LoadSceneExamples() 20 | { 21 | // Use SceneManager.LoadScene() to load a scene 22 | // Loading a scene this way REPLACES the current scene with the scene you are loading 23 | // This method is "synchronous", meaning your application will hang while the scene loads 24 | // This isn't a problem in our small games, but in BIG games, it would feel like the game crashed 25 | 26 | // Scenes may be loaded by an int that refers to their index in the Build Settings list of scenes 27 | // Scene 0 is loaded when the application loads 28 | SceneManager.LoadScene(FirstSceneIndex); 29 | 30 | // Scenes may also be loaded by a string that refers to the name of the scene file (.unity) 31 | // The string must match the name of the scene exactly or the SceneManager will throw an exception 32 | // The scene must ALSO be in the build list in build settings 33 | SceneManager.LoadScene(FirstSceneName); 34 | 35 | // You cannot load a scene using SceneManager that is not in the build settings list 36 | // Of course, there are ways around this, but for a simple game like this these workarounds are not necessary 37 | // See the official Unity documentation for a more thorough explanation of these scene loading methods 38 | } 39 | 40 | 41 | } 42 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/SceneTutorial/BasicSceneLoadUnload.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5732fcdb797640be9fa1bec10083a7bb 3 | timeCreated: 1539538612 -------------------------------------------------------------------------------- /In Class Demos/Assets/SceneTutorial/SceneTutorialLoader.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2288217c028faa240a818b0b11a9ac13 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/SceneTutorial/SceneTutorialSecondScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7e4314f16b059084e949e5a937d1cbe0 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 131a6b21c8605f84396be9f6751fb6e3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Scenes/ArraysAndLists.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 07d7796a87ee23a499279439422b8bb3 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2cda990e2423bbf4892e6590ba056729 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9238ab541cc6b5e45888b3eb21d5f02b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/Ball.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 659a9711998f9954a8281f4b71ced52a 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/BallSpawner.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace ScriptableObjects 4 | { 5 | [RequireComponent(typeof(CircleCollider2D))] 6 | public class BallSpawner : MonoBehaviour 7 | { 8 | [SerializeField] private GameSettings _settings; 9 | 10 | private CircleCollider2D _circle; 11 | 12 | private void Start() 13 | { 14 | _circle = GetComponent(); 15 | 16 | for (var i = 0; i < _settings.Balls; i++) 17 | { 18 | Instantiate(_settings.Ball.BallPrefab, Random.insideUnitCircle * _circle.radius, Quaternion.identity); 19 | } 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/BallSpawner.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d19e0ed1d0b140e899ad7941508badbc 3 | timeCreated: 1539960158 -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/BasicMaterial.physicsMaterial2D: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!62 &6200000 4 | PhysicsMaterial2D: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: BasicMaterial 9 | friction: 0.4 10 | bounciness: 0 11 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/BasicMaterial.physicsMaterial2D.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2d05a523f98887e47a822347ff3c9aa4 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 6200000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/BoringGameSettings.preset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 87cecf3abdb4e9d47a58df13122b791e 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2655988077585873504 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/Bouncy.physicsMaterial2D: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!62 &6200000 4 | PhysicsMaterial2D: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_Name: Bouncy 9 | friction: 0.125 10 | bounciness: 0.75 11 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/Bouncy.physicsMaterial2D.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd727ec39702de54a8216becf0efac94 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 6200000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/GameSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &11400000 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 0 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInternal: {fileID: 0} 8 | m_GameObject: {fileID: 0} 9 | m_Enabled: 1 10 | m_EditorHideFlags: 0 11 | m_Script: {fileID: 11500000, guid: 1ca2f6883ff961e4089b9962937a8c4c, type: 3} 12 | m_Name: GameSettings 13 | m_EditorClassIdentifier: 14 | GameTime: 0 15 | Balls: 0 16 | Player: 17 | PlayerPrefab: {fileID: 1264434558799508, guid: a45d17791cc6c4e40a8ce69f7e880e1b, 18 | type: 2} 19 | KickButton: 32 20 | Rigidbody: 21 | AngularDrag: 0 22 | Drag: 0 23 | GravityScale: 0 24 | Mass: 1 25 | PhysicsMaterialIndex: 0 26 | Speed: 1 27 | KickForce: 5 28 | Ball: 29 | BallPrefab: {fileID: 1488232661175468, guid: 659a9711998f9954a8281f4b71ced52a, 30 | type: 2} 31 | Rigidbody: 32 | AngularDrag: 0.2 33 | Drag: 1 34 | GravityScale: 0 35 | Mass: 2 36 | PhysicsMaterialIndex: 1 37 | PhysicsMaterials: 38 | - {fileID: 6200000, guid: 2d05a523f98887e47a822347ff3c9aa4, type: 2} 39 | - {fileID: 6200000, guid: cd727ec39702de54a8216becf0efac94, type: 2} 40 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/GameSettings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a945534772a786f468254fdb0c52e762 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 11400000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/GameSettings.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using UnityEngine; 3 | 4 | // ReSharper disable NotAccessedField.Global 5 | 6 | //https://docs.unity3d.com/Manual/class-ScriptableObject.html 7 | //https://docs.unity3d.com/ScriptReference/ScriptableObject.html 8 | 9 | [CreateAssetMenu(fileName = "GameSettings", menuName = "Settings/GameSettings")] 10 | public class GameSettings : ScriptableObject 11 | { 12 | [Header("Game")] 13 | public float GameTime; 14 | 15 | [Range(0, 200)] 16 | public int Balls; 17 | 18 | [Header("Player Settings")] 19 | public PlayerSettings Player; 20 | 21 | [Header("Ball Settings")] 22 | public BallSettings Ball; 23 | 24 | [Header("Physics Materials")] 25 | public PhysicsMaterial2D[] PhysicsMaterials; 26 | 27 | // If you want to create a nested structure in your Scriptable object 28 | // you need to use a struct 29 | [Serializable] 30 | public struct PlayerSettings 31 | { 32 | public GameObject PlayerPrefab; 33 | public KeyCode KickButton; 34 | public RigidbodySettings Rigidbody; 35 | public float Speed; 36 | public float KickForce; 37 | } 38 | 39 | [Serializable] 40 | public struct BallSettings 41 | { 42 | public GameObject BallPrefab; 43 | public RigidbodySettings Rigidbody; 44 | } 45 | 46 | [Serializable] 47 | public struct RigidbodySettings 48 | { 49 | public float AngularDrag; 50 | public float Drag; 51 | public float GravityScale; 52 | public float Mass; 53 | public int PhysicsMaterialIndex; 54 | } 55 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/GameSettings.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ca2f6883ff961e4089b9962937a8c4c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/InputHandler.cs: -------------------------------------------------------------------------------- 1 | using Patterns.Assets.PrototypingKit.Patterns; 2 | using UnityEngine; 3 | 4 | namespace ScriptableObjects 5 | { 6 | /// 7 | /// A manager class to track player input. If there's more than one input source, then this can't be a singleton. 8 | /// There's not actually a point to this class when using Unity's Input Manager and when the implementation 9 | /// is this simple, but it could expand to behave more like a real input manager if you needed to handle changing 10 | /// controls at runtime. 11 | /// 12 | public class InputHandler : Singleton 13 | { 14 | [SerializeField] private bool UseFixedUpdate = true; 15 | 16 | [SerializeField] private string _verticalAxisName = "Vertical"; 17 | [SerializeField] private string _horizontalAxisName = "Horizontal"; 18 | 19 | public Vector2 InputAxis { get; set; } 20 | 21 | public static void SetInputAxisNames(string vertical, string horizontal) 22 | { 23 | Instance._verticalAxisName = vertical; 24 | Instance._horizontalAxisName = horizontal; 25 | } 26 | 27 | private void FixedUpdate() 28 | { 29 | if (UseFixedUpdate) 30 | InputAxis = new Vector2(Input.GetAxis(Instance._horizontalAxisName), Input.GetAxis(Instance._verticalAxisName)); 31 | } 32 | 33 | private void Update() 34 | { 35 | if (!UseFixedUpdate) 36 | InputAxis = new Vector2(Input.GetAxis(Instance._horizontalAxisName), Input.GetAxis(Instance._verticalAxisName)); 37 | } 38 | } 39 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/InputHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 97b0a944312d438aaf04117335834edf 3 | timeCreated: 1539954913 -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/Player.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a45d17791cc6c4e40a8ce69f7e880e1b 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/TunableBall.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace ScriptableObjects 4 | { 5 | public class TunableBall : TunableObject 6 | { 7 | public override void UpdateTunables() 8 | { 9 | Rigidbody2D.drag = Settings.Ball.Rigidbody.Drag; 10 | Rigidbody2D.angularDrag = Settings.Ball.Rigidbody.AngularDrag; 11 | Rigidbody2D.mass = Settings.Ball.Rigidbody.Mass; 12 | Rigidbody2D.gravityScale = Settings.Ball.Rigidbody.GravityScale; 13 | if (Settings.PhysicsMaterials == null || Settings.PhysicsMaterials.Length <= 0) return; 14 | if (Settings.Ball.Rigidbody.PhysicsMaterialIndex < Settings.PhysicsMaterials.Length) 15 | Rigidbody2D.sharedMaterial = Settings.PhysicsMaterials[Settings.Ball.Rigidbody.PhysicsMaterialIndex]; 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/TunableBall.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3533906ff6494fc3abe11afcd2c56327 3 | timeCreated: 1539957005 -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/TunableObject.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace ScriptableObjects 4 | { 5 | public class TunableObject : MonoBehaviour 6 | { 7 | [SerializeField] protected GameSettings Settings; 8 | 9 | [SerializeField] protected Rigidbody2D Rigidbody2D; 10 | 11 | protected virtual void Start() 12 | { 13 | UpdateTunables(); 14 | } 15 | 16 | public virtual void UpdateTunables() { } 17 | } 18 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/TunableObject.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5ab3de0e87f4c759325753d8d070caf 3 | timeCreated: 1539957447 -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/TunablePlayer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections.Generic; 2 | using UnityEngine; 3 | 4 | namespace ScriptableObjects 5 | { 6 | public class TunablePlayer : TunableObject 7 | { 8 | private List _ballContacts; 9 | 10 | protected override void Start() 11 | { 12 | base.Start(); 13 | _ballContacts = new List(); 14 | } 15 | 16 | private void FixedUpdate() 17 | { 18 | Rigidbody2D.velocity = InputHandler.Instance.InputAxis * Settings.Player.Speed; 19 | 20 | if (Input.GetKeyDown(Settings.Player.KickButton)) 21 | Kick(); 22 | 23 | _ballContacts.Clear(); 24 | } 25 | 26 | private void Kick() 27 | { 28 | // List.ForEach() is equivalent to using a foreach loop using the List 29 | // The parameter passed into the method is an Anonymous Method 30 | _ballContacts.ForEach(ball => { ball.AddForce((ball.position - Rigidbody2D.position).normalized * Settings.Player.KickForce, ForceMode2D.Impulse); }); 31 | 32 | // foreach (var ballContact in _ballContacts) 33 | // { 34 | // ballContact.AddForce((ballContact.position - Rigidbody2D.position).normalized * Settings.Player.KickForce, ForceMode2D.Impulse);; 35 | // } 36 | } 37 | 38 | public override void UpdateTunables() 39 | { 40 | Rigidbody2D.drag = Settings.Player.Rigidbody.Drag; 41 | Rigidbody2D.angularDrag = Settings.Player.Rigidbody.AngularDrag; 42 | Rigidbody2D.mass = Settings.Player.Rigidbody.Mass; 43 | Rigidbody2D.gravityScale = Settings.Player.Rigidbody.GravityScale; 44 | if (Settings.PhysicsMaterials == null || Settings.PhysicsMaterials.Length <= 0) return; 45 | if (Settings.Player.Rigidbody.PhysicsMaterialIndex < Settings.PhysicsMaterials.Length) 46 | Rigidbody2D.sharedMaterial = Settings.PhysicsMaterials[Settings.Player.Rigidbody.PhysicsMaterialIndex]; 47 | } 48 | 49 | private void OnTriggerStay2D(Collider2D other) 50 | { 51 | if (other.CompareTag("PickUp")) 52 | _ballContacts.Add(other.attachedRigidbody); 53 | } 54 | } 55 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/TunablePlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 236a5b3bfc86467283c157b9c6a92d97 3 | timeCreated: 1539954780 -------------------------------------------------------------------------------- /In Class Demos/Assets/ScriptableObjects/TunableScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a67864bac9b2cda419ff38b1316bffc3 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b32ff5bb6876e49a0bd10e34d8d647f1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Scripts/ExampleScript.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | public class ExampleScript : MonoBehaviour 6 | { 7 | private GameObject go; 8 | 9 | void Start() 10 | { 11 | } 12 | 13 | // Update is called once per frame 14 | void Update() 15 | { 16 | } 17 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/Scripts/ExampleScript.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 10cc3abb597d84b6599a2917dac704f4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /In Class Demos/Assets/Scripts/folder.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6208a274936b5428289f7613c59c8833 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f54d1bd14bd3ca042bd867b519fee8cc 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Documentation.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8e7e8f5a82a3a134e91c54efd2274ea9 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Documentation/TextMesh Pro User Guide 2016.pdf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b8d251f9af63b746bf2f7ffe00ebb9b 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 243e06394e614e5d99fab26083b707fa 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Fonts & Materials.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 731f1baa9d144a9897cb1d341c2092b8 3 | folderAsset: yes 4 | timeCreated: 1442040525 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Drop Shadow.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e73a58f6e2794ae7b1b7e50b7fb811b0 3 | timeCreated: 1484172806 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF - Outline.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 79459efec17a4d00a321bdcc27bbc385 3 | timeCreated: 1484172856 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Fonts & Materials/LiberationSans SDF.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f586378b4e144a9851e7b34d9b748ee 3 | timeCreated: 1484171803 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt: -------------------------------------------------------------------------------- 1 | )]}〕〉》」』】〙〗〟’”⦆»ヽヾーァィゥェォッャュョヮヵヶぁぃぅぇぉっゃゅょゎゕゖㇰㇱㇲㇳㇴㇵㇶㇷㇸㇹㇺㇻㇼㇽㇾㇿ々〻‐゠–〜?!‼⁇⁈⁉・、%,.:;。!?]):;=}¢°"†‡℃〆%,. -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/LineBreaking Following Characters.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fade42e8bc714b018fac513c043d323b 3 | timeCreated: 1425440388 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt: -------------------------------------------------------------------------------- 1 | ([{〔〈《「『【〘〖〝‘“⦅«$—…‥〳〴〵\[({£¥"々〇〉》」$⦆¥₩ # -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/LineBreaking Leading Characters.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d82c1b31c7e74239bff1220585707d2b 3 | timeCreated: 1425440388 4 | licenseType: Store 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99f836c9cb9345dba2e72c4a1f2d0695 3 | folderAsset: yes 4 | timeCreated: 1436068007 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Custom-Atlas.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48bb5f55d8670e349b6e614913f9d910 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1e3b057af24249748ff873be7fafee47 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_Bitmap.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 128e987d567d4e2c824d754223b3f3b0 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF Overlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dd89cf5b9246416f84610a006f916af7 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Masking.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc1ede39bf3643ee8e493720e4259791 3 | timeCreated: 1463704911 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile Overlay.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a02a7d8c237544f1962732b55a9aebf1 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fe393ace9b354375a9cb14cdbbc28be4 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface-Mobile.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85187c2149c549c5b33f0cdb02836b17 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF-Surface.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f7ada0af4f174f0694ca6a487b8f543d 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_SDF.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68e6db2ebdc24f95958faec2be5558d6 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMP_Sprite.shader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf81c85f95fe47e1a27f6ae460cf182c 3 | timeCreated: 1450517184 4 | licenseType: Pro 5 | ShaderImporter: 6 | defaultTextures: [] 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMPro.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 407bc68d299748449bbf7f48ee690f8d 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMPro_Properties.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3997e2241185407d80309a82f9148466 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Shaders/TMPro_Surface.cginc.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d930090c0cd643c7b55f19a38538c162 3 | ShaderImporter: 4 | defaultTextures: [] 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Sprite Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 512a49d95c0c4332bdd98131869c23c9 3 | folderAsset: yes 4 | timeCreated: 1441876896 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Sprite Assets/EmojiOne.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c41005c129ba4d66911b75229fd70b45 3 | timeCreated: 1480316912 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Style Sheets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4aecb92fff08436c8303b10eab8da368 3 | folderAsset: yes 4 | timeCreated: 1441876950 5 | licenseType: Pro 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/Style Sheets/Default Style Sheet.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f952c082cb03451daed3ee968ac6c63e 3 | timeCreated: 1432805430 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Resources/TMP Settings.asset.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3f5b5dff67a942289a9defa416b206f3 3 | timeCreated: 1436653997 4 | licenseType: Pro 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d0603b6d5186471b96c778c3949c7ce2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt: -------------------------------------------------------------------------------- 1 | This sample of beautiful emojis are provided by EmojiOne https://www.emojione.com/ 2 | 3 | Please visit their website to view the complete set of their emojis and review their licensing terms. -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Sprites/EmojiOne Attribution.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 381dcb09d5029d14897e55f98031fca5 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Sprites/EmojiOne.json.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f05276190cf498a8153f6cbe761d4e6 3 | timeCreated: 1480316860 4 | licenseType: Pro 5 | TextScriptImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/TextMesh Pro/Sprites/EmojiOne.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/TextMesh Pro/Sprites/EmojiOne.png -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ec2cbdf099574acbb010e285398dac6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a07e9858f6806e4478a413f8a66a451c 3 | folderAsset: yes 4 | timeCreated: 1444751603 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/Sprites/Background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/UFOTutorial/Sprites/Background.png -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/Sprites/Background.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8357b840f0c40b444b51cc76056d1765 3 | timeCreated: 1444751551 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 8 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/Sprites/Pickup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/UFOTutorial/Sprites/Pickup.png -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/Sprites/Pickup.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 17efed9239502c04996f6e9d0078a97f 3 | timeCreated: 1444751549 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 8 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/Sprites/UFO.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/UFOTutorial/Sprites/UFO.png -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/Sprites/UFO.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c4b2e2c9f19dd1e43b1f413c0c8b3076 3 | timeCreated: 1444751551 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: .25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 8 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: -1 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: .5, y: .5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | textureType: 8 50 | buildTargetSettings: [] 51 | spriteSheet: 52 | sprites: [] 53 | spritePackingTag: 54 | userData: 55 | assetBundleName: 56 | assetBundleVariant: 57 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 49110bb8dcada46328ad741970bce702 3 | folderAsset: yes 4 | timeCreated: 1475590612 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6d5957b691564d38b1f30ffd7c56263 3 | folderAsset: yes 4 | timeCreated: 1475835163 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Fonts/LICENSE.txt.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b8784b247b090471695b945937cf5a6b 3 | TextScriptImporter: 4 | userData: 5 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Fonts/Roboto-Thin.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/UFOTutorial/TutorialInfo/Fonts/Roboto-Thin.ttf -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Fonts/Roboto-Thin.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 826c6ae75667a440f8d925b3ff94a03f 3 | timeCreated: 1475687632 4 | licenseType: Store 5 | TrueTypeFontImporter: 6 | serializedVersion: 4 7 | fontSize: 16 8 | forceTextureCase: -2 9 | characterSpacing: 0 10 | characterPadding: 1 11 | includeFontData: 1 12 | fontNames: 13 | - Roboto 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | ascentCalculationMode: 1 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Fonts/RobotoCondensed-Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/UFOTutorial/TutorialInfo/Fonts/RobotoCondensed-Bold.ttf -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Fonts/RobotoCondensed-Bold.ttf.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b20f139c373fa4555a05cdd0036dfa44 3 | timeCreated: 1475687636 4 | licenseType: Store 5 | TrueTypeFontImporter: 6 | serializedVersion: 4 7 | fontSize: 16 8 | forceTextureCase: -2 9 | characterSpacing: 0 10 | characterPadding: 1 11 | includeFontData: 1 12 | fontNames: 13 | - Roboto Condensed 14 | fallbackFontReferences: [] 15 | customCharacters: 16 | fontRenderingMode: 0 17 | ascentCalculationMode: 1 18 | userData: 19 | assetBundleName: 20 | assetBundleVariant: 21 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5a9bcd70e6a4b4b05badaa72e827d8e0 3 | folderAsset: yes 4 | timeCreated: 1475835190 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Scripts/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ad9b87dffba344c89909c6d1b1c17e1 3 | folderAsset: yes 4 | timeCreated: 1475593892 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Scripts/Editor/TutorialInfoEditor.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using UnityEditor; 3 | using System.Collections; 4 | 5 | [CustomEditor(typeof(TutorialInfo))] 6 | public class TutorialInfoEditor : Editor 7 | { 8 | void OnEnable() 9 | { 10 | if (PlayerPrefs.HasKey(TutorialInfo.showAtStartPrefsKey)) 11 | { 12 | ((TutorialInfo)target).showAtStart = PlayerPrefs.GetInt(TutorialInfo.showAtStartPrefsKey) == 1; 13 | } 14 | } 15 | 16 | public override void OnInspectorGUI() 17 | { 18 | EditorGUI.BeginChangeCheck (); 19 | 20 | base.OnInspectorGUI (); 21 | 22 | if (EditorGUI.EndChangeCheck ()) 23 | { 24 | PlayerPrefs.SetInt(TutorialInfo.showAtStartPrefsKey, ((TutorialInfo)target).showAtStart ? 1 : 0); 25 | } 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Scripts/Editor/TutorialInfoEditor.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 888a42c461eac43e7a22504fedd11a27 3 | timeCreated: 1475687478 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Scripts/TutorialInfo.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fc8f85e562a44b19a9186c14134b9d9 3 | timeCreated: 1475687478 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Sprites.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62c78ccd75c204d37aabb46c2d1c3952 3 | folderAsset: yes 4 | timeCreated: 1475835175 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Sprites/unity-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/UFOTutorial/TutorialInfo/Sprites/unity-logo.png -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Sprites/unity-logo.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa8fa8572a0ff4c66af7beb04f2ff3f0 3 | timeCreated: 1475687721 4 | licenseType: Store 5 | TextureImporter: 6 | fileIDToRecycleName: {} 7 | serializedVersion: 2 8 | mipmaps: 9 | mipMapMode: 0 10 | enableMipMap: 1 11 | linearTexture: 0 12 | correctGamma: 0 13 | fadeOut: 0 14 | borderMipMap: 0 15 | mipMapFadeDistanceStart: 1 16 | mipMapFadeDistanceEnd: 3 17 | bumpmap: 18 | convertToNormalMap: 0 19 | externalNormalMap: 0 20 | heightScale: 0.25 21 | normalMapFilter: 0 22 | isReadable: 0 23 | grayScaleToAlpha: 0 24 | generateCubemap: 0 25 | cubemapConvolution: 0 26 | cubemapConvolutionSteps: 7 27 | cubemapConvolutionExponent: 1.5 28 | seamlessCubemap: 0 29 | textureFormat: -1 30 | maxTextureSize: 2048 31 | textureSettings: 32 | filterMode: -1 33 | aniso: 16 34 | mipBias: -1 35 | wrapMode: 1 36 | nPOTScale: 0 37 | lightmap: 0 38 | rGBM: 0 39 | compressionQuality: 50 40 | allowsAlphaSplitting: 0 41 | spriteMode: 1 42 | spriteExtrude: 1 43 | spriteMeshType: 1 44 | alignment: 0 45 | spritePivot: {x: 0.5, y: 0.5} 46 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 47 | spritePixelsToUnits: 100 48 | alphaIsTransparency: 1 49 | spriteTessellationDetail: -1 50 | textureType: 8 51 | buildTargetSettings: [] 52 | spriteSheet: 53 | serializedVersion: 2 54 | sprites: [] 55 | outline: [] 56 | spritePackingTag: 57 | userData: 58 | assetBundleName: 59 | assetBundleVariant: 60 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Triangle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/In Class Demos/Assets/UFOTutorial/TutorialInfo/Triangle.png -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/TutorialInfo/Tutorial Info.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c74f553b118f94bfcbe70a5cdcc48114 3 | timeCreated: 1475590618 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Complete-Game.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ef96a4efb4af44b4808c38e6e8c6edc 3 | timeCreated: 1475838056 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a16dbc2530f57e5439f643bb9749ae72 3 | folderAsset: yes 4 | timeCreated: 1444751617 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets/Prefabs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86c64863e8bad9446aa0ef3993124451 3 | folderAsset: yes 4 | timeCreated: 1444751779 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets/Prefabs/Pickup (Completed).prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a02cd56951325b645973551f0bae4cc0 3 | timeCreated: 1448907076 4 | licenseType: Store 5 | NativeFormatImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4c23de5cb4d953e4695d48e687574334 3 | folderAsset: yes 4 | timeCreated: 1444751772 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets/Scenes/Main (Completed).unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8fef1c5ea5fe2e845a387006d3eed277 3 | timeCreated: 1444752488 4 | licenseType: Store 5 | DefaultImporter: 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets/Scripts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2433445a45984634b90f27905a43a91d 3 | folderAsset: yes 4 | timeCreated: 1444751766 5 | licenseType: Store 6 | DefaultImporter: 7 | userData: 8 | assetBundleName: 9 | assetBundleVariant: 10 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets/Scripts/CompleteCameraController.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class CompleteCameraController : MonoBehaviour 5 | { 6 | public GameObject player; //Public variable to store a reference to the player game object 7 | private Vector3 offset; //Private variable to store the offset distance between the player and camera 8 | 9 | // Use this for initialization 10 | void Start() 11 | { 12 | //Calculate and store the offset value by getting the distance between the player's position and camera's position. 13 | offset = transform.position - player.transform.position; 14 | } 15 | 16 | // LateUpdate is called after Update each frame 17 | void LateUpdate() 18 | { 19 | // Set the position of the camera's transform to be the same as the player's, but offset by the calculated offset distance. 20 | transform.position = player.transform.position + offset; 21 | } 22 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets/Scripts/CompleteCameraController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 12f0aa6f1b5c72347ad48fb231753b34 3 | timeCreated: 1448904228 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets/Scripts/CompletePlayerController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cbfaa6c26fe6ae5469a4865cbd27e471 3 | timeCreated: 1444842164 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets/Scripts/CompleteRotator.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | using System.Collections; 3 | 4 | public class CompleteRotator : MonoBehaviour 5 | { 6 | //Update is called every frame 7 | void Update() 8 | { 9 | //Rotate thet transform of the game object this is attached to by 45 degrees, taking into account the time elapsed since last frame. 10 | transform.Rotate(new Vector3(0, 0, 45) * Time.deltaTime); 11 | // Time.deltaTime -> 60fps -> 1 / 60 - > 0. 12 | 13 | } 14 | } -------------------------------------------------------------------------------- /In Class Demos/Assets/UFOTutorial/_Completed-Assets/Scripts/CompleteRotator.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 755363d2f78ba824cba45a1ef8cf4294 3 | timeCreated: 1448906025 4 | licenseType: Store 5 | MonoImporter: 6 | serializedVersion: 2 7 | defaultReferences: [] 8 | executionOrder: 0 9 | icon: {instanceID: 0} 10 | userData: 11 | assetBundleName: 12 | assetBundleVariant: 13 | -------------------------------------------------------------------------------- /In Class Demos/Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ads": "2.0.8", 4 | "com.unity.analytics": "2.0.16", 5 | "com.unity.package-manager-ui": "1.9.11", 6 | "com.unity.purchasing": "2.0.3", 7 | "com.unity.textmeshpro": "1.2.4", 8 | "com.unity.modules.ai": "1.0.0", 9 | "com.unity.modules.animation": "1.0.0", 10 | "com.unity.modules.assetbundle": "1.0.0", 11 | "com.unity.modules.audio": "1.0.0", 12 | "com.unity.modules.cloth": "1.0.0", 13 | "com.unity.modules.director": "1.0.0", 14 | "com.unity.modules.imageconversion": "1.0.0", 15 | "com.unity.modules.imgui": "1.0.0", 16 | "com.unity.modules.jsonserialize": "1.0.0", 17 | "com.unity.modules.particlesystem": "1.0.0", 18 | "com.unity.modules.physics": "1.0.0", 19 | "com.unity.modules.physics2d": "1.0.0", 20 | "com.unity.modules.screencapture": "1.0.0", 21 | "com.unity.modules.terrain": "1.0.0", 22 | "com.unity.modules.terrainphysics": "1.0.0", 23 | "com.unity.modules.tilemap": "1.0.0", 24 | "com.unity.modules.ui": "1.0.0", 25 | "com.unity.modules.uielements": "1.0.0", 26 | "com.unity.modules.umbra": "1.0.0", 27 | "com.unity.modules.unityanalytics": "1.0.0", 28 | "com.unity.modules.unitywebrequest": "1.0.0", 29 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 30 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 31 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 32 | "com.unity.modules.unitywebrequestwww": "1.0.0", 33 | "com.unity.modules.vehicles": "1.0.0", 34 | "com.unity.modules.video": "1.0.0", 35 | "com.unity.modules.vr": "1.0.0", 36 | "com.unity.modules.wind": "1.0.0", 37 | "com.unity.modules.xr": "1.0.0" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 1 23 | m_ClothInterCollisionSettingsToggle: 0 24 | m_ContactPairsMode: 0 25 | m_BroadphaseType: 0 26 | m_WorldBounds: 27 | m_Center: {x: 0, y: 0, z: 0} 28 | m_Extent: {x: 250, y: 250, z: 250} 29 | m_WorldSubdivisions: 8 30 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 0 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 2cda990e2423bbf4892e6590ba056729 11 | - enabled: 1 12 | path: Assets/SceneTutorial/SceneTutorialLoader.unity 13 | guid: 2288217c028faa240a818b0b11a9ac13 14 | - enabled: 1 15 | path: Assets/SceneTutorial/SceneTutorialSecondScene.unity 16 | guid: 7e4314f16b059084e949e5a937d1cbe0 17 | m_configObjects: {} 18 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 1 11 | m_SpritePackerMode: 4 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef 18 | m_ProjectGenerationRootNamespace: 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | m_EnableTextureStreamingInPlayMode: 1 23 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 34 | m_PreloadedShaders: [] 35 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 36 | type: 0} 37 | m_CustomRenderPipeline: {fileID: 0} 38 | m_TransparencySortMode: 0 39 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 40 | m_DefaultRenderingPath: 1 41 | m_DefaultMobileRenderingPath: 1 42 | m_TierSettings: [] 43 | m_LightmapStripping: 0 44 | m_FogStripping: 0 45 | m_InstancingStripping: 0 46 | m_LightmapKeepPlain: 1 47 | m_LightmapKeepDirCombined: 1 48 | m_LightmapKeepDynamicPlain: 1 49 | m_LightmapKeepDynamicDirCombined: 1 50 | m_LightmapKeepShadowMask: 1 51 | m_LightmapKeepSubtractive: 1 52 | m_FogKeepLinear: 1 53 | m_FogKeepExp: 1 54 | m_FogKeepExp2: 1 55 | m_AlbedoSwatchInfos: [] 56 | m_LightsUseLinearIntensity: 0 57 | m_LightsUseColorTemperature: 0 58 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_JobOptions: 23 | serializedVersion: 2 24 | useMultithreading: 1 25 | useConsistencySorting: 1 26 | m_InterpolationPosesPerJob: 100 27 | m_NewContactsPerJob: 30 28 | m_CollideContactsPerJob: 100 29 | m_ClearFlagsPerJob: 200 30 | m_ClearBodyForcesPerJob: 200 31 | m_SyncDiscreteFixturesPerJob: 50 32 | m_SyncContinuousFixturesPerJob: 50 33 | m_FindNearestContactsPerJob: 100 34 | m_UpdateTriggerContactsPerJob: 100 35 | m_IslandSolverCostThreshold: 100 36 | m_IslandSolverBodyCostScale: 1 37 | m_IslandSolverContactCostScale: 10 38 | m_IslandSolverJointCostScale: 10 39 | m_IslandSolverBodiesPerJob: 50 40 | m_IslandSolverContactsPerJob: 50 41 | m_AutoSimulation: 1 42 | m_QueriesHitTriggers: 1 43 | m_QueriesStartInColliders: 1 44 | m_CallbacksOnDisable: 1 45 | m_AutoSyncTransforms: 1 46 | m_AlwaysShowColliders: 0 47 | m_ShowColliderSleep: 1 48 | m_ShowColliderContacts: 0 49 | m_ShowColliderAABB: 0 50 | m_ContactArrowScale: 0.2 51 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 52 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 53 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 54 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 55 | m_LayerCollisionMatrix: fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdfffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 56 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 20 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: bfcfc320427f8224bbb7a96f3d3aebad, 13 | type: 2} 14 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.2.6f1 2 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: 7 | - PickUp 8 | layers: 9 | - Default 10 | - TransparentFX 11 | - Ignore Raycast 12 | - 13 | - Water 14 | - UI 15 | - 16 | - 17 | - TunableBall 18 | - TunablePlayer 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | - 41 | m_SortingLayers: 42 | - name: Default 43 | uniqueID: 0 44 | locked: 0 45 | - name: Pickup 46 | uniqueID: 3938684987 47 | locked: 0 48 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /In Class Demos/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate 14 | m_Enabled: 0 15 | m_CaptureEditorExceptions: 1 16 | UnityPurchasingSettings: 17 | m_Enabled: 0 18 | m_TestMode: 0 19 | UnityAnalyticsSettings: 20 | m_Enabled: 1 21 | m_InitializeOnStartup: 1 22 | m_TestMode: 0 23 | m_TestEventUrl: 24 | m_TestConfigUrl: 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | -------------------------------------------------------------------------------- /Intro to Game Dev Fall 2018 Syllabus.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/Intro to Game Dev Fall 2018 Syllabus.pdf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 NYU Game Center Intro to Game Dev Fall 2018 (GAMES-UT 120) 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # fall-2018-in-class-demos 2 | Repository for in-class demonstrations 3 | -------------------------------------------------------------------------------- /RiderInstall/Assets/New Sprite.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86e8f4e9429c248ef85d4ce229e7b6a6 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 100100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /RiderInstall/Assets/NewBehaviourScript.cs: -------------------------------------------------------------------------------- 1 | using UnityEngine; 2 | 3 | namespace RiderInstall 4 | { 5 | public class NewBehaviourScript : MonoBehaviour 6 | { 7 | // Use this for initialization 8 | void Start() 9 | { 10 | } 11 | 12 | // Update is called once per frame 13 | void Update() 14 | { 15 | if (Input.GetAxis("Horizontal") >= Mathf.Epsilon) 16 | { 17 | // horizontal is moving "right" 18 | } 19 | else 20 | { 21 | // horizontal is moving "left" 22 | Input.get 23 | } 24 | } 25 | 26 | private void OnCollisionEnter2D(Collision2D other) 27 | { 28 | if (other.otherRigidbody.velocity.sqrMagnitude > 10) 29 | { 30 | // do something 31 | } 32 | } 33 | 34 | private void OnTriggerEnter2D(Collider2D other) 35 | { 36 | if (other.gameObject.CompareTag("ScorePointTrigger")) 37 | { 38 | // score points 39 | } 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /RiderInstall/Assets/NewBehaviourScript.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9afe36b3bf9694f569986ac67ddd8aa2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /RiderInstall/Assets/Plugins.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 323d4785d68294df68936e6be6909571 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /RiderInstall/Assets/Plugins/Editor.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 138093be2d01444219a740e109b70a3a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /RiderInstall/Assets/Plugins/Editor/JetBrains.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b1ecb4396629a479a9ce85fd9e568b09 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /RiderInstall/Assets/Plugins/Editor/JetBrains/JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/RiderInstall/Assets/Plugins/Editor/JetBrains/JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll -------------------------------------------------------------------------------- /RiderInstall/Assets/Plugins/Editor/JetBrains/JetBrains.Rider.Unity.Editor.Plugin.Repacked.dll.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b5fd010f4b43e424dab40ba90f69172b 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | isPreloaded: 0 9 | isOverridable: 0 10 | platformData: 11 | - first: 12 | Any: 13 | second: 14 | enabled: 0 15 | settings: {} 16 | - first: 17 | Editor: Editor 18 | second: 19 | enabled: 1 20 | settings: 21 | DefaultValueInitialized: true 22 | - first: 23 | Windows Store Apps: WindowsStoreApps 24 | second: 25 | enabled: 0 26 | settings: 27 | CPU: AnyCPU 28 | userData: 29 | assetBundleName: 30 | assetBundleVariant: 31 | -------------------------------------------------------------------------------- /RiderInstall/Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4f704ae4b4f98ae41a0bce26658850c1 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /RiderInstall/Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 99c9720ab356a0642a771bea13969a05 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /RiderInstall/Assets/Square.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Intro-to-Game-Dev-Fall-2018/fall-2018-in-class-demos/7481f147f7f8c19020b2391493c49ac9c4050a1a/RiderInstall/Assets/Square.png -------------------------------------------------------------------------------- /RiderInstall/Assets/Square.png.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 52e6725bcbcfc4ab48d5fffeafa474e3 3 | TextureImporter: 4 | fileIDToRecycleName: {} 5 | externalObjects: {} 6 | serializedVersion: 7 7 | mipmaps: 8 | mipMapMode: 0 9 | enableMipMap: 1 10 | sRGBTexture: 1 11 | linearTexture: 0 12 | fadeOut: 0 13 | borderMipMap: 0 14 | mipMapsPreserveCoverage: 0 15 | alphaTestReferenceValue: 0.5 16 | mipMapFadeDistanceStart: 1 17 | mipMapFadeDistanceEnd: 3 18 | bumpmap: 19 | convertToNormalMap: 0 20 | externalNormalMap: 0 21 | heightScale: 0.25 22 | normalMapFilter: 0 23 | isReadable: 0 24 | streamingMipmaps: 0 25 | streamingMipmapsPriority: 0 26 | grayScaleToAlpha: 0 27 | generateCubemap: 6 28 | cubemapConvolution: 0 29 | seamlessCubemap: 0 30 | textureFormat: 1 31 | maxTextureSize: 2048 32 | textureSettings: 33 | serializedVersion: 2 34 | filterMode: 0 35 | aniso: 1 36 | mipBias: 0 37 | wrapU: 0 38 | wrapV: 0 39 | wrapW: 0 40 | nPOTScale: 0 41 | lightmap: 0 42 | compressionQuality: 50 43 | spriteMode: 3 44 | spriteExtrude: 1 45 | spriteMeshType: 1 46 | alignment: 0 47 | spritePivot: {x: 0.5, y: 0.5} 48 | spritePixelsToUnits: 4 49 | spriteBorder: {x: 0, y: 0, z: 0, w: 0} 50 | spriteGenerateFallbackPhysicsShape: 1 51 | alphaUsage: 1 52 | alphaIsTransparency: 0 53 | spriteTessellationDetail: -1 54 | textureType: 8 55 | textureShape: 1 56 | singleChannelComponent: 0 57 | maxTextureSizeSet: 0 58 | compressionQualitySet: 0 59 | textureFormatSet: 0 60 | platformSettings: 61 | - serializedVersion: 2 62 | buildTarget: DefaultTexturePlatform 63 | maxTextureSize: 2048 64 | resizeAlgorithm: 0 65 | textureFormat: 4 66 | textureCompression: 1 67 | compressionQuality: 50 68 | crunchedCompression: 0 69 | allowsAlphaSplitting: 0 70 | overridden: 0 71 | androidETC2FallbackOverride: 0 72 | spriteSheet: 73 | serializedVersion: 2 74 | sprites: [] 75 | outline: 76 | - - {x: -2, y: -2} 77 | - {x: -2, y: 2} 78 | - {x: 2, y: 2} 79 | - {x: 2, y: -2} 80 | physicsShape: 81 | - - {x: -2, y: -2} 82 | - {x: -2, y: 2} 83 | - {x: 2, y: 2} 84 | - {x: 2, y: -2} 85 | bones: [] 86 | spriteID: 5ee59ed6caeab4d69a915310871b57b6 87 | vertices: [] 88 | indices: 89 | edges: [] 90 | weights: [] 91 | spritePackingTag: 92 | pSDRemoveMatte: 0 93 | pSDShowRemoveMatteOption: 0 94 | userData: 95 | assetBundleName: 96 | assetBundleVariant: 97 | -------------------------------------------------------------------------------- /RiderInstall/Packages/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | "com.unity.ads": "2.0.8", 4 | "com.unity.analytics": "2.0.16", 5 | "com.unity.package-manager-ui": "1.9.11", 6 | "com.unity.purchasing": "2.0.3", 7 | "com.unity.textmeshpro": "1.2.4", 8 | "com.unity.modules.ai": "1.0.0", 9 | "com.unity.modules.animation": "1.0.0", 10 | "com.unity.modules.assetbundle": "1.0.0", 11 | "com.unity.modules.audio": "1.0.0", 12 | "com.unity.modules.cloth": "1.0.0", 13 | "com.unity.modules.director": "1.0.0", 14 | "com.unity.modules.imageconversion": "1.0.0", 15 | "com.unity.modules.imgui": "1.0.0", 16 | "com.unity.modules.jsonserialize": "1.0.0", 17 | "com.unity.modules.particlesystem": "1.0.0", 18 | "com.unity.modules.physics": "1.0.0", 19 | "com.unity.modules.physics2d": "1.0.0", 20 | "com.unity.modules.screencapture": "1.0.0", 21 | "com.unity.modules.terrain": "1.0.0", 22 | "com.unity.modules.terrainphysics": "1.0.0", 23 | "com.unity.modules.tilemap": "1.0.0", 24 | "com.unity.modules.ui": "1.0.0", 25 | "com.unity.modules.uielements": "1.0.0", 26 | "com.unity.modules.umbra": "1.0.0", 27 | "com.unity.modules.unityanalytics": "1.0.0", 28 | "com.unity.modules.unitywebrequest": "1.0.0", 29 | "com.unity.modules.unitywebrequestassetbundle": "1.0.0", 30 | "com.unity.modules.unitywebrequestaudio": "1.0.0", 31 | "com.unity.modules.unitywebrequesttexture": "1.0.0", 32 | "com.unity.modules.unitywebrequestwww": "1.0.0", 33 | "com.unity.modules.vehicles": "1.0.0", 34 | "com.unity.modules.video": "1.0.0", 35 | "com.unity.modules.vr": "1.0.0", 36 | "com.unity.modules.wind": "1.0.0", 37 | "com.unity.modules.xr": "1.0.0" 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | m_Volume: 1 7 | Rolloff Scale: 1 8 | Doppler Factor: 1 9 | Default Speaker Mode: 2 10 | m_SampleRate: 0 11 | m_DSPBufferSize: 1024 12 | m_VirtualVoiceCount: 512 13 | m_RealVoiceCount: 32 14 | m_SpatializerPlugin: 15 | m_AmbisonicDecoderPlugin: 16 | m_DisableAudio: 0 17 | m_VirtualizeEffects: 1 18 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 1 23 | m_ClothInterCollisionSettingsToggle: 0 24 | m_ContactPairsMode: 0 25 | m_BroadphaseType: 0 26 | m_WorldBounds: 27 | m_Center: {x: 0, y: 0, z: 0} 28 | m_Extent: {x: 250, y: 250, z: 250} 29 | m_WorldSubdivisions: 8 30 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/Scenes/SampleScene.unity 10 | guid: 99c9720ab356a0642a771bea13969a05 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 7 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 2 10 | m_DefaultBehaviorMode: 0 11 | m_SpritePackerMode: 0 12 | m_SpritePackerPaddingPower: 1 13 | m_EtcTextureCompressorBehavior: 1 14 | m_EtcTextureFastCompressor: 1 15 | m_EtcTextureNormalCompressor: 2 16 | m_EtcTextureBestCompressor: 4 17 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef 18 | m_ProjectGenerationRootNamespace: RiderInstall 19 | m_UserGeneratedProjectSuffix: 20 | m_CollabEditorSettings: 21 | inProgressEnabled: 1 22 | m_EnableTextureStreamingInPlayMode: 1 23 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/GraphicsSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!30 &1 4 | GraphicsSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 12 7 | m_Deferred: 8 | m_Mode: 1 9 | m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0} 10 | m_DeferredReflections: 11 | m_Mode: 1 12 | m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0} 13 | m_ScreenSpaceShadows: 14 | m_Mode: 1 15 | m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0} 16 | m_LegacyDeferred: 17 | m_Mode: 1 18 | m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0} 19 | m_DepthNormals: 20 | m_Mode: 1 21 | m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0} 22 | m_MotionVectors: 23 | m_Mode: 1 24 | m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0} 25 | m_LightHalo: 26 | m_Mode: 1 27 | m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0} 28 | m_LensFlare: 29 | m_Mode: 1 30 | m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0} 31 | m_AlwaysIncludedShaders: 32 | - {fileID: 7, guid: 0000000000000000f000000000000000, type: 0} 33 | - {fileID: 15104, guid: 0000000000000000f000000000000000, type: 0} 34 | - {fileID: 15105, guid: 0000000000000000f000000000000000, type: 0} 35 | - {fileID: 15106, guid: 0000000000000000f000000000000000, type: 0} 36 | - {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0} 37 | - {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0} 38 | m_PreloadedShaders: [] 39 | m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000, 40 | type: 0} 41 | m_CustomRenderPipeline: {fileID: 0} 42 | m_TransparencySortMode: 0 43 | m_TransparencySortAxis: {x: 0, y: 0, z: 1} 44 | m_DefaultRenderingPath: 1 45 | m_DefaultMobileRenderingPath: 1 46 | m_TierSettings: [] 47 | m_LightmapStripping: 0 48 | m_FogStripping: 0 49 | m_InstancingStripping: 0 50 | m_LightmapKeepPlain: 1 51 | m_LightmapKeepDirCombined: 1 52 | m_LightmapKeepDynamicPlain: 1 53 | m_LightmapKeepDynamicDirCombined: 1 54 | m_LightmapKeepShadowMask: 1 55 | m_LightmapKeepSubtractive: 1 56 | m_FogKeepLinear: 1 57 | m_FogKeepExp: 1 58 | m_FogKeepExp2: 1 59 | m_AlbedoSwatchInfos: [] 60 | m_LightsUseLinearIntensity: 0 61 | m_LightsUseColorTemperature: 0 62 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/NavMeshAreas.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!126 &1 4 | NavMeshProjectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | areas: 8 | - name: Walkable 9 | cost: 1 10 | - name: Not Walkable 11 | cost: 1 12 | - name: Jump 13 | cost: 2 14 | - name: 15 | cost: 1 16 | - name: 17 | cost: 1 18 | - name: 19 | cost: 1 20 | - name: 21 | cost: 1 22 | - name: 23 | cost: 1 24 | - name: 25 | cost: 1 26 | - name: 27 | cost: 1 28 | - name: 29 | cost: 1 30 | - name: 31 | cost: 1 32 | - name: 33 | cost: 1 34 | - name: 35 | cost: 1 36 | - name: 37 | cost: 1 38 | - name: 39 | cost: 1 40 | - name: 41 | cost: 1 42 | - name: 43 | cost: 1 44 | - name: 45 | cost: 1 46 | - name: 47 | cost: 1 48 | - name: 49 | cost: 1 50 | - name: 51 | cost: 1 52 | - name: 53 | cost: 1 54 | - name: 55 | cost: 1 56 | - name: 57 | cost: 1 58 | - name: 59 | cost: 1 60 | - name: 61 | cost: 1 62 | - name: 63 | cost: 1 64 | - name: 65 | cost: 1 66 | - name: 67 | cost: 1 68 | - name: 69 | cost: 1 70 | - name: 71 | cost: 1 72 | m_LastAgentTypeID: -887442657 73 | m_Settings: 74 | - serializedVersion: 2 75 | agentTypeID: 0 76 | agentRadius: 0.5 77 | agentHeight: 2 78 | agentSlope: 45 79 | agentClimb: 0.75 80 | ledgeDropHeight: 0 81 | maxJumpAcrossDistance: 0 82 | minRegionArea: 2 83 | manualCellSize: 0 84 | cellSize: 0.16666667 85 | manualTileSize: 0 86 | tileSize: 256 87 | accuratePlacement: 0 88 | debug: 89 | m_Flags: 0 90 | m_SettingNames: 91 | - Humanoid 92 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/NetworkManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!149 &1 4 | NetworkManager: 5 | m_ObjectHideFlags: 0 6 | m_DebugLevel: 0 7 | m_Sendrate: 15 8 | m_AssetToPrefab: {} 9 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/Physics2DSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!19 &1 4 | Physics2DSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 3 7 | m_Gravity: {x: 0, y: -9.81} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_VelocityIterations: 8 10 | m_PositionIterations: 3 11 | m_VelocityThreshold: 1 12 | m_MaxLinearCorrection: 0.2 13 | m_MaxAngularCorrection: 8 14 | m_MaxTranslationSpeed: 100 15 | m_MaxRotationSpeed: 360 16 | m_BaumgarteScale: 0.2 17 | m_BaumgarteTimeOfImpactScale: 0.75 18 | m_TimeToSleep: 0.5 19 | m_LinearSleepTolerance: 0.01 20 | m_AngularSleepTolerance: 2 21 | m_DefaultContactOffset: 0.01 22 | m_AutoSimulation: 1 23 | m_QueriesHitTriggers: 1 24 | m_QueriesStartInColliders: 1 25 | m_ChangeStopsCallbacks: 0 26 | m_CallbacksOnDisable: 1 27 | m_AutoSyncTransforms: 1 28 | m_AlwaysShowColliders: 0 29 | m_ShowColliderSleep: 1 30 | m_ShowColliderContacts: 0 31 | m_ShowColliderAABB: 0 32 | m_ContactArrowScale: 0.2 33 | m_ColliderAwakeColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.7529412} 34 | m_ColliderAsleepColor: {r: 0.5686275, g: 0.95686275, b: 0.54509807, a: 0.36078432} 35 | m_ColliderContactColor: {r: 1, g: 0, b: 1, a: 0.6862745} 36 | m_ColliderAABBColor: {r: 1, g: 1, b: 0, a: 0.2509804} 37 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 38 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | m_DefaultList: 7 | - type: 8 | m_NativeTypeID: 108 9 | m_ManagedTypePPtr: {fileID: 0} 10 | m_ManagedTypeFallback: 11 | defaultPresets: 12 | - m_Preset: {fileID: 2655988077585873504, guid: c1cf8506f04ef2c4a88b64b6c4202eea, 13 | type: 2} 14 | - type: 15 | m_NativeTypeID: 1020 16 | m_ManagedTypePPtr: {fileID: 0} 17 | m_ManagedTypeFallback: 18 | defaultPresets: 19 | - m_Preset: {fileID: 2655988077585873504, guid: 0cd792cc87e492d43b4e95b205fc5cc6, 20 | type: 2} 21 | - type: 22 | m_NativeTypeID: 1006 23 | m_ManagedTypePPtr: {fileID: 0} 24 | m_ManagedTypeFallback: 25 | defaultPresets: 26 | - m_Preset: {fileID: 2655988077585873504, guid: 7a99f8aa944efe94cb9bd74562b7d5f9, 27 | type: 2} 28 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2018.2.6f1 2 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - PostProcessing 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.1 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /RiderInstall/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | m_Enabled: 0 7 | m_TestMode: 0 8 | m_TestEventUrl: 9 | m_TestConfigUrl: 10 | m_TestInitMode: 0 11 | CrashReportingSettings: 12 | m_EventUrl: https://perf-events.cloud.unity3d.com/api/events/crashes 13 | m_NativeEventUrl: https://perf-events.cloud.unity3d.com/symbolicate 14 | m_Enabled: 0 15 | m_CaptureEditorExceptions: 1 16 | UnityPurchasingSettings: 17 | m_Enabled: 0 18 | m_TestMode: 0 19 | UnityAnalyticsSettings: 20 | m_Enabled: 0 21 | m_InitializeOnStartup: 1 22 | m_TestMode: 0 23 | m_TestEventUrl: 24 | m_TestConfigUrl: 25 | UnityAdsSettings: 26 | m_Enabled: 0 27 | m_InitializeOnStartup: 1 28 | m_TestMode: 0 29 | m_IosGameId: 30 | m_AndroidGameId: 31 | m_GameIds: {} 32 | m_GameId: 33 | PerformanceReportingSettings: 34 | m_Enabled: 0 35 | --------------------------------------------------------------------------------