From ce920299185c7b80ce1c8e2a719b253b5be80810 Mon Sep 17 00:00:00 2001 From: Christopher Date: Wed, 24 Aug 2016 11:54:46 +0100 Subject: [PATCH] Refactored comments --- .../Scripts/Commands/ResetAnimTrigger.cs | 1 - .../Animation/Scripts/Commands/SetAnimBool.cs | 1 - .../Scripts/Commands/SetAnimFloat.cs | 1 - .../Scripts/Commands/SetAnimInteger.cs | 1 - .../Scripts/Commands/SetAnimTrigger.cs | 1 - .../Audio/Scripts/Commands/ControlAudio.cs | 6 +- .../Audio/Scripts/Commands/PlayMusic.cs | 1 - .../Audio/Scripts/Commands/PlaySound.cs | 1 - .../Audio/Scripts/Commands/SetAudioPitch.cs | 1 - .../Audio/Scripts/Commands/SetAudioVolume.cs | 1 - .../Audio/Scripts/Commands/StopMusic.cs | 1 - .../Fungus/Audio/Scripts/MusicController.cs | 70 ++++++++-------- .../Fungus/Camera/Editor/CameraMenuItems.cs | 1 - Assets/Fungus/Camera/Editor/ViewEditor.cs | 1 - .../Fungus/Camera/Scripts/CameraController.cs | 82 +++++++++---------- .../Camera/Scripts/Commands/FadeToView.cs | 1 - .../Camera/Scripts/Commands/Fullscreen.cs | 1 - .../Camera/Scripts/Commands/MoveToView.cs | 1 - .../Camera/Scripts/Commands/StartSwipe.cs | 1 - .../Camera/Scripts/Commands/StopSwipe.cs | 1 - .../Flowchart/Editor/AssetModProcessor.cs | 12 +-- .../Fungus/Flowchart/Editor/BlockInspector.cs | 14 ++-- Assets/Fungus/Flowchart/Editor/CallEditor.cs | 1 - .../Fungus/Flowchart/Editor/CommandEditor.cs | 14 ++-- Assets/Fungus/Flowchart/Editor/CustomGUI.cs | 8 +- .../Flowchart/Editor/EditorExtensions.cs | 1 - .../Fungus/Flowchart/Editor/EditorZoomArea.cs | 1 - .../Flowchart/Editor/EventHandlerEditor.cs | 7 +- .../Flowchart/Editor/FlowchartEditor.cs | 13 ++- .../Flowchart/Editor/FlowchartMenuItems.cs | 1 - .../Flowchart/Editor/FlowchartWindow.cs | 6 +- .../Flowchart/Editor/FungusEditorResources.cs | 1 - Assets/Fungus/Flowchart/Editor/GLDraw.cs | 11 ++- Assets/Fungus/Flowchart/Editor/IfEditor.cs | 1 - .../Flowchart/Editor/InvokeMethodEditor.cs | 1 - .../Flowchart/Editor/SetVariableEditor.cs | 1 - .../Flowchart/Scripts/CommandCopyBuffer.cs | 1 - .../Fungus/Flowchart/Scripts/Commands/Call.cs | 1 - .../Flowchart/Scripts/Commands/CallMethod.cs | 1 - .../Flowchart/Scripts/Commands/Comment.cs | 1 - .../Flowchart/Scripts/Commands/Condition.cs | 1 - .../Flowchart/Scripts/Commands/DebugLog.cs | 1 - .../Flowchart/Scripts/Commands/Destroy.cs | 1 - .../Fungus/Flowchart/Scripts/Commands/Else.cs | 1 - .../Flowchart/Scripts/Commands/ElseIf.cs | 1 - .../Fungus/Flowchart/Scripts/Commands/End.cs | 1 - .../Fungus/Flowchart/Scripts/Commands/If.cs | 1 - .../Flowchart/Scripts/Commands/InvokeEvent.cs | 1 - .../Scripts/Commands/InvokeMethod.cs | 1 - .../Fungus/Flowchart/Scripts/Commands/Jump.cs | 1 - .../Flowchart/Scripts/Commands/Label.cs | 1 - .../Flowchart/Scripts/Commands/LoadScene.cs | 1 - .../Flowchart/Scripts/Commands/OpenURL.cs | 1 - .../Fungus/Flowchart/Scripts/Commands/Quit.cs | 1 - .../Flowchart/Scripts/Commands/RandomFloat.cs | 1 - .../Scripts/Commands/RandomInteger.cs | 1 - .../Scripts/Commands/ReadTextFile.cs | 1 - .../Flowchart/Scripts/Commands/Reset.cs | 1 - .../Flowchart/Scripts/Commands/SendMessage.cs | 1 - .../Flowchart/Scripts/Commands/SetActive.cs | 1 - .../Scripts/Commands/SetSaveProfile.cs | 6 +- .../Flowchart/Scripts/Commands/SetVariable.cs | 1 - .../Flowchart/Scripts/Commands/SpawnObject.cs | 1 - .../Fungus/Flowchart/Scripts/Commands/Stop.cs | 1 - .../Flowchart/Scripts/Commands/StopBlock.cs | 1 - .../Scripts/Commands/StopFlowchart.cs | 1 - .../Fungus/Flowchart/Scripts/Commands/Wait.cs | 1 - .../Scripts/EventHandlers/MessageReceived.cs | 1 - Assets/Fungus/Flowchart/Scripts/Flowchart.cs | 1 - .../Fungus/Flowchart/Scripts/FungusState.cs | 1 - .../Scripts/VariableTypes/AnimatorVariable.cs | 1 - .../VariableTypes/AudioSourceVariable.cs | 1 - .../Scripts/VariableTypes/BooleanVariable.cs | 1 - .../Scripts/VariableTypes/ColorVariable.cs | 1 - .../Scripts/VariableTypes/FloatVariable.cs | 1 - .../VariableTypes/GameObjectVariable.cs | 1 - .../Scripts/VariableTypes/IntegerVariable.cs | 1 - .../Scripts/VariableTypes/MaterialVariable.cs | 1 - .../Scripts/VariableTypes/ObjectVariable.cs | 1 - .../Scripts/VariableTypes/SpriteVariable.cs | 1 - .../Scripts/VariableTypes/TextureVariable.cs | 1 - .../VariableTypes/TransformVariable.cs | 1 - .../Scripts/VariableTypes/Vector2Variable.cs | 1 - .../Scripts/VariableTypes/Vector3Variable.cs | 1 - .../Fungus/Lua/Scripts/Commands/ExecuteLua.cs | 1 - Assets/Fungus/Lua/Scripts/LuaExtensions.cs | 1 - .../Narrative/Editor/CharacterEditor.cs | 1 - .../Narrative/Editor/LocalizationEditor.cs | 1 - .../Narrative/Editor/NarrativeMenuItems.cs | 1 - Assets/Fungus/Narrative/Scripts/Character.cs | 1 - .../Narrative/Scripts/Commands/ClearMenu.cs | 1 - .../Fungus/Narrative/Scripts/Commands/Menu.cs | 1 - .../Narrative/Scripts/Commands/MenuTimer.cs | 1 - .../Fungus/Narrative/Scripts/Commands/Say.cs | 1 - .../Scripts/Commands/SetMenuDialog.cs | 1 - .../Scripts/Commands/SetSayDialog.cs | 1 - Assets/Fungus/Narrative/Scripts/SayDialog.cs | 9 +- .../Fungus/Sprite/Editor/SetColliderEditor.cs | 1 - .../Fungus/Sprite/Editor/SpriteMenuItems.cs | 1 - .../Sprite/Scripts/Commands/FadeSprite.cs | 1 - .../Sprite/Scripts/Commands/SetDraggable2D.cs | 1 - .../Sprite/Scripts/Commands/ShowSprite.cs | 1 - .../Scripts/EventHandlers/DragCancelled.cs | 1 - .../Scripts/Editor/LuaStoreEditor.cs | 1 - .../FungusLua/Scripts/Editor/MenuItems.cs | 1 - .../FungusLua/Scripts/ExecuteHandler.cs | 1 - .../FungusLua/Scripts/FungusPrefs.cs | 1 - .../Thirdparty/FungusLua/Scripts/InfoText.cs | 1 - .../FungusLua/Scripts/LuaEnvironment.cs | 1 - .../Microsoft/ReflectionExtensions.cs | 1 - .../UI/Scripts/Commands/SetSliderValue.cs | 1 - Assets/Fungus/UI/Scripts/Commands/TweenUI.cs | 1 - Assets/Fungus/UI/Scripts/Commands/Write.cs | 1 - Assets/Fungus/UI/Scripts/Writer.cs | 1 - Assets/Fungus/UI/Scripts/WriterAudio.cs | 1 - .../iTween/Scripts/Commands/LookFrom.cs | 1 - .../Fungus/iTween/Scripts/Commands/LookTo.cs | 1 - .../Fungus/iTween/Scripts/Commands/MoveAdd.cs | 1 - .../iTween/Scripts/Commands/MoveFrom.cs | 1 - .../Fungus/iTween/Scripts/Commands/MoveTo.cs | 1 - .../iTween/Scripts/Commands/PunchPosition.cs | 1 - .../iTween/Scripts/Commands/PunchRotation.cs | 1 - .../iTween/Scripts/Commands/PunchScale.cs | 1 - .../iTween/Scripts/Commands/RotateAdd.cs | 1 - .../iTween/Scripts/Commands/RotateFrom.cs | 1 - .../iTween/Scripts/Commands/RotateTo.cs | 1 - .../iTween/Scripts/Commands/ScaleAdd.cs | 1 - .../iTween/Scripts/Commands/ScaleFrom.cs | 1 - .../Fungus/iTween/Scripts/Commands/ScaleTo.cs | 1 - .../iTween/Scripts/Commands/StopTween.cs | 1 - .../iTween/Scripts/Commands/StopTweens.cs | 1 - .../iTween/Scripts/Commands/iTweenCommand.cs | 1 - .../FungusLua/Bindings/CustomScript.cs | 1 - .../TestRunner/DTOFormatter.cs | 1 - .../IntegrationTestsHierarchyAnnotation.cs | 1 - 135 files changed, 114 insertions(+), 266 deletions(-) diff --git a/Assets/Fungus/Animation/Scripts/Commands/ResetAnimTrigger.cs b/Assets/Fungus/Animation/Scripts/Commands/ResetAnimTrigger.cs index f7a36810..f33c37ea 100644 --- a/Assets/Fungus/Animation/Scripts/Commands/ResetAnimTrigger.cs +++ b/Assets/Fungus/Animation/Scripts/Commands/ResetAnimTrigger.cs @@ -69,5 +69,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Animation/Scripts/Commands/SetAnimBool.cs b/Assets/Fungus/Animation/Scripts/Commands/SetAnimBool.cs index c8036cb4..51f98e42 100644 --- a/Assets/Fungus/Animation/Scripts/Commands/SetAnimBool.cs +++ b/Assets/Fungus/Animation/Scripts/Commands/SetAnimBool.cs @@ -72,5 +72,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Animation/Scripts/Commands/SetAnimFloat.cs b/Assets/Fungus/Animation/Scripts/Commands/SetAnimFloat.cs index a639d82d..9def4753 100644 --- a/Assets/Fungus/Animation/Scripts/Commands/SetAnimFloat.cs +++ b/Assets/Fungus/Animation/Scripts/Commands/SetAnimFloat.cs @@ -72,5 +72,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Animation/Scripts/Commands/SetAnimInteger.cs b/Assets/Fungus/Animation/Scripts/Commands/SetAnimInteger.cs index 7ea0b145..322928ce 100644 --- a/Assets/Fungus/Animation/Scripts/Commands/SetAnimInteger.cs +++ b/Assets/Fungus/Animation/Scripts/Commands/SetAnimInteger.cs @@ -72,5 +72,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Animation/Scripts/Commands/SetAnimTrigger.cs b/Assets/Fungus/Animation/Scripts/Commands/SetAnimTrigger.cs index a4e0e90b..80120ec6 100644 --- a/Assets/Fungus/Animation/Scripts/Commands/SetAnimTrigger.cs +++ b/Assets/Fungus/Animation/Scripts/Commands/SetAnimTrigger.cs @@ -69,5 +69,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs b/Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs index 5e3e1397..7eb3ac90 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/ControlAudio.cs @@ -85,10 +85,8 @@ namespace Fungus } } - /** - * If there's other music playing in the scene, assign it the same tag as the new music you want to play and - * the old music will be automatically stopped. - */ + // If there's other music playing in the scene, assign it the same tag as the new music you want to play and + // the old music will be automatically stopped. protected void StopAudioWithSameTag() { // Don't stop audio if there's no tag assigned diff --git a/Assets/Fungus/Audio/Scripts/Commands/PlayMusic.cs b/Assets/Fungus/Audio/Scripts/Commands/PlayMusic.cs index 379b42ad..7646997e 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/PlayMusic.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/PlayMusic.cs @@ -53,5 +53,4 @@ namespace Fungus return new Color32(242, 209, 176, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Audio/Scripts/Commands/PlaySound.cs b/Assets/Fungus/Audio/Scripts/Commands/PlaySound.cs index 34ce4bcd..f150e06b 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/PlaySound.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/PlaySound.cs @@ -68,5 +68,4 @@ namespace Fungus return new Color32(242, 209, 176, 255); } } - } diff --git a/Assets/Fungus/Audio/Scripts/Commands/SetAudioPitch.cs b/Assets/Fungus/Audio/Scripts/Commands/SetAudioPitch.cs index 9a7a17b8..3bec0305 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/SetAudioPitch.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/SetAudioPitch.cs @@ -56,5 +56,4 @@ namespace Fungus return new Color32(242, 209, 176, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Audio/Scripts/Commands/SetAudioVolume.cs b/Assets/Fungus/Audio/Scripts/Commands/SetAudioVolume.cs index 233e7f94..8297c1c0 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/SetAudioVolume.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/SetAudioVolume.cs @@ -54,5 +54,4 @@ namespace Fungus return new Color32(242, 209, 176, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Audio/Scripts/Commands/StopMusic.cs b/Assets/Fungus/Audio/Scripts/Commands/StopMusic.cs index 4d7950ca..dd7728c8 100644 --- a/Assets/Fungus/Audio/Scripts/Commands/StopMusic.cs +++ b/Assets/Fungus/Audio/Scripts/Commands/StopMusic.cs @@ -30,5 +30,4 @@ namespace Fungus return new Color32(242, 209, 176, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Audio/Scripts/MusicController.cs b/Assets/Fungus/Audio/Scripts/MusicController.cs index 399bfa97..32777103 100644 --- a/Assets/Fungus/Audio/Scripts/MusicController.cs +++ b/Assets/Fungus/Audio/Scripts/MusicController.cs @@ -2,24 +2,21 @@ // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) using UnityEngine; -using System.Collections; namespace Fungus { - /** - * Singleton music manager component. - * Provides basic music and sound effect functionality. - * Music playback persists across scene loads. - */ + /// + /// Singleton music manager component. + /// Provides basic music and sound effect functionality. + /// Music playback persists across scene loads. + /// [RequireComponent(typeof(AudioSource))] public class MusicController : MonoBehaviour { static MusicController instance; - /** - * Returns the MusicController singleton instance. - * Will create a MusicController game object if none currently exists. - */ + // Returns the MusicController singleton instance. + // Will create a MusicController game object if none currently exists. static public MusicController GetInstance() { if (instance == null) @@ -38,12 +35,10 @@ namespace Fungus GetComponent().loop = true; } - /** - * Plays game music using an audio clip. - * One music clip may be played at a time. - * @param musicClip The music clip to play - * @param atTime Time in the music clip to start at - */ + /// + /// // Plays game music using an audio clip. + /// One music clip may be played at a time. + /// public void PlayMusic(AudioClip musicClip, bool loop, float fadeDuration, float atTime) { AudioSource audioSource = GetComponent(); @@ -77,21 +72,21 @@ namespace Fungus }); } } - - /** - * Stops playing game music. - */ + + /// + /// Stops playing game music. + /// public virtual void StopMusic() { GetComponent().Stop(); } - /** - * Fades the game music volume to required level over a period of time. - * @param volume The new music volume value [0..1] - * @param duration The length of time in seconds needed to complete the volume change. - * @param onComplete Delegate function to call when fade completes. - */ + /// + /// Fades the game music volume to required level over a period of time. + /// + /// The new music volume value [0..1] + /// The length of time in seconds needed to complete the volume change. + /// Delegate function to call when fade completes. public virtual void SetAudioVolume(float volume, float duration, System.Action onComplete) { AudioSource audio = GetComponent(); @@ -115,12 +110,12 @@ namespace Fungus }); } - /** - * Shifts the game music pitch to required value over a period of time. - * @param volume The new music pitch value - * @param duration The length of time in seconds needed to complete the pitch change. - * @param onComplete A delegate method to call when the pitch shift has completed. - */ + /// + /// Shifts the game music pitch to required value over a period of time. + /// + /// The new music pitch value. + /// The length of time in seconds needed to complete the pitch change. + /// A delegate method to call when the pitch shift has completed. public virtual void SetAudioPitch(float pitch, float duration, System.Action onComplete) { AudioSource audio = GetComponent(); @@ -148,12 +143,11 @@ namespace Fungus }); } - /** - * Plays a sound effect once, at the specified volume. - * Multiple sound effects can be played at the same time. - * @param soundClip The sound effect clip to play - * @param volume The volume level of the sound effect - */ + /// + /// Plays a sound effect once, at the specified volume. + /// + /// The sound effect clip to play. + /// The volume level of the sound effect. public virtual void PlaySound(AudioClip soundClip, float volume) { GetComponent().PlayOneShot(soundClip, volume); diff --git a/Assets/Fungus/Camera/Editor/CameraMenuItems.cs b/Assets/Fungus/Camera/Editor/CameraMenuItems.cs index be9dedec..3f9ede04 100644 --- a/Assets/Fungus/Camera/Editor/CameraMenuItems.cs +++ b/Assets/Fungus/Camera/Editor/CameraMenuItems.cs @@ -16,5 +16,4 @@ namespace Fungus FlowchartMenuItems.SpawnPrefab("View"); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Camera/Editor/ViewEditor.cs b/Assets/Fungus/Camera/Editor/ViewEditor.cs index 8764a5a6..d9fa0350 100644 --- a/Assets/Fungus/Camera/Editor/ViewEditor.cs +++ b/Assets/Fungus/Camera/Editor/ViewEditor.cs @@ -261,5 +261,4 @@ namespace Fungus return view.transform.InverseTransformPoint(view.transform.position + new Vector3(0, view.ViewSize, 0)).magnitude; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Camera/Scripts/CameraController.cs b/Assets/Fungus/Camera/Scripts/CameraController.cs index 31b4ed96..61d938f9 100644 --- a/Assets/Fungus/Camera/Scripts/CameraController.cs +++ b/Assets/Fungus/Camera/Scripts/CameraController.cs @@ -54,10 +54,10 @@ namespace Fungus protected static CameraController instance; - /** - * Returns the CameraController singleton instance. - * Will create a CameraController game object if none currently exists. - */ + /// + /// Returns the CameraController singleton instance. + /// Will create a CameraController game object if none currently exists. + /// static public CameraController GetInstance() { if (instance == null) @@ -116,18 +116,18 @@ namespace Fungus GUI.DrawTexture(new Rect(0, 0, Screen.width, Screen.height), screenFadeTexture); } } - - /** - * Perform a fullscreen fade over a duration. - */ + + /// + /// Perform a fullscreen fade over a duration. + /// public virtual void Fade(float targetAlpha, float fadeDuration, Action fadeAction) { StartCoroutine(FadeInternal(targetAlpha, fadeDuration, fadeAction)); } - - /** - * Fade out, move camera to view and then fade back in. - */ + + /// + /// Fade out, move camera to view and then fade back in. + /// public virtual void FadeToView(Camera camera, View view, float fadeDuration, bool fadeOut, Action fadeAction) { swipePanActive = false; @@ -194,11 +194,10 @@ namespace Fungus fadeAction(); } } - - /** - * Positions camera so sprite is centered and fills the screen. - * @param spriteRenderer The sprite to center the camera on - */ + + /// + /// Positions camera so sprite is centered and fills the screen. + /// public virtual void CenterOnSprite(Camera camera, SpriteRenderer spriteRenderer) { if (camera == null) @@ -230,10 +229,10 @@ namespace Fungus { PanToPosition(camera, view.transform.position, view.transform.rotation, view.ViewSize, duration, arriveAction); } - - /** - * Moves camera from current position to a target position over a period of time. - */ + + /// + /// Moves camera from current position to a target position over a period of time. + /// public virtual void PanToPosition(Camera camera, Vector3 targetPosition, Quaternion targetRotation, float targetSize, float duration, Action arriveAction) { if (camera == null) @@ -266,10 +265,10 @@ namespace Fungus StartCoroutine(PanInternal(camera, targetPosition, targetRotation, targetSize, duration, arriveAction)); } } - - /** - * Stores the current camera view using a name. - */ + + /// + /// Stores the current camera view using a name. + /// public virtual void StoreView(Camera camera, string viewName) { if (camera != null) @@ -284,10 +283,10 @@ namespace Fungus currentView.cameraSize = camera.orthographicSize; storedViews[viewName] = currentView; } - - /** - * Moves the camera to a previously stored camera view over a period of time. - */ + + /// + /// Moves the camera to a previously stored camera view over a period of time. + /// public virtual void PanToStoredView(Camera camera, string viewName, float duration, Action arriveAction) { if (camera == null) @@ -379,10 +378,10 @@ namespace Fungus yield return null; } } - - /** - * Moves camera smoothly through a sequence of Views over a period of time - */ + + /// + /// Moves camera smoothly through a sequence of Views over a period of time. + /// public virtual void PanToPath(Camera camera, View[] viewList, float duration, Action arriveAction) { if (camera == null) @@ -446,11 +445,10 @@ namespace Fungus arriveAction(); } } - - /** - * Activates swipe panning mode. - * The player can pan the camera within the area between viewA & viewB. - */ + + /// + /// Activates swipe panning mode. The player can pan the camera within the area between viewA & viewB. + /// public virtual void StartSwipePan(Camera camera, View viewA, View viewB, float duration, float speedMultiplier, Action arriveAction) { if (camera == null) @@ -479,10 +477,10 @@ namespace Fungus } }); } - - /** - * Deactivates swipe panning mode. - */ + + /// + /// Deactivates swipe panning mode. + /// public virtual void StopSwipePan() { swipePanActive = false; diff --git a/Assets/Fungus/Camera/Scripts/Commands/FadeToView.cs b/Assets/Fungus/Camera/Scripts/Commands/FadeToView.cs index 9a299c06..ed0d97bb 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/FadeToView.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/FadeToView.cs @@ -111,5 +111,4 @@ namespace Fungus return new Color32(216, 228, 170, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Camera/Scripts/Commands/Fullscreen.cs b/Assets/Fungus/Camera/Scripts/Commands/Fullscreen.cs index ce2af9f8..fd299faf 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/Fullscreen.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/Fullscreen.cs @@ -51,5 +51,4 @@ namespace Fungus return new Color32(216, 228, 170, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Camera/Scripts/Commands/MoveToView.cs b/Assets/Fungus/Camera/Scripts/Commands/MoveToView.cs index 942b8feb..85a47526 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/MoveToView.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/MoveToView.cs @@ -97,5 +97,4 @@ namespace Fungus return new Color32(216, 228, 170, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Camera/Scripts/Commands/StartSwipe.cs b/Assets/Fungus/Camera/Scripts/Commands/StartSwipe.cs index b4cc2e9b..e7fea394 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/StartSwipe.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/StartSwipe.cs @@ -76,5 +76,4 @@ namespace Fungus return new Color32(216, 228, 170, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Camera/Scripts/Commands/StopSwipe.cs b/Assets/Fungus/Camera/Scripts/Commands/StopSwipe.cs index dd2782e1..0551d3bf 100644 --- a/Assets/Fungus/Camera/Scripts/Commands/StopSwipe.cs +++ b/Assets/Fungus/Camera/Scripts/Commands/StopSwipe.cs @@ -28,5 +28,4 @@ namespace Fungus return new Color32(216, 228, 170, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Editor/AssetModProcessor.cs b/Assets/Fungus/Flowchart/Editor/AssetModProcessor.cs index 99212b83..a00795a7 100644 --- a/Assets/Fungus/Flowchart/Editor/AssetModProcessor.cs +++ b/Assets/Fungus/Flowchart/Editor/AssetModProcessor.cs @@ -1,18 +1,13 @@ // This code is part of the Fungus library (http://fungusgames.com) maintained by Chris Gregan (http://twitter.com/gofungus). // It is released for free under the MIT open source license (https://github.com/snozbot/fungus/blob/master/LICENSE) -using UnityEngine; -using UnityEditor; -using System; using System.IO; -using System.Collections; -using System.Collections.Generic; namespace Fungus { - /** - * Prevents saving of selected blocks and commands to avoid version control conflicts - */ + /// + /// Prevents saving of selected blocks and commands to avoid version control conflicts. + /// public class AssetModProcessor : UnityEditor.AssetModificationProcessor { public static string[] OnWillSaveAssets(string[] paths) @@ -45,6 +40,5 @@ namespace Fungus return paths; } - } } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Editor/BlockInspector.cs b/Assets/Fungus/Flowchart/Editor/BlockInspector.cs index e83235fc..23c42dd8 100644 --- a/Assets/Fungus/Flowchart/Editor/BlockInspector.cs +++ b/Assets/Fungus/Flowchart/Editor/BlockInspector.cs @@ -10,19 +10,18 @@ using System.Linq; namespace Fungus { - /** - * Temp hidden object which lets us use the entire inspector window to inspect - * the block command list. - */ + /// + /// Temp hidden object which lets us use the entire inspector window to inspect the block command list. + /// public class BlockInspector : ScriptableObject { [FormerlySerializedAs("sequence")] public Block block; } - /** - * Custom editor for the temp hidden object. - */ + /// + /// Custom editor for the temp hidden object. + /// [CustomEditor (typeof(BlockInspector), true)] public class BlockInspectorEditor : Editor { @@ -261,5 +260,4 @@ namespace Fungus } } } - } diff --git a/Assets/Fungus/Flowchart/Editor/CallEditor.cs b/Assets/Fungus/Flowchart/Editor/CallEditor.cs index 33b9975a..9a06b7de 100644 --- a/Assets/Fungus/Flowchart/Editor/CallEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/CallEditor.cs @@ -60,5 +60,4 @@ namespace Fungus serializedObject.ApplyModifiedProperties(); } } - } diff --git a/Assets/Fungus/Flowchart/Editor/CommandEditor.cs b/Assets/Fungus/Flowchart/Editor/CommandEditor.cs index 3f643771..2af0fa90 100644 --- a/Assets/Fungus/Flowchart/Editor/CommandEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/CommandEditor.cs @@ -201,14 +201,12 @@ namespace Fungus } - /** - * When modifying custom editor code you can occasionally end up with orphaned editor instances. - * When this happens, you'll get a null exception error every time the scene serializes / deserialized. - * Once this situation occurs, the only way to fix it is to restart the Unity editor. - * - * As a workaround, this function detects if this command editor is an orphan and deletes it. - * To use it, just call this function at the top of the OnEnable() method in your custom editor. - */ + // When modifying custom editor code you can occasionally end up with orphaned editor instances. + // When this happens, you'll get a null exception error every time the scene serializes / deserialized. + // Once this situation occurs, the only way to fix it is to restart the Unity editor. + // + // As a workaround, this function detects if this command editor is an orphan and deletes it. + // To use it, just call this function at the top of the OnEnable() method in your custom editor. protected virtual bool NullTargetCheck() { try diff --git a/Assets/Fungus/Flowchart/Editor/CustomGUI.cs b/Assets/Fungus/Flowchart/Editor/CustomGUI.cs index 5189c54f..aea4e5ed 100644 --- a/Assets/Fungus/Flowchart/Editor/CustomGUI.cs +++ b/Assets/Fungus/Flowchart/Editor/CustomGUI.cs @@ -9,10 +9,9 @@ using System.Reflection; namespace Fungus { - - /** - * Utility functions for drawing custom UI in the editor - */ + /// + /// Utility functions for drawing custom UI in the editor. + /// public static class CustomGUI { public static Texture2D CreateBlackTexture() @@ -44,5 +43,4 @@ namespace Fungus GUILayout.Box(blackTex,separatorStyle); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Editor/EditorExtensions.cs b/Assets/Fungus/Flowchart/Editor/EditorExtensions.cs index d64df563..b504bc6e 100644 --- a/Assets/Fungus/Flowchart/Editor/EditorExtensions.cs +++ b/Assets/Fungus/Flowchart/Editor/EditorExtensions.cs @@ -66,5 +66,4 @@ namespace Fungus return FindDerivedTypesFromAssembly(System.Reflection.Assembly.GetAssembly(baseType), baseType, classOnly); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs b/Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs index 5c238f4a..d49d15af 100644 --- a/Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs +++ b/Assets/Fungus/Flowchart/Editor/EditorZoomArea.cs @@ -85,5 +85,4 @@ namespace Fungus GUI.BeginGroup(new Rect(0.0f, kEditorWindowTabHeight, Screen.width, Screen.height)); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Editor/EventHandlerEditor.cs b/Assets/Fungus/Flowchart/Editor/EventHandlerEditor.cs index c17fa07f..a7caadfa 100644 --- a/Assets/Fungus/Flowchart/Editor/EventHandlerEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/EventHandlerEditor.cs @@ -13,9 +13,9 @@ namespace Fungus [CustomEditor (typeof(EventHandler), true)] public class EventHandlerEditor : Editor { - /** - * Returns the class attribute info for an event handler class. - */ + /// + /// Returns the class attribute info for an event handler class. + /// public static EventHandlerInfoAttribute GetEventHandlerInfo(System.Type eventHandlerType) { object[] attributes = eventHandlerType.GetCustomAttributes(typeof(EventHandlerInfoAttribute), false); @@ -62,5 +62,4 @@ namespace Fungus serializedObject.ApplyModifiedProperties(); } } - } diff --git a/Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs b/Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs index 524ab509..e70a43b7 100644 --- a/Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/FlowchartEditor.cs @@ -271,12 +271,12 @@ namespace Fungus } - /** - * When modifying custom editor code you can occasionally end up with orphaned editor instances. - * When this happens, you'll get a null exception error every time the scene serializes / deserialized. - * Once this situation occurs, the only way to fix it is to restart the Unity editor. - * As a workaround, this function detects if this editor is an orphan and deletes it. - */ + /// + /// When modifying custom editor code you can occasionally end up with orphaned editor instances. + /// When this happens, you'll get a null exception error every time the scene serializes / deserialized. + /// Once this situation occurs, the only way to fix it is to restart the Unity editor. + /// As a workaround, this function detects if this editor is an orphan and deletes it. + /// protected virtual bool NullTargetCheck() { try @@ -295,5 +295,4 @@ namespace Fungus return false; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs b/Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs index f61d3776..f1bd71e5 100644 --- a/Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs +++ b/Assets/Fungus/Flowchart/Editor/FlowchartMenuItems.cs @@ -80,5 +80,4 @@ namespace Fungus return go; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs b/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs index 0bb555ac..b27bfd3f 100644 --- a/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs +++ b/Assets/Fungus/Flowchart/Editor/FlowchartWindow.cs @@ -838,9 +838,9 @@ namespace Fungus EditorUtility.SetDirty(blockInspector); } - /** - * Displays a temporary text alert in the center of the Flowchart window. - */ + /// + /// Displays a temporary text alert in the center of the Flowchart window. + /// public static void ShowNotification(string notificationText) { EditorWindow window = EditorWindow.GetWindow(typeof(FlowchartWindow), false, "Flowchart"); diff --git a/Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs b/Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs index 7007e810..724fe62c 100644 --- a/Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs +++ b/Assets/Fungus/Flowchart/Editor/FungusEditorResources.cs @@ -185,5 +185,4 @@ namespace Fungus return (imageData[offset] << 8) | imageData[offset + 1]; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Editor/GLDraw.cs b/Assets/Fungus/Flowchart/Editor/GLDraw.cs index a6bd5717..d38dbcce 100644 --- a/Assets/Fungus/Flowchart/Editor/GLDraw.cs +++ b/Assets/Fungus/Flowchart/Editor/GLDraw.cs @@ -8,17 +8,17 @@ using System; namespace Fungus { + /// + /// Clipping code: http://forum.unity3d.com/threads/17066-How-to-draw-a-GUI-2D-quot-line-quot?p=230386#post230386 + /// Thick line drawing code: http://unifycommunity.com/wiki/index.php?title=VectorLine + /// Credit: "http://cs-people.bu.edu/jalon/cs480/Oct11Lab/clip.c" + /// public class GLDraw { - /* - * Clipping code: http://forum.unity3d.com/threads/17066-How-to-draw-a-GUI-2D-quot-line-quot?p=230386#post230386 - * Thick line drawing code: http://unifycommunity.com/wiki/index.php?title=VectorLine - */ protected static bool clippingEnabled; protected static Rect clippingBounds; public static Material lineMaterial = null; - /* @ Credit: "http://cs-people.bu.edu/jalon/cs480/Oct11Lab/clip.c" */ protected static bool clip_test(float p, float q, ref float u1, ref float u2) { float r; @@ -292,5 +292,4 @@ namespace Fungus return rt * rt * rt * s + 3 * rt * rtt * st + 3 * rtt * t * et + t * t * t * e; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Editor/IfEditor.cs b/Assets/Fungus/Flowchart/Editor/IfEditor.cs index daee323b..caa7a7dd 100644 --- a/Assets/Fungus/Flowchart/Editor/IfEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/IfEditor.cs @@ -92,5 +92,4 @@ namespace Fungus serializedObject.ApplyModifiedProperties(); } } - } diff --git a/Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs b/Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs index bdabb800..925b5973 100644 --- a/Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/InvokeMethodEditor.cs @@ -441,5 +441,4 @@ namespace Fungus return null; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs b/Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs index 18564813..7020d289 100644 --- a/Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs +++ b/Assets/Fungus/Flowchart/Editor/SetVariableEditor.cs @@ -157,5 +157,4 @@ namespace Fungus serializedObject.ApplyModifiedProperties(); } } - } diff --git a/Assets/Fungus/Flowchart/Scripts/CommandCopyBuffer.cs b/Assets/Fungus/Flowchart/Scripts/CommandCopyBuffer.cs index 272a5402..b49c4fe1 100644 --- a/Assets/Fungus/Flowchart/Scripts/CommandCopyBuffer.cs +++ b/Assets/Fungus/Flowchart/Scripts/CommandCopyBuffer.cs @@ -66,5 +66,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Call.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Call.cs index 256e9fe7..e3670414 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Call.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Call.cs @@ -133,5 +133,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/CallMethod.cs b/Assets/Fungus/Flowchart/Scripts/Commands/CallMethod.cs index a01e1a16..4a0f096a 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/CallMethod.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/CallMethod.cs @@ -71,5 +71,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Comment.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Comment.cs index 82e8177d..75cdd439 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Comment.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Comment.cs @@ -40,5 +40,4 @@ namespace Fungus return new Color32(220, 220, 220, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Condition.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Condition.cs index af89c0a4..d785b610 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Condition.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Condition.cs @@ -49,5 +49,4 @@ namespace Fungus return summary; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/DebugLog.cs b/Assets/Fungus/Flowchart/Scripts/Commands/DebugLog.cs index d9b6e29d..f5b8979d 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/DebugLog.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/DebugLog.cs @@ -58,5 +58,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Destroy.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Destroy.cs index 095d04ca..9a50d81b 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Destroy.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Destroy.cs @@ -59,5 +59,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Else.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Else.cs index ae0b190c..0bbc3c57 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Else.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Else.cs @@ -65,5 +65,4 @@ namespace Fungus return new Color32(253, 253, 150, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/ElseIf.cs b/Assets/Fungus/Flowchart/Scripts/Commands/ElseIf.cs index 8e944415..d41c0590 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/ElseIf.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/ElseIf.cs @@ -74,5 +74,4 @@ namespace Fungus return new Color32(253, 253, 150, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/End.cs b/Assets/Fungus/Flowchart/Scripts/Commands/End.cs index 90a20860..baa28034 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/End.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/End.cs @@ -44,5 +44,4 @@ namespace Fungus return new Color32(253, 253, 150, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/If.cs b/Assets/Fungus/Flowchart/Scripts/Commands/If.cs index d6b59727..81e4dffe 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/If.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/If.cs @@ -198,5 +198,4 @@ namespace Fungus return new Color32(253, 253, 150, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/InvokeEvent.cs b/Assets/Fungus/Flowchart/Scripts/Commands/InvokeEvent.cs index dbb2a8ae..43d1c2aa 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/InvokeEvent.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/InvokeEvent.cs @@ -134,5 +134,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/InvokeMethod.cs b/Assets/Fungus/Flowchart/Scripts/Commands/InvokeMethod.cs index b1727b61..998bbaa5 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/InvokeMethod.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/InvokeMethod.cs @@ -399,5 +399,4 @@ namespace Fungus return types[typeName]; } } - } diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Jump.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Jump.cs index 9defbc56..e8fd6273 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Jump.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Jump.cs @@ -73,5 +73,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Label.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Label.cs index ad977147..af363adc 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Label.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Label.cs @@ -34,5 +34,4 @@ namespace Fungus return new Color32(200, 200, 253, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/LoadScene.cs b/Assets/Fungus/Flowchart/Scripts/Commands/LoadScene.cs index ba9bc010..2d5ef658 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/LoadScene.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/LoadScene.cs @@ -63,5 +63,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/OpenURL.cs b/Assets/Fungus/Flowchart/Scripts/Commands/OpenURL.cs index adb8f2a0..5054b81b 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/OpenURL.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/OpenURL.cs @@ -34,5 +34,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Quit.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Quit.cs index b9509d62..c183172f 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Quit.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Quit.cs @@ -27,5 +27,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/RandomFloat.cs b/Assets/Fungus/Flowchart/Scripts/Commands/RandomFloat.cs index 94efcb41..ee5da463 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/RandomFloat.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/RandomFloat.cs @@ -54,5 +54,4 @@ namespace Fungus return new Color32(253, 253, 150, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/RandomInteger.cs b/Assets/Fungus/Flowchart/Scripts/Commands/RandomInteger.cs index eafe19ac..e2ceddbc 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/RandomInteger.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/RandomInteger.cs @@ -54,5 +54,4 @@ namespace Fungus return new Color32(253, 253, 150, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/ReadTextFile.cs b/Assets/Fungus/Flowchart/Scripts/Commands/ReadTextFile.cs index e1155904..79d8815d 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/ReadTextFile.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/ReadTextFile.cs @@ -60,5 +60,4 @@ namespace Fungus return new Color32(253, 253, 150, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Reset.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Reset.cs index 1ea35ea7..fd7ed387 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Reset.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Reset.cs @@ -31,5 +31,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/SendMessage.cs b/Assets/Fungus/Flowchart/Scripts/Commands/SendMessage.cs index a45c7c63..7e26c73e 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/SendMessage.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/SendMessage.cs @@ -89,5 +89,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/SetActive.cs b/Assets/Fungus/Flowchart/Scripts/Commands/SetActive.cs index eed38e78..23e509e5 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/SetActive.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/SetActive.cs @@ -62,5 +62,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/SetSaveProfile.cs b/Assets/Fungus/Flowchart/Scripts/Commands/SetSaveProfile.cs index 03eeec4b..374a0a31 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/SetSaveProfile.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/SetSaveProfile.cs @@ -16,9 +16,9 @@ namespace Fungus [AddComponentMenu("")] public class SetSaveProfile : Command { - /** - * Shared save profile name used by SaveVariable and LoadVariable. - */ + /// + /// Shared save profile name used by SaveVariable and LoadVariable. + /// public static string saveProfile = ""; [Tooltip("Name of save profile to make active.")] diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/SetVariable.cs b/Assets/Fungus/Flowchart/Scripts/Commands/SetVariable.cs index c361b092..09b8314c 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/SetVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/SetVariable.cs @@ -204,5 +204,4 @@ namespace Fungus } } } - } diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/SpawnObject.cs b/Assets/Fungus/Flowchart/Scripts/Commands/SpawnObject.cs index 40b45576..fc487cb1 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/SpawnObject.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/SpawnObject.cs @@ -96,5 +96,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Stop.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Stop.cs index c81e6cc4..4a2669ac 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Stop.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Stop.cs @@ -24,5 +24,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/StopBlock.cs b/Assets/Fungus/Flowchart/Scripts/Commands/StopBlock.cs index 9481c137..f7a3f89e 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/StopBlock.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/StopBlock.cs @@ -53,5 +53,4 @@ namespace Fungus return new Color32(253, 253, 150, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/StopFlowchart.cs b/Assets/Fungus/Flowchart/Scripts/Commands/StopFlowchart.cs index ed491271..938d89ba 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/StopFlowchart.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/StopFlowchart.cs @@ -57,5 +57,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Commands/Wait.cs b/Assets/Fungus/Flowchart/Scripts/Commands/Wait.cs index dbd5b772..4925749f 100644 --- a/Assets/Fungus/Flowchart/Scripts/Commands/Wait.cs +++ b/Assets/Fungus/Flowchart/Scripts/Commands/Wait.cs @@ -54,5 +54,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/EventHandlers/MessageReceived.cs b/Assets/Fungus/Flowchart/Scripts/EventHandlers/MessageReceived.cs index 36284140..3da23d25 100644 --- a/Assets/Fungus/Flowchart/Scripts/EventHandlers/MessageReceived.cs +++ b/Assets/Fungus/Flowchart/Scripts/EventHandlers/MessageReceived.cs @@ -30,5 +30,4 @@ namespace Fungus return message; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/Flowchart.cs b/Assets/Fungus/Flowchart/Scripts/Flowchart.cs index 0e6b43fe..c8a28ea4 100644 --- a/Assets/Fungus/Flowchart/Scripts/Flowchart.cs +++ b/Assets/Fungus/Flowchart/Scripts/Flowchart.cs @@ -1102,5 +1102,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/FungusState.cs b/Assets/Fungus/Flowchart/Scripts/FungusState.cs index 166ee235..fa68f95c 100644 --- a/Assets/Fungus/Flowchart/Scripts/FungusState.cs +++ b/Assets/Fungus/Flowchart/Scripts/FungusState.cs @@ -15,5 +15,4 @@ namespace Fungus [SerializeField] protected Flowchart selectedFlowchart; public Flowchart SelectedFlowchart { get { return selectedFlowchart; } set { selectedFlowchart = value; } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/AnimatorVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/AnimatorVariable.cs index 63715741..4747a5ad 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/AnimatorVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/AnimatorVariable.cs @@ -56,5 +56,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/AudioSourceVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/AudioSourceVariable.cs index 54c6d607..a3e4bb34 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/AudioSourceVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/AudioSourceVariable.cs @@ -56,5 +56,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/BooleanVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/BooleanVariable.cs index 91206a0b..0553e094 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/BooleanVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/BooleanVariable.cs @@ -80,5 +80,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/ColorVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/ColorVariable.cs index 86e12a78..f27c32ca 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/ColorVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/ColorVariable.cs @@ -57,5 +57,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/FloatVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/FloatVariable.cs index 80a63f90..8c4fe570 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/FloatVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/FloatVariable.cs @@ -89,5 +89,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/GameObjectVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/GameObjectVariable.cs index d7a16aed..8a67c671 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/GameObjectVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/GameObjectVariable.cs @@ -57,5 +57,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/IntegerVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/IntegerVariable.cs index 2bc84236..e91968ff 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/IntegerVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/IntegerVariable.cs @@ -89,5 +89,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/MaterialVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/MaterialVariable.cs index 514efd23..5f36ff87 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/MaterialVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/MaterialVariable.cs @@ -57,5 +57,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/ObjectVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/ObjectVariable.cs index fb498579..1d3fcb9d 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/ObjectVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/ObjectVariable.cs @@ -57,5 +57,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/SpriteVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/SpriteVariable.cs index ecc264a2..ca7a0d63 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/SpriteVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/SpriteVariable.cs @@ -57,5 +57,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/TextureVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/TextureVariable.cs index f73d202b..ad446a9f 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/TextureVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/TextureVariable.cs @@ -57,5 +57,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/TransformVariable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/TransformVariable.cs index 399b9d1f..bbc32db4 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/TransformVariable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/TransformVariable.cs @@ -57,5 +57,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/Vector2Variable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/Vector2Variable.cs index eab87144..f067aa95 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/Vector2Variable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/Vector2Variable.cs @@ -57,5 +57,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Flowchart/Scripts/VariableTypes/Vector3Variable.cs b/Assets/Fungus/Flowchart/Scripts/VariableTypes/Vector3Variable.cs index daff107f..16c5511a 100644 --- a/Assets/Fungus/Flowchart/Scripts/VariableTypes/Vector3Variable.cs +++ b/Assets/Fungus/Flowchart/Scripts/VariableTypes/Vector3Variable.cs @@ -57,5 +57,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Lua/Scripts/Commands/ExecuteLua.cs b/Assets/Fungus/Lua/Scripts/Commands/ExecuteLua.cs index 8bb34fee..2807d3fe 100644 --- a/Assets/Fungus/Lua/Scripts/Commands/ExecuteLua.cs +++ b/Assets/Fungus/Lua/Scripts/Commands/ExecuteLua.cs @@ -202,5 +202,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } diff --git a/Assets/Fungus/Lua/Scripts/LuaExtensions.cs b/Assets/Fungus/Lua/Scripts/LuaExtensions.cs index 7a2cd6c6..080208f7 100644 --- a/Assets/Fungus/Lua/Scripts/LuaExtensions.cs +++ b/Assets/Fungus/Lua/Scripts/LuaExtensions.cs @@ -98,5 +98,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Editor/CharacterEditor.cs b/Assets/Fungus/Narrative/Editor/CharacterEditor.cs index 5d63a472..789a685b 100644 --- a/Assets/Fungus/Narrative/Editor/CharacterEditor.cs +++ b/Assets/Fungus/Narrative/Editor/CharacterEditor.cs @@ -86,5 +86,4 @@ namespace Fungus } } - } \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Editor/LocalizationEditor.cs b/Assets/Fungus/Narrative/Editor/LocalizationEditor.cs index 5abd873a..523b24de 100644 --- a/Assets/Fungus/Narrative/Editor/LocalizationEditor.cs +++ b/Assets/Fungus/Narrative/Editor/LocalizationEditor.cs @@ -121,5 +121,4 @@ namespace Fungus localization.NotificationText = ""; } } - } diff --git a/Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs b/Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs index 2d628e13..4253e7a3 100644 --- a/Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs +++ b/Assets/Fungus/Narrative/Editor/NarrativeMenuItems.cs @@ -67,5 +67,4 @@ namespace Fungus go.transform.position = Vector3.zero; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/Character.cs b/Assets/Fungus/Narrative/Scripts/Character.cs index 8778c758..e7dfe891 100644 --- a/Assets/Fungus/Narrative/Scripts/Character.cs +++ b/Assets/Fungus/Narrative/Scripts/Character.cs @@ -113,5 +113,4 @@ namespace Fungus return "CHARACTER." + nameText; } } - } diff --git a/Assets/Fungus/Narrative/Scripts/Commands/ClearMenu.cs b/Assets/Fungus/Narrative/Scripts/Commands/ClearMenu.cs index e4fa4a2a..23f379f6 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/ClearMenu.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/ClearMenu.cs @@ -38,5 +38,4 @@ namespace Fungus return new Color32(184, 210, 235, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs b/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs index 79b777a7..d932f845 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/Menu.cs @@ -115,5 +115,4 @@ namespace Fungus return "MENU." + GetFlowchartLocalizationId() + "." + itemId; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/Commands/MenuTimer.cs b/Assets/Fungus/Narrative/Scripts/Commands/MenuTimer.cs index 2d81f239..3d2ddce5 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/MenuTimer.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/MenuTimer.cs @@ -75,5 +75,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/Commands/Say.cs b/Assets/Fungus/Narrative/Scripts/Commands/Say.cs index b139fa8f..051e6f2c 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/Say.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/Say.cs @@ -176,5 +176,4 @@ namespace Fungus return stringId; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/Commands/SetMenuDialog.cs b/Assets/Fungus/Narrative/Scripts/Commands/SetMenuDialog.cs index e61c206e..884dccf0 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/SetMenuDialog.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/SetMenuDialog.cs @@ -42,5 +42,4 @@ namespace Fungus return new Color32(184, 210, 235, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/Commands/SetSayDialog.cs b/Assets/Fungus/Narrative/Scripts/Commands/SetSayDialog.cs index 752b1f58..e507e7be 100644 --- a/Assets/Fungus/Narrative/Scripts/Commands/SetSayDialog.cs +++ b/Assets/Fungus/Narrative/Scripts/Commands/SetSayDialog.cs @@ -42,5 +42,4 @@ namespace Fungus return new Color32(184, 210, 235, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Narrative/Scripts/SayDialog.cs b/Assets/Fungus/Narrative/Scripts/SayDialog.cs index f920f98e..c276ec1c 100644 --- a/Assets/Fungus/Narrative/Scripts/SayDialog.cs +++ b/Assets/Fungus/Narrative/Scripts/SayDialog.cs @@ -206,17 +206,13 @@ namespace Fungus } } - /** - * Tell dialog to fade out if it's finished writing. - */ + // Tell dialog to fade out if it's finished writing. public virtual void FadeOut() { fadeWhenDone = true; } - /** - * Stop a Say Dialog while its writing text. - */ + // Stop a Say Dialog while its writing text. public virtual void Stop() { fadeWhenDone = true; @@ -422,5 +418,4 @@ namespace Fungus } } } - } diff --git a/Assets/Fungus/Sprite/Editor/SetColliderEditor.cs b/Assets/Fungus/Sprite/Editor/SetColliderEditor.cs index e1242fe0..03199919 100644 --- a/Assets/Fungus/Sprite/Editor/SetColliderEditor.cs +++ b/Assets/Fungus/Sprite/Editor/SetColliderEditor.cs @@ -39,5 +39,4 @@ namespace Fungus serializedObject.ApplyModifiedProperties(); } } - } diff --git a/Assets/Fungus/Sprite/Editor/SpriteMenuItems.cs b/Assets/Fungus/Sprite/Editor/SpriteMenuItems.cs index 36b20c2e..02370911 100644 --- a/Assets/Fungus/Sprite/Editor/SpriteMenuItems.cs +++ b/Assets/Fungus/Sprite/Editor/SpriteMenuItems.cs @@ -34,5 +34,4 @@ namespace Fungus FlowchartMenuItems.SpawnPrefab("ParallaxSprite"); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs b/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs index 8c02863e..fcae03ab 100644 --- a/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs +++ b/Assets/Fungus/Sprite/Scripts/Commands/FadeSprite.cs @@ -85,5 +85,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Sprite/Scripts/Commands/SetDraggable2D.cs b/Assets/Fungus/Sprite/Scripts/Commands/SetDraggable2D.cs index 5cc4d288..6006f333 100644 --- a/Assets/Fungus/Sprite/Scripts/Commands/SetDraggable2D.cs +++ b/Assets/Fungus/Sprite/Scripts/Commands/SetDraggable2D.cs @@ -45,5 +45,4 @@ namespace Fungus return new Color32(235, 191, 217, 255); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Sprite/Scripts/Commands/ShowSprite.cs b/Assets/Fungus/Sprite/Scripts/Commands/ShowSprite.cs index 7369686a..abec738e 100644 --- a/Assets/Fungus/Sprite/Scripts/Commands/ShowSprite.cs +++ b/Assets/Fungus/Sprite/Scripts/Commands/ShowSprite.cs @@ -83,5 +83,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCancelled.cs b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCancelled.cs index f489d40b..375eb39c 100644 --- a/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCancelled.cs +++ b/Assets/Fungus/Sprite/Scripts/EventHandlers/DragCancelled.cs @@ -35,5 +35,4 @@ namespace Fungus return "None"; } } - } diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs index 4a17ec53..167b8eca 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/LuaStoreEditor.cs @@ -27,5 +27,4 @@ namespace Fungus } } } - } diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs index dc311811..d6ff9480 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/Editor/MenuItems.cs @@ -124,5 +124,4 @@ namespace Fungus SpawnPrefab("Prefabs/InfoText", false); } } - } diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/ExecuteHandler.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/ExecuteHandler.cs index d899cf46..638091c3 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/ExecuteHandler.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/ExecuteHandler.cs @@ -308,5 +308,4 @@ namespace Fungus ExecuteHandler Component { get; } } - } diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/FungusPrefs.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/FungusPrefs.cs index ac2e6fb2..e5c62320 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/FungusPrefs.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/FungusPrefs.cs @@ -108,5 +108,4 @@ namespace Fungus return slot.ToString() + ":" + key; } } - } \ No newline at end of file diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/InfoText.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/InfoText.cs index 7a90df15..81e37182 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/InfoText.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/InfoText.cs @@ -22,5 +22,4 @@ namespace Fungus GUI.Label(rect, info); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaEnvironment.cs b/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaEnvironment.cs index c334e785..a9cbda0b 100644 --- a/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaEnvironment.cs +++ b/Assets/Fungus/Thirdparty/FungusLua/Scripts/LuaEnvironment.cs @@ -424,5 +424,4 @@ namespace Fungus UnityEngine.Debug.LogError(output); } } - } \ No newline at end of file diff --git a/Assets/Fungus/Thirdparty/Microsoft/ReflectionExtensions.cs b/Assets/Fungus/Thirdparty/Microsoft/ReflectionExtensions.cs index d4cb61f5..bbfd689d 100644 --- a/Assets/Fungus/Thirdparty/Microsoft/ReflectionExtensions.cs +++ b/Assets/Fungus/Thirdparty/Microsoft/ReflectionExtensions.cs @@ -593,5 +593,4 @@ namespace MarkerMetro.Unity.WinLegacy.Reflection } } - } \ No newline at end of file diff --git a/Assets/Fungus/UI/Scripts/Commands/SetSliderValue.cs b/Assets/Fungus/UI/Scripts/Commands/SetSliderValue.cs index 8b62f29a..52da60b5 100644 --- a/Assets/Fungus/UI/Scripts/Commands/SetSliderValue.cs +++ b/Assets/Fungus/UI/Scripts/Commands/SetSliderValue.cs @@ -42,5 +42,4 @@ namespace Fungus return slider.name + " = " + value.GetDescription(); } } - } \ No newline at end of file diff --git a/Assets/Fungus/UI/Scripts/Commands/TweenUI.cs b/Assets/Fungus/UI/Scripts/Commands/TweenUI.cs index 0d9cda2f..4cba1bf7 100644 --- a/Assets/Fungus/UI/Scripts/Commands/TweenUI.cs +++ b/Assets/Fungus/UI/Scripts/Commands/TweenUI.cs @@ -130,5 +130,4 @@ namespace Fungus return false; } } - } \ No newline at end of file diff --git a/Assets/Fungus/UI/Scripts/Commands/Write.cs b/Assets/Fungus/UI/Scripts/Commands/Write.cs index 6b372be4..3f2c4478 100644 --- a/Assets/Fungus/UI/Scripts/Commands/Write.cs +++ b/Assets/Fungus/UI/Scripts/Commands/Write.cs @@ -143,5 +143,4 @@ namespace Fungus return "WRITE." + GetFlowchartLocalizationId() + "." + itemId; } } - } \ No newline at end of file diff --git a/Assets/Fungus/UI/Scripts/Writer.cs b/Assets/Fungus/UI/Scripts/Writer.cs index ae603f10..1e6f9d8b 100644 --- a/Assets/Fungus/UI/Scripts/Writer.cs +++ b/Assets/Fungus/UI/Scripts/Writer.cs @@ -908,5 +908,4 @@ namespace Fungus } } } - } diff --git a/Assets/Fungus/UI/Scripts/WriterAudio.cs b/Assets/Fungus/UI/Scripts/WriterAudio.cs index 19600a3c..6acd9522 100644 --- a/Assets/Fungus/UI/Scripts/WriterAudio.cs +++ b/Assets/Fungus/UI/Scripts/WriterAudio.cs @@ -248,5 +248,4 @@ namespace Fungus } } } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/LookFrom.cs b/Assets/Fungus/iTween/Scripts/Commands/LookFrom.cs index e47062c6..3a875079 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/LookFrom.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/LookFrom.cs @@ -83,5 +83,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/LookTo.cs b/Assets/Fungus/iTween/Scripts/Commands/LookTo.cs index c45bc7f2..50f93afc 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/LookTo.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/LookTo.cs @@ -83,5 +83,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/MoveAdd.cs b/Assets/Fungus/iTween/Scripts/Commands/MoveAdd.cs index 61f51688..0a9f82c2 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/MoveAdd.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/MoveAdd.cs @@ -55,5 +55,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/MoveFrom.cs b/Assets/Fungus/iTween/Scripts/Commands/MoveFrom.cs index 2f3238a9..047e5e4c 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/MoveFrom.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/MoveFrom.cs @@ -72,5 +72,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/MoveTo.cs b/Assets/Fungus/iTween/Scripts/Commands/MoveTo.cs index 39cebe04..dceb0bbf 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/MoveTo.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/MoveTo.cs @@ -72,5 +72,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/PunchPosition.cs b/Assets/Fungus/iTween/Scripts/Commands/PunchPosition.cs index 409958f1..812f8a4a 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/PunchPosition.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/PunchPosition.cs @@ -55,5 +55,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/PunchRotation.cs b/Assets/Fungus/iTween/Scripts/Commands/PunchRotation.cs index ff337d9a..2eadace1 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/PunchRotation.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/PunchRotation.cs @@ -55,5 +55,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/PunchScale.cs b/Assets/Fungus/iTween/Scripts/Commands/PunchScale.cs index e08b52b5..b68ff791 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/PunchScale.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/PunchScale.cs @@ -51,5 +51,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/RotateAdd.cs b/Assets/Fungus/iTween/Scripts/Commands/RotateAdd.cs index a2a17ffb..ddbca940 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/RotateAdd.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/RotateAdd.cs @@ -55,5 +55,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/RotateFrom.cs b/Assets/Fungus/iTween/Scripts/Commands/RotateFrom.cs index d5222d3a..95737ea1 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/RotateFrom.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/RotateFrom.cs @@ -72,5 +72,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/RotateTo.cs b/Assets/Fungus/iTween/Scripts/Commands/RotateTo.cs index fd351f8f..b6c964b2 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/RotateTo.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/RotateTo.cs @@ -72,5 +72,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/ScaleAdd.cs b/Assets/Fungus/iTween/Scripts/Commands/ScaleAdd.cs index 51b8246b..d149a188 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/ScaleAdd.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/ScaleAdd.cs @@ -51,5 +51,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/ScaleFrom.cs b/Assets/Fungus/iTween/Scripts/Commands/ScaleFrom.cs index 0e4454a8..863bbc93 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/ScaleFrom.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/ScaleFrom.cs @@ -68,5 +68,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs b/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs index 3686ebfd..df663fe1 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/ScaleTo.cs @@ -68,5 +68,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/StopTween.cs b/Assets/Fungus/iTween/Scripts/Commands/StopTween.cs index f4a42bef..aaf260e7 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/StopTween.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/StopTween.cs @@ -40,5 +40,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/StopTweens.cs b/Assets/Fungus/iTween/Scripts/Commands/StopTweens.cs index a8dec67b..7f8d6ff3 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/StopTweens.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/StopTweens.cs @@ -20,5 +20,4 @@ namespace Fungus Continue(); } } - } \ No newline at end of file diff --git a/Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs b/Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs index 9f4eb23b..393337c1 100644 --- a/Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs +++ b/Assets/Fungus/iTween/Scripts/Commands/iTweenCommand.cs @@ -127,5 +127,4 @@ namespace Fungus #endregion } - } \ No newline at end of file diff --git a/Assets/FungusExamples/FungusLua/Bindings/CustomScript.cs b/Assets/FungusExamples/FungusLua/Bindings/CustomScript.cs index 49e928fd..34f58fb9 100644 --- a/Assets/FungusExamples/FungusLua/Bindings/CustomScript.cs +++ b/Assets/FungusExamples/FungusLua/Bindings/CustomScript.cs @@ -23,5 +23,4 @@ public class CustomScript : MonoBehaviour Debug.Log("Coroutine finished"); } - } diff --git a/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/DTOFormatter.cs b/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/DTOFormatter.cs index f974b7c1..1d084728 100644 --- a/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/DTOFormatter.cs +++ b/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/DTOFormatter.cs @@ -136,5 +136,4 @@ namespace UnityTest return result; } } - } \ No newline at end of file diff --git a/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/IntegrationTestsHierarchyAnnotation.cs b/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/IntegrationTestsHierarchyAnnotation.cs index 4aa5dc41..2c0099f8 100644 --- a/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/IntegrationTestsHierarchyAnnotation.cs +++ b/Assets/UnityTestTools/IntegrationTestsFramework/TestRunner/Editor/IntegrationTestsHierarchyAnnotation.cs @@ -40,5 +40,4 @@ namespace UnityTest EditorGUIUtility.SetIconSize(Vector2.zero); } } - } \ No newline at end of file