diff --git a/Assets/Plugins/Easy Save 3.meta b/Assets/Plugins/Easy Save 3.meta deleted file mode 100644 index 995a1a729..000000000 --- a/Assets/Plugins/Easy Save 3.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f95a5eab87f89604ca6f834200390c02 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Change Log.meta b/Assets/Plugins/Easy Save 3/Change Log.meta deleted file mode 100644 index d3a1e9a71..000000000 --- a/Assets/Plugins/Easy Save 3/Change Log.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3115cc2dd2d49d742b3cfe0b237788ce -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Change Log/Change Log.txt b/Assets/Plugins/Easy Save 3/Change Log/Change Log.txt deleted file mode 100644 index df8947e29..000000000 --- a/Assets/Plugins/Easy Save 3/Change Log/Change Log.txt +++ /dev/null @@ -1,72 +0,0 @@ -3.3.2f1 -- Resolved issue where Components on prefabs would sometimes not be added to the reference manager. -- Resolved issue where reference ID was read unnecesserily, causing format exception. -- Resolved issue where child prefabs would not be recognised by manager. - -3.3.1p12 -- Resolved case where certain references would not be added to manager. - -3.3.1f11 -- Fixed issue where using ES3.CacheFile with an encrypted file could fail. -- Fixed issue where Directory.GetFiles cannot process a full path on certain configurations. -- Accounted for case where HideFlags are changed during build process. -- Added a timeout parameter to the ES3Cloud constructor. -- ES3.Serialize and ES3.Deserialize now work with encryption and compression - -3.3.1f10 -- Full support for projects which use multiple scenes at once. -- Added ES3.Encrypt and ES3.Decrypt methods. -- Supported saving the active state and FsmVariables of PlayMaker FSMs. -- Added edge case for SkinnedMeshRenderers which use LODs to ensure that all meshes and Materials are added to the reference manager. -- Ensured that Auto Update References setting is ackowledged when first adding manager to scene. -- Moved menu items into Tools/Easy Save 3 menu. -- Using LoadInto will now assign the loaded reference ID to the object you're loading into. - -3.3.1f9 -- It's not possible to add an ES3ReferenceMgr to your scene directly, ensuring that initialisation code is performed. -- Compressed files can now be cached. -- Ability to only add prefabs directly referenced by your scene to the manager. - -3.3.1f8 -- Caching is now enabled by default for Auto Save, significantly improving performance. -- Added ES3.LoadString method so you do not need to provide all parameters to use the defaultValue overload. -- Resolved case where SaveAll would not correctly save some types of array. -- Resolved case where global references would not be acknowledged. - -3.3.1f7 -- Serialization depth limit has been raised to account for projects with deep hierearchies -- Fixed issue where Easy Save 3 Manager could not be found for scenes which had not been saved. -- Resolved issue where Add Reference(s) to Manager would not dirty scene when Auto Update References was disabled. -- Improved Editor performance by accounting for situations where post-processing events would be called multiple times. - -3.3.1f6 -- Internal fields of the UnityEngine.Object class are hidden in the Types pane as they are not serialisable. -- Accounted for edge case where unassigned script is returned by GameObject.GetComponents(). -- ES3Settings constructor now accepts any settings enum (e.g. ES3.Location). -- No longer throws warning when multiple scenes are open. - -3.3.1f5 -- Updated PlayMaker actions. -- Provided workaround for issue where IL2CPP stripper removes methods which are marked to not be stripped. -- Performance updates. - -3.3.1f4 -- Improved performance when gathering references for reference manager. - -3.3.1f3 -- Added Cache as a storage location, providing a much simpler way of caching data. -- References can now be added by right-clicking the object and going to Easy Save 3 > Add Reference to Manager. -- Floats and doubles are now stored with full precision. -- Assorted bug fixes. - -3.3.1f2 -- Added compression, reducing file size by 85% on average when enabled -- JSON is now pretty printed (formatted) by default -- Added attributes to control serialisation -- Private fields in inherited classes are now stored -- Added search capabilities to the Auto Save window -- The way in which GameObjects is saved is now more flexible -- The reference manager is now updated whenever playmode is entered -- Null values in the global manager are now automatically removed -- Fixed issue where default settings were not applied properly -- Fixed issue where ES3Types would be stored in Easy Save root rather than in Assets/Easy Save 3/ \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Change Log/Change Log.txt.meta b/Assets/Plugins/Easy Save 3/Change Log/Change Log.txt.meta deleted file mode 100644 index 1dfb66958..000000000 --- a/Assets/Plugins/Easy Save 3/Change Log/Change Log.txt.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 48fdb523e0bb47f479a18f9b236df644 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor.meta b/Assets/Plugins/Easy Save 3/Editor.meta deleted file mode 100644 index 4ee985caf..000000000 --- a/Assets/Plugins/Easy Save 3/Editor.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 600dbc665993148f7b59ae7356fe862e -folderAsset: yes -timeCreated: 1474041532 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/AddES3Prefab.cs b/Assets/Plugins/Easy Save 3/Editor/AddES3Prefab.cs deleted file mode 100644 index 164567aeb..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/AddES3Prefab.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEditor; -using ES3Internal; - -namespace ES3Editor -{ - public class AddES3Prefab : Editor - { - [MenuItem("GameObject/Easy Save 3/Enable Easy Save for Prefab", false, 1001)] - [MenuItem("Assets/Easy Save 3/Enable Easy Save for Prefab", false, 1001)] - public static void Enable() - { - var go = Selection.activeGameObject; - - #if UNITY_2018_3_OR_NEWER - if(PrefabUtility.GetPrefabInstanceStatus(go) != PrefabInstanceStatus.NotAPrefab) - { - go = (GameObject)PrefabUtility.GetCorrespondingObjectFromSource(go); - if(go == null) - return; - } - #else - if(PrefabUtility.GetPrefabType(go) != PrefabType.Prefab) - { - go = (GameObject)PrefabUtility.GetPrefabParent(go); - if(go == null) - return; - } - #endif - - var es3Prefab = Undo.AddComponent(go); - es3Prefab.GeneratePrefabReferences(); - - if (ES3ReferenceMgr.Current != null) - { - ES3ReferenceMgr.Current.AddPrefab(es3Prefab); - EditorUtility.SetDirty(ES3ReferenceMgr.Current); - } - } - - [MenuItem("GameObject/Easy Save 3/Enable Easy Save for Prefab", true, 1001)] - [MenuItem("Assets/Easy Save 3/Enable Easy Save for Prefab", true, 1001)] - public static bool Validate() - { - var go = Selection.activeGameObject; - if(go == null) - return false; - if(go.GetComponent() != null) - return false; - return true; - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Editor/AddES3Prefab.cs.meta b/Assets/Plugins/Easy Save 3/Editor/AddES3Prefab.cs.meta deleted file mode 100644 index 745029bd4..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/AddES3Prefab.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 337c3be705d1942b3bf318b5b29aa7cb -timeCreated: 1519132282 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/AutoSaveWindow.cs b/Assets/Plugins/Easy Save 3/Editor/AutoSaveWindow.cs deleted file mode 100644 index c9299664d..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/AutoSaveWindow.cs +++ /dev/null @@ -1,276 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEditor; -using ES3Internal; - -namespace ES3Editor -{ - [System.Serializable] - public class AutoSaveWindow : SubWindow - { - public bool showAdvancedSettings = false; - - public ES3AutoSaveMgr mgr = null; - - private HierarchyItem[] hierarchy = null; - public HierarchyItem selected = null; - - private Vector2 hierarchyScrollPosition = Vector2.zero; - - private bool sceneOpen = true; - - private string searchTerm = ""; - - public AutoSaveWindow(EditorWindow window) : base("Auto Save", window){} - - public override void OnGUI() - { - Init(); - - if(mgr == null) - { - EditorGUILayout.Space(); - if (GUILayout.Button("Enable Auto Save for this scene")) - mgr = ES3Postprocessor.AddManagerToScene().GetComponent(); - else - return; - } - - var style = EditorStyle.Get; - - using (var changeCheck = new EditorGUI.ChangeCheckScope()) - { - using (var vertical = new EditorGUILayout.VerticalScope(style.areaPadded)) - { - //GUILayout.Label("Settings for current scene", style.heading); - mgr.saveEvent = (ES3AutoSaveMgr.SaveEvent)EditorGUILayout.EnumPopup("Save Event", mgr.saveEvent); - mgr.loadEvent = (ES3AutoSaveMgr.LoadEvent)EditorGUILayout.EnumPopup("Load Event", mgr.loadEvent); - - EditorGUILayout.Space(); - - showAdvancedSettings = EditorGUILayout.Foldout(showAdvancedSettings, "Show Advanced Settings"); - if (showAdvancedSettings) - { - EditorGUI.indentLevel++; - mgr.key = EditorGUILayout.TextField("Key", mgr.key); - ES3SettingsEditor.Draw(mgr.settings); - EditorGUI.indentLevel--; - } - } - - // Display the menu. - using (var horizontal = new EditorGUILayout.HorizontalScope()) - { - if (GUILayout.Button("Scene", sceneOpen ? style.menuButtonSelected : style.menuButton)) - { - sceneOpen = true; - OnFocus(); - } - if (GUILayout.Button("Prefabs", sceneOpen ? style.menuButton : style.menuButtonSelected)) - { - sceneOpen = false; - OnFocus(); - } - } - - //EditorGUILayout.HelpBox("Select the Components you want to be saved.\nTo maximise performance, only select the Components with variables which need persisting.", MessageType.None, true); - - if (hierarchy == null || hierarchy.Length == 0) - { - EditorGUILayout.LabelField("Right-click a prefab and select 'Easy Save 3 > Enable Easy Save for Scene' to enable Auto Save for it.\n\nYour scene will also need to reference this prefab for it to be recognised.", style.area); - return; - } - - using (var scrollView = new EditorGUILayout.ScrollViewScope(hierarchyScrollPosition, style.areaPadded)) - { - hierarchyScrollPosition = scrollView.scrollPosition; - - using (new EditorGUILayout.HorizontalScope(GUILayout.Width(200))) - { - searchTerm = GUILayout.TextField(searchTerm, GUI.skin.FindStyle("ToolbarSeachTextField")); - if (GUILayout.Button("", GUI.skin.FindStyle("ToolbarSeachCancelButton"))) - { - // Remove focus if cleared - searchTerm = ""; - GUI.FocusControl(null); - } - } - - EditorGUILayout.Space(); - EditorGUILayout.Space(); - - foreach (var go in hierarchy) - if (go != null) - go.DrawHierarchy(searchTerm.ToLowerInvariant()); - } - if (changeCheck.changed) - EditorUtility.SetDirty(mgr); - } - } - - public void Init() - { - if (mgr == null) - { - var mgrs = Resources.FindObjectsOfTypeAll(); - if (mgrs.Length > 0) - mgr = mgrs[0]; - } - - if (hierarchy == null) - OnFocus(); - } - - public override void OnFocus() - { - - GameObject[] parentObjects; - if (sceneOpen) - parentObjects = UnityEngine.SceneManagement.SceneManager.GetActiveScene().GetRootGameObjects(); - else // Prefabs - { - var prefabs = ES3ReferenceMgr.Current.prefabs; - parentObjects = new GameObject[prefabs.Count]; - for (int i = 0; i < prefabs.Count; i++) - if(prefabs[i] != null) - parentObjects[i] = prefabs[i].gameObject; - } - hierarchy = new HierarchyItem[parentObjects.Length]; - for (int i = 0; i < parentObjects.Length; i++) - if(parentObjects[i] != null) - hierarchy[i] = new HierarchyItem(parentObjects[i].transform, null, this); - } - - public class HierarchyItem - { - private ES3AutoSave autoSave; - private Transform t; - private Component[] components = null; - // Immediate children of this GameObject - private HierarchyItem[] children = new HierarchyItem[0]; - private bool showComponents = false; - //private AutoSaveWindow window; - - public HierarchyItem(Transform t, HierarchyItem parent, AutoSaveWindow window) - { - this.autoSave = t.GetComponent(); - this.t = t; - this.components = t.GetComponents(); - - children = new HierarchyItem[t.childCount]; - for (int i = 0; i < t.childCount; i++) - children[i] = new HierarchyItem(t.GetChild(i), this, window); - - //this.window = window; - } - - public void MergeDown(ES3AutoSave autoSave) - { - if (this.autoSave != autoSave) - { - if (this.autoSave != null) - { - autoSave.componentsToSave.AddRange(autoSave.componentsToSave); - Object.DestroyImmediate(this.autoSave); - } - this.autoSave = autoSave; - } - - foreach (var child in children) - MergeDown(autoSave); - } - - public void DrawHierarchy(string searchTerm) - { - bool containsSearchTerm = t.name.ToLowerInvariant().Contains(searchTerm); - if (containsSearchTerm) - { - GUIContent saveIcon; - EditorGUIUtility.SetIconSize(new Vector2(16, 16)); - - if (HasSelectedComponents()) - saveIcon = new GUIContent(t.name, EditorStyle.Get.saveIconSelected, "There are Components on this GameObject which will be saved."); - else - saveIcon = new GUIContent(t.name, EditorStyle.Get.saveIconUnselected, "No Components on this GameObject will be saved"); - - GUIStyle style = GUI.skin.GetStyle("Foldout"); - if (Selection.activeTransform == t) - { - style = new GUIStyle(style); - style.fontStyle = FontStyle.Bold; - } - - var open = EditorGUILayout.Foldout(showComponents, saveIcon, style); - if (open) - { - // Ping the GameObject if this was previously closed - if (showComponents != open) - EditorGUIUtility.PingObject(t.gameObject); - DrawComponents(); - } - showComponents = open; - - EditorGUI.indentLevel += 1; - } - - // Draw children - foreach (var child in children) - child.DrawHierarchy(searchTerm); - - if(containsSearchTerm) - EditorGUI.indentLevel-=1; - } - - public void DrawComponents() - { - EditorGUI.indentLevel+=3; - using (var scope = new EditorGUILayout.VerticalScope()) - { - foreach (var component in components) - { - if (component == null) - continue; - - using (var horizontalScope = new EditorGUILayout.HorizontalScope()) - { - bool saveComponent = false; - if (autoSave != null) - saveComponent = autoSave.componentsToSave.Contains(component); - - var newValue = EditorGUILayout.ToggleLeft(EditorGUIUtility.ObjectContent(component, component.GetType()), saveComponent); - // If the checkbox has changed, we want to save or not save a Component - if (newValue != saveComponent) - { - if (autoSave == null) - { - autoSave = t.gameObject.AddComponent(); - autoSave.saveChildren = false; - } - // If we've unchecked the box, remove the Component from the array. - if (newValue == false) - autoSave.componentsToSave.Remove(component); - // Else, add it to the array. - else - autoSave.componentsToSave.Add(component); - } - if(GUILayout.Button(EditorGUIUtility.IconContent("_Popup"), new GUIStyle("Label"))) - ES3Window.InitAndShowTypes(component.GetType()); - } - } - } - EditorGUI.indentLevel-=3; - } - - public bool HasSelectedComponents() - { - if (autoSave != null) - foreach (var component in components) - if (component != null && autoSave.componentsToSave.Contains(component)) - return true; - return false; - } - } - } - -} diff --git a/Assets/Plugins/Easy Save 3/Editor/AutoSaveWindow.cs.meta b/Assets/Plugins/Easy Save 3/Editor/AutoSaveWindow.cs.meta deleted file mode 100644 index 9958209da..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/AutoSaveWindow.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6065cc5492e9f49728674de9a0c1fe84 -timeCreated: 1519132286 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveEditor.cs b/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveEditor.cs deleted file mode 100644 index 5ea41c409..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveEditor.cs +++ /dev/null @@ -1,23 +0,0 @@ -using UnityEditor; -using UnityEngine; -using System; -using System.Collections; -using System.Collections.Generic; - -namespace ES3Internal -{ - [CustomEditor(typeof(ES3AutoSave))] - public class ES3AutoSaveEditor : Editor - { - public override void OnInspectorGUI() - { - if (target == null) - return; - - DrawDefaultInspector(); - - if (GUILayout.Button("Manage Auto Save Settings")) - ES3Editor.ES3Window.InitAndShowAutoSave(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveEditor.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveEditor.cs.meta deleted file mode 100644 index 6b4bf60b7..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 54ded3aeb20a94008a877da330bfc45f -timeCreated: 1519132285 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveMgrEditor.cs b/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveMgrEditor.cs deleted file mode 100644 index 854e218af..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveMgrEditor.cs +++ /dev/null @@ -1,20 +0,0 @@ -using UnityEditor; -using UnityEngine; -using System; -using System.Collections; -using System.Collections.Generic; - -namespace ES3Internal -{ - [CustomEditor(typeof(ES3AutoSaveMgr))] - public class ES3AutoSaveMgrEditor : Editor - { - public override void OnInspectorGUI() - { - EditorGUILayout.HelpBox("This manages the saving and loading of GameObjects which have the Auto Save component attached to them.\n\nIf there are no Auto Save components in your scene, this component will do nothing.", MessageType.Info); - if(GUILayout.Button("Settings...")) - ES3Editor.ES3Window.InitAndShowAutoSave(); - } - } - -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveMgrEditor.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveMgrEditor.cs.meta deleted file mode 100644 index 8983ad68c..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3AutoSaveMgrEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f440317f3fd444daf83c27a3381af17c -timeCreated: 1519132300 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3ClassTypeTemplate.txt b/Assets/Plugins/Easy Save 3/Editor/ES3ClassTypeTemplate.txt deleted file mode 100644 index 83318c128..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3ClassTypeTemplate.txt +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute([propertyNames])] - public class ES3UserType_[es3TypeSuffix] : ES3ObjectType - { - public static ES3Type Instance = null; - - public ES3UserType_[es3TypeSuffix]() : base(typeof([fullType])){ Instance = this; priority = 1; } - - - protected override void WriteObject(object obj, ES3Writer writer) - { - var instance = ([fullType])obj; - [writes] - } - - protected override void ReadObject(ES3Reader reader, object obj) - { - var instance = ([fullType])obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - [reads] - default: - reader.Skip(); - break; - } - } - } - - protected override object ReadObject(ES3Reader reader) - { - var instance = new [fullType](); - ReadObject(reader, instance); - return instance; - } - } - - - public class ES3UserType_[es3TypeSuffix]Array : ES3ArrayType - { - public static ES3Type Instance; - - public ES3UserType_[es3TypeSuffix]Array() : base(typeof([fullType][]), ES3UserType_[es3TypeSuffix].Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3ClassTypeTemplate.txt.meta b/Assets/Plugins/Easy Save 3/Editor/ES3ClassTypeTemplate.txt.meta deleted file mode 100644 index 0861d160b..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3ClassTypeTemplate.txt.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cc3cada215f0d417a8fa879651f22f84 -timeCreated: 1483698819 -licenseType: Store -TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3ComponentTypeTemplate.txt b/Assets/Plugins/Easy Save 3/Editor/ES3ComponentTypeTemplate.txt deleted file mode 100644 index 9953ea59f..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3ComponentTypeTemplate.txt +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute([propertyNames])] - public class ES3UserType_[es3TypeSuffix] : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3UserType_[es3TypeSuffix]() : base(typeof([fullType])){ Instance = this; priority = 1;} - - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = ([fullType])obj; - [writes] - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = ([fullType])obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - [reads] - default: - reader.Skip(); - break; - } - } - } - } - - - public class ES3UserType_[es3TypeSuffix]Array : ES3ArrayType - { - public static ES3Type Instance; - - public ES3UserType_[es3TypeSuffix]Array() : base(typeof([fullType][]), ES3UserType_[es3TypeSuffix].Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3ComponentTypeTemplate.txt.meta b/Assets/Plugins/Easy Save 3/Editor/ES3ComponentTypeTemplate.txt.meta deleted file mode 100644 index 3b08a42b2..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3ComponentTypeTemplate.txt.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b74f7ff5e731846249f9e22ab7afedfb -timeCreated: 1483698819 -licenseType: Store -TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3EditorStyle.cs b/Assets/Plugins/Easy Save 3/Editor/ES3EditorStyle.cs deleted file mode 100644 index fa5e9b4c8..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3EditorStyle.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System.Collections; -using UnityEngine; -using UnityEditor; - -namespace ES3Editor -{ - public class EditorStyle - { - private static EditorStyle style = null; - - public GUIStyle area; - public GUIStyle areaPadded; - - public GUIStyle menuButton; - public GUIStyle menuButtonSelected; - public GUIStyle smallSquareButton; - - public GUIStyle heading; - public GUIStyle subheading; - public GUIStyle subheading2; - - public GUIStyle boldLabelNoStretch; - - public GUIStyle link; - - public GUIStyle toggle; - - public Texture2D saveIconSelected; - public Texture2D saveIconUnselected; - - public static EditorStyle Get { get{ if(style == null) style = new EditorStyle(); return style; } } - - public EditorStyle() - { - // An area with padding. - area = new GUIStyle(); - area.padding = new RectOffset(10, 10, 10, 10); - area.wordWrap = true; - - // An area with more padding. - areaPadded = new GUIStyle(); - areaPadded.padding = new RectOffset(20, 20, 20, 20); - areaPadded.wordWrap = true; - - // Unselected menu button. - menuButton = new GUIStyle(EditorStyles.toolbarButton); - menuButton.fontStyle = FontStyle.Normal; - menuButton.fontSize = 14; - menuButton.fixedHeight = 24; - - // Selected menu button. - menuButtonSelected = new GUIStyle(menuButton); - menuButtonSelected.fontStyle = FontStyle.Bold; - - // Main Headings - heading = new GUIStyle(EditorStyles.label); - heading.fontStyle = FontStyle.Bold; - heading.fontSize = 24; - - subheading = new GUIStyle(heading); - subheading.fontSize = 18; - - subheading2 = new GUIStyle(heading); - subheading2.fontSize = 14; - - boldLabelNoStretch = new GUIStyle(EditorStyles.label); - boldLabelNoStretch.stretchWidth = false; - boldLabelNoStretch.fontStyle = FontStyle.Bold; - - link = new GUIStyle(); - link.fontSize = 16; - if(EditorGUIUtility.isProSkin) - link.normal.textColor = new Color (0.262f, 0.670f, 0.788f); - else - link.normal.textColor = new Color (0.129f, 0.129f, 0.8f); - - toggle = new GUIStyle(EditorStyles.toggle); - toggle.stretchWidth = false; - - saveIconSelected = AssetDatabase.LoadAssetAtPath(ES3Settings.PathToEasySaveFolder() + "Editor/es3Logo16x16.png"); - saveIconUnselected = AssetDatabase.LoadAssetAtPath(ES3Settings.PathToEasySaveFolder() + "Editor/es3Logo16x16-bw.png"); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3EditorStyle.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3EditorStyle.cs.meta deleted file mode 100644 index 62aeda36a..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3EditorStyle.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f556addc6753344019137cbc45d2c4ff -timeCreated: 1519132301 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3EditorUtility.cs b/Assets/Plugins/Easy Save 3/Editor/ES3EditorUtility.cs deleted file mode 100644 index 126d4368a..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3EditorUtility.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEditor; -using System.IO; -using System.Linq; -using ES3Internal; - -public class ES3EditorUtility : Editor -{ - public static void DisplayLink(string label, string url) - { - var style = ES3Editor.EditorStyle.Get; - if(GUILayout.Button(label, style.link)) - Application.OpenURL(url); - - var buttonRect = GUILayoutUtility.GetLastRect(); - buttonRect.width = style.link.CalcSize(new GUIContent(label)).x; - - EditorGUIUtility.AddCursorRect(buttonRect, MouseCursor.Link); - } - - public static bool IsPrefabInAssets(UnityEngine.Object obj) - { - #if UNITY_2018_3_OR_NEWER - return PrefabUtility.IsPartOfPrefabAsset(obj); - #else - return (PrefabUtility.GetPrefabType(obj) == PrefabType.Prefab); - #endif - } - - /* - * Gets all children and components from a GameObject or GameObjects. - * We create our own method for this because EditorUtility.CollectDeepHierarchy isn't thread safe in the Editor. - */ - public static IEnumerable CollectDeepHierarchy(IEnumerable gos) - { - var deepHierarchy = new HashSet(); - foreach (var go in gos) - { - deepHierarchy.Add(go); - deepHierarchy.UnionWith(go.GetComponents()); - foreach (Transform t in go.transform) - deepHierarchy.UnionWith( CollectDeepHierarchy( new GameObject[] { t.gameObject } ) ); - } - return deepHierarchy; - } - - [MenuItem("Tools/Easy Save 3/Getting Started...", false, 0)] - public static void DisplayGettingStarted() - { - Application.OpenURL("https://docs.moodkie.com/easy-save-3/getting-started/"); - } - - [MenuItem("Tools/Easy Save 3/Manual...", false, 0)] - public static void DisplayManual() - { - Application.OpenURL("https://docs.moodkie.com/product/easy-save-3/"); - } -} diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3EditorUtility.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3EditorUtility.cs.meta deleted file mode 100644 index f0d8af765..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3EditorUtility.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 501719249e8124990973182985feaeb8 -timeCreated: 1519132285 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3GlobalReferencesEditor.cs b/Assets/Plugins/Easy Save 3/Editor/ES3GlobalReferencesEditor.cs deleted file mode 100644 index d11c5c662..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3GlobalReferencesEditor.cs +++ /dev/null @@ -1,91 +0,0 @@ -#if !ES3GLOBAL_DISABLED -using UnityEditor; -using UnityEngine; -using UnityEngine.SceneManagement; -using System; -using System.Collections; -using System.Collections.Generic; - -namespace ES3Internal -{ - [CustomEditor(typeof(ES3Internal.ES3GlobalReferences))] - [System.Serializable] - public class ES3GlobalReferencesEditor : Editor - { - private bool isDraggingOver = false; - private bool openReferences = false; - - private ES3Internal.ES3GlobalReferences _globalRefs = null; - private ES3Internal.ES3GlobalReferences globalRefs - { - get - { - if (_globalRefs == null) - _globalRefs = (ES3Internal.ES3GlobalReferences)serializedObject.targetObject; - return _globalRefs; - } - } - - public override void OnInspectorGUI() - { - EditorGUILayout.HelpBox("This stores references to objects in Assets, allowing them to be referenced with the same ID between scenes.", MessageType.Info); - - if (EditorGUILayout.Foldout(openReferences, "References") != openReferences) - { - openReferences = !openReferences; - if (openReferences == true) - openReferences = EditorUtility.DisplayDialog("Are you sure?", "Opening this list will display every reference in the manager, which for larger projects can cause the Editor to freeze\n\nIt is strongly recommended that you save your project before continuing.", "Open References", "Cancel"); - } - - // Make foldout drag-and-drop enabled for objects. - if (GUILayoutUtility.GetLastRect().Contains(Event.current.mousePosition)) - { - Event evt = Event.current; - - switch (evt.type) - { - case EventType.DragUpdated: - case EventType.DragPerform: - isDraggingOver = true; - break; - case EventType.DragExited: - isDraggingOver = false; - break; - } - - if (isDraggingOver) - { - DragAndDrop.visualMode = DragAndDropVisualMode.Copy; - - if (evt.type == EventType.DragPerform) - { - DragAndDrop.AcceptDrag(); - Undo.RecordObject(globalRefs, "Add References to Easy Save 3 Reference List"); - foreach (UnityEngine.Object obj in DragAndDrop.objectReferences) - globalRefs.GetOrAdd(obj); - // Return now because otherwise we'll change the GUI during an event which doesn't allow it. - return; - } - } - } - - if (openReferences) - { - EditorGUI.indentLevel++; - - foreach (var kvp in globalRefs.refId) - { - EditorGUILayout.BeginHorizontal(); - - EditorGUILayout.ObjectField(kvp.Key, typeof(UnityEngine.Object), true); - EditorGUILayout.LongField(kvp.Value); - - EditorGUILayout.EndHorizontal(); - } - - EditorGUI.indentLevel--; - } - } - } -} -#endif diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3GlobalReferencesEditor.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3GlobalReferencesEditor.cs.meta deleted file mode 100644 index 020397991..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3GlobalReferencesEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 286fb0c3863779e4d96bc682edb324ce -timeCreated: 1519132283 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3InspectorInfoEditor.cs b/Assets/Plugins/Easy Save 3/Editor/ES3InspectorInfoEditor.cs deleted file mode 100644 index efea1d9d1..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3InspectorInfoEditor.cs +++ /dev/null @@ -1,14 +0,0 @@ -using UnityEditor; -using UnityEngine; -using UnityEngine.SceneManagement; -using System; -using System.Collections; - -[CustomEditor(typeof(ES3InspectorInfo))] -public class ES3InspectorInfoEditor : Editor -{ - public override void OnInspectorGUI() - { - EditorGUILayout.HelpBox(((ES3InspectorInfo)target).message, MessageType.Info); - } -} diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3InspectorInfoEditor.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3InspectorInfoEditor.cs.meta deleted file mode 100644 index 2bb545fe1..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3InspectorInfoEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b344d685b614044aebf5285c5f59f52d -timeCreated: 1519132294 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3PlayMakerEditor.cs b/Assets/Plugins/Easy Save 3/Editor/ES3PlayMakerEditor.cs deleted file mode 100644 index c60e8db82..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3PlayMakerEditor.cs +++ /dev/null @@ -1,781 +0,0 @@ -#if PLAYMAKER_1_8_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; -using System.Text.RegularExpressions; - -namespace ES3PlayMaker -{ - #region Base Actions - - public abstract class BaseEditor : CustomActionEditor - { - bool showErrorHandling = false; - - public abstract void DrawGUI(); - - public override bool OnGUI() - { - DrawGUI(); - - EditorGUILayout.Separator(); - - showErrorHandling = EditorGUILayout.Foldout(showErrorHandling, "Error Handling"); - if (showErrorHandling) - { - EditorGUI.indentLevel++; - EditField("errorEvent"); - EditField("errorMessage"); - EditorGUI.indentLevel--; - } - - return GUI.changed; - } - - // Displays the FsmVar field without the unnecessary Type field. - protected void FsmVarField(string fieldName) - { - if (target == null || target.State == null) - return; - - var fsmVar = (FsmVar)ES3Internal.ES3Reflection.GetField(target.GetType(), fieldName).GetValue(target); - - if (fsmVar == null) - { - fsmVar = new FsmVar(); - ES3Internal.ES3Reflection.GetField(target.GetType(), fieldName).SetValue(target, fsmVar); - } - - EditorGUILayout.BeginHorizontal(); - var label = Regex.Replace(fieldName, @"\p{Lu}", m => " " + m.Value.ToLowerInvariant()); - EditorGUILayout.PrefixLabel(char.ToUpperInvariant(label[0]) + label.Substring(1)); - - var localVariables = target.Fsm.Variables.GetAllNamedVariablesSorted(); - var globalVariables = FsmVariables.GlobalVariables.GetAllNamedVariablesSorted(); - - var variableNames = new string[localVariables.Length + globalVariables.Length]; - int selected = -1; - - for(int i=0; i= localVariables.Length ? globalVariables[i - localVariables.Length] : localVariables[i]; - variableNames[i] = i >= localVariables.Length ? "Globals/"+variable.Name : variable.Name; - if (fsmVar.NamedVar == variable) - selected = i; - } - - var newSelected = EditorGUILayout.Popup(selected, variableNames); - - - EditorGUILayout.EndHorizontal(); - - if (newSelected == -1) - return; - - if (selected != newSelected) - { - if (newSelected >= localVariables.Length) - fsmVar.NamedVar = globalVariables[newSelected - localVariables.Length]; - else - fsmVar.NamedVar = localVariables[newSelected]; - } - } - } - - public abstract class SettingsEditor : BaseEditor - { - public override bool OnGUI() - { - base.OnGUI(); - - var action = target as ES3PlayMaker.SettingsAction; - if(action == null) - return false; - action.overrideDefaultSettings.Value = EditorGUILayout.ToggleLeft("Override Default Settings", action.overrideDefaultSettings.Value); - - if(action.overrideDefaultSettings.Value) - { - EditorGUI.indentLevel++; - - EditField("path"); - EditField("location"); - EditField("encryptionType"); - EditField("encryptionPassword"); - EditField("compressionType"); - EditField("directory"); - EditField("format"); - EditField("bufferSize"); - - EditorGUI.indentLevel--; - EditorGUILayout.Space(); - } - return GUI.changed; - } - } - - public abstract class KeyValueSettingsEditor : SettingsEditor - { - public override bool OnGUI() - { - EditField("key"); - FsmVarField("value"); - - base.OnGUI(); - - return GUI.changed; - } - - public override void DrawGUI(){} - } - - public abstract class ES3FileActionEditor : BaseEditor - { - public override bool OnGUI() - { - EditField("fsmES3File"); - - base.OnGUI(); - - var action = target as ES3PlayMaker.ES3FileAction; - if (action == null) - return false; - - return GUI.changed; - } - } -#endregion - -#region Save Actions - - [CustomActionEditor(typeof(ES3PlayMaker.Save))] - public class SaveEditor : KeyValueSettingsEditor{} - - [CustomActionEditor(typeof(ES3PlayMaker.SaveAll))] - public class SaveAllEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("key"); - EditField("saveFsmVariables"); - EditField("saveGlobalVariables"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.SaveRaw))] - public class SaveRawEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("str"); - EditField("useBase64Encoding"); - EditField("appendNewline"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.AppendRaw))] - public class AppendRawEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("str"); - EditField("useBase64Encoding"); - EditField("appendNewline"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.SaveImage))] - public class SaveImageEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("imagePath"); - EditField("texture2D"); - } - } - -#endregion - -#region Load Actions - - [CustomActionEditor(typeof(ES3PlayMaker.Load))] - public class LoadEditor : KeyValueSettingsEditor - { - public override void DrawGUI() - { - EditorGUILayout.Space(); - FsmVarField("defaultValue"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.LoadInto))] - public class LoadIntoEditor : KeyValueSettingsEditor{} - - [CustomActionEditor(typeof(ES3PlayMaker.LoadAll))] - public class LoadAllEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("key"); - EditField("loadFsmVariables"); - EditField("loadGlobalVariables"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.LoadAudio))] - public class LoadAudioEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("audioFilePath"); - EditField("audioClip"); -#if UNITY_2018_3_OR_NEWER - EditField("audioType"); -#endif - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.LoadImage))] - public class LoadImageEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("imagePath"); - EditField("texture2D"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.LoadRawString))] - public class LoadRawStringEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("str"); - EditField("useBase64Encoding"); - } - } - -#endregion - -#region Exists Actions - - [CustomActionEditor(typeof(ES3PlayMaker.KeyExists))] - public class KeyExistsEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("key"); - EditField("exists"); - EditorGUILayout.Separator(); - EditField("existsEvent"); - EditField("doesNotExistEvent"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.FileExists))] - public class FileExistsEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("filePath"); - EditField("exists"); - EditorGUILayout.Separator(); - EditField("existsEvent"); - EditField("doesNotExistEvent"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.DirectoryExists))] - public class DirectoryExistsEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("directoryPath"); - EditField("exists"); - EditorGUILayout.Separator(); - EditField("existsEvent"); - EditField("doesNotExistEvent"); - } - } - -#endregion - -#region Delete Actions - - [CustomActionEditor(typeof(ES3PlayMaker.DeleteKey))] - public class DeleteKeyEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("key"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.DeleteFile))] - public class DeleteFileEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("filePath"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.DeleteDirectory))] - public class DeleteDirectoryEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("directoryPath"); - } - } - -#endregion - -#region Backup Actions - - [CustomActionEditor(typeof(ES3PlayMaker.CreateBackup))] - public class CreateBackupEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("filePath"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.RestoreBackup))] - public class RestoreBackupEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("filePath"); - EditField("backupWasRestored"); - } - } - -#endregion - -#region Key, File and Directory methods - - [CustomActionEditor(typeof(ES3PlayMaker.RenameFile))] - public class RenameFileEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("oldFilePath"); - EditField("newFilePath"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.CopyFile))] - public class CopyFileEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("oldFilePath"); - EditField("newFilePath"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.CopyDirectory))] - public class CopyDirectoryEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("oldDirectoryPath"); - EditField("newDirectoryPath"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.GetKeys))] - public class GetKeysEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("filePath"); - EditField("keys"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.GetKeyCount))] - public class GetKeyCountEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("filePath"); - EditField("keyCount"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.GetFiles))] - public class GetFilesEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("directoryPath"); - EditField("files"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.GetDirectories))] - public class GetDirectoriesEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("directoryPath"); - EditField("directories"); - } - } - -#endregion - -#region ES3File Actions - - [CustomActionEditor(typeof(ES3PlayMaker.ES3FileCreate))] - public class ES3FileCreateEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("fsmES3File"); - EditField("filePath"); - EditField("syncWithFile"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3FileSync))] - public class ES3FileSyncEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("fsmES3File"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3FileSave))] - public class ES3FileSaveEditor : SaveEditor - { - public override void DrawGUI() - { - EditField("fsmES3File"); - base.DrawGUI(); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3FileLoad))] - public class ES3FileLoadEditor : LoadEditor - { - public override void DrawGUI() - { - EditField("fsmES3File"); - base.DrawGUI(); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3FileLoadInto))] - public class ES3FileLoadIntoEditor : LoadIntoEditor - { - public override void DrawGUI() - { - base.DrawGUI(); - EditField("fsmES3File"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3FileDeleteKey))] - public class ES3FileDeleteKeyEditor : DeleteKeyEditor - { - public override void DrawGUI() - { - base.DrawGUI(); - EditField("fsmES3File"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3FileKeyExists))] - public class ES3FileKeyExistsEditor : KeyExistsEditor - { - public override void DrawGUI() - { - EditField("fsmES3File"); - base.DrawGUI(); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3FileGetKeys))] - public class ES3FileGetKeysEditor : ES3FileActionEditor - { - public override void DrawGUI() - { - EditField("keys"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3FileClear))] - public class ES3FileClearEditor : BaseEditor - { - public override void DrawGUI() - { - EditField("fsmES3File"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3FileSize))] - public class ES3FileSizeEditor : BaseEditor - { - public override void DrawGUI() - { - EditField("size"); - EditField("fsmES3File"); - } - } - - -#endregion - -#region ES3Cloud Actions -#if !DISABLE_WEB - - public abstract class ES3CloudEditor : SettingsEditor - { - protected abstract void DrawChildGUI(); - - public override void DrawGUI() - { - EditField("url"); - EditField("apiKey"); - EditorGUILayout.Space(); - DrawChildGUI(); - EditorGUILayout.Space(); - EditField("errorCode"); - } - } - - public abstract class ES3CloudUserEditor : ES3CloudEditor - { - public bool showUser = false; - - protected override void DrawChildGUI() - { - if((showUser = EditorGUILayout.Foldout(showUser, "User (optional)"))) - { - EditorGUI.indentLevel++; - EditField("user"); - EditField("password"); - EditorGUI.indentLevel--; - } - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3CloudSync))] - public class ES3CloudSyncEditor : ES3CloudUserEditor - { - protected override void DrawChildGUI() - { - EditField("path"); - base.DrawChildGUI(); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3CloudDownloadFile))] - public class ES3CloudDownloadFileEditor : ES3CloudUserEditor - { - protected override void DrawChildGUI() - { - EditField("path"); - base.DrawChildGUI(); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3CloudDownloadES3File))] - public class ES3CloudDownloadES3FileEditor : BaseEditor - { - public bool showUser = false; - public override void DrawGUI() - { - EditField("fsmES3File"); - EditField("url"); - EditField("apiKey"); - EditField("errorCode"); - if ((showUser = EditorGUILayout.Foldout(showUser, "User (optional)"))) - { - EditorGUI.indentLevel++; - EditField("user"); - EditField("password"); - EditorGUI.indentLevel--; - } - } - } - - - [CustomActionEditor(typeof(ES3PlayMaker.ES3CloudUploadFile))] - public class ES3CloudUploadFileEditor : ES3CloudUserEditor - { - protected override void DrawChildGUI() - { - EditField("path"); - base.DrawChildGUI(); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3CloudUploadES3File))] - public class ES3CloudUploadES3FileEditor : BaseEditor - { - public bool showUser = false; - public override void DrawGUI() - { - EditField("fsmES3File"); - EditField("url"); - EditField("apiKey"); - EditField("errorCode"); - if((showUser = EditorGUILayout.Foldout(showUser, "User (optional)"))) - { - EditorGUI.indentLevel++; - EditField("user"); - EditField("password"); - EditorGUI.indentLevel--; - } - } - } - - - - [CustomActionEditor(typeof(ES3PlayMaker.ES3CloudDeleteFile))] - public class ES3CloudDeleteFileEditor : ES3CloudUserEditor - { - protected override void DrawChildGUI() - { - EditField("path"); - base.DrawChildGUI(); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3CloudRenameFile))] - public class ES3CloudRenameFileEditor : ES3CloudUserEditor - { - protected override void DrawChildGUI() - { - EditField("path"); - EditField("newFilename"); - base.DrawChildGUI(); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3CloudDownloadFilenames))] - public class ES3CloudDownloadFilenamesEditor : ES3CloudUserEditor - { - protected override void DrawChildGUI() - { - EditField("filenames"); - EditField("searchPattern"); - base.DrawChildGUI(); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3CloudSearchFilenames))] - public class ES3CloudSearchFilenamesEditor : ES3CloudUserEditor - { - protected override void DrawChildGUI() - { - EditField("filenames"); - EditField("searchPattern"); - base.DrawChildGUI(); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3CloudDownloadTimestamp))] - public class ES3CloudDownloadTimestampEditor : ES3CloudUserEditor - { - protected override void DrawChildGUI() - { - EditField("timestamp"); - base.DrawChildGUI(); - } - } - -#endif - -#endregion - -#region ES3SpreadsheetActions - - - [CustomActionEditor(typeof(ES3PlayMaker.ES3SpreadsheetCreate))] - public class ES3SpreadsheetCreateEditor : BaseEditor - { - public override void DrawGUI() - { - EditField("fsmES3Spreadsheet"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3SpreadsheetSetCell))] - public class ES3SpreadsheetSetCellEditor : BaseEditor - { - public override void DrawGUI() - { - EditField("fsmES3Spreadsheet"); - EditField("col"); - EditField("row"); - FsmVarField("value"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3SpreadsheetGetCell))] - public class ES3SpreadsheetGetCellEditor : BaseEditor - { - public override void DrawGUI() - { - EditField("fsmES3Spreadsheet"); - EditField("col"); - EditField("row"); - FsmVarField("value"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3SpreadsheetLoad))] - public class ES3SpreadsheetLoadEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("fsmES3Spreadsheet"); - EditField("filePath"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.ES3SpreadsheetSave))] - public class ES3SpreadsheetSaveEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("fsmES3Spreadsheet"); - EditField("filePath"); - EditField("append"); - } - } - - #endregion - - #region Caching - - [CustomActionEditor(typeof(ES3PlayMaker.CacheFile))] - public class CacheFileEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("filePath"); - } - } - - [CustomActionEditor(typeof(ES3PlayMaker.StoreCachedFile))] - public class StoreCachedFileEditor : SettingsEditor - { - public override void DrawGUI() - { - EditField("filePath"); - } - } - - #endregion -} -#endif diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3PlayMakerEditor.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3PlayMakerEditor.cs.meta deleted file mode 100644 index 4b912007c..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3PlayMakerEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 61838eb75b8164d699b0f54416e0f0bc -timeCreated: 1497347459 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs b/Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs deleted file mode 100644 index 08e60a401..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs +++ /dev/null @@ -1,149 +0,0 @@ -using UnityEngine; -using UnityEditor; -using UnityEditor.Callbacks; -using UnityEditor.SceneManagement; -using UnityEngine.SceneManagement; -using System.Collections; -using System.Collections.Generic; -using System.Reflection; -using ES3Internal; - - -/* - * ---- How Postprocessing works for the reference manager ---- - * - When the manager is first added to the scene, all top-level dependencies are added to the manager (AddManagerToScene). - * - When the manager is first added to the scene, all prefabs with ES3Prefab components are added to the manager (AddManagerToScene). - * - All GameObjects and Components in the scene are added to the reference manager when we enter Playmode or the scene is saved (PlayModeStateChanged, OnWillSaveAssets -> AddGameObjectsAndComponentstoManager). - * - When a UnityEngine.Object field of a Component is modified, the new UnityEngine.Object reference is added to the reference manager (PostProcessModifications) - * - All prefabs with ES3Prefab Components are added to the reference manager when we enter Playmode or the scene is saved (PlayModeStateChanged, OnWillSaveAssets -> AddGameObjectsAndComponentstoManager). - * - Local references for prefabs are processed whenever a prefab with an ES3Prefab Component is deselected (SelectionChanged -> ProcessGameObject) - */ -[InitializeOnLoad] -public class ES3Postprocessor : UnityEditor.AssetModificationProcessor -{ - private static bool refreshed = false; - - public static ES3ReferenceMgr RefMgr - { - get { return (ES3ReferenceMgr)ES3ReferenceMgr.Current; } - } - - public static GameObject lastSelected = null; - - - // This constructor is also called once when playmode is activated and whenever recompilation happens - // because we have the [InitializeOnLoad] attribute assigned to the class. - static ES3Postprocessor() - { - // Open the Easy Save 3 window the first time ES3 is installed. - ES3Editor.ES3Window.OpenEditorWindowOnStart(); - -#if UNITY_2017_2_OR_NEWER - EditorApplication.playModeStateChanged += PlayModeStateChanged; -#else - EditorApplication.playmodeStateChanged += PlaymodeStateChanged; -#endif - } - - #region Reference Updating - - private static void RefreshReferences(bool isEnteringPlayMode = false) - { - if (refreshed) // If we've already refreshed, do nothing. - return; - - if (RefMgr != null && ES3Settings.defaultSettingsScriptableObject.autoUpdateReferences) - { - RefMgr.RefreshDependencies(isEnteringPlayMode); - } - UpdateAssembliesContainingES3Types(); - refreshed = true; - } - -#if UNITY_2017_2_OR_NEWER - public static void PlayModeStateChanged(PlayModeStateChange state) - { - // Add all GameObjects and Components to the reference manager before we enter play mode. - if (state == PlayModeStateChange.ExitingEditMode && ES3Settings.defaultSettingsScriptableObject.autoUpdateReferences) - RefreshReferences(true); - } -#else - public static void PlaymodeStateChanged() - { - // Add all GameObjects and Components to the reference manager before we enter play mode. - if (!EditorApplication.isPlaying && ES3Settings.defaultSettingsScriptableObject.autoUpdateReferences) - RefreshReferences(true); - } -#endif - - - public static string[] OnWillSaveAssets(string[] paths) - { - // Don't refresh references when the application is playing. - if (!EditorApplication.isUpdating && !Application.isPlaying && ES3Settings.defaultSettingsScriptableObject.autoUpdateReferences) - RefreshReferences(); - return paths; - } - - #endregion - - - private static void UpdateAssembliesContainingES3Types() - { -#if UNITY_2017_3_OR_NEWER - - var assemblies = UnityEditor.Compilation.CompilationPipeline.GetAssemblies(); - var defaults = ES3Settings.defaultSettingsScriptableObject; - var currentAssemblyNames = defaults.settings.assemblyNames; - - var assemblyNames = new List(); - - foreach (var assembly in assemblies) - { - try - { - var name = assembly.name; - var substr = name.Length >= 5 ? name.Substring(0, 5) : ""; - - if (substr != "Unity" && substr != "com.u" && !name.Contains("-Editor")) - assemblyNames.Add(name); - } - catch { } - } - - // Only update if the list has changed. - for (int i = 0; i < currentAssemblyNames.Length; i++) - { - if (currentAssemblyNames[i] != assemblyNames[i]) - { - defaults.settings.assemblyNames = assemblyNames.ToArray(); - EditorUtility.SetDirty(defaults); - } - } -#endif - } - - public static GameObject AddManagerToScene() - { - GameObject mgr = null; - if (RefMgr != null) - mgr = RefMgr.gameObject; - - if (mgr == null) - mgr = new GameObject("Easy Save 3 Manager"); - - if (mgr.GetComponent() == null) - { - mgr.AddComponent(); - - if (!Application.isPlaying && ES3Settings.defaultSettingsScriptableObject.autoUpdateReferences) - RefMgr.RefreshDependencies(); - } - - if (mgr.GetComponent() == null) - mgr.AddComponent(); - - Undo.RegisterCreatedObjectUndo(mgr, "Enabled Easy Save for Scene"); - return mgr; - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs.meta deleted file mode 100644 index f6726e462..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3Postprocessor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 4256380692bcb4e57bdc0a5e13956389 -timeCreated: 1474041535 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3PrefabEditor.cs b/Assets/Plugins/Easy Save 3/Editor/ES3PrefabEditor.cs deleted file mode 100644 index eb7c867f6..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3PrefabEditor.cs +++ /dev/null @@ -1,53 +0,0 @@ -using UnityEditor; -using UnityEngine; -using UnityEngine.SceneManagement; -using System; -using System.Collections; -using ES3Internal; - -[CustomEditor(typeof(ES3Prefab))] -[System.Serializable] -public class ES3PrefabEditor : Editor -{ - bool showAdvanced = false; - bool openLocalRefs = false; - - public override void OnInspectorGUI() - { - var es3Prefab = (ES3Prefab)serializedObject.targetObject; - EditorGUILayout.HelpBox("Easy Save is enabled for this prefab, and can be saved and loaded with the ES3 methods.", MessageType.None); - - - showAdvanced = EditorGUILayout.Foldout(showAdvanced, "Advanced Settings"); - if(showAdvanced) - { - EditorGUI.indentLevel++; - es3Prefab.prefabId = EditorGUILayout.LongField("Prefab ID", es3Prefab.prefabId); - EditorGUILayout.LabelField("Reference count", es3Prefab.localRefs.Count.ToString()); - EditorGUI.indentLevel--; - } - - if (Application.productName == "ES3 Development") - { - EditorGUILayout.LabelField("Local refs foldout is only shown"); - EditorGUILayout.LabelField("in the ES3 Development project"); - openLocalRefs = EditorGUILayout.Foldout(openLocalRefs, "localRefs"); - if (openLocalRefs) - { - EditorGUI.indentLevel++; - - foreach (var kvp in es3Prefab.localRefs) - { - EditorGUILayout.BeginHorizontal(); - - EditorGUILayout.ObjectField(kvp.Key, typeof(UnityEngine.Object), false); - EditorGUILayout.LongField(kvp.Value); - - EditorGUILayout.EndHorizontal(); - } - - EditorGUI.indentLevel--; - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3PrefabEditor.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3PrefabEditor.cs.meta deleted file mode 100644 index f0d7c5e89..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3PrefabEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9d25610c9233c4cdfa5a0744c9956f5c -timeCreated: 1519132292 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3ReferenceMgrEditor.cs b/Assets/Plugins/Easy Save 3/Editor/ES3ReferenceMgrEditor.cs deleted file mode 100644 index d8e659f2e..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3ReferenceMgrEditor.cs +++ /dev/null @@ -1,186 +0,0 @@ -using UnityEditor; -using UnityEngine; -using UnityEngine.SceneManagement; -using System; -using System.Collections; -using System.Collections.Generic; - -[CustomEditor(typeof(ES3ReferenceMgr))] -[System.Serializable] -public class ES3ReferenceMgrEditor : Editor -{ - private bool isDraggingOver = false; - private bool openReferences = false; - - private ES3ReferenceMgr _mgr = null; - private ES3ReferenceMgr mgr - { - get - { - if (_mgr == null) - _mgr = (ES3ReferenceMgr)serializedObject.targetObject; - return _mgr; - } - } - - public override void OnInspectorGUI() - { - EditorGUILayout.HelpBox("This allows Easy Save to maintain references to objects in your scene.\n\nIt is automatically updated when you enter Playmode or build your project.", MessageType.Info); - - if (EditorGUILayout.Foldout(openReferences, "References") != openReferences) - { - openReferences = !openReferences; - if (openReferences == true) - openReferences = EditorUtility.DisplayDialog("Are you sure?", "Opening this list will display every reference in the manager, which for larger projects can cause the Editor to freeze\n\nIt is strongly recommended that you save your project before continuing.", "Open References", "Cancel"); - } - - // Make foldout drag-and-drop enabled for objects. - if (GUILayoutUtility.GetLastRect().Contains(Event.current.mousePosition)) - { - Event evt = Event.current; - - switch (evt.type) - { - case EventType.DragUpdated: - case EventType.DragPerform: - isDraggingOver = true; - break; - case EventType.DragExited: - isDraggingOver = false; - break; - } - - if (isDraggingOver) - { - DragAndDrop.visualMode = DragAndDropVisualMode.Copy; - - if (evt.type == EventType.DragPerform) - { - DragAndDrop.AcceptDrag(); - Undo.RecordObject(mgr, "Add References to Easy Save 3 Reference List"); - foreach (UnityEngine.Object obj in DragAndDrop.objectReferences) - mgr.Add(obj); - // Return now because otherwise we'll change the GUI during an event which doesn't allow it. - return; - } - } - } - - if (openReferences) - { - EditorGUI.indentLevel++; - - foreach (var kvp in mgr.idRef) - { - EditorGUILayout.BeginHorizontal(); - - var value = EditorGUILayout.ObjectField(kvp.Value, typeof(UnityEngine.Object), true); - var key = EditorGUILayout.LongField(kvp.Key); - - EditorGUILayout.EndHorizontal(); - - if (value != kvp.Value || key != kvp.Key) - { - Undo.RecordObject(mgr, "Change Easy Save 3 References"); - // If we're deleting a value, delete it. - if (value == null) - mgr.Remove(key); - // Else, update the ID. - else - mgr.ChangeId(kvp.Key, key); - // Break, as removing or changing Dictionary items will make the foreach out of sync. - break; - } - } - - EditorGUI.indentLevel--; - } - - mgr.openPrefabs = EditorGUILayout.Foldout(mgr.openPrefabs, "ES3Prefabs"); - if (mgr.openPrefabs) - { - EditorGUI.indentLevel++; - - foreach (var prefab in mgr.prefabs) - { - EditorGUILayout.BeginHorizontal(); - - EditorGUILayout.ObjectField(prefab, typeof(UnityEngine.Object), true); - - EditorGUILayout.EndHorizontal(); - } - - EditorGUI.indentLevel--; - } - - EditorGUILayout.LabelField("Reference count", mgr.refId.Count.ToString()); - EditorGUILayout.LabelField("Prefab count", mgr.prefabs.Count.ToString()); - - if (GUILayout.Button("Refresh")) - { - mgr.RefreshDependencies(); - } - - if (GUILayout.Button("Optimize")) - { - mgr.Optimize(); - } - } - - [MenuItem("GameObject/Easy Save 3/Add Reference(s) to Manager", false, 33)] - [MenuItem("Assets/Easy Save 3/Add Reference(s) to Manager", false, 33)] - public static void AddReferenceToManager() - { - var mgr = ES3ReferenceMgr.Current; - if (mgr == null) - { - EditorUtility.DisplayDialog("Could not add reference to manager", "This object could not be added to the reference manager because no reference manager exists in this scene. To create one, go to Assets > Easy Save 3 > Add Manager to Scene", "Ok"); - return; - } - - if (Selection.objects == null || Selection.objects.Length == 0) - return; - - Undo.RecordObject(mgr, "Update Easy Save 3 Reference Manager"); - - foreach (var obj in Selection.objects) - { - if (obj == null) - continue; - - if (obj.GetType() == typeof(GameObject)) - { - var go = (GameObject)obj; - if (ES3EditorUtility.IsPrefabInAssets(go) && go.GetComponent() != null) - mgr.AddPrefab(go.GetComponent()); - } - - ((ES3ReferenceMgr)mgr).AddDependencies(obj); - } - } - - [MenuItem("GameObject/Easy Save 3/Add Reference(s) to Manager", true, 33)] - [MenuItem("Assets/Easy Save 3/Add Reference(s) to Manager", true, 33)] - private static bool CanAddReferenceToManager() - { - return Selection.objects != null && Selection.objects.Length > 0 && ES3ReferenceMgr.Current != null; - } - - [MenuItem("GameObject/Easy Save 3/Add Manager to Scene", false, 33)] - [MenuItem("Assets/Easy Save 3/Add Manager to Scene", false, 33)] - [MenuItem("Tools/Easy Save 3/Add Manager to Scene", false, 150)] - public static void EnableForScene() - { - if(!SceneManager.GetActiveScene().isLoaded) - EditorUtility.DisplayDialog("Could not add manager to scene", "Could not add Easy Save 3 Manager to scene because there is not currently a scene open.", "Ok"); - Selection.activeObject = ES3Postprocessor.AddManagerToScene(); - } - - [MenuItem("GameObject/Easy Save 3/Add Manager to Scene", true, 33)] - [MenuItem("Assets/Easy Save 3/Add Manager to Scene", true, 33)] - [MenuItem("Tools/Easy Save 3/Add Manager to Scene", true, 150)] - private static bool CanEnableForScene() - { - return ES3ReferenceMgr.Current == null; - } -} diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3ReferenceMgrEditor.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3ReferenceMgrEditor.cs.meta deleted file mode 100644 index b60a7a386..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3ReferenceMgrEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3b43d266ed3464dedaa77757645ad61c -timeCreated: 1519132283 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3ScriptableObjectTypeTemplate.txt b/Assets/Plugins/Easy Save 3/Editor/ES3ScriptableObjectTypeTemplate.txt deleted file mode 100644 index c5d9a4b1d..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3ScriptableObjectTypeTemplate.txt +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute([propertyNames])] - public class ES3UserType_[es3TypeSuffix] : ES3ScriptableObjectType - { - public static ES3Type Instance = null; - - public ES3UserType_[es3TypeSuffix]() : base(typeof([fullType])){ Instance = this; priority = 1; } - - - protected override void WriteScriptableObject(object obj, ES3Writer writer) - { - var instance = ([fullType])obj; - [writes] - } - - protected override void ReadScriptableObject(ES3Reader reader, object obj) - { - var instance = ([fullType])obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - [reads] - default: - reader.Skip(); - break; - } - } - } - } - - - public class ES3UserType_[es3TypeSuffix]Array : ES3ArrayType - { - public static ES3Type Instance; - - public ES3UserType_[es3TypeSuffix]Array() : base(typeof([fullType][]), ES3UserType_[es3TypeSuffix].Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3ScriptableObjectTypeTemplate.txt.meta b/Assets/Plugins/Easy Save 3/Editor/ES3ScriptableObjectTypeTemplate.txt.meta deleted file mode 100644 index 11ad974a6..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3ScriptableObjectTypeTemplate.txt.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3b4ae594e55834c35b197df04c2e81cb -timeCreated: 1483698819 -licenseType: Store -TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3SettingsEditor.cs b/Assets/Plugins/Easy Save 3/Editor/ES3SettingsEditor.cs deleted file mode 100644 index 475521cf3..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3SettingsEditor.cs +++ /dev/null @@ -1,55 +0,0 @@ -using UnityEditor; -using UnityEngine; -using UnityEngine.SceneManagement; -using System; -using System.Collections; -using ES3Internal; - -namespace ES3Editor -{ - public static class ES3SettingsEditor - { - public static void Draw(ES3SerializableSettings settings) - { - var style = EditorStyle.Get; - - settings.location = (ES3.Location)EditorGUILayout.EnumPopup("Location", settings.location); - // If the location is File, show the Directory. - if(settings.location == ES3.Location.File) - settings.directory = (ES3.Directory)EditorGUILayout.EnumPopup("Directory", settings.directory); - - settings.path = EditorGUILayout.TextField("Default File Path", settings.path); - - EditorGUILayout.Space(); - - settings.encryptionType = (ES3.EncryptionType)EditorGUILayout.EnumPopup("Encryption", settings.encryptionType); - settings.encryptionPassword = EditorGUILayout.TextField("Encryption Password", settings.encryptionPassword); - - EditorGUILayout.Space(); - - settings.compressionType = (ES3.CompressionType)EditorGUILayout.EnumPopup("Compression", settings.compressionType); - - EditorGUILayout.Space(); - - settings.saveChildren = EditorGUILayout.Toggle("Save GameObject Children", settings.saveChildren); - - EditorGUILayout.Space(); - - if(settings.showAdvancedSettings = EditorGUILayout.Foldout(settings.showAdvancedSettings, "Advanced Settings")) - { - EditorGUILayout.BeginVertical(style.area); - - settings.format = (ES3.Format)EditorGUILayout.EnumPopup("Format", settings.format); - if (settings.format == ES3.Format.JSON) - settings.prettyPrint = EditorGUILayout.Toggle(new GUIContent("Pretty print JSON"), settings.prettyPrint); - settings.bufferSize = EditorGUILayout.IntField("Buffer Size", settings.bufferSize); - settings.memberReferenceMode = (ES3.ReferenceMode)EditorGUILayout.EnumPopup("Serialise Unity Object fields", settings.memberReferenceMode); - settings.serializationDepthLimit = EditorGUILayout.IntField("Serialisation Depth", settings.serializationDepthLimit); - - EditorGUILayout.Space(); - - EditorGUILayout.EndVertical(); - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3SettingsEditor.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3SettingsEditor.cs.meta deleted file mode 100644 index be6af3ce4..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3SettingsEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 35659b9a083a341d7bee216c4b71f4bc -timeCreated: 1519132282 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3TypeTemplate.txt b/Assets/Plugins/Easy Save 3/Editor/ES3TypeTemplate.txt deleted file mode 100644 index 30c17ba59..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3TypeTemplate.txt +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute([propertyNames])] - public class ES3UserType_[es3TypeSuffix] : ES3Type - { - public static ES3Type Instance = null; - - public ES3UserType_[es3TypeSuffix]() : base(typeof([fullType])){ Instance = this; priority = 1;} - - - public override void Write(object obj, ES3Writer writer) - { - var instance = ([fullType])obj; - [writes] - } - - public override object Read(ES3Reader reader) - { - var instance = new [fullType](); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = ([fullType])obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - [reads] - default: - reader.Skip(); - break; - } - } - } - } - - - public class ES3UserType_[es3TypeSuffix]Array : ES3ArrayType - { - public static ES3Type Instance; - - public ES3UserType_[es3TypeSuffix]Array() : base(typeof([fullType][]), ES3UserType_[es3TypeSuffix].Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3TypeTemplate.txt.meta b/Assets/Plugins/Easy Save 3/Editor/ES3TypeTemplate.txt.meta deleted file mode 100644 index 7c86dfea9..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3TypeTemplate.txt.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e84ec2bd739f543b0a5cd3c13741f744 -timeCreated: 1483718243 -licenseType: Store -TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3Type_MaterialTemplate.txt b/Assets/Plugins/Easy Save 3/Editor/ES3Type_MaterialTemplate.txt deleted file mode 100644 index 541952ffc..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3Type_MaterialTemplate.txt +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3UserType_Material : ES3UnityObjectType - { - public static ES3Type Instance = null; - - public ES3UserType_Material() : base(typeof(UnityEngine.Material)){ Instance = this; priority = 1; } - - - protected override void WriteUnityObject(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Material)obj; - - writer.WriteProperty("shader", instance.shader); - writer.WriteProperty("renderQueue", instance.renderQueue, ES3Type_int.Instance); - writer.WriteProperty("shaderKeywords", instance.shaderKeywords); - writer.WriteProperty("globalIlluminationFlags", instance.globalIlluminationFlags); - [writes] - } - - protected override object ReadUnityObject(ES3Reader reader) - { - var obj = new Material(Shader.Find("Diffuse")); - ReadUnityObject(reader, obj); - return obj; - } - - protected override void ReadUnityObject(ES3Reader reader, object obj) - { - var instance = (UnityEngine.Material)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - case "name": - instance.name = reader.Read(ES3Type_string.Instance); - break; - case "shader": - instance.shader = reader.Read(ES3Type_Shader.Instance); - break; - case "renderQueue": - instance.renderQueue = reader.Read(ES3Type_int.Instance); - break; - case "shaderKeywords": - instance.shaderKeywords = reader.Read(); - break; - case "globalIlluminationFlags": - instance.globalIlluminationFlags = reader.Read(); - break; - [reads] - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3Type_MaterialTemplate.txt.meta b/Assets/Plugins/Easy Save 3/Editor/ES3Type_MaterialTemplate.txt.meta deleted file mode 100644 index 5ee9deb34..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3Type_MaterialTemplate.txt.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f90b0399488ef42e5bc804122fd99c58 -timeCreated: 1483698819 -licenseType: Store -TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3ValueTypeTemplate.txt b/Assets/Plugins/Easy Save 3/Editor/ES3ValueTypeTemplate.txt deleted file mode 100644 index 5df924ee6..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3ValueTypeTemplate.txt +++ /dev/null @@ -1,49 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute([propertyNames])] - public class ES3UserType_[es3TypeSuffix] : ES3Type - { - public static ES3Type Instance = null; - - public ES3UserType_[es3TypeSuffix]() : base(typeof([fullType])){ Instance = this; priority = 1;} - - - public override void Write(object obj, ES3Writer writer) - { - var instance = ([fullType])obj; - [writes] - } - - public override object Read(ES3Reader reader) - { - var instance = new [fullType](); - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - [reads] - default: - reader.Skip(); - break; - } - } - return instance; - } - } - - - public class ES3UserType_[es3TypeSuffix]Array : ES3ArrayType - { - public static ES3Type Instance; - - public ES3UserType_[es3TypeSuffix]Array() : base(typeof([fullType][]), ES3UserType_[es3TypeSuffix].Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3ValueTypeTemplate.txt.meta b/Assets/Plugins/Easy Save 3/Editor/ES3ValueTypeTemplate.txt.meta deleted file mode 100644 index 067cb043c..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3ValueTypeTemplate.txt.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f67742ea0c50242f8af16c3f807b723b -timeCreated: 1483718243 -licenseType: Store -TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3Window.cs b/Assets/Plugins/Easy Save 3/Editor/ES3Window.cs deleted file mode 100644 index 45d84748a..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3Window.cs +++ /dev/null @@ -1,216 +0,0 @@ -using UnityEngine; -using UnityEditor; -using System.Linq; - -namespace ES3Editor -{ - public class ES3Window : EditorWindow - { - private SubWindow[] windows = null; - - public SubWindow currentWindow; - - [MenuItem("Window/Easy Save 3", false, 1000)] - [MenuItem("Assets/Easy Save 3/Open Easy Save 3 Window", false, 1000)] - public static void Init() - { - // Get existing open window or if none, make a new one: - ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); - window.Show(); - } - - public static void InitAndShowHome() - { - // Get existing open window or if none, make a new one: - ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); - window.Show(); - window.SetCurrentWindow(typeof(HomeWindow)); - } - - [MenuItem("Tools/Easy Save 3/Auto Save", false, 100)] - public static void InitAndShowAutoSave() - { - // Get existing open window or if none, make a new one: - ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); - window.Show(); - window.SetCurrentWindow(typeof(AutoSaveWindow)); - } - - public static void InitAndShowReferences() - { - // Get existing open window or if none, make a new one: - ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); - window.Show(); - window.SetCurrentWindow(typeof(ReferencesWindow)); - } - - [MenuItem("Tools/Easy Save 3/Types", false, 100)] - public static void InitAndShowTypes() - { - // Get existing open window or if none, make a new one: - ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); - window.Show(); - window.SetCurrentWindow(typeof(TypesWindow)); - } - - public static void InitAndShowTypes(System.Type type) - { - // Get existing open window or if none, make a new one: - ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); - window.Show(); - var typesWindow = (TypesWindow)window.SetCurrentWindow(typeof(TypesWindow)); - typesWindow.SelectType(type); - } - - [MenuItem("Tools/Easy Save 3/Settings", false, 100)] - public static void InitAndShowSettings() - { - // Get existing open window or if none, make a new one: - ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); - window.Show(); - window.SetCurrentWindow(typeof(SettingsWindow)); - } - - [MenuItem("Tools/Easy Save 3/Tools", false, 100)] - public static void InitAndShowTools() - { - // Get existing open window or if none, make a new one: - ES3Window window = (ES3Window)EditorWindow.GetWindow(typeof(ES3Window)); - window.Show(); - window.SetCurrentWindow(typeof(ToolsWindow)); - } - - public void InitSubWindows() - { - windows = new SubWindow[]{ - new HomeWindow(this), - new SettingsWindow(this), - new ToolsWindow(this), - new TypesWindow(this), - new AutoSaveWindow(this) - //, new ReferencesWindow(this) - }; - } - - void OnLostFocus() - { - if(currentWindow != null) - currentWindow.OnLostFocus(); - } - - private void OnFocus() - { - if (currentWindow != null) - currentWindow.OnFocus(); - } - - void OnDestroy() - { - if(currentWindow != null) - currentWindow.OnDestroy(); - } - - void OnEnable() - { - if(windows == null) - InitSubWindows(); - // Set the window name and icon. - var icon = AssetDatabase.LoadAssetAtPath(ES3Settings.PathToEasySaveFolder()+"Editor/es3Logo16x16.png"); - titleContent = new GUIContent("Easy Save", icon); - - // Get the last opened window and open it. - if(currentWindow == null) - { - var currentWindowName = EditorPrefs.GetString("ES3Editor.Window.currentWindow", windows[0].name); - for(int i=0; i w.GetType() == type); - EditorPrefs.SetString("ES3Editor.Window.currentWindow", currentWindow.name); - return currentWindow; - } - - // Shows the Easy Save Home window if it's not been disabled. - // This method is called from the Postprocessor. - public static void OpenEditorWindowOnStart() - { - if(EditorPrefs.GetBool("Show ES3 Window on Start", true)) - ES3Window.InitAndShowHome(); - EditorPrefs.SetBool("Show ES3 Window on Start", false); - } - } - - public abstract class SubWindow - { - public string name; - public EditorWindow parent; - public abstract void OnGUI(); - - public SubWindow(string name, EditorWindow parent) - { - this.name = name; - this.parent = parent; - } - - public virtual void OnLostFocus() - { - } - - public virtual void OnFocus() - { - } - - public virtual void OnDestroy() - { - } - - public virtual void OnHierarchyChange() - { - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Editor/ES3Window.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ES3Window.cs.meta deleted file mode 100644 index 0f5ce7080..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ES3Window.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a95d98897f1cf4e7288b53b0fd8036c1 -timeCreated: 1519132293 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/HomeWindow.cs b/Assets/Plugins/Easy Save 3/Editor/HomeWindow.cs deleted file mode 100644 index 5e860542d..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/HomeWindow.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEditor; - -namespace ES3Editor -{ - public class HomeWindow : SubWindow - { - Vector2 scrollPos = Vector2.zero; - - public HomeWindow(EditorWindow window) : base("Home", window){} - - public override void OnGUI() - { - - var style = EditorStyle.Get; - - scrollPos = EditorGUILayout.BeginScrollView(scrollPos); - - EditorGUILayout.BeginVertical(style.area); - - GUILayout.Label("Welcome to Easy Save", style.heading); - - EditorGUILayout.BeginVertical(style.area); - GUILayout.Label("New To Easy Save?", style.subheading); - EditorGUILayout.BeginVertical(style.area); - ES3EditorUtility.DisplayLink("• See our Getting Started guide", "http://docs.moodkie.com/easy-save-3/getting-started/"); - EditorGUILayout.EndVertical(); - - GUILayout.Label("Support", style.subheading); - - EditorGUILayout.BeginVertical(style.area); - - ES3EditorUtility.DisplayLink("• Contact us directly", "http://www.moodkie.com/contact/"); - ES3EditorUtility.DisplayLink("• Ask a question in our Easy Save 3 forums", "http://moodkie.com/forum/viewforum.php?f=12"); - ES3EditorUtility.DisplayLink("• Ask a question in the Unity Forum thread","https://forum.unity3d.com/threads/easy-save-the-complete-save-load-asset-for-unity.91040/"); - EditorGUILayout.EndVertical(); - - GUILayout.Label("Documentation and Guides", style.subheading); - - EditorGUILayout.BeginVertical(style.area); - - ES3EditorUtility.DisplayLink("• Documentation", "http://docs.moodkie.com/product/easy-save-3/"); - ES3EditorUtility.DisplayLink("• Guides", "http://docs.moodkie.com/product/easy-save-3/es3-guides/"); - ES3EditorUtility.DisplayLink("• API Scripting Reference", "http://docs.moodkie.com/product/easy-save-3/es3-api/"); - ES3EditorUtility.DisplayLink("• Supported Types", "http://docs.moodkie.com/easy-save-3/es3-supported-types/"); - - - EditorGUILayout.EndVertical(); - - GUILayout.Label("PlayMaker Documentation", style.subheading); - - EditorGUILayout.BeginVertical(style.area); - - ES3EditorUtility.DisplayLink("• Actions", "http://docs.moodkie.com/product/easy-save-3/es3-playmaker/es3-playmaker-actions/"); - ES3EditorUtility.DisplayLink("• Actions Overview", "http://docs.moodkie.com/easy-save-3/es3-playmaker/playmaker-actions-overview/"); - - - EditorGUILayout.EndVertical(); - - EditorGUILayout.EndVertical(); - - EditorGUILayout.EndVertical(); - - EditorGUILayout.EndScrollView(); - - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Editor/HomeWindow.cs.meta b/Assets/Plugins/Easy Save 3/Editor/HomeWindow.cs.meta deleted file mode 100644 index cf019eb02..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/HomeWindow.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 394cc2e77038849709526f44f7efdd22 -timeCreated: 1519132283 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ReferencesWindow.cs b/Assets/Plugins/Easy Save 3/Editor/ReferencesWindow.cs deleted file mode 100644 index 57c4441bf..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ReferencesWindow.cs +++ /dev/null @@ -1,21 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEditor; -using ES3Internal; - -namespace ES3Editor -{ - public class ReferencesWindow : SubWindow - { - - - public ReferencesWindow(EditorWindow window) : base("References", window){} - - public override void OnGUI() - { - - } - } - -} diff --git a/Assets/Plugins/Easy Save 3/Editor/ReferencesWindow.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ReferencesWindow.cs.meta deleted file mode 100644 index 5e132e92e..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ReferencesWindow.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: af2d805793e784eef87fbcdebb11fa35 -timeCreated: 1519132291 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/SettingsWindow.cs b/Assets/Plugins/Easy Save 3/Editor/SettingsWindow.cs deleted file mode 100644 index b1d625479..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/SettingsWindow.cs +++ /dev/null @@ -1,135 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEditor; -using ES3Internal; - -namespace ES3Editor -{ - public class SettingsWindow : SubWindow - { - public ES3Defaults editorSettings = null; - public ES3SerializableSettings settings = null; - public SerializedObject so = null; - public SerializedProperty assemblyNamesProperty = null; - - private Vector2 scrollPos = Vector2.zero; - - public SettingsWindow(EditorWindow window) : base("Settings", window){} - - public override void OnGUI() - { - if(settings == null || editorSettings == null || assemblyNamesProperty == null) - Init(); - - var style = EditorStyle.Get; - - var labelWidth = EditorGUIUtility.labelWidth; - - - EditorGUI.BeginChangeCheck(); - - using (var scrollView = new EditorGUILayout.ScrollViewScope(scrollPos, style.area)) - { - scrollPos = scrollView.scrollPosition; - - EditorGUIUtility.labelWidth = 160; - - GUILayout.Label("Runtime Settings", style.heading); - - using (new EditorGUILayout.VerticalScope(style.area)) - { - ES3SettingsEditor.Draw(settings); - } - - GUILayout.Label("Debug Settings", style.heading); - - using (new EditorGUILayout.VerticalScope(style.area)) - { - EditorGUIUtility.labelWidth = 100; - - using (new EditorGUILayout.HorizontalScope()) - { - EditorGUILayout.PrefixLabel("Log Info"); - editorSettings.logDebugInfo = EditorGUILayout.Toggle(editorSettings.logDebugInfo); - } - - using (new EditorGUILayout.HorizontalScope()) - { - EditorGUILayout.PrefixLabel("Log Warnings"); - editorSettings.logWarnings = EditorGUILayout.Toggle(editorSettings.logWarnings); - } - - using (new EditorGUILayout.HorizontalScope()) - { - EditorGUILayout.PrefixLabel("Log Errors"); - editorSettings.logErrors = EditorGUILayout.Toggle(editorSettings.logErrors); - } - - EditorGUILayout.Space(); - } - - GUILayout.Label("Editor Settings", style.heading); - - using (new EditorGUILayout.VerticalScope(style.area)) - { - EditorGUIUtility.labelWidth = 170; - - using (new EditorGUILayout.HorizontalScope()) - { - EditorGUILayout.PrefixLabel("Auto Update References"); - editorSettings.autoUpdateReferences = EditorGUILayout.Toggle(editorSettings.autoUpdateReferences); - } - - using (new EditorGUILayout.HorizontalScope()) - { - EditorGUILayout.PrefixLabel("Use Global References"); - - var symbols = PlayerSettings.GetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup); - bool useGlobalReferences = !symbols.Contains("ES3GLOBAL_DISABLED"); - if(EditorGUILayout.Toggle(useGlobalReferences) != useGlobalReferences) - { - // Remove the existing symbol even if we're disabling global references, just incase it's already in there. - symbols = symbols.Replace("ES3GLOBAL_DISABLED;", ""); // With semicolon - symbols = symbols.Replace("ES3GLOBAL_DISABLED", ""); // Without semicolon - - // Add the symbol if useGlobalReferences is currently true, meaning that we want to disable it. - if (useGlobalReferences) - symbols = "ES3GLOBAL_DISABLED;" + symbols; - - PlayerSettings.SetScriptingDefineSymbolsForGroup(EditorUserBuildSettings.selectedBuildTargetGroup, symbols); - - if(useGlobalReferences) - EditorUtility.DisplayDialog("Global references disabled for build platform", "This will only disable Global References for this build platform. To disable it for other build platforms, open that platform in the Build Settings and uncheck this box again.", "Ok"); - } - } - - using (new EditorGUILayout.HorizontalScope()) - { - EditorGUILayout.PrefixLabel("Add All Prefabs to Manager"); - editorSettings.addAllPrefabsToManager = EditorGUILayout.Toggle(editorSettings.addAllPrefabsToManager); - } - - EditorGUILayout.Space(); - } - } - - if (EditorGUI.EndChangeCheck()) - EditorUtility.SetDirty(editorSettings); - - EditorGUIUtility.labelWidth = labelWidth; // Set the label width back to default - } - - public void Init() - { - editorSettings = ES3Settings.defaultSettingsScriptableObject; - - settings = editorSettings.settings; - /*so = new SerializedObject(editorSettings); - var settingsProperty = so.FindProperty("settings"); - assemblyNamesProperty = settingsProperty.FindPropertyRelative("assemblyNames");*/ - - } - } - -} diff --git a/Assets/Plugins/Easy Save 3/Editor/SettingsWindow.cs.meta b/Assets/Plugins/Easy Save 3/Editor/SettingsWindow.cs.meta deleted file mode 100644 index d58da5f5d..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/SettingsWindow.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 95e7bbc9a5aee44feb088811fb5e7b80 -timeCreated: 1519132291 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/ToolsWindow.cs b/Assets/Plugins/Easy Save 3/Editor/ToolsWindow.cs deleted file mode 100644 index 27c9292e2..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ToolsWindow.cs +++ /dev/null @@ -1,155 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEditor; -using System.IO; - -namespace ES3Editor -{ - public class ToolsWindow : SubWindow - { - public ToolsWindow(EditorWindow window) : base("Tools", window){} - - public override void OnGUI() - { - var style = EditorStyle.Get; - - EditorGUILayout.BeginHorizontal(style.area); - - if (GUILayout.Button("Open Persistent Data Path")) - OpenPersistentDataPath(); - - EditorGUILayout.EndHorizontal(); - - EditorGUILayout.BeginHorizontal(style.area); - - if (GUILayout.Button("Clear Persistent Data Path")) - ClearPersistentDataPath(); - - if (GUILayout.Button("Clear PlayerPrefs")) - ClearPlayerPrefs(); - - EditorGUILayout.EndHorizontal(); - } - - [MenuItem("Tools/Easy Save 3/Open Persistent Data Path", false, 200)] - private static void OpenPersistentDataPath() - { - OSFileBrowser.Open(Application.persistentDataPath); - } - - [MenuItem("Tools/Easy Save 3/Clear Persistent Data Path", false, 200)] - private static void ClearPersistentDataPath() - { - if (EditorUtility.DisplayDialog("Clear Persistent Data Path", "Are you sure you wish to clear the persistent data path?\n This action cannot be reversed.", "Clear", "Cancel")) - { - System.IO.DirectoryInfo di = new DirectoryInfo(Application.persistentDataPath); - - foreach (FileInfo file in di.GetFiles()) - file.Delete(); - foreach (DirectoryInfo dir in di.GetDirectories()) - dir.Delete(true); - } - } - - [MenuItem("Tools/Easy Save 3/Clear PlayerPrefs", false, 200)] - private static void ClearPlayerPrefs() - { - if (EditorUtility.DisplayDialog("Clear PlayerPrefs", "Are you sure you wish to clear PlayerPrefs?\nThis action cannot be reversed.", "Clear", "Cancel")) - PlayerPrefs.DeleteAll(); - } - } - - public static class OSFileBrowser - { - public static bool IsInMacOS - { - get - { - return UnityEngine.SystemInfo.operatingSystem.IndexOf("Mac OS") != -1; - } - } - - public static bool IsInWinOS - { - get - { - return UnityEngine.SystemInfo.operatingSystem.IndexOf("Windows") != -1; - } - } - - public static void OpenInMac(string path) - { - bool openInsidesOfFolder = false; - - // try mac - string macPath = path.Replace("\\", "/"); // mac finder doesn't like backward slashes - - if ( System.IO.Directory.Exists(macPath) ) // if path requested is a folder, automatically open insides of that folder - { - openInsidesOfFolder = true; - } - - if ( !macPath.StartsWith("\"") ) - { - macPath = "\"" + macPath; - } - - if ( !macPath.EndsWith("\"") ) - { - macPath = macPath + "\""; - } - - string arguments = (openInsidesOfFolder ? "" : "-R ") + macPath; - - try - { - System.Diagnostics.Process.Start("open", arguments); - } - catch ( System.ComponentModel.Win32Exception e ) - { - // tried to open mac finder in windows - // just silently skip error - // we currently have no platform define for the current OS we are in, so we resort to this - e.HelpLink = ""; // do anything with this variable to silence warning about not using it - } - } - - public static void OpenInWin(string path) - { - bool openInsidesOfFolder = false; - - // try windows - string winPath = path.Replace("/", "\\"); // windows explorer doesn't like forward slashes - - if ( System.IO.Directory.Exists(winPath) ) // if path requested is a folder, automatically open insides of that folder - openInsidesOfFolder = true; - - try - { - System.Diagnostics.Process.Start("explorer.exe", (openInsidesOfFolder ? "/root," : "/select,") + "\"" + winPath + "\""); - } - catch ( System.ComponentModel.Win32Exception e ) - { - e.HelpLink = ""; - } - } - - public static void Open(string path) - { - if ( IsInWinOS ) - { - OpenInWin(path); - } - else if ( IsInMacOS ) - { - OpenInMac(path); - } - else // couldn't determine OS - { - OpenInWin(path); - OpenInMac(path); - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Editor/ToolsWindow.cs.meta b/Assets/Plugins/Easy Save 3/Editor/ToolsWindow.cs.meta deleted file mode 100644 index c6fbe3fff..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/ToolsWindow.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0d6114c1d40624e9e8575e814c45ac1a -timeCreated: 1519132280 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/TypesWindow.cs b/Assets/Plugins/Easy Save 3/Editor/TypesWindow.cs deleted file mode 100644 index d4c02b67d..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/TypesWindow.cs +++ /dev/null @@ -1,724 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEditor; -using System; -using System.Reflection; -using System.Linq; -using ES3Types; -using System.IO; -using ES3Internal; -using System.Text.RegularExpressions; - -namespace ES3Editor -{ - public class TypesWindow : SubWindow - { - TypeListItem[] types = null; - const int recentTypeCount = 5; - List recentTypes = new List(recentTypeCount); - - Vector2 typeListScrollPos = Vector2.zero; - Vector2 typePaneScrollPos = Vector2.zero; - int leftPaneWidth = 300; - - string searchFieldValue = ""; - - int selectedType = -1; - private ES3Reflection.ES3ReflectedMember[] fields = new ES3Reflection.ES3ReflectedMember[0]; - private bool[] fieldSelected = new bool[0]; - - private Texture2D checkmark; - //private Texture2D checkmarkSmall; - - private GUIStyle searchBarStyle; - private GUIStyle searchBarCancelButtonStyle; - private GUIStyle leftPaneStyle; - private GUIStyle typeButtonStyle; - private GUIStyle selectedTypeButtonStyle; - private GUIStyle selectAllNoneButtonStyle; - - private string valueTemplateFile; - private string classTemplateFile; - private string componentTemplateFile; - private string scriptableObjectTemplateFile; - - private bool unsavedChanges = false; - - public TypesWindow(EditorWindow window) : base("Types", window){} - - public override void OnGUI() - { - if(types == null) - Init(); - - EditorGUILayout.BeginHorizontal(); - - EditorGUILayout.BeginVertical(leftPaneStyle); - SearchBar(); - TypeList(); - EditorGUILayout.EndVertical(); - EditorGUILayout.BeginVertical(); - TypePane(); - EditorGUILayout.EndVertical(); - - EditorGUILayout.EndHorizontal(); - } - - private void SearchBar() - { - var style = EditorStyle.Get; - - GUILayout.Label("Enter a type name in the field below\n* Type names are case-sensitive *", style.subheading2); - - EditorGUILayout.BeginHorizontal(); - - // Set control name so we can force a Focus reset for it. - string currentSearchFieldValue = EditorGUILayout.TextField(searchFieldValue, searchBarStyle); - - if(searchFieldValue != currentSearchFieldValue) - { - searchFieldValue = currentSearchFieldValue; - PerformSearch(currentSearchFieldValue); - } - - GUI.SetNextControlName("Clear"); - - if(GUILayout.Button("x", searchBarCancelButtonStyle)) - { - searchFieldValue = ""; - GUI.FocusControl("Clear"); - PerformSearch(""); - } - - EditorGUILayout.EndHorizontal(); - } - - private void RecentTypeList() - { - if(!string.IsNullOrEmpty(searchFieldValue) || recentTypes.Count == 0) - return; - - for(int i=recentTypes.Count-1; i>-1; i--) - TypeButton(recentTypes[i]); - - EditorGUILayout.TextArea("",GUI.skin.horizontalSlider); - - } - - private void TypeList() - { - if(!string.IsNullOrEmpty(searchFieldValue)) - GUILayout.Label("Search Results", EditorStyles.boldLabel); - - typeListScrollPos = EditorGUILayout.BeginScrollView(typeListScrollPos); - - RecentTypeList(); - - if(!string.IsNullOrEmpty(searchFieldValue)) - for(int i = 0; i < types.Length; i++) - TypeButton(i); - - EditorGUILayout.EndScrollView(); - } - - private void TypePane() - { - if(selectedType < 0) - return; - - var style = EditorStyle.Get; - - var typeListItem = types[selectedType]; - var type = typeListItem.type; - - typePaneScrollPos = EditorGUILayout.BeginScrollView(typePaneScrollPos, style.area); - - GUILayout.Label(typeListItem.name, style.subheading); - GUILayout.Label(typeListItem.namespaceName); - - EditorGUILayout.BeginVertical(style.area); - - bool hasParameterlessConstructor = ES3Reflection.HasParameterlessConstructor(type); - bool isComponent = ES3Reflection.IsAssignableFrom(typeof(Component), type); - - string path = GetOutputPath(types[selectedType].type); - // An ES3Type file already exists. - if(File.Exists(path)) - { - if(hasParameterlessConstructor || isComponent) - { - EditorGUILayout.BeginHorizontal(); - if(GUILayout.Button("Reset to Default")) - { - SelectNone(true, true); - AssetDatabase.MoveAssetToTrash("Assets" + path.Remove(0, Application.dataPath.Length)); - SelectType(selectedType); - } - if(GUILayout.Button("Edit ES3Type Script")) - AssetDatabase.OpenAsset(AssetDatabase.LoadMainAssetAtPath("Assets" + path.Remove(0, Application.dataPath.Length))); - EditorGUILayout.EndHorizontal(); - } - else - { - EditorGUILayout.HelpBox("This type has no public parameterless constructors.\n\nTo support this type you will need to modify the ES3Type script to use a specific constructor instead of the parameterless constructor.", MessageType.Info); - if(GUILayout.Button("Click here to edit the ES3Type script")) - AssetDatabase.OpenAsset(AssetDatabase.LoadMainAssetAtPath("Assets" + path.Remove(0, Application.dataPath.Length))); - if (GUILayout.Button("Reset to Default")) - { - SelectAll(true, true); - File.Delete(path); - AssetDatabase.Refresh(); - } - } - } - // No ES3Type file and no fields. - else if(fields.Length == 0) - { - if(!hasParameterlessConstructor && !isComponent) - EditorGUILayout.HelpBox("This type has no public parameterless constructors.\n\nTo support this type you will need to create an ES3Type script and modify it to use a specific constructor instead of the parameterless constructor.", MessageType.Info); - - if(GUILayout.Button("Create ES3Type Script")) - Generate(); - } - // No ES3Type file, but fields are selectable. - else - { - if(!hasParameterlessConstructor && !isComponent) - { - EditorGUILayout.HelpBox("This type has no public parameterless constructors.\n\nTo support this type you will need to select the fields you wish to serialize below, and then modify the generated ES3Type script to use a specific constructor instead of the parameterless constructor.", MessageType.Info); - if(GUILayout.Button("Select all fields and generate ES3Type script")) - { - SelectAll(true, false); - Generate(); - } - } - else - { - if(GUILayout.Button("Create ES3Type Script")) - Generate(); - } - } - - EditorGUILayout.EndVertical(); - - PropertyPane(); - - EditorGUILayout.EndScrollView(); - } - - private void PropertyPane() - { - var style = EditorStyle.Get; - - EditorGUILayout.BeginVertical(style.area); - - GUILayout.Label("Fields", EditorStyles.boldLabel); - - DisplayFieldsOrProperties(true, false); - EditorGUILayout.Space(); - - GUILayout.Label("Properties", EditorStyles.boldLabel); - - DisplayFieldsOrProperties(false, true); - EditorGUILayout.EndVertical(); - } - - private void DisplayFieldsOrProperties(bool showFields, bool showProperties) - { - // Get field and property counts. - int fieldCount = 0; - int propertyCount = 0; - for(int i=0; i 0 || propertyCount > 0) - { - EditorGUILayout.BeginHorizontal(); - - if(GUILayout.Button("Select All", selectAllNoneButtonStyle)) - { - SelectAll(showFields, showProperties); - Generate(); - } - - if(GUILayout.Button("Select None", selectAllNoneButtonStyle)) - { - SelectNone(showFields, showProperties); - Generate(); - } - EditorGUILayout.EndHorizontal(); - } - - for(int i=0; i item.Name == fields[i].Name); - return; - } - - // Get fields and whether they're selected. - var selectedFields = new List(); - var propertyAttributes = es3Type.GetType().GetCustomAttributes(typeof(ES3PropertiesAttribute), false); - if(propertyAttributes.Length > 0) - selectedFields.AddRange(((ES3PropertiesAttribute)propertyAttributes[0]).members); - - fieldSelected = new bool[fields.Length]; - - for(int i=0; i (); - - var assemblies = AppDomain.CurrentDomain.GetAssemblies().Where(assembly => !assembly.FullName.Contains("Editor") && assembly.FullName != "ES3" && !assembly.FullName.Contains("ES3")).OrderBy(assembly => assembly.GetName().Name).ToArray(); - - foreach (var assembly in assemblies) - { - var assemblyTypes = assembly.GetTypes(); - - for(int i = 0; i < assemblyTypes.Length; i++) - { - var type = assemblyTypes [i]; - if(type.IsGenericType || type.IsEnum || type.IsNotPublic || type.IsAbstract || type.IsInterface) - continue; - - var typeName = type.Name; - if(typeName [0] == '$' || typeName [0] == '_' || typeName [0] == '<') - continue; - - var typeNamespace = type.Namespace; - var namespaceName = typeNamespace == null ? "" : typeNamespace.ToString(); - - tempTypes.Add(new TypeListItem (type.Name, namespaceName, type, true, HasExplicitES3Type(type))); - } - - } - types = tempTypes.OrderBy(type => type.name).ToArray(); - - // Load types and recent types. - if(Event.current.type == EventType.Layout) - { - recentTypes = new List(); - for(int i=0; i(es3FolderPath + "Editor/checkmark.png"); - //checkmarkSmall = AssetDatabase.LoadAssetAtPath(es3FolderPath + "Editor/checkmarkSmall.png"); - - // Init Styles. - searchBarCancelButtonStyle = new GUIStyle(EditorStyles.miniButton); - var cancelButtonSize = EditorStyles.miniTextField.CalcHeight(new GUIContent(""), 20); - searchBarCancelButtonStyle.fixedWidth = cancelButtonSize; - searchBarCancelButtonStyle.fixedHeight = cancelButtonSize; - searchBarCancelButtonStyle.fontSize = 8; - searchBarCancelButtonStyle.padding = new RectOffset(); - searchBarStyle = new GUIStyle(EditorStyles.toolbarTextField); - searchBarStyle.stretchWidth = true; - - typeButtonStyle = new GUIStyle(EditorStyles.largeLabel); - typeButtonStyle.alignment = TextAnchor.MiddleLeft; - typeButtonStyle.stretchWidth = false; - selectedTypeButtonStyle = new GUIStyle(typeButtonStyle); - selectedTypeButtonStyle.fontStyle = FontStyle.Bold; - - leftPaneStyle = new GUIStyle(); - leftPaneStyle.fixedWidth = leftPaneWidth; - leftPaneStyle.clipping = TextClipping.Clip; - leftPaneStyle.padding = new RectOffset(10, 10, 10, 10); - - selectAllNoneButtonStyle = new GUIStyle(EditorStyles.miniButton); - selectAllNoneButtonStyle.stretchWidth = false; - selectAllNoneButtonStyle.margin = new RectOffset(0,0,0,10); - } - - private void Generate() - { - var type = types[selectedType].type; - if(type == null) - { - EditorUtility.DisplayDialog("Type not selected", "Type not selected. Please ensure you select a type", "Ok"); - return; - } - - unsavedChanges = false; - - // Get the serializable fields of this class. - //var fields = ES3Reflection.GetSerializableES3Fields(type); - - // The string that we suffix to the class name. i.e. UnityEngine_UnityEngine_Transform. - string es3TypeSuffix = type.Name; - // The string for the full C#-safe type name. This name must be suitable for going inside typeof(). - string fullType = GetFullTypeName(type); - // The list of WriteProperty calls to write the properties of this type. - string writes = GenerateWrites(); - // The list of case statements and Read calls to read the properties of this type. - string reads = GenerateReads(); - // A comma-seperated string of fields we've supported in this type. - string propertyNames = ""; - - bool first = true; - for(int i=0; i(), instance);\r\n\t\t\t\t\tbreak;", field.Name, fieldTypeName); - else - reads += String.Format("\r\n\t\t\t\t\tcase \"{0}\":\r\n\t\t\t\t\treader.SetPrivateField(\"{0}\", reader.Read<{1}>(), instance);\r\n\t\t\t\t\tbreak;", field.Name, fieldTypeName); - } - else - reads += String.Format("\r\n\t\t\t\t\tcase \"{0}\":\r\n\t\t\t\t\t\t{3}.{0} = reader.Read<{1}>({2});\r\n\t\t\t\t\t\tbreak;", field.Name, fieldTypeName, es3TypeParam, instance); - } - return reads; - } - - private string GetOutputPath(Type type) - { - return Application.dataPath + "/Easy Save 3/Types/ES3UserType_"+type.Name+".cs"; - } - - /* Gets the full Type name, replacing any syntax (such as '+') with a dot to make it a valid type name */ - private static string GetFullTypeName(Type type) - { - string typeName = type.ToString(); - - if(type.IsNested) - typeName = typeName.Replace('+','.'); - - // If it's a generic type, replace syntax with angled brackets. - int genericArgumentCount = type.GetGenericArguments().Length; - if(genericArgumentCount > 0) - { - return string.Format("{0}<{1}>", type.ToString().Split('`')[0], string.Join(", ", type.GetGenericArguments().Select(x => GetFullTypeName(x)).ToArray())); - } - - return typeName; - } - - /* Whether this type has an explicit ES3Type. For example, ES3ArrayType would return false, but ES3Vector3ArrayType would return true */ - private static bool HasExplicitES3Type(Type type) - { - var es3Type = ES3TypeMgr.GetES3Type(type); - if(es3Type == null) - return false; - // If this ES3Type has a static Instance property, return true. - if(es3Type.GetType().GetField("Instance", BindingFlags.Public | BindingFlags.Static) != null) - return true; - return false; - } - - private static bool HasExplicitES3Type(ES3Type es3Type) - { - if(es3Type == null) - return false; - // If this ES3Type has a static Instance property, return true. - if(es3Type.GetType().GetField("Instance", BindingFlags.Public | BindingFlags.Static) != null) - return true; - return false; - } - - public class TypeListItem - { - public string name; - public string lowercaseName; - public string namespaceName; - public Type type; - public bool showInList; - public bool hasExplicitES3Type; - - public TypeListItem(string name, string namespaceName, Type type, bool showInList, bool hasExplicitES3Type) - { - this.name = name; - this.lowercaseName = name.ToLowerInvariant(); - this.namespaceName = namespaceName; - this.type = type; - this.showInList = showInList; - this.hasExplicitES3Type = hasExplicitES3Type; - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Editor/TypesWindow.cs.meta b/Assets/Plugins/Easy Save 3/Editor/TypesWindow.cs.meta deleted file mode 100644 index 750503429..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/TypesWindow.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 600b987de172f4a82b182077ceb7fffa -timeCreated: 1519132286 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/checkmark.png b/Assets/Plugins/Easy Save 3/Editor/checkmark.png deleted file mode 100644 index cda4c8ddf..000000000 Binary files a/Assets/Plugins/Easy Save 3/Editor/checkmark.png and /dev/null differ diff --git a/Assets/Plugins/Easy Save 3/Editor/checkmark.png.meta b/Assets/Plugins/Easy Save 3/Editor/checkmark.png.meta deleted file mode 100644 index e4cf35622..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/checkmark.png.meta +++ /dev/null @@ -1,124 +0,0 @@ -fileFormatVersion: 2 -guid: 9d92f481545af4a45b06e8fe44778d93 -timeCreated: 1484046036 -licenseType: Store -TextureImporter: - fileIDToRecycleName: {} - serializedVersion: 4 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 0 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - filterMode: -1 - aniso: 1 - mipBias: -1 - wrapMode: 1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spritePixelsToUnits: 100 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 2 - textureShape: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Standalone - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: iPhone - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: tvOS - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Android - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Tizen - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: WebGL - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Samsung TV - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - spritePackingTag: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/checkmarkSmall.png b/Assets/Plugins/Easy Save 3/Editor/checkmarkSmall.png deleted file mode 100644 index 46c3c1ff4..000000000 Binary files a/Assets/Plugins/Easy Save 3/Editor/checkmarkSmall.png and /dev/null differ diff --git a/Assets/Plugins/Easy Save 3/Editor/checkmarkSmall.png.meta b/Assets/Plugins/Easy Save 3/Editor/checkmarkSmall.png.meta deleted file mode 100644 index 32ece544e..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/checkmarkSmall.png.meta +++ /dev/null @@ -1,124 +0,0 @@ -fileFormatVersion: 2 -guid: ca44f6eb870d244cfb1c83054a69ffc3 -timeCreated: 1484046036 -licenseType: Store -TextureImporter: - fileIDToRecycleName: {} - serializedVersion: 4 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 0 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - filterMode: -1 - aniso: 1 - mipBias: -1 - wrapMode: 1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spritePixelsToUnits: 100 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 2 - textureShape: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Standalone - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: iPhone - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: tvOS - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Android - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Tizen - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: WebGL - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Samsung TV - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - spritePackingTag: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16-bw.png b/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16-bw.png deleted file mode 100644 index 2edf317ba..000000000 Binary files a/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16-bw.png and /dev/null differ diff --git a/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16-bw.png.meta b/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16-bw.png.meta deleted file mode 100644 index 94cb94435..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16-bw.png.meta +++ /dev/null @@ -1,104 +0,0 @@ -fileFormatVersion: 2 -guid: 3ae63f85ae558634d83caaf5a332d1ba -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: 1 - mipBias: -100 - wrapU: 1 - wrapV: 1 - wrapW: -1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 2 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16.png b/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16.png deleted file mode 100644 index ccde04724..000000000 Binary files a/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16.png and /dev/null differ diff --git a/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16.png.meta b/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16.png.meta deleted file mode 100644 index fc6472246..000000000 --- a/Assets/Plugins/Easy Save 3/Editor/es3Logo16x16.png.meta +++ /dev/null @@ -1,124 +0,0 @@ -fileFormatVersion: 2 -guid: 4697547d67ec24040b678d7b35835286 -timeCreated: 1495455081 -licenseType: Store -TextureImporter: - fileIDToRecycleName: {} - serializedVersion: 4 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 0 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - filterMode: -1 - aniso: 1 - mipBias: -1 - wrapMode: 1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spritePixelsToUnits: 100 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 2 - textureShape: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Standalone - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: iPhone - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: tvOS - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Android - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Tizen - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: WebGL - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - - buildTarget: Samsung TV - maxTextureSize: 2048 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - spritePackingTag: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Legacy.meta b/Assets/Plugins/Easy Save 3/Legacy.meta deleted file mode 100644 index 99cfd6739..000000000 --- a/Assets/Plugins/Easy Save 3/Legacy.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d05e819cd3894b045acde4e5ab56ebd4 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Legacy/Easy Save 2.unitypackage b/Assets/Plugins/Easy Save 3/Legacy/Easy Save 2.unitypackage deleted file mode 100644 index de8e9c4bf..000000000 Binary files a/Assets/Plugins/Easy Save 3/Legacy/Easy Save 2.unitypackage and /dev/null differ diff --git a/Assets/Plugins/Easy Save 3/Legacy/Easy Save 2.unitypackage.meta b/Assets/Plugins/Easy Save 3/Legacy/Easy Save 2.unitypackage.meta deleted file mode 100644 index 039a5efcd..000000000 --- a/Assets/Plugins/Easy Save 3/Legacy/Easy Save 2.unitypackage.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d731fabb47b47ae4a80c4d5cc24b57db -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/PlayMaker.meta b/Assets/Plugins/Easy Save 3/PlayMaker.meta deleted file mode 100644 index 3ac7941f3..000000000 --- a/Assets/Plugins/Easy Save 3/PlayMaker.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 0a6bee318130749539d0eec8a7b37ccd -folderAsset: yes -timeCreated: 1497259711 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/PlayMaker/ES3PlayMaker.cs b/Assets/Plugins/Easy Save 3/PlayMaker/ES3PlayMaker.cs deleted file mode 100644 index 15811291f..000000000 --- a/Assets/Plugins/Easy Save 3/PlayMaker/ES3PlayMaker.cs +++ /dev/null @@ -1,1779 +0,0 @@ -#if PLAYMAKER_1_8_OR_NEWER - -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using ES3Internal; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMaker; -using System.Linq; -using System; -using Tooltip = HutongGames.PlayMaker.TooltipAttribute; - -public class FsmES3File : ScriptableObject -{ - public ES3File file; -} - -public class FsmES3Spreadsheet : ScriptableObject -{ - public ES3Spreadsheet spreadsheet; -} - -namespace ES3PlayMaker -{ - - #region Base Classes - - public abstract class ActionBase : FsmStateAction - { - [Tooltip("This event is triggered if an error occurs.")] - public FsmEvent errorEvent; - [Tooltip("If an error occurs, the error message will be stored in this variable.")] - public FsmString errorMessage; - - public abstract void Enter(); - public abstract void OnReset(); - - public override void OnEnter() - { - try - { - Enter(); - } - catch (System.Exception e) - { - HandleError(e.ToString()); - } - Finish(); - } - - public override void Reset() - { - errorEvent = null; - errorMessage = ""; - OnReset(); - } - - public void HandleError(string msg) - { - errorMessage.Value = msg; - if (errorEvent != null) - Fsm.Event(errorEvent); - else - LogError(msg); - } - } - - public abstract class SettingsAction : ActionBase - { - public FsmBool overrideDefaultSettings = false; - - [Tooltip("The path this ES3Settings object points to, if any.")] - public FsmString path; - [ObjectType(typeof(ES3.Location))] - [Tooltip("The storage location where we wish to store data by default.")] - public FsmEnum location; - [ObjectType(typeof(ES3.EncryptionType))] - [Tooltip("The type of encryption to use when encrypting data, if any.")] - public FsmEnum encryptionType; - [Tooltip("The password to use to encrypt the data if encryption is enabled.")] - public FsmString encryptionPassword; - [ObjectType(typeof(ES3.CompressionType))] - [Tooltip("The type of compression to use when compressing data, if any.")] - public FsmEnum compressionType; - [ObjectType(typeof(ES3.Directory))] - [Tooltip("The default directory in which to store files when using the File save location, and the location which relative paths should be relative to.")] - public FsmEnum directory; - [ObjectType(typeof(ES3.Format))] - [Tooltip("The format we should use when serializing and deserializing data.")] - public FsmEnum format; - [Tooltip("Any stream buffers will be set to this length in bytes.")] - public FsmInt bufferSize; - - public override void Reset() - { - var settings = new ES3Settings(); - path = settings.path; - location = settings.location; - encryptionType = settings.encryptionType; - compressionType = settings.compressionType; - encryptionPassword = settings.encryptionPassword; - directory = settings.directory; - format = settings.format; - bufferSize = settings.bufferSize; - overrideDefaultSettings = false; - base.Reset(); - } - - public ES3Settings GetSettings() - { - var settings = new ES3Settings(); - if (overrideDefaultSettings.Value) - { - settings.path = path.Value; - settings.location = (ES3.Location)location.Value; - settings.encryptionType = (ES3.EncryptionType)encryptionType.Value; - settings.encryptionPassword = encryptionPassword.Value; - settings.compressionType = (ES3.CompressionType)compressionType.Value; - settings.directory = (ES3.Directory)directory.Value; - settings.format = (ES3.Format)format.Value; - settings.bufferSize = bufferSize.Value; - } - return settings; - } - } - - public abstract class ES3FileAction : ActionBase - { - [Tooltip("The ES3 File we are using, created using the Create ES3 File action.")] - [ObjectType(typeof(FsmES3File))] - [Title("ES3 File")] - [RequiredField] - public FsmObject fsmES3File; - - public ES3File es3File { get { return ((FsmES3File)fsmES3File.Value).file; } } - - public override void Reset() - { - fsmES3File = null; - base.Reset(); - } - } - - public abstract class ES3FileSettingsAction : SettingsAction - { - [Tooltip("The ES3File variable we're using.")] - [ObjectType(typeof(FsmES3File))] - [Title("ES3 File")] - [RequiredField] - public FsmObject fsmES3File; - - public ES3File es3File { get { return ((FsmES3File)fsmES3File.Value).file; } } - - public override void Reset() - { - fsmES3File = null; - base.Reset(); - } - } - - public abstract class ES3SpreadsheetAction : ActionBase - { - [Tooltip("The ES3 Spreadsheet we are using, created using the Create ES3 Spreadsheet action.")] - [ObjectType(typeof(FsmES3Spreadsheet))] - [Title("ES3 Spreadsheet")] - [RequiredField] - public FsmObject fsmES3Spreadsheet; - - public ES3Spreadsheet es3Spreadsheet { get { return ((FsmES3Spreadsheet)fsmES3Spreadsheet.Value).spreadsheet; } } - - public override void Reset() - { - fsmES3Spreadsheet = null; - base.Reset(); - } - } - - public abstract class ES3SpreadsheetSettingsAction : SettingsAction - { - [Tooltip("The ES3Spreadsheet variable we're using.")] - [ObjectType(typeof(FsmES3Spreadsheet))] - [Title("ES3 Spreadsheet")] - [RequiredField] - public FsmObject fsmES3Spreadsheet; - - public ES3Spreadsheet es3Spreadsheet { get { return ((FsmES3Spreadsheet)fsmES3Spreadsheet.Value).spreadsheet; } } - - public override void Reset() - { - fsmES3Spreadsheet = null; - base.Reset(); - } - } - - #endregion - - #region Save Actions - - [ActionCategory("Easy Save 3")] - [Tooltip("Saves the value to a file with the given key.")] - public class Save : SettingsAction - { - [Tooltip("The unique key we want to use to identity the data we are saving.")] - public FsmString key; - [Tooltip("The value we want to save.")] - [UIHint(UIHint.Variable)] - public FsmVar value; - - public override void OnReset() - { - key = "key"; - value = null; - } - - public override void Enter() - { - value.UpdateValue(); - - if (value.Type == VariableType.Array) - ES3.Save(key.Value, new PMDataWrapper(value.arrayValue.Values), GetSettings()); - else - ES3.Save(key.Value, value.GetValue(), GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Saves all FsmVariables in this FSM to a file with the given key.")] - public class SaveAll : SettingsAction - { - [Tooltip("The unique key we want to use to identity the data we are saving.")] - public FsmString key; - - [Tooltip("Save the local variables accessible in this FSM?")] - public FsmBool saveFsmVariables = true; - [Tooltip("Save the global variables accessible in all FSMs?")] - public FsmBool saveGlobalVariables = true; - - public override void OnReset() - { - key = "key"; - } - - public override void Enter() - { - ES3.Save(key.Value, new PMDataWrapper(Fsm, saveFsmVariables.Value, saveGlobalVariables.Value), GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Saves a byte array as a file, overwriting any existing files.")] - public class SaveRaw : SettingsAction - { - [Tooltip("The string we want to save as a file.")] - public FsmString str; - [Tooltip("Whether to encode this string using Base-64 encoding. This will override any default encoding settings.")] - public FsmBool useBase64Encoding; - [Tooltip("Adds a newline to the end of the file.")] - public FsmBool appendNewline; - - public override void OnReset() - { - str = ""; - useBase64Encoding = false; - appendNewline = false; - } - - public override void Enter() - { - if (useBase64Encoding.Value) - ES3.SaveRaw(System.Convert.FromBase64String(str.Value) + (appendNewline.Value ? "\n" : ""), GetSettings()); - else - ES3.SaveRaw(str.Value + (appendNewline.Value ? "\n" : ""), GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Appends a string to the end of a file.")] - public class AppendRaw : SettingsAction - { - [Tooltip("The string we want to append to a file.")] - public FsmString str; - [Tooltip("Whether to encode this string using Base-64 encoding. This will override any default encoding settings.")] - public FsmBool useBase64Encoding; - [Tooltip("If checked, a newline will be added after the data.")] - public FsmBool appendNewline; - - public override void OnReset() - { - str = ""; - useBase64Encoding = false; - appendNewline = false; - } - - public override void Enter() - { - if (useBase64Encoding.Value) - ES3.AppendRaw(System.Convert.FromBase64String(str.Value) + (appendNewline.Value ? "\n" : ""), GetSettings()); - else - ES3.AppendRaw(str.Value + (appendNewline.Value ? "\n" : ""), GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Saves a Texture2D as a PNG or a JPG, depending on the file extension of the supplied image path.")] - public class SaveImage : SettingsAction - { - [Tooltip("The relative or absolute path of the PNG or JPG file we want to store our image to.")] - public FsmString imagePath; - [Tooltip("The Texture2D we want to save as an image.")] - [ObjectType(typeof(Texture2D))] - public FsmTexture texture2D; - - public override void OnReset() - { - imagePath = "image.png"; - texture2D = null; - } - - public override void Enter() - { - ES3.SaveImage((Texture2D)texture2D.Value, imagePath.Value, GetSettings()); - } - } - - #endregion - - #region Load Actions - - [ActionCategory("Easy Save 3")] - [Tooltip("Loads a value from a file with the given key.")] - public class Load : SettingsAction - { - [Tooltip("The unique key which identifies the data we're loading.")] - public FsmString key; - [Tooltip("The variable we want to use to store our loaded data.")] - [UIHint(UIHint.Variable)] - public FsmVar value; - [Tooltip("Optional: A value to return if the key does not exist.")] - [UIHint(UIHint.Variable)] - public FsmVar defaultValue; - - public override void OnReset() - { - key = "key"; - value = null; - defaultValue = null; - } - - public override void Enter() - { - defaultValue.UpdateValue(); - bool useDefaultVal = defaultValue.GetValue() != null && !defaultValue.IsNone; - - - if (value.Type == VariableType.Array) - { - if (useDefaultVal) - value.SetValue(ES3.Load(key.Value, new PMDataWrapper(defaultValue.arrayValue.Values), GetSettings()).array); - else - value.SetValue(ES3.Load(key.Value, GetSettings()).array); - } - else - { - if (useDefaultVal) - value.SetValue(ES3.Load(key.Value, defaultValue.GetValue(), GetSettings())); - else - value.SetValue(ES3.Load(key.Value, GetSettings())); - } - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Loads a value from a file with the given key into an existing object, rather than creating a new instance.")] - public class LoadInto : SettingsAction - { - [Tooltip("The unique key which identifies the data we're loading.")] - public FsmString key; - [Tooltip("The object we want to load our data into.")] - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmVar value; - - public override void OnReset() - { - key = "key"; - value = null; - } - - public override void Enter() - { - value.UpdateValue(); - if (value.IsNone || value.GetValue() == null) - HandleError("The 'Load Into' action requires an object to load the data into, but none was specified in the 'Value' field."); - else - { - ES3.LoadInto(key.Value, value.GetValue(), GetSettings()); - - if (value.Type == VariableType.Array) - HandleError("It's not possible to use LoadInto with arrays in PlayMaker as they are not strictly typed. Consider using Load instead."); - else - value.SetValue(ES3.Load(key.Value, GetSettings())); - } - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Loads all FsmVariables in this FSM to a file with the given key.")] - public class LoadAll : SettingsAction - { - [Tooltip("The key we used to save the data we're loading.")] - public FsmString key; - - [Tooltip("Load the local variables accessible in this FSM?")] - public FsmBool loadFsmVariables = true; - [Tooltip("Load the global variables accessible in all FSMs?")] - public FsmBool loadGlobalVariables = true; - - public override void OnReset() - { - key = "key"; - } - - public override void Enter() - { - ES3.Load(key.Value, GetSettings()).ApplyVariables(Fsm, loadFsmVariables.Value, loadGlobalVariables.Value); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Loads an entire file as a string.")] - public class LoadRawString : SettingsAction - { - [Tooltip("The variable we want to store our loaded string in.")] - public FsmString str; - [Tooltip("Whether or not the data we're loading is Base-64 encoded. Usually this should be left unchecked.")] - public FsmBool useBase64Encoding; - - public override void OnReset() - { - str = null; - useBase64Encoding = false; - } - - public override void Enter() - { - if (useBase64Encoding.Value) - str.Value = System.Convert.ToBase64String(ES3.LoadRawBytes(GetSettings())); - else - str.Value = ES3.LoadRawString(GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Loads a JPG or PNG image file as a Texture2D.")] - public class LoadImage : SettingsAction - { - [Tooltip("The relative or absolute path of the JPG or PNG image file we want to load.")] - public FsmString imagePath; - [Tooltip("The variable we want to use to store our loaded texture.")] - public FsmTexture texture2D; - - public override void OnReset() - { - imagePath = "image.png"; - texture2D = null; - } - - public override void Enter() - { - texture2D.Value = ES3.LoadImage(imagePath.Value, GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Loads an audio file as an AudioClip.")] - public class LoadAudio : SettingsAction - { - [Tooltip("The relative or absolute path of the audio file we want to load.")] - public FsmString audioFilePath; - [ObjectType(typeof(AudioClip))] - [Tooltip("The variable we want to use to store our loaded AudioClip.")] - public FsmObject audioClip; - -#if UNITY_2018_3_OR_NEWER - [Tooltip("The type of AudioClip we're loading.")] - [ObjectType(typeof(AudioType))] - public FsmEnum audioType; -#endif - - public override void OnReset() - { - audioFilePath = "audio.wav"; - audioClip = null; -#if UNITY_2018_3_OR_NEWER - audioType = AudioType.MPEG; -#endif - } - - public override void Enter() - { - audioClip.Value = ES3.LoadAudio(audioFilePath.Value, -#if UNITY_2018_3_OR_NEWER - (AudioType)audioType.Value, -#endif - GetSettings()); - } - } - - - #endregion - - #region Exists Actions - - [ActionCategory("Easy Save 3")] - [Tooltip("Checks whether a key exists in a file.")] - public class KeyExists : SettingsAction - { - [Tooltip("The key we want to check the existence of.")] - public FsmString key; - [Tooltip("Whether the key exists. This is set after the action runs.")] - public FsmBool exists; - - [Tooltip("This event is triggered if the key exists.")] - public FsmEvent existsEvent; - [Tooltip("This event is triggered if the key does not exist.")] - public FsmEvent doesNotExistEvent; - - public override void OnReset() - { - key = "key"; - exists = false; - existsEvent = null; - doesNotExistEvent = null; - } - - public override void Enter() - { - exists.Value = ES3.KeyExists(key.Value, GetSettings()); - - Fsm.Event(exists.Value ? existsEvent : doesNotExistEvent); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Checks whether a file exists in a directory.")] - public class FileExists : SettingsAction - { - [Tooltip("The file we want to check the existence of")] - public FsmString filePath; - [Tooltip("Whether the file exists. This is set after the action runs.")] - public FsmBool exists; - - [Tooltip("This event is triggered if the file exists.")] - public FsmEvent existsEvent; - [Tooltip("This event is triggered if the file does not exist.")] - public FsmEvent doesNotExistEvent; - - public override void OnReset() - { - filePath = "SaveFile.es3"; - exists = false; - existsEvent = null; - doesNotExistEvent = null; - } - - public override void Enter() - { - exists.Value = ES3.FileExists(filePath.Value, GetSettings()); - - Fsm.Event(exists.Value ? existsEvent : doesNotExistEvent); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Checks whether a directory exists in another directory")] - public class DirectoryExists : SettingsAction - { - [Tooltip("The directory we want to check the existence of.")] - public FsmString directoryPath; - [Tooltip("Whether the directory exists. This is set after the action runs.")] - public FsmBool exists; - - [Tooltip("This event is triggered if the directory exists.")] - public FsmEvent existsEvent; - [Tooltip("This event is triggered if the directory does not exist.")] - public FsmEvent doesNotExistEvent; - - public override void OnReset() - { - directoryPath = ""; - exists = false; - existsEvent = null; - doesNotExistEvent = null; - } - - public override void Enter() - { - exists.Value = ES3.DirectoryExists(directoryPath.Value, GetSettings()); - - Fsm.Event(exists.Value ? existsEvent : doesNotExistEvent); - } - } - - #endregion - - #region Delete Actions - - [ActionCategory("Easy Save 3")] - [Tooltip("Deletes a key from a file.")] - public class DeleteKey : SettingsAction - { - [Tooltip("The key we want to delete.")] - public FsmString key; - - public override void OnReset() - { - key = "key"; - } - - public override void Enter() - { - ES3.DeleteKey(key.Value, GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Deletes a file.")] - public class DeleteFile : SettingsAction - { - [Tooltip("The relative or absolute path of the file we want to delete.")] - public FsmString filePath; - - public override void OnReset() - { - filePath = "SaveFile.es3"; - } - - public override void Enter() - { - ES3.DeleteFile(filePath.Value, GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Deletes a directory and it's contents.")] - public class DeleteDirectory : SettingsAction - { - [Tooltip("The relative or absolute path of the directory we want to delete.")] - public FsmString directoryPath; - - public override void OnReset() - { - directoryPath = ""; - } - - public override void Enter() - { - ES3.DeleteDirectory(directoryPath.Value, GetSettings()); - } - } - - #endregion - - #region Backup Actions - - [ActionCategory("Easy Save 3")] - [Tooltip("Creates a backup of a file which can be restored using the Restore Backup action.")] - public class CreateBackup : SettingsAction - { - [Tooltip("The relative or absolute path of the file we want to backup.")] - public FsmString filePath; - - public override void OnReset() - { - filePath = "SaveFile.es3"; - } - - public override void Enter() - { - ES3.CreateBackup(filePath.Value, GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Restores a backup of a file created using the Create Backup action.")] - public class RestoreBackup : SettingsAction - { - [Tooltip("The relative or absolute path of the file we want to restore the backup of.")] - public FsmString filePath; - [Tooltip("True if a backup was restored, or False if no backup could be found.")] - public FsmBool backupWasRestored; - - public override void OnReset() - { - filePath = "SaveFile.es3"; - backupWasRestored = false; - } - - public override void Enter() - { - backupWasRestored.Value = ES3.RestoreBackup(filePath.Value, GetSettings()); - } - } - - #endregion - - #region Key, File and Directory Methods - - [ActionCategory("Easy Save 3")] - [Tooltip("Renames a file.")] - public class RenameFile : SettingsAction - { - [Tooltip("The relative or absolute path of the file we want to rename from.")] - public FsmString oldFilePath; - [Tooltip("The relative or absolute path of the file we want to rename to.")] - public FsmString newFilePath; - - public override void OnReset() - { - oldFilePath = "SaveFile.es3"; - newFilePath = ""; - } - - public override void Enter() - { - ES3.RenameFile(oldFilePath.Value, newFilePath.Value, GetSettings(), GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Copies a file.")] - public class CopyFile : SettingsAction - { - [Tooltip("The relative or absolute path of the file we want to copy.")] - public FsmString oldFilePath; - [Tooltip("The relative or absolute path of the file we want to create.")] - public FsmString newFilePath; - - public override void OnReset() - { - oldFilePath = "SaveFile.es3"; - newFilePath = ""; - } - - public override void Enter() - { - ES3.CopyFile(oldFilePath.Value, newFilePath.Value, GetSettings(), GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Copies a directory.")] - public class CopyDirectory : SettingsAction - { - [Tooltip("The relative or absolute path of the directory we want to copy.")] - public FsmString oldDirectoryPath; - [Tooltip("The relative or absolute path of the directory we want to create.")] - public FsmString newDirectoryPath; - - public override void OnReset() - { - oldDirectoryPath = ""; - newDirectoryPath = ""; - } - - public override void Enter() - { - ES3.CopyDirectory(oldDirectoryPath.Value, newDirectoryPath.Value, GetSettings(), GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Gets an array of key names from a file.")] - public class GetKeys : SettingsAction - { - [Tooltip("The relative or absolute path of the file we want to get the keys from.")] - public FsmString filePath; - [Tooltip("The string array variable we want to load our key names into.")] - [ArrayEditor(VariableType.String)] - public FsmArray keys; - - public override void OnReset() - { - filePath = "SaveFile.es3"; - keys = null; - } - - public override void Enter() - { - keys.Values = ES3.GetKeys(filePath.Value, GetSettings()); - keys.SaveChanges(); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Gets how many keys are in a file.")] - public class GetKeyCount : SettingsAction - { - [Tooltip("The relative or absolute path of the file we want to count the keys of.")] - public FsmString filePath; - [Tooltip("The int variable we want to load our count into.")] - public FsmInt keyCount; - - public override void OnReset() - { - filePath = "SaveFile.es3"; - keyCount = null; - } - - public override void Enter() - { - keyCount.Value = ES3.GetKeys(filePath.Value, GetSettings()).Length; - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Gets the names of the files in a given directory.")] - public class GetFiles : SettingsAction - { - [Tooltip("The relative or absolute path of the directory we want to get the file names from.")] - public FsmString directoryPath; - [Tooltip("The string array variable we want to load our file names into.")] - [ArrayEditor(VariableType.String)] - public FsmArray files; - - public override void OnReset() - { - directoryPath = ""; - files = null; - } - - public override void Enter() - { - files.Values = ES3.GetFiles(directoryPath.Value, GetSettings()); - files.SaveChanges(); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Gets the names of any directories in a given directory.")] - public class GetDirectories : SettingsAction - { - [Tooltip("The relative or absolute path of the directory we want to get the directory names from.")] - public FsmString directoryPath; - [Tooltip("The string array variable we want to load our directory names into.")] - [ArrayEditor(VariableType.String)] - public FsmArray directories; - - public override void OnReset() - { - directoryPath = ""; - directories = null; - } - - public override void Enter() - { - directories.Values = ES3.GetDirectories(directoryPath.Value, GetSettings()); - directories.SaveChanges(); - } - } - - #endregion - - #region ES3Spreadsheet Actions - - [ActionCategory("Easy Save 3")] - [Tooltip("Creates a new empty ES3Spreadsheet.")] - public class ES3SpreadsheetCreate : ES3SpreadsheetAction - { - public override void OnReset() - { - } - - public override void Enter() - { - var spreadsheet = ScriptableObject.CreateInstance(); - spreadsheet.spreadsheet = new ES3Spreadsheet(); - fsmES3Spreadsheet.Value = spreadsheet; - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Sets a given cell of the ES3Spreadsheet to the value provided.")] - public class ES3SpreadsheetSetCell : ES3SpreadsheetAction - { - [Tooltip("The column of the cell we want to set the value of.")] - public FsmInt col; - [Tooltip("The row of the cell we want to set the value of.")] - public FsmInt row; - - [Tooltip("The value we want to save.")] - [UIHint(UIHint.Variable)] - public FsmVar value; - - public override void OnReset() - { - value = null; - } - - public override void Enter() - { - value.UpdateValue(); - es3Spreadsheet.SetCell(col.Value, row.Value, value.GetValue()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Gets a given cell of the ES3Spreadsheet and loads it into the value field.")] - public class ES3SpreadsheetGetCell : ES3SpreadsheetAction - { - [Tooltip("The column of the cell we want to set the value of.")] - public FsmInt col; - [Tooltip("The row of the cell we want to set the value of.")] - public FsmInt row; - - [Tooltip("The value we want to save.")] - [UIHint(UIHint.Variable)] - public FsmVar value; - - public override void OnReset() - { - value = null; - } - - public override void Enter() - { - value.SetValue(es3Spreadsheet.GetCell(value.RealType, col.Value, row.Value)); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Saves the ES3Spreadsheet to file.")] - public class ES3SpreadsheetSave : ES3SpreadsheetSettingsAction - { - [Tooltip("The filename or path we want to use to save the spreadsheet.")] - public FsmString filePath; - [Tooltip("Whether we want to append this spreadsheet to an existing spreadsheet if one already exists.")] - public FsmBool append; - - public override void OnReset() - { - filePath = "ES3.csv"; - append = false; - } - - public override void Enter() - { - es3Spreadsheet.Save(filePath.Value, GetSettings(), append.Value); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Loads a a spreadsheet from a file into this ES3Spreadsheet.")] - public class ES3SpreadsheetLoad : ES3SpreadsheetSettingsAction - { - [Tooltip("The filename or path we want to use to save the spreadsheet.")] - public FsmString filePath; - - public override void OnReset() - { - filePath = "ES3.csv"; - - } - - public override void Enter() - { - es3Spreadsheet.Load(filePath.Value, GetSettings()); - } - } - #endregion - - #region ES3File Actions - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Creates a new ES3File, and optionally loads a file from storage into it.")] - public class ES3FileCreate : ES3FileSettingsAction - { - [Tooltip("The relative or absolute path of the file this ES3File represents in storage.")] - public FsmString filePath; - [Tooltip("Whether we should sync this ES3File with the one in storage immediately after creating it.")] - public FsmBool syncWithFile; - - public override void OnReset() - { - filePath = "SaveFile.es3"; - syncWithFile = true; - } - - public override void Enter() - { - var file = ScriptableObject.CreateInstance(); - file.file = new ES3File(filePath.Value, GetSettings(), syncWithFile.Value); - fsmES3File.Value = file; - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Synchronises this ES3File with a file in storage.")] - public class ES3FileSync : ES3FileSettingsAction - { - [Tooltip("The relative or absolute path of the file we want to synchronise with in storage.")] - public FsmString filePath; - - public override void OnReset() - { - filePath = "SaveFile.es3"; - } - - public override void Enter() - { - if (overrideDefaultSettings.Value) - es3File.Sync(GetSettings()); - else - es3File.Sync(); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Saves the value to the ES3File with the given key.")] - public class ES3FileSave : ES3FileAction - { - [Tooltip("The unique key we want to use to identity the data we are saving.")] - public FsmString key; - [Tooltip("The value we want to save.")] - [UIHint(UIHint.Variable)] - public FsmVar value; - - public override void OnReset() - { - key = "key"; - value = null; - } - - public override void Enter() - { - value.UpdateValue(); - es3File.Save(key.Value, value.GetValue()); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Loads a value with the given key from the ES3File")] - public class ES3FileLoad : ES3FileAction - { - [Tooltip("The unique key which identifies the data we're loading.")] - public FsmString key; - [Tooltip("The variable we want to use to store our loaded data.")] - [UIHint(UIHint.Variable)] - public FsmVar value; - [Tooltip("Optional: A value to return if the key does not exist.")] - [UIHint(UIHint.Variable)] - public FsmVar defaultValue; - - public override void OnReset() - { - key = "key"; - value = null; - defaultValue = null; - } - - public override void Enter() - { - defaultValue.UpdateValue(); - if (defaultValue.GetValue() != null && !defaultValue.IsNone) - value.SetValue(es3File.Load(key.Value, defaultValue.GetValue())); - else - value.SetValue(es3File.Load(key.Value)); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Loads a value with the given key from the ES3File into an existing object")] - public class ES3FileLoadInto : ES3FileAction - { - [Tooltip("The unique key which identifies the data we're loading.")] - public FsmString key; - [Tooltip("The variable we want to load our data into.")] - [UIHint(UIHint.Variable)] - public FsmVar value; - - public override void OnReset() - { - key = "key"; - value = null; - } - - public override void Enter() - { - value.UpdateValue(); - es3File.LoadInto(key.Value, value.GetValue()); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Loads the entire ES3 File as a string")] - public class ES3FileLoadRawString : ES3FileAction - { - [Tooltip("The FsmArray variable we want to use to store our string representing the file.")] - public FsmString str; - [Tooltip("Whether or not the data we're loading is Base-64 encoded. Usually this should be left unchecked.")] - public FsmBool useBase64Encoding; - - public override void OnReset() - { - str = null; - useBase64Encoding = false; - } - - public override void Enter() - { - if (useBase64Encoding.Value) - str.Value = System.Convert.ToBase64String(es3File.LoadRawBytes()); - else - str.Value = es3File.LoadRawString(); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Deletes a key from an ES3 File.")] - public class ES3FileDeleteKey : ES3FileAction - { - [Tooltip("The key we want to delete.")] - public FsmString key; - - public override void OnReset() - { - key = "key"; - } - - public override void Enter() - { - es3File.DeleteKey(key.Value); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Checks whether a key exists in an ES3File.")] - public class ES3FileKeyExists : ES3FileAction - { - [Tooltip("The key we want to check the existence of.")] - public FsmString key; - [Tooltip("Whether the key exists. This is set after the action runs.")] - public FsmBool exists; - - [Tooltip("This event is triggered if the key exists.")] - public FsmEvent existsEvent; - [Tooltip("This event is triggered if the key does not exist.")] - public FsmEvent doesNotExistEvent; - - public override void OnReset() - { - key = "key"; - exists = false; - existsEvent = null; - doesNotExistEvent = null; - } - - public override void Enter() - { - exists.Value = es3File.KeyExists(key.Value); - - if (exists.Value && existsEvent != null) - Fsm.Event(existsEvent); - else if (doesNotExistEvent != null) - Fsm.Event(doesNotExistEvent); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Gets an array of key names from an ES3File.")] - public class ES3FileGetKeys : ES3FileAction - { - [Tooltip("The string array variable we want to load our key names into.")] - [ArrayEditor(VariableType.String)] - public FsmArray keys; - - public override void OnReset() - { - keys = null; - } - - public override void Enter() - { - keys.Values = es3File.GetKeys(); - keys.SaveChanges(); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Clears all keys from an ES3File.")] - public class ES3FileClear : ES3FileAction - { - public override void OnReset() { } - - public override void Enter() - { - es3File.Clear(); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Gets an array of key names from a file.")] - public class ES3FileSize : ES3FileAction - { - [Tooltip("The variable we want to put the file size into.")] - public FsmInt size; - - public override void OnReset() - { - size = 0; - } - - public override void Enter() - { - size.Value = es3File.Size(); - } - } - - #endregion - - #region ES3Cloud Actions - -#if !DISABLE_WEB - public abstract class ES3CloudAction : SettingsAction - { - [Tooltip("The URL to the ES3Cloud.php file on your server.")] - [RequiredField] - public FsmString url; - [Tooltip("The API key generated when installing ES3 Cloud on your server.")] - [RequiredField] - public FsmString apiKey; - - [Tooltip("The ES3File variable we're using.")] - [ObjectType(typeof(FsmES3File))] - [Title("ES3 File")] - [RequiredField] - public FsmObject fsmES3File; - - public ES3File es3File { get { return ((FsmES3File)fsmES3File.Value).file; } } - - [Tooltip("An error code if an error occurred.")] - public FsmInt errorCode; - - protected ES3Cloud cloud = null; - - public override void OnReset() - { - url = "http://www.myserver.com/ES3Cloud.php"; - errorCode = 0; - cloud = null; - fsmES3File = null; - } - - public override void OnEnter() - { - try - { - CreateES3Cloud(); - Enter(); - } - catch (System.Exception e) - { - HandleError(e.ToString()); - } - } - - public override void OnUpdate() - { - base.OnUpdate(); - if (cloud.isDone) - { - if (cloud.isError) - { - errorCode.Value = (int)cloud.errorCode; - errorMessage.Value = cloud.error; - Log("Error occurred when trying to perform operation with ES3Cloud: [Error " + cloud.errorCode + "] " + cloud.error); - Fsm.Event(errorEvent); - } - else - Finish(); - } - } - - protected void CreateES3Cloud() - { - cloud = new ES3Cloud(url.Value, apiKey.Value); - } - } - - public abstract class ES3CloudUserAction : ES3CloudAction - { - public FsmString user; - public FsmString password; - - public override void OnReset() - { - base.OnReset(); - user = ""; - password = ""; - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Synchronises a file in storage with the server.")] - public class ES3CloudSync : ES3CloudUserAction - { - public override void Enter() - { - var settings = GetSettings(); - StartCoroutine(cloud.Sync(path.Value, settings)); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Uploads a file in storage to the server, overwriting any existing files.")] - public class ES3CloudUploadFile : ES3CloudUserAction - { - public override void Enter() - { - var settings = GetSettings(); - StartCoroutine(cloud.UploadFile(path.Value, user.Value, password.Value, settings)); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Uploads a file in storage to the server, overwriting any existing files.")] - public class ES3CloudUploadES3File : ES3CloudUserAction - { - public override void Enter() - { - var settings = GetSettings(); - StartCoroutine(cloud.UploadFile(es3File, user.Value, password.Value)); - } - } - - [ActionCategory("Deprecated Easy Save 3 actions")] - [Tooltip("Downloads a file from the server, overwriting any existing files, or returning error code 3 if no file exists on the server.")] - public class ES3CloudDownloadES3File : ES3CloudUserAction - { - public override void Enter() - { - var settings = GetSettings(); - StartCoroutine(cloud.DownloadFile(es3File, user.Value, password.Value)); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Downloads a file from the server into an file, or returning error code 3 if no file exists on the server.")] - public class ES3CloudDownloadFile : ES3CloudUserAction - { - public override void Enter() - { - var settings = GetSettings(); - StartCoroutine(cloud.DownloadFile(path.Value, user.Value, password.Value, settings)); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Downloads a file from the server, overwriting any existing files, or returning error code 3 if no file exists on the server.")] - public class ES3CloudDeleteFile : ES3CloudUserAction - { - public override void Enter() - { - var settings = GetSettings(); - StartCoroutine(cloud.DeleteFile(path.Value, user.Value, password.Value, settings)); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Renames a file on the server, overwriting any existing files, or returning error code 3 if no file exists on the server.")] - public class ES3CloudRenameFile : ES3CloudUserAction - { - [Tooltip("The name we want to rename the file to.")] - public FsmString newFilename; - - public override void Enter() - { - var settings = GetSettings(); - StartCoroutine(cloud.RenameFile(path.Value, newFilename.Value, user.Value, password.Value, settings)); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Downloads the names of all of the files on the server for the given user.")] - public class ES3CloudDownloadFilenames : ES3CloudUserAction - { - [Tooltip("The string array variable we want to load our file names into.")] - [ArrayEditor(VariableType.String)] - public FsmArray filenames; - - [Tooltip("An optional search pattern containing '%' or '_' wildcards where '%' represents zero, one, or multiple characters, and '_' represents a single character. See https://www.w3schools.com/sql/sql_like.asp for more info.")] - public FsmString searchPattern; - - public override void OnReset() - { - filenames = null; - searchPattern = ""; - } - - public override void Enter() - { - StartCoroutine(cloud.SearchFilenames(searchPattern.Value, user.Value, password.Value)); - } - - public override void OnUpdate() - { - if (cloud != null && cloud.isDone) - { - var downloadedFilenames = cloud.filenames; - filenames.Resize(cloud.filenames.Length); - for (int i = 0; i < downloadedFilenames.Length; i++) - filenames.Set(i, downloadedFilenames[i]); - filenames.SaveChanges(); - } - base.OnUpdate(); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Downloads the names of all of the files on the server for the given user.")] - public class ES3CloudSearchFilenames : ES3CloudUserAction - { - [Tooltip("The string array variable we want to load our file names into.")] - [ArrayEditor(VariableType.String)] - public FsmArray filenames; - - [Tooltip("An optional search pattern containing '%' or '_' wildcards where '%' represents zero, one, or multiple characters, and '_' represents a single character. See https://www.w3schools.com/sql/sql_like.asp for more info.")] - public FsmString searchPattern; - - public override void OnReset() - { - filenames = null; - searchPattern = ""; - } - - public override void Enter() - { - StartCoroutine(cloud.SearchFilenames(searchPattern.Value, user.Value, password.Value)); - } - - public override void OnUpdate() - { - if (cloud != null && cloud.isDone) - { - var downloadedFilenames = cloud.filenames; - filenames.Resize(cloud.filenames.Length); - for (int i = 0; i < downloadedFilenames.Length; i++) - filenames.Set(i, downloadedFilenames[i]); - filenames.SaveChanges(); - } - base.OnUpdate(); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Determines when a file was last updated.")] - public class ES3CloudDownloadTimestamp : ES3CloudUserAction - { - [Tooltip("The Date and time the file was last updated, as a string formatted as yyyy-MM-ddTHH:mm:ss.")] - public FsmString timestamp; - - public override void OnReset() - { - timestamp = ""; - } - - public override void Enter() - { - StartCoroutine(cloud.DownloadFilenames(user.Value, password.Value)); - } - - public override void OnUpdate() - { - if (cloud != null && cloud.isDone) - timestamp = cloud.timestamp.ToString("s"); - base.OnUpdate(); - } - } - -#endif - #endregion - - #region ES3AutoSave actions - - [ActionCategory("Easy Save 3")] - [Tooltip("Triggers Auto Save's Save method.")] - public class ES3AutoSaveSave : FsmStateAction - { - public override void OnEnter() - { - GameObject.Find("Easy Save 3 Manager").GetComponent().Save(); - Finish(); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Triggers Auto Save's Load method.")] - public class ES3AutoSaveLoad : FsmStateAction - { - public override void OnEnter() - { - GameObject.Find("Easy Save 3 Manager").GetComponent().Load(); - Finish(); - } - } - - #endregion - - #region ES3Cache actions - - [ActionCategory("Easy Save 3")] - [Tooltip("Caches a locally-stored file into memory.")] - public class CacheFile : SettingsAction - { - [Tooltip("The filename or file path of the file we want to cache.")] - public FsmString filePath; - - public override void OnReset() - { - filePath = "SaveFile.es3"; - } - - public override void Enter() - { - ES3.CacheFile(filePath.Value, GetSettings()); - } - } - - [ActionCategory("Easy Save 3")] - [Tooltip("Stores a file in the cache to a local file.")] - public class StoreCachedFile : SettingsAction - { - [Tooltip("The filename or file path of the file we want to store.")] - public FsmString filePath; - - public override void OnReset() - { - filePath = "SaveFile.es3"; - } - - public override void Enter() - { - ES3.StoreCachedFile(filePath.Value, GetSettings()); - } - } - - #endregion - - public class PMDataWrapper - { - public Dictionary objs = null; - public Dictionary arrays = null; - - public object obj = null; - public object[] array = null; - - public PMDataWrapper(Fsm fsm, bool fsmVariables, bool globalVariables) - { - objs = new Dictionary(); - arrays = new Dictionary(); - - if (fsm == null) - return; - - // Get FSMVariables objects required based on whether the user wants to save local variables, global variables or both. - var variableLists = new List(); - if (fsmVariables) - variableLists.Add(fsm.Variables); - if (globalVariables) - variableLists.Add(FsmVariables.GlobalVariables); - - foreach (var variableList in variableLists) - { - foreach (var fsmVariable in variableList.GetAllNamedVariables()) - { - if (string.IsNullOrEmpty(fsmVariable.Name)) - continue; - - if (fsmVariable.GetType() == typeof(FsmArray)) - arrays.Add(fsmVariable.Name, ((FsmArray)fsmVariable).Values); - else - objs.Add(fsmVariable.Name, fsmVariable.RawValue); - } - } - } - - public PMDataWrapper(Dictionary objs, Dictionary arrays) - { - this.objs = objs; - this.arrays = arrays; - } - - public PMDataWrapper(object obj) - { - this.obj = obj; - } - - public PMDataWrapper(object[] array) - { - this.array = array; - } - - public PMDataWrapper() { } - - public void ApplyVariables(Fsm fsm, bool fsmVariables, bool globalVariables) - { - // Get FSMVariables objects required based on whether the user wants to save local variables, global variables or both. - var variableLists = new List(); - - if (fsmVariables) - variableLists.Add(fsm.Variables); - if (globalVariables) - variableLists.Add(FsmVariables.GlobalVariables); - - foreach (var variableList in variableLists) - { - foreach (var fsmVariable in variableList.GetAllNamedVariables()) - { - if (fsmVariable.GetType() == typeof(FsmArray)) - { - if (arrays.ContainsKey(fsmVariable.Name)) - ((FsmArray)fsmVariable).Values = arrays[fsmVariable.Name]; - } - else - { - if (objs.ContainsKey(fsmVariable.Name)) - fsmVariable.RawValue = objs[fsmVariable.Name]; - } - } - } - } - } -} - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3Properties("objs", "arrays", "obj", "array")] - public class ES3Type_PMDataWrapper : ES3ObjectType - { - public static ES3Type Instance = null; - - public ES3Type_PMDataWrapper() : base(typeof(ES3PlayMaker.PMDataWrapper)) { Instance = this; priority = 1; } - - - protected override void WriteObject(object obj, ES3Writer writer) - { - var instance = (ES3PlayMaker.PMDataWrapper)obj; - - writer.WriteProperty("objs", instance.objs); - writer.WriteProperty("arrays", instance.arrays); - writer.WriteProperty("obj", instance.obj); - writer.WriteProperty("array", instance.array); - } - - protected override void ReadObject(ES3Reader reader, object obj) - { - var instance = (ES3PlayMaker.PMDataWrapper)obj; - foreach (string propertyName in reader.Properties) - { - switch (propertyName) - { - - case "objs": - instance.objs = reader.Read>(); - break; - case "arrays": - instance.arrays = reader.Read>(); - break; - case "obj": - instance.obj = reader.Read(); - break; - case "array": - instance.array = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - - protected override object ReadObject(ES3Reader reader) - { - var instance = new ES3PlayMaker.PMDataWrapper(); - ReadObject(reader, instance); - return instance; - } - } - - [UnityEngine.Scripting.Preserve] - [ES3Properties("ActiveStateName")] - public class ES3Type_Fsm : ES3ObjectType - { - public static ES3Type Instance = null; - - public ES3Type_Fsm() : base(typeof(Fsm)) { Instance = this; priority = 1; } - - - protected override void WriteObject(object obj, ES3Writer writer) - { - var instance = (Fsm)obj; - writer.WriteProperty("ActiveStateName", instance.ActiveStateName, ES3Type_string.Instance); - writer.WriteProperty("Variables", new ES3PlayMaker.PMDataWrapper(instance, true, false), ES3Type_PMDataWrapper.Instance); - } - - protected override void ReadObject(ES3Reader reader, object obj) - { - var instance = (Fsm)obj; - if(!instance.Initialized) - { - // Toggle FSM Component twice to trigger initialisation. - instance.FsmComponent.enabled = !instance.FsmComponent.enabled; - instance.FsmComponent.enabled = !instance.FsmComponent.enabled; - } - - foreach (string propertyName in reader.Properties) - { - switch (propertyName) - { - case "ActiveStateName": - instance.SetState(reader.Read(ES3Type_string.Instance)); - break; - case "Variables": - reader.Read(ES3Type_PMDataWrapper.Instance).ApplyVariables(instance, true, false); - break; - } - } - } - - protected override object ReadObject(ES3Reader reader) - { - var instance = new HutongGames.PlayMaker.Fsm(); - ReadObject(reader, instance); - return instance; - } - } - - [UnityEngine.Scripting.Preserve] - [ES3Properties("Fsm")] - public class ES3Type_PlayMakerFSM : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_PlayMakerFSM() : base(typeof(PlayMakerFSM)) { Instance = this; priority = 1; } - - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (PlayMakerFSM)obj; - - writer.WriteProperty("enabled", instance.enabled); - writer.WriteProperty("Fsm", instance.Fsm, ES3Type_Fsm.Instance); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (PlayMakerFSM)obj; - foreach (string propertyName in reader.Properties) - { - switch (propertyName) - { - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "Fsm": - reader.ReadInto(instance.Fsm); - break; - default: - reader.Skip(); - break; - } - } - } - } -} - - -#endif diff --git a/Assets/Plugins/Easy Save 3/PlayMaker/ES3PlayMaker.cs.meta b/Assets/Plugins/Easy Save 3/PlayMaker/ES3PlayMaker.cs.meta deleted file mode 100644 index 4f8898aec..000000000 --- a/Assets/Plugins/Easy Save 3/PlayMaker/ES3PlayMaker.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 5989e48214df74e2b9cced724ec2e5c8 -timeCreated: 1497259720 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Resources.meta b/Assets/Plugins/Easy Save 3/Resources.meta deleted file mode 100644 index f7f6a639e..000000000 --- a/Assets/Plugins/Easy Save 3/Resources.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 197420a17b8490549969242560c3e311 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Resources/ES3.meta b/Assets/Plugins/Easy Save 3/Resources/ES3.meta deleted file mode 100644 index 1dd1d10aa..000000000 --- a/Assets/Plugins/Easy Save 3/Resources/ES3.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 88498af342cfb174991a1176597cb329 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Resources/ES3/ES3Defaults.asset b/Assets/Plugins/Easy Save 3/Resources/ES3/ES3Defaults.asset deleted file mode 100644 index 883d70982..000000000 --- a/Assets/Plugins/Easy Save 3/Resources/ES3/ES3Defaults.asset +++ /dev/null @@ -1,64 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 7b340139c9e4d054f904d8b452798652, type: 3} - m_Name: ES3Defaults - m_EditorClassIdentifier: - settings: - _location: 0 - path: SaveFile.es3 - encryptionType: 0 - compressionType: 0 - encryptionPassword: password - directory: 0 - format: 0 - prettyPrint: 1 - bufferSize: 2048 - saveChildren: 1 - typeChecking: 1 - safeReflection: 1 - memberReferenceMode: 0 - referenceMode: 2 - serializationDepthLimit: 64 - assemblyNames: - - Assembly-CSharp-firstpass - - FluXYEditor - - Assembly-CSharp - - CodeStage.AFPSCounter.Runtime - - NavMeshComponents - - Boxophobic.Utils.Editor - - FullSerializer - - fluxy - - StompyRobot.SRDebugger - - PPv2URPConverters - - Boxophobic.AtmosphericHeightFog.Editor - - Sirenix.OdinInspector.Modules.UnityLocalization.Editor - - StompyRobot.SRF.Editor - - LeanCommon - - StompyRobot.SRF - - CodeStage.AFPSCounter.Editor - - JetBrains.Frontend.2021.2 - - Boxophobic.AtmosphericHeightFog.Runtime - - StompyRobot.SRDebugger.Editor - - Boxophobic.Utils.Scripts - - LeanPool - - NavMeshComponentsEditor - - Sirenix.OdinInspector.Modules.Unity.Addressables - - CodeStage.AFPSCounter.Examples - - Sirenix.OdinInspector.Modules.UnityMathematics - - Sirenix.OdinInspector.Modules.UnityLocalization - showAdvancedSettings: 0 - addMgrToSceneAutomatically: 0 - autoUpdateReferences: 1 - addAllPrefabsToManager: 1 - logDebugInfo: 0 - logWarnings: 1 - logErrors: 1 diff --git a/Assets/Plugins/Easy Save 3/Resources/ES3/ES3Defaults.asset.meta b/Assets/Plugins/Easy Save 3/Resources/ES3/ES3Defaults.asset.meta deleted file mode 100644 index b9697a45e..000000000 --- a/Assets/Plugins/Easy Save 3/Resources/ES3/ES3Defaults.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2412c75b5dbe2354a9ca7f986b1b1a83 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 11400000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Resources/ES3/ES3GlobalReferences.asset b/Assets/Plugins/Easy Save 3/Resources/ES3/ES3GlobalReferences.asset deleted file mode 100644 index 24f3b9f1b..000000000 --- a/Assets/Plugins/Easy Save 3/Resources/ES3/ES3GlobalReferences.asset +++ /dev/null @@ -1,3454 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: e6b16dc7c203450459bb86e24305f9ca, type: 3} - m_Name: ES3GlobalReferences - m_EditorClassIdentifier: - refId: - _Keys: - - {fileID: 11500000, guid: d219cbd80bc575546b15442cc24cdd4f, type: 3} - - {fileID: 11500000, guid: 946a41ce32f9a4e4f896b685aab95dae, type: 3} - - {fileID: 11500000, guid: f8a6ee24d8c766042b403d33a08151b1, type: 3} - - {fileID: 11500000, guid: ff0e67f647fb142a58d90037c879ef73, type: 3} - - {fileID: 11500000, guid: c11b181c688f7664aba8ba5b38942ac9, type: 3} - - {fileID: 11500000, guid: c0befb9e9384ab34d9dfc9d3cabf04b3, type: 3} - - {fileID: 11500000, guid: 7d9f5cbc13dc5664d808c0c462cb1f5d, type: 3} - - {fileID: 11500000, guid: e673785925c433840a8a84c4bc9241a4, type: 3} - - {fileID: 11500000, guid: 2a58b476acd5d6247af1b4a161379608, type: 3} - - {fileID: 11500000, guid: 724e798a22aebea45a44f42d9136c16d, type: 3} - - {fileID: 11500000, guid: 76c392e42b5098c458856cdf6ecaaaa1, type: 3} - - {fileID: 11500000, guid: e3c7f219cb56b214aa98f82620c5122a, type: 3} - - {fileID: 6009309619418512626, guid: 0777fe67e9dd8db43a69f5f1a460a62c, type: 3} - - {fileID: 8400000, guid: d98b0a5548ea65144826f134afb39a28, type: 2} - - {fileID: 11500000, guid: 4f231c4fb786f3946a6b90b886c48677, type: 3} - - {fileID: 11500000, guid: 1511ccae7919cfc46b603b9b337fdc94, type: 3} - - {fileID: 11500000, guid: 3166bc33d5b493041b5a6f257849213c, type: 3} - - {fileID: 2100000, guid: 439f45617af024b1a8d047a8728b80e2, type: 2} - - {fileID: 2100000, guid: d184b96bfbbef8e419ef089aecc67ccd, type: 2} - - {fileID: 11500000, guid: 681f38241faf16841b8029798fc1835f, type: 3} - - {fileID: 11500000, guid: 0cd44c1031e13a943bb63640046fad76, type: 3} - - {fileID: 11500000, guid: 0acb5e1fcdd20af4f95c242302d4707c, type: 3} - - {fileID: 11500000, guid: 960b704da69295a49a7f427c1cec32d0, type: 3} - - {fileID: -5612299106346256852, guid: 9a44c7cbab0f9774286dea25141fc3d5, type: 3} - - {fileID: 2100000, guid: 0665a6103bb30864aaa9361c7d84376b, type: 2} - - {fileID: -5612299106346256852, guid: 7130152102ad12245a10f4b6b8a93db9, type: 3} - - {fileID: 2100000, guid: a60495391302148fb90b96bff8c21880, type: 2} - - {fileID: 10209, guid: 0000000000000000e000000000000000, type: 0} - - {fileID: 11500000, guid: a79441f348de89743a2939f4d699eac1, type: 3} - - {fileID: 2100000, guid: f1b261d69bc91aa4aa93628e2c525428, type: 2} - - {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3} - - {fileID: 11500000, guid: dc42784cf147c0c48a680349fa168899, type: 3} - - {fileID: 11500000, guid: 289882b0304ec2746a18bc9649b43794, type: 3} - - {fileID: 11500000, guid: 72e2f8d65bad19146a3944e341af32d6, type: 3} - - {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} - - {fileID: 11500000, guid: b52e627af2f815b43ab831a5bea1ce9b, type: 3} - - {fileID: 11500000, guid: de5d5128e3fb05541be0674c5ad8602a, type: 3} - - {fileID: 11500000, guid: 6ca6e266d485bd1429e841fe3d9210ee, type: 3} - - {fileID: 11500000, guid: 31a19414c41e5ae4aae2af33fee712f6, type: 3} - - {fileID: 21300000, guid: 885fe2fa0ea16f64d95bb389b7a9faab, type: 3} - - {fileID: 21300000, guid: 26f181d3d32f3b64b979d91cc2bdb511, type: 3} - - {fileID: 11500000, guid: 7ac5eb24def72d546b0ea00d1b6b0537, type: 3} - - {fileID: 21300000, guid: 32926889b0ba31947aa1a10e6e57545b, type: 3} - - {fileID: 21300000, guid: 84487d73ca4b791498332d8f6858417f, type: 3} - - {fileID: 21300000, guid: 4959c2eda0eec694d8962b5c2291126b, type: 3} - - {fileID: 11500000, guid: 85bf3be603548374ca46f521a3aa7fda, type: 3} - - {fileID: 11500000, guid: eb2d1228e0495b8428f06000531f9c7b, type: 3} - - {fileID: 11500000, guid: 04e2f9dedc4db494892ffe80d08f0120, type: 3} - - {fileID: 11500000, guid: b50bf1651a9a91149834d62aac85dd9c, type: 3} - - {fileID: 21300000, guid: 86ee881716d05d94abf1df217f48173b, type: 3} - - {fileID: 11500000, guid: 40323797dd50f2943ae92401cd47de54, type: 3} - - {fileID: 21300000, guid: 34d9b97040b84cb4691381263e93cbf1, type: 3} - - {fileID: 21300000, guid: 7d306797f92154348b8feff724be9e83, type: 3} - - {fileID: 11500000, guid: 1aa08ab6e0800fa44ae55d278d1423e3, type: 3} - - {fileID: 21300000, guid: 30574ff44e2cc2f43b69a962a8456b79, type: 3} - - {fileID: 11500000, guid: 773c190cc9d1095408e32d0fab6e152a, type: 3} - - {fileID: 21300000, guid: e8e4c0143c8234443ae82dfa5ba4a0a7, type: 3} - - {fileID: 11500000, guid: 5a5473918a168c44fa0294bd4d1399f0, type: 3} - - {fileID: 11500000, guid: 42844a4fccbd54746b90cade4ff70f73, type: 3} - - {fileID: 21300000, guid: 24f4883c1f7c56a4eb39377af6c653f3, type: 3} - - {fileID: 21300000, guid: dc0a2081edc8b65428a5251baa1e3720, type: 3} - - {fileID: 21300000, guid: 193e78e17af89bf47954a5bb244ee2a0, type: 3} - - {fileID: 11500000, guid: 347fd0e08caacc14588906c586b16d21, type: 3} - - {fileID: 21300000, guid: 5b56d9fa0e8bd6e409ed188db38a692c, type: 3} - - {fileID: 21300000, guid: 010a6e5305fa7004f89c5d317b7b47d4, type: 3} - - {fileID: 11500000, guid: d0b148fe25e99eb48b9724523833bab1, type: 3} - - {fileID: 21300000, guid: 4120550217fccc4499efaab8c064dfbc, type: 3} - - {fileID: 11500000, guid: 5ea88a0c448aaea43a76cba23e3c7076, type: 3} - - {fileID: 21300000, guid: a3bd033a37eab52469f1ae1dc69caf5d, type: 3} - - {fileID: 11500000, guid: b0346af2d66cf48ac98773c86b28ab30, type: 3} - - {fileID: 21300000, guid: 3d09538a71c5a834e9e533c8a632f6e3, type: 3} - - {fileID: 21300000, guid: 2a20d7dad8fe6d045981e383b3b2c7d7, type: 3} - - {fileID: 21300000, guid: 8b5080b0200fb5c4a99f6fde50b5f37f, type: 3} - - {fileID: 21300000, guid: 448f2139973a5eb4e961f5bab4164b79, type: 3} - - {fileID: 21300000, guid: fc4664e176149104e9fb502917483f47, type: 3} - - {fileID: 21300000, guid: 1c07298dc091aec4ca8d3d913b1c1092, type: 3} - - {fileID: 11500000, guid: 4eec0c8c848ef634bbd159f21ea11d6e, type: 3} - - {fileID: 21300000, guid: 1618cf21c38a2594cb2887358bf9ad55, type: 3} - - {fileID: 11500000, guid: 77c812308255e374f83c1e475bc0c826, type: 3} - - {fileID: 21300000, guid: 54e7c2dd8e84d1d4ba4ec2c6a63106bc, type: 3} - - {fileID: 11500000, guid: be243386c8ab69d48815d16e0371c557, type: 3} - - {fileID: 11500000, guid: 703702dfc1c31cd44b006456bd2171b8, type: 3} - - {fileID: 11500000, guid: 67db9e8f0e2ae9c40bc1e2b64352a6b4, type: 3} - - {fileID: 21300000, guid: 3ed1a676333f0d64c87f53b206901436, type: 3} - - {fileID: 11500000, guid: b46876ce74e433c4481eecc110474961, type: 3} - - {fileID: 21300000, guid: f981fdad814cbfb43969712c51317bae, type: 3} - - {fileID: 2066778215, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: 197145180, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: -1977548300, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: 201951943, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: 668347628, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: -1835443683, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: -1208845865, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: -299929681, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: -1870778449, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: -1583933223, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: -630735184, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: 1795434094, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: 1636794484, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: -2003083977, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: 1991118208, guid: 9ecda171573e6fa47ae4fe2630ad15a2, type: 3} - - {fileID: 21300000, guid: 8270511eda46c334bafe3d775f5b81ea, type: 3} - - {fileID: 11500000, guid: cfabb0440166ab443bba8876756fdfa9, type: 3} - - {fileID: 21300000, guid: 4e52aa9b6ac680a439290721f2735d5b, type: 3} - - {fileID: 11500000, guid: 19c789670a80b704eba4dfebed94a111, type: 3} - - {fileID: 11500000, guid: 3245ec927659c4140ac4f8d17403cc18, type: 3} - - {fileID: 11500000, guid: 8a8695521f0d02e499659fee002a26c2, type: 3} - - {fileID: 11500000, guid: c4f16c4b770420b428f506bb6420072f, type: 3} - - {fileID: 11500000, guid: 296ebab941d95cc43ad530ff8c2746ad, type: 3} - - {fileID: 21300000, guid: ea7de7dd9ae00994b897a2409b3b43a0, type: 3} - - {fileID: 21300000, guid: b836141d807801d479fef64c081cce97, type: 3} - - {fileID: 21300000, guid: d332d91ecb13eda4cb629e13a840aab6, type: 3} - - {fileID: 21300000, guid: 7d35683a18d4d034c8fb96a044a3b99f, type: 3} - - {fileID: 21300000, guid: a2fc60a95d4309e44982d336f031f49e, type: 3} - - {fileID: 21300000, guid: 5eade9e0d39400e48ae600253e079cc0, type: 3} - - {fileID: 21300000, guid: 70af1da0e0d43db40b07cfa769db3dc0, type: 3} - - {fileID: 11500000, guid: 4884d71b3f11e4e4ab3f1c96df2d3a0e, type: 3} - - {fileID: 8400000, guid: 51f0e56d1946e48e1a09fcbcb1478b02, type: 2} - - {fileID: 11500000, guid: 9a2a696e4a53f9842909da4e6a22b4a1, type: 3} - - {fileID: 21300000, guid: 413991d5a0c74e544bb6eed781c9f3fa, type: 3} - - {fileID: 11500000, guid: 2feb5babe3077224082a3fb4c658cab1, type: 3} - - {fileID: 11500000, guid: e19747de3f5aca642ab2be37e372fb86, type: 3} - - {fileID: 11500000, guid: d0de032eaa7514a4c927cb11b63a87e1, type: 3} - - {fileID: 11500000, guid: 514802d85fb5cf447a2bcffd1100b7e4, type: 3} - - {fileID: 11500000, guid: 306cc8c2b49d7114eaa3623786fc2126, type: 3} - - {fileID: 11500000, guid: 96f2f483d2288b14f8cdb337699bc716, type: 3} - - {fileID: 11500000, guid: e60271a1b1876d54db73197b61b3da4b, type: 3} - - {fileID: 21300000, guid: c8b169cef698b3349bed4b8d0a2d9c76, type: 3} - - {fileID: 11500000, guid: 8be9af57cff30f14f8df1685e6fa05e8, type: 3} - - {fileID: 11500000, guid: 12f0e48c679befd4e8bc6e173a9ba42f, type: 3} - - {fileID: 11500000, guid: 6d2ffed8dbde74e469bc51d16feb1cde, type: 3} - - {fileID: 11500000, guid: 1c9380f123b5a6740adacbee80b81ecf, type: 3} - - {fileID: 7310698609727175809, guid: a52e5958fa7410a42b833b2c74205bf5, type: 3} - - {fileID: 11500000, guid: 5d6ec86508ce3e542b2a822374aad838, type: 3} - - {fileID: 975590790004868671, guid: a52e5958fa7410a42b833b2c74205bf5, type: 3} - - {fileID: 11500000, guid: 3bee75174dd160e45a973d69cd76774e, type: 3} - - {fileID: 11500000, guid: c3f15141142ee6541a36e629b8895f2e, type: 3} - - {fileID: 11500000, guid: ce96bc1c6c8c6c24d800c76bee3962e8, type: 3} - - {fileID: 11500000, guid: 903aed5319659f649affa0ca5e9027e0, type: 3} - - {fileID: 11500000, guid: 90fb639067d504fc69e8ac3a3fa2283e, type: 3} - - {fileID: 11500000, guid: 6b5919d1ff2f84b04b49689cbc343572, type: 3} - - {fileID: 106114, guid: dfea19d1d34dd174d87195f78cb44ae7, type: 3} - - {fileID: 428982, guid: dfea19d1d34dd174d87195f78cb44ae7, type: 3} - - {fileID: 8206458, guid: dfea19d1d34dd174d87195f78cb44ae7, type: 3} - - {fileID: 3658209156100635775, guid: dfea19d1d34dd174d87195f78cb44ae7, type: 3} - - {fileID: 11500000, guid: 19ce6a4d1f67f494f8e871355031f21c, type: 3} - - {fileID: 11400000, guid: 710c74baecce50746bd56b9711c851e7, type: 2} - - {fileID: 11500000, guid: af1c89896f5f7f6439ef1a93a23a0f3d, type: 3} - - {fileID: 24352844, guid: a63f18b704a1b874a8dad30baf0939e6, type: 2} - - {fileID: 24100000, guid: a63f18b704a1b874a8dad30baf0939e6, type: 2} - - {fileID: 135586, guid: 50016857087368141803f41af4837830, type: 3} - - {fileID: 449932, guid: 50016857087368141803f41af4837830, type: 3} - - {fileID: 198367197439351486, guid: 50016857087368141803f41af4837830, type: 3} - - {fileID: 199617081577422180, guid: 50016857087368141803f41af4837830, type: 3} - - {fileID: 4860719436311668826, guid: 50016857087368141803f41af4837830, type: 3} - - {fileID: 184202, guid: b8cf3efdf419ad74f8c0f66ab6418371, type: 3} - - {fileID: 423458, guid: b8cf3efdf419ad74f8c0f66ab6418371, type: 3} - - {fileID: 120084, guid: b8cf3efdf419ad74f8c0f66ab6418371, type: 3} - - {fileID: 408476, guid: b8cf3efdf419ad74f8c0f66ab6418371, type: 3} - - {fileID: 3357720, guid: b8cf3efdf419ad74f8c0f66ab6418371, type: 3} - - {fileID: 2390346, guid: b8cf3efdf419ad74f8c0f66ab6418371, type: 3} - - {fileID: 11400000, guid: 1feacd43f26e04356938fc82359fd0fd, type: 2} - - {fileID: 24304546, guid: a63f18b704a1b874a8dad30baf0939e6, type: 2} - - {fileID: 1678548640217095278, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1683891950666338728, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1553609107995662754, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1553150583869776250, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 2973477394977615390, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1678228708011293770, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1675869575244828244, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1581284607119439720, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1551617487567916976, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1677855659393253020, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1684258405072829056, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1553723632430995876, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 1552204858184893018, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 6251399936462656699, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 6257337771677513239, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 6054633300048448707, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 6054191442948844957, guid: c75853e4b1c0548db86b72cd0e7e85a7, type: 3} - - {fileID: 11400000, guid: 504809ebaf6b9ad49a8167ccc5e62729, type: 2} - - {fileID: 24329260, guid: a63f18b704a1b874a8dad30baf0939e6, type: 2} - - {fileID: 11400000, guid: 4829d3f3f836f18438f3704d11f0eff4, type: 2} - - {fileID: 24300002, guid: a63f18b704a1b874a8dad30baf0939e6, type: 2} - - {fileID: 11400000, guid: 6dc19059c62a67a4fa30f7c74b3758fe, type: 2} - - {fileID: 24319482, guid: a63f18b704a1b874a8dad30baf0939e6, type: 2} - - {fileID: 11500000, guid: 1b04f4ac1b776ff48b5f78a97b57f776, type: 3} - - {fileID: 11500000, guid: 47c91cac344662340bbbedbdbed00328, type: 3} - - {fileID: 11500000, guid: 199468301fd6b7f44a3d8c70cfdb7ef8, type: 3} - - {fileID: 11500000, guid: 04fcf3aba7782a94e9ad337e474800d7, type: 3} - - {fileID: 11500000, guid: bacee119babfc304893f20112fef219e, type: 3} - - {fileID: 11500000, guid: bf9481d631e872c45a9f702509a148ff, type: 3} - - {fileID: 11500000, guid: a64578247383140469c45370654a984a, type: 3} - - {fileID: 11500000, guid: 772107c9746950844a710cc7a290c481, type: 3} - - {fileID: 11500000, guid: 0c899754657cb8e46b8fb8f4d3d100f6, type: 3} - - {fileID: 11500000, guid: 7d2c95dd758dfa4469068df6a1432f05, type: 3} - - {fileID: 11500000, guid: 76140d510bbdefb478978b681718f7f7, type: 3} - - {fileID: 11500000, guid: 61a5d2516d5dbbc40b1cfb5cbf17758a, type: 3} - - {fileID: 11500000, guid: 26c38e59977899d4d9262b7030ec6037, type: 3} - - {fileID: 11400000, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 11500000, guid: 7e478fc315891a642a3404b009efdcb4, type: 3} - - {fileID: 5801502803907244891, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 11500000, guid: f26af1dba799d7b438a8964126ada88a, type: 3} - - {fileID: -2409759151940523796, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 6989620729561440325, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 1781826418941282185, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 424222006736511303, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -2809320837440750377, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -5284223247596568797, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 3860630501286070527, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 8427092618361629728, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 6125834244700920006, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -8557749176825954510, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -905505900589309617, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -44836684551731795, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 3873069099292215003, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -8703186651568830501, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 6208423833950054706, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 3336091942421376108, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 4495389452640389738, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 87546113051366971, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 7883573433676146619, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 7878908803364926336, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 6943909457763162876, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 7819268824832613041, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -9139387808836863408, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -8469267841622304186, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 3124239306778964077, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -3102348201533480080, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 2150916537043666472, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 6712575813526186265, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -6302201771665074169, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -6563942001369170306, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -5653072771096038983, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -2792900804547928783, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -2906799403303019598, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -8285804715496570051, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -9138741301675327440, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 9149568378937418198, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -1684512562591848222, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -3147772885137762864, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -3592289572791496475, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -2835227746598042288, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -1163402355273614350, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -2831053574344628925, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -1028626922916108082, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -1125667729160370068, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 13007762861001616, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 2684766296097399597, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -7152839618003666802, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -8276636042665942026, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -947163322294847776, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -1356508660139716399, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 1800519289309920350, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -7041347636213233372, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -909984391609721874, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -2805238121601281655, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -2697427477824416703, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 5979849192808640442, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -3353535604596829788, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 4576850566065375861, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 5632069040499980227, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 1969065719110556984, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 7246819747924727621, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 3697267583768583728, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 667562050498630736, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 405335540447297436, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -1060600930460458466, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 5101580558824472937, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -6940598385148018998, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 3560255070849097177, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -4193931387133698136, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -3565300860428188034, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -7512949328292981153, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 5240784995596966235, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -2210051586068754171, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -1549421890360317390, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -7218115488314496834, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 6586758291722319777, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 8563525187528908387, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 6004907425105508957, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -5026952085712014989, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 3179097177637772917, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -3691585717047093044, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -3318540313154364648, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -3754029653577951686, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 4219115801611419077, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -6875364213720260116, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 8302154423809372036, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 670942098396056090, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -8156542193558243664, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -404345054904886078, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 5579422866429790965, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 4693779490238439793, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 42853089170217306, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 5246864980739031576, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 95561586271533144, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: -5307908156765189853, guid: d916b1c1481a4c64086804fe5b61503e, type: 2} - - {fileID: 11500000, guid: 4d728079bcfed864496d09a8218eab5c, type: 3} - - {fileID: 11500000, guid: ae185a2e8b46de541b098b8431c16892, type: 3} - - {fileID: 11500000, guid: 70eeb27cb7e80ab46b21e7f4cbf40a06, type: 3} - - {fileID: 11500000, guid: 393a4106eb54f894a900c48422883d15, type: 3} - - {fileID: 11500000, guid: 04017b2ab6f16ed4197f67a9325bbfb0, type: 3} - - {fileID: 11500000, guid: 5a7ad1452932a894db48feec166a9af5, type: 3} - - {fileID: 11500000, guid: 36138d381604cee42b20fdb291a57157, type: 3} - - {fileID: 11500000, guid: fecbce1a476c20347b3600218eef8375, type: 3} - - {fileID: 11500000, guid: 1e934de1a262c41478a844f227d499e3, type: 3} - - {fileID: 11500000, guid: 5385761ac2cd4ab47950caf057c2d35f, type: 3} - - {fileID: 11500000, guid: 1af33a602e20a3d4ca46c8a6ef942618, type: 3} - - {fileID: 11500000, guid: 38b9f160099a9484b936b7192dd82968, type: 3} - - {fileID: 11500000, guid: 7697f53f803ac43e3aa9031374b26b53, type: 3} - - {fileID: 11500000, guid: 213d7c81e06f243fca49077f9682bc22, type: 3} - - {fileID: 11500000, guid: d54715927e1634cb082bf2590d5f8e21, type: 3} - - {fileID: 11400000, guid: 2737071a85dee034c86c3db67bd43df3, type: 2} - - {fileID: 11500000, guid: 641a501636ec3644993211c008d9a8a4, type: 3} - - {fileID: 11500000, guid: 9d3efef3ad62cd548b0f85eb11858ed1, type: 3} - - {fileID: 120346, guid: 806a82bebd2322d48a9c209b06cd1fa4, type: 3} - - {fileID: 494412, guid: 806a82bebd2322d48a9c209b06cd1fa4, type: 3} - - {fileID: 19889756, guid: 806a82bebd2322d48a9c209b06cd1fa4, type: 3} - - {fileID: 19948730, guid: 806a82bebd2322d48a9c209b06cd1fa4, type: 3} - - {fileID: 2100000, guid: 2d324f779821859488f2c38807d7f18d, type: 2} - - {fileID: 82000011888486980, guid: 806a82bebd2322d48a9c209b06cd1fa4, type: 3} - - {fileID: 114000010328022224, guid: 806a82bebd2322d48a9c209b06cd1fa4, type: 3} - - {fileID: 11500000, guid: c97065fcce0140c479f08ad868d95753, type: 3} - - {fileID: 11500000, guid: 2d9120f52babd4b97bd9336e526f34bd, type: 3} - - {fileID: 11500000, guid: cb98dac5055826447b571228d864e02d, type: 3} - - {fileID: 11400000, guid: 47b8e77b36cbf694fb8a015b3b5e413d, type: 2} - - {fileID: 11500000, guid: ac8ffaaee9d402746b7af54743b501e0, type: 3} - - {fileID: 11500000, guid: 30d0a26185466f649a6322f82b4d7d00, type: 3} - - {fileID: 11500000, guid: 859164bce86b35c46a3fb60d08cf0b8a, type: 3} - - {fileID: 1174972919526961668, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 2100000, guid: 3deea56c368bc49b48307ac60297757b, type: 2} - - {fileID: -4112288852777334209, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 3321329325007337911, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 2100000, guid: 1eefd217c85a44c1d864450db720bea7, type: 2} - - {fileID: 7891398600357904348, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 2100000, guid: a0048732ae47ae445bddf7e22d3af358, type: 2} - - {fileID: -6859474867322720223, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 2002638925365408265, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 4798415765980295029, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: -1505758480028328530, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 2100000, guid: 3dfccc3864ec53445a2a8a1abde2d850, type: 2} - - {fileID: 11500000, guid: e3e94570c016fee4798223ecd5b41489, type: 3} - - {fileID: 11500000, guid: ecf72b0980504fa479ffc44710238493, type: 3} - - {fileID: 11500000, guid: 9256e5c1f9898374ba02593b44a701b8, type: 3} - - {fileID: 11500000, guid: a8128e5cba929224c9fbc9a05102806a, type: 3} - - {fileID: 11500000, guid: b8c66636ad12c2848b6b6cf7088e65c4, type: 3} - - {fileID: 7625694984374036406, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7628909102657143766, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7626031055532837168, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7629043039817163538, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7715311493444751262, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7715765920286114720, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7625579430862495558, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7628540094992981740, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7715256469217339766, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7715860073227896082, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7626246502728753660, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7620245488057602932, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7714883660222965726, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7715987426944652140, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7626378074461316094, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7629018000890833072, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7626378348549910616, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7629003846340989874, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7514265745029382552, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7562424483403081278, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7625634337370396522, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7628537224801667408, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7513770252002339712, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7513586033206637194, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7563446871226926972, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7626271436731778684, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7620651824167277972, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 7513590162149962908, guid: 4112d6d5dc810f34492047b0763b8937, type: 3} - - {fileID: 4300000, guid: 4faa2359d909194448519ab0cdf22f83, type: 3} - - {fileID: 11500000, guid: 187eb8ef32374c24785d5602e1a9e723, type: 3} - - {fileID: 4300000, guid: da35c34d49752284692691979af58ecc, type: 3} - - {fileID: 11500000, guid: 5907b343174c72a47b92a577c581a01a, type: 3} - - {fileID: 1048112411660466, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 4226555269313746, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 1489529115328052, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 4396218039604246, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 198750479888398490, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 199205490898826404, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 2100000, guid: 331177b22597f0349b3ba10856affe97, type: 2} - - {fileID: 1073639650322498, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 4033710308289000, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 198801110500580978, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 199404903837381142, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 4300000, guid: bd01af9af6a90434f882b1a3a8de7d4c, type: 3} - - {fileID: 2100000, guid: 5bf0ddb9fbafdd34aad6fccb2eb3f6eb, type: 2} - - {fileID: 1564221961311992, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 4746088684627056, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 198323033220501722, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 199532498806793320, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 2100000, guid: 04413929256b7b34a82dfeda398bf0c4, type: 2} - - {fileID: 1695571382686970, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 4476235094974388, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 1696394219931484, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 4498088409605302, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 114939153827772060, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 82033940434112826, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 1093361823326318, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 4031218098716244, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 114303386829184132, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 114224824493196686, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 11500000, guid: efbd91ddd21360f4c82f8371e5bac4e9, type: 3} - - {fileID: 82914946822287480, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 1588899024990584, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 4976502949061264, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 114263579187577752, guid: b790ca162f1f3044bb4b45f3e40e684f, type: 3} - - {fileID: 11500000, guid: 614680f6bd301be4f8e9007dd0a71604, type: 3} - - {fileID: 10202, guid: 0000000000000000e000000000000000, type: 0} - - {fileID: 2100000, guid: f7fc80047f2657f4696a1a25e3ea05b8, type: 2} - - {fileID: 11500000, guid: 7e21670774e265b4f8fd1a32b2a739a1, type: 3} - - {fileID: 2100000, guid: b2b8521a6a992594aa7aa37dee5c13db, type: 2} - - {fileID: 11500000, guid: a1347817507220a4384f3ff6f7c24546, type: 3} - - {fileID: 11500000, guid: 97fa9d480f3b21744a9ed30ffa97c4d7, type: 3} - - {fileID: 11500000, guid: 9320f3afef659b64cb7316ce3c0bfbab, type: 3} - - {fileID: 132858, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 438612, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 114164986103224734, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 175872, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 425988, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 10877794, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 11421724, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 11500000, guid: 25fb9b9ea5474f04dbab136c8585d48e, type: 3} - - {fileID: 897345868851678895, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 191900, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 400924, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 19872390, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 19943710, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 2100000, guid: c3b282d16bc05754ca65a7252cd4f9e3, type: 2} - - {fileID: 1334918616071252, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 4445501632613290, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 33903512398057408, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 23617080914607400, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 2100000, guid: e4ac557543edcc241ae8bc708d5d8998, type: 2} - - {fileID: 114901421258856732, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 114750654631514788, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 11500000, guid: 6fb14f28e19473c44a41de27336e9cb4, type: 3} - - {fileID: 165024, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 406300, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 11425890, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 11500000, guid: 92d823863b34e4648afb042b39991109, type: 3} - - {fileID: 121640, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 432312, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 138874, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 478538, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 8279336, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 122614, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 452258, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 8214368, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 152074, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 467814, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 8271066, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 11426846, guid: c5cabec71c815b64ab6e2547b594ec81, type: 3} - - {fileID: 11500000, guid: 2e897c7c3dce1d34ba14e52c5bac6c36, type: 3} - - {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0} - - {fileID: 11500000, guid: fb97f58541b05b24ab37661346298ff2, type: 3} - - {fileID: -5808071102615505433, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 5389101589102019761, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 10208, guid: 0000000000000000e000000000000000, type: 0} - - {fileID: 4640484168071937241, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 5157922187333366139, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 8473208620000194347, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: -156182556916539024, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 9102772659311275760, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 1115738411851465713, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 2100000, guid: 9c6479e2825c08a40b7f1e523b13b86f, type: 2} - - {fileID: 8622086865551822961, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 2100000, guid: dd41aebd64df7284fb59103afbd2ef83, type: 2} - - {fileID: 2103409424702686807, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: -7224886455938948265, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 2129227653380107285, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 66946237804199911, guid: 094550b8b687c004998f0ae99d366658, type: 3} - - {fileID: 11500000, guid: 0be38ff6053874dc48014d15398269fa, type: 3} - - {fileID: 10210, guid: 0000000000000000e000000000000000, type: 0} - - {fileID: 2100000, guid: 2cab4974fe51349fbb85e97ea605ec78, type: 2} - - {fileID: 11500000, guid: 083db387159e4394a84fa40aacf40301, type: 3} - - {fileID: 11500000, guid: 0f1f875b3243910488372139226551be, type: 3} - - {fileID: 11500000, guid: a4dd4518c8120c846bbe17b1737b09db, type: 3} - - {fileID: -6975660695105776986, guid: ccb1fce76d21cfa448c54b5ba74c57a2, type: 3} - - {fileID: 11500000, guid: b9605479516c16d47b1133bfd544b860, type: 3} - - {fileID: 3699870952943172572, guid: b81b93eb50b1151479d85ad10eee2e6d, type: 3} - - {fileID: 11500000, guid: c0d4ccae98270cc42bc38bd34909d00a, type: 3} - - {fileID: 11500000, guid: d0b77e64afef9414488c684de2a154ee, type: 3} - - {fileID: 11500000, guid: ca60c3c50ea6fb94fb4f21958c0ebcd9, type: 3} - - {fileID: 21300000, guid: f4c566e70bb7c134f90f0350f16a93f5, type: 3} - - {fileID: 11500000, guid: 4d29e42af8392494783aad52166dbae8, type: 3} - - {fileID: 11500000, guid: 623c00d66c847e44089f5268875ef1c8, type: 3} - - {fileID: 21300000, guid: 75abd9305885cae4597f1212738a180a, type: 3} - - {fileID: 11500000, guid: 2a4db7a114972834c8e4117be1d82ba3, type: 3} - - {fileID: 21300000, guid: 2dd8f7663b73f664182a3c12ee3bc562, type: 3} - - {fileID: 11500000, guid: 375c6028e58bf9745af561d0b34e24c9, type: 3} - - {fileID: 21300000, guid: 67645ef2ed0b61c4c95578700873e9c3, type: 3} - - {fileID: 11500000, guid: 385b7d1277b6c4007a84c065696e0f8c, type: 3} - - {fileID: 21300000, guid: 5a616931b5449a048a98e5d95ccb3b5e, type: 3} - - {fileID: 11500000, guid: 97bc2ebab6563400c95b036136d26ea6, type: 3} - - {fileID: 21300000, guid: 6877c36a41315ec4cbf7e5085e1afda1, type: 3} - - {fileID: 21300000, guid: 93d2b27f74a33804fbd108a9058b1128, type: 3} - - {fileID: 21300000, guid: 7e27776e91ec21946b1905ac6bed3281, type: 3} - - {fileID: 21300000, guid: 599300c15b8d52d4ebd8807a684ce117, type: 3} - - {fileID: 21300000, guid: 6a9d507d0b848834199d9557583cba41, type: 3} - - {fileID: 21300000, guid: 4befe510747d6fb4a9594fbbd6d3f7b3, type: 3} - - {fileID: 21300000, guid: 8704a68cf5c5e49498ed33c7cb5cabd7, type: 3} - - {fileID: 21300000, guid: 5096102bc86ddfb469d8ea183c3c2e23, type: 3} - - {fileID: 21300000, guid: b1da04c85b8e83b4899ed9dcf83df706, type: 3} - - {fileID: 21300000, guid: ec02f3a49fb20d34094d71c8bf38597e, type: 3} - - {fileID: 11500000, guid: c95d3e99bc45c224687eaf96057dbd11, type: 3} - - {fileID: 21300000, guid: a8e6fbe3fbd38014294c948853c1e3ed, type: 3} - - {fileID: 11500000, guid: 8db7ac4e6251e0342a88d8f24e30ebdb, type: 3} - - {fileID: 21300000, guid: e5b85f980b56dd64f8f9109ddc078f09, type: 3} - - {fileID: 21300000, guid: 8fd63fe471a60144db50f65bddcccb91, type: 3} - - {fileID: 21300000, guid: 40ff21d17d67df94eb09974b66361d6a, type: 3} - - {fileID: 11500000, guid: 7c1620188c813094a8091fdafa247bcb, type: 3} - - {fileID: 11500000, guid: 80f7b6a47e4f3704ea2f322db6279aca, type: 3} - - {fileID: 21300000, guid: 5eda94a9dcf71e445ad17e3c065d1460, type: 3} - - {fileID: 11500000, guid: c658b7ceb91603c4abe19f0490cd0b37, type: 3} - - {fileID: 21300000, guid: 050161a4564f51c4fb38fb3c6d7cfce5, type: 3} - - {fileID: 5055728553863201067, guid: 5dd761199ee4b7045a10fd9b79e36026, type: 2} - - {fileID: 24100000, guid: 5dd761199ee4b7045a10fd9b79e36026, type: 2} - - {fileID: 21300000, guid: 23dc4f9bfdcb0984995e1a58909e85d2, type: 3} - - {fileID: 11500000, guid: f67f299b43d99ca4d9a30599207f9ce5, type: 3} - - {fileID: 11500000, guid: 055da46ae8b0fc94c832628652498406, type: 3} - - {fileID: 11500000, guid: e4f573675190bae4dbe3e5f455930d3c, type: 3} - - {fileID: 11500000, guid: 6f164cdc8087d754eaa22c36c178661a, type: 3} - - {fileID: 11500000, guid: e5cafbf3fc29d884db2b49b00b56168f, type: 3} - - {fileID: 11500000, guid: aa1a4ec9b7de0d648b3798aafa0f4f06, type: 3} - - {fileID: 21300000, guid: d7242ba80f5ae3b4db330543f9b3f209, type: 3} - - {fileID: 11500000, guid: 5ad24ffd2eb6fe3488f99268e3f4d746, type: 3} - - {fileID: 11500000, guid: e33be4520c742ce45a32346df4b0c4f2, type: 3} - - {fileID: 11500000, guid: a1b904185704e1f47bc50c541c3a80bc, type: 3} - - {fileID: 11500000, guid: 1e01a30a9b999d64c820407900512fa4, type: 3} - - {fileID: 11500000, guid: 25bc5c49a44f9c345a063f4fc231397f, type: 3} - - {fileID: 11500000, guid: 4cc01b30dd75c8845be20f7add288212, type: 3} - - {fileID: 11400000, guid: 90cf66a871d8da444b909b97a1d59a8e, type: 2} - - {fileID: 11500000, guid: a1c7f039864810a499de01f491321260, type: 3} - - {fileID: 11500000, guid: 605ff11ee57b0c241a82c0c37c40c0bc, type: 3} - - {fileID: 11500000, guid: f6dfed8f866dd4dd78d5e37e4a57badc, type: 3} - - {fileID: 11500000, guid: b8cc87428c178f84b9fc7ed68f7c3264, type: 3} - - {fileID: 11500000, guid: d02d7fc772c5168479e3f345a487d428, type: 3} - - {fileID: 11400000, guid: d9cf652bbbb9e0c40b58b5d59170055a, type: 2} - - {fileID: 11500000, guid: 312629d966d1a40e3874daa93364e1f3, type: 3} - - {fileID: 11500000, guid: 682758059d7c96744ac933502e52c610, type: 3} - - {fileID: 11500000, guid: 02701353b5d771f49a4ed6593fdb8f5b, type: 3} - - {fileID: 11500000, guid: 37134623f0d0b40dd92f9c5a21685700, type: 3} - - {fileID: 11500000, guid: b50edffd47b523f4d81c54b1ecb90e19, type: 3} - - {fileID: 11500000, guid: c9981c8680e1592459742cdeaae0dc53, type: 3} - - {fileID: 11500000, guid: 106f44ecbcb6a904db6ca1a2792b78e6, type: 3} - - {fileID: 732484147708421570, guid: 5dd761199ee4b7045a10fd9b79e36026, type: 2} - - {fileID: 11500000, guid: 8553221e1fc915c49b36f6e633dffaff, type: 3} - - {fileID: 21300000, guid: 3237a9274899acf428bd0033cd9c27d3, type: 3} - - {fileID: 21300000, guid: 2543085bfa25fdf4e83209d086ee24be, type: 3} - - {fileID: 21300000, guid: 1a38bd8eed3a51345a72d1f9dc90012e, type: 3} - - {fileID: 11500000, guid: c437a86bce6693a43bbcc53fcff7bf88, type: 3} - - {fileID: 2100000, guid: ec0289b7457799c4e9f2037ddfadf7cd, type: 2} - - {fileID: 2100000, guid: aea62684817a6f64793a9faf6e710d29, type: 2} - - {fileID: 2100000, guid: d218a79f097046a44889e1ea36a1127b, type: 2} - - {fileID: 2100000, guid: babd491a4acba8d43885eb69fca4ffc7, type: 2} - - {fileID: 11500000, guid: 0e75dffbcd776ca4fbc489eefc4cca4e, type: 3} - - {fileID: 2100000, guid: 01d86e077e5596e4c8ab2328913d9497, type: 2} - - {fileID: 11500000, guid: 060aaf51d064f8745bf57b749470e1da, type: 3} - - {fileID: 11500000, guid: e3f793f94a447ac4e9d042eda23011d4, type: 3} - - {fileID: 11500000, guid: 0b938273e3ad7034594994ebb8692bfd, type: 3} - - {fileID: 11500000, guid: 8f1e5cfb6598640a984e6c3165c4ab9c, type: 3} - - {fileID: 11500000, guid: 53777b1787210af41ac7fcf38fc0f430, type: 3} - - {fileID: 11500000, guid: b609aa313306d43b1a257972d4c7f00a, type: 3} - - {fileID: 11500000, guid: a5bfa2d224a49724b94dd6c24553be35, type: 3} - - {fileID: 2100000, guid: a33be1e1efa8ca14286b77d062313a4e, type: 2} - - {fileID: 11500000, guid: 60254cc56f3d5d04896861196a404996, type: 3} - - {fileID: 21300000, guid: 56ab641b97f0c3e4bbea4f8fea9110bc, type: 3} - - {fileID: 21300000, guid: cfea15071ee3a4543ba205f132c5da33, type: 3} - - {fileID: -5084801887507481868, guid: 0d709d9fef9fd5f41b8fd8a02d394d1f, type: 3} - - {fileID: 637568427875157318, guid: 0d709d9fef9fd5f41b8fd8a02d394d1f, type: 3} - - {fileID: 2707690404895256719, guid: 0d709d9fef9fd5f41b8fd8a02d394d1f, type: 3} - - {fileID: 2100000, guid: bc8356c5742b8074ba4561a42d6dd7c6, type: 2} - - {fileID: 4300000, guid: 77e81466b7969ab43b54f0c4e3b7cd38, type: 3} - - {fileID: 2100000, guid: 1a70e990b877033448a3ac1a609ce3f6, type: 2} - - {fileID: 11500000, guid: 0fb106e34c72f40f6b124f0a149d1b99, type: 3} - - {fileID: 1925780719790064714, guid: c60933ae6f95a27488bc8b236dfe1013, type: 3} - - {fileID: 7741836461683916931, guid: c60933ae6f95a27488bc8b236dfe1013, type: 3} - - {fileID: -3074010903345283188, guid: c60933ae6f95a27488bc8b236dfe1013, type: 3} - - {fileID: 6171738308341964439, guid: bb7f28bda26b5ad41801d775bdd7a91d, type: 3} - - {fileID: 11500000, guid: 3fe91dc294731a9428c0941ea7579110, type: 3} - - {fileID: 2084611452320534688, guid: bb7f28bda26b5ad41801d775bdd7a91d, type: 3} - - {fileID: -2442088989151182216, guid: bb7f28bda26b5ad41801d775bdd7a91d, type: 3} - - {fileID: 2100000, guid: 918d9d1c3ffa6d940890214c74b4f6b0, type: 2} - - {fileID: 2100000, guid: f2ab00d33c90bbb4ca287fcdfcf039c9, type: 2} - - {fileID: 11500000, guid: f067b998f108f654cbe52a356f040999, type: 3} - - {fileID: 11500000, guid: d31f1295e4b5e9542b6fe32f4364e7e2, type: 3} - - {fileID: 11500000, guid: ceebe7f43af125e459f852b159990c91, type: 3} - - {fileID: 11500000, guid: 666fd1c9596545147ab6df79e14980ee, type: 3} - - {fileID: 11500000, guid: 079af0928a59a2a489c3eb00c58cd2f4, type: 3} - - {fileID: 7017063277490124688, guid: b7a5121caeea5b7498971a9d94166e1a, type: 3} - - {fileID: -58768286850010900, guid: b7a5121caeea5b7498971a9d94166e1a, type: 3} - - {fileID: -7677682720222479829, guid: b7a5121caeea5b7498971a9d94166e1a, type: 3} - - {fileID: 328947212866621810, guid: b7a5121caeea5b7498971a9d94166e1a, type: 3} - - {fileID: -7080732928198806002, guid: b7a5121caeea5b7498971a9d94166e1a, type: 3} - - {fileID: 11500000, guid: 2d18230d3a29b2a418e94d126c53f276, type: 3} - - {fileID: 21300000, guid: 9dc1b1e35a44b5a4da340dd179166361, type: 3} - - {fileID: 10301, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 2100000, guid: 4f2c8f75a82ee6843beacdfae96df3b1, type: 2} - - {fileID: 11500000, guid: fcf96328d7865b44ea2756073339a74a, type: 3} - - {fileID: 2100000, guid: c7b42dc5aa79e174e916ff132e2f34cd, type: 2} - - {fileID: 2100000, guid: 776677ab3818fb249adaca05f4e04545, type: 2} - - {fileID: 2100000, guid: 698a8134f4ebbbd4e848648685f68067, type: 2} - - {fileID: 10206, guid: 0000000000000000e000000000000000, type: 0} - - {fileID: 11500000, guid: dd2c3538fea29564d8b93b77175b5ad1, type: 3} - - {fileID: 11500000, guid: 172515602e62fb746b5d573b38a5fe58, type: 3} - - {fileID: 11500000, guid: d7fd9488000d3734a9e00ee676215985, type: 3} - - {fileID: 11500000, guid: 66f335fb1ffd8684294ad653bf1c7564, type: 3} - - {fileID: 11500000, guid: c01700fd266d6914ababb731e09af2eb, type: 3} - - {fileID: 11500000, guid: 70afe9e12c7a7ed47911bb608a23a8ff, type: 3} - - {fileID: 11500000, guid: 899c54efeace73346a0a16faa3afe726, type: 3} - - {fileID: 11500000, guid: f6d30b5c951b3de4990071c683fcfd8c, type: 3} - - {fileID: 11500000, guid: ac118e615691fce4bb0b9d2610b65a8e, type: 3} - - {fileID: 11500000, guid: c2f6605c2ffe8364f840779427fdfff5, type: 3} - - {fileID: 11500000, guid: c94d61ea9080b5b4db680aff50a29e8c, type: 3} - - {fileID: 21300000, guid: 0ffa66e899a1942489bc8a667ced6b0d, type: 3} - - {fileID: 21300000, guid: a8f7ccf4f0893224298d1ecc4360579b, type: 3} - - {fileID: 11500000, guid: abb10e21befab9b48b1fb1b690c45366, type: 3} - - {fileID: 11500000, guid: c5af9041c9fe0294a859c5995f1231a4, type: 3} - - {fileID: 21300000, guid: 0913d948083eb7442be0157df1b8197f, type: 3} - - {fileID: 11500000, guid: 50dc35c75a4997c46902bfa21c38d56d, type: 3} - - {fileID: 11500000, guid: 3449aea0852bfb54bbcb343708f8c88c, type: 3} - - {fileID: 11500000, guid: 8b6e97bde5a9fa84fa0e92b31c235be4, type: 3} - - {fileID: 11500000, guid: c4e63f24ed64dbc4cba256b9db760531, type: 3} - - {fileID: 11500000, guid: 14c66a6a1d8111d4880435bbe5843300, type: 3} - - {fileID: 11500000, guid: b017f572cc92d3f49a3e8446e0e5c58e, type: 3} - - {fileID: 11500000, guid: 4c9261700df7232418e6ca091ddf3cbe, type: 3} - - {fileID: 11500000, guid: ab43f412f584f744d9a8ab719ea3a416, type: 3} - - {fileID: 11500000, guid: ac3ab3ea44abd1843a9c68c4251348f4, type: 3} - - {fileID: 11500000, guid: b60c938662f3a2649b3fca07792f877d, type: 3} - - {fileID: 11500000, guid: 22aea9107b02e36479e2e6f35f250d6a, type: 3} - - {fileID: 11500000, guid: 994bdb45f0cf15c4cbb1b065872d32bb, type: 3} - - {fileID: 11400000, guid: 0f05027574e0707429056bb869e7b859, type: 2} - - {fileID: 11500000, guid: 88bcd012716190441b93d87835ed45bb, type: 3} - - {fileID: 11400000, guid: 3a5dcbf7f2fd034438fa14412fd4638c, type: 2} - - {fileID: 11400000, guid: a1da761dc6a87364d8752eebedc9750b, type: 2} - - {fileID: 11400000, guid: 70f9ec2877398bc43bd28b331538a3a5, type: 2} - - {fileID: 11400000, guid: 5e22a6c1b0375ed44afc4ac1c780a101, type: 2} - - {fileID: 11400000, guid: dc26accfaa5792c4ab3256eb3c0f4efd, type: 2} - - {fileID: 11400000, guid: d648db9b82b2cd54daba123acae1e3c4, type: 2} - - {fileID: 11400000, guid: de56ff20365a14370a80c48ff8550846, type: 2} - - {fileID: 11400000, guid: c808e7c3e2270d449a813399451b1cd3, type: 2} - - {fileID: 11400000, guid: 4c79da9b11e6e004087d469475324cef, type: 2} - - {fileID: 11400000, guid: 5c8ca9ec6f4c51446bc2c6b1566ffc3b, type: 2} - - {fileID: 11400000, guid: 5fe953de6edf7fc4a8dc844f145db321, type: 2} - - {fileID: 11400000, guid: 7e0153aaa464845e2962daaf37be96b3, type: 2} - - {fileID: 11400000, guid: da9d13f672f0753489b412d3bba34e60, type: 2} - - {fileID: 11400000, guid: a529f91d0addc4045ab4458394c9ffae, type: 2} - - {fileID: 11400000, guid: 77f8acc9ff2364eb1b2738d235837b10, type: 2} - - {fileID: 11400000, guid: c8bc61afc23a74a509538545f1e02a2a, type: 2} - - {fileID: 11400000, guid: f20f40faf362849938c418049c2472bb, type: 2} - - {fileID: 11400000, guid: a14b8491443b04d78b74808bbb767f03, type: 2} - - {fileID: 11400000, guid: 9789ca695a86f404bb2c285dd650c799, type: 2} - - {fileID: 11400000, guid: 8b905d0e72a8f4985ac26883b511e9f3, type: 2} - - {fileID: 11400000, guid: 297104c2274b6450c89e0f158e3f8785, type: 2} - - {fileID: 11400000, guid: b13e236fd1a3940a69bb8eece59507a6, type: 2} - - {fileID: 11400000, guid: a9258c1d298414094a504e5574879dcd, type: 2} - - {fileID: 11400000, guid: b5e650be73f0f024f82a417a89e559f0, type: 2} - - {fileID: 11500000, guid: 15491f45d568daa4aa9500acbff68866, type: 3} - - {fileID: 11500000, guid: 770432b57b2e22a4ea012fc98a4435a6, type: 3} - - {fileID: 11500000, guid: 7b5f4ecc609537c40970c8a00e48c18b, type: 3} - - {fileID: 11500000, guid: e4afa2ceb7692aa4291ba69381bd35ba, type: 3} - - {fileID: 11500000, guid: 7bb42831ee5422f409e7f24f9e7488ea, type: 3} - - {fileID: 11500000, guid: 5310584f00547f94c9f6cf88afa2a136, type: 3} - - {fileID: 11500000, guid: f1ecfca3c318b94438c2defe28390bd0, type: 3} - - {fileID: 11500000, guid: 8512dcfd9599f4f75bfdae381b3a9dda, type: 3} - - {fileID: 11500000, guid: 221518ef91623a7438a71fef23660601, type: 3} - - {fileID: 11500000, guid: 81180773991d8724ab7f2d216912b564, type: 3} - - {fileID: 11500000, guid: e021b4c809a781e468c2988c016ebbea, type: 3} - - {fileID: 11500000, guid: 3eb4b772797da9440885e8bd939e9560, type: 3} - - {fileID: 11500000, guid: def49768fd3b44665b6a672a022502e4, type: 3} - - {fileID: 11500000, guid: d75cd624e1b5c234fb41cd92f1bd6941, type: 3} - - {fileID: 2100000, guid: 9357f1935bbda47caae004f4c26b441a, type: 2} - - {fileID: 11500000, guid: 5964205767789416f915856b48a2b8aa, type: 3} - - {fileID: 120346, guid: 02d87dc0f0b7f7a438561627af3aab04, type: 3} - - {fileID: 494412, guid: 02d87dc0f0b7f7a438561627af3aab04, type: 3} - - {fileID: 19889756, guid: 02d87dc0f0b7f7a438561627af3aab04, type: 3} - - {fileID: 19948730, guid: 02d87dc0f0b7f7a438561627af3aab04, type: 3} - - {fileID: 2100000, guid: cc1d8cd46d6a23347be480bfa851dab7, type: 2} - - {fileID: 82000011888486980, guid: 02d87dc0f0b7f7a438561627af3aab04, type: 3} - - {fileID: 114000010328022224, guid: 02d87dc0f0b7f7a438561627af3aab04, type: 3} - - {fileID: 11500000, guid: 6a6e29aa7f269ea44973293e4f139d58, type: 3} - - {fileID: 1514282284419572, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 4241111278148062, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 1854385448852578, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 4476740428192730, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 198321200803993650, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 199752162908056532, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 4300002, guid: edc5d191a1a89194fade4c3a797d6a07, type: 3} - - {fileID: 2100000, guid: 355ace8a4afefb345ad44e212d401e73, type: 2} - - {fileID: 114887300833662146, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 1654477767434382, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 4198605986900918, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 198977262500188636, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 199986155937621946, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 2100000, guid: ffd5269661a838c409dd1cdf137b0a78, type: 2} - - {fileID: 114300394525166890, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 7302929678569210424, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 7298982546605684098, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 7486397839650682074, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 7466711115449792794, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 2100000, guid: 614a3af03d164a743819af0ac78b0356, type: 2} - - {fileID: 3567169854971539669, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 3572629620944186341, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 3691752008681162073, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 3693366883880359065, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 2100000, guid: 1aba7e72e63da6540b1ac06f48da390a, type: 2} - - {fileID: 4936940444974914720, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 2369784375459637693, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 3285601054214053327, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 548288902796816277, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 2100000, guid: 14b6e8f83810de2469fbde6483057cb8, type: 2} - - {fileID: 3177666891629988621, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 9170603221811557856, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 3631872279491452346, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 6596267612875474582, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 1529691625137140, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 4766129703693574, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 1053925716465482, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 4858213646075992, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 82582750762538116, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 114025548991055450, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 1765546765154070, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 4367927386009066, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 114644750169050680, guid: 1ae8a51fac8854e4b9a43eb94d0b38f8, type: 3} - - {fileID: 1606542427775616, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 4840106065745484, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 1827988419837942, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 4035817611096852, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 198306971971634078, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 199688109071600538, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 2100000, guid: bc5c2f6772c15e64097038f7e5236c4f, type: 2} - - {fileID: 1023795005786954, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 4932944991554406, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 198128524521697304, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 199204059458944670, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 2100000, guid: bcab81c61ed7bc941a328360de4fc026, type: 2} - - {fileID: 1030975258253434, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 4978070653628352, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 198045514471419544, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 199715574464684888, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 1304933809188458, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 4707917785073240, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 108946560895512974, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 114817952946195406, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 3669699668205434321, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 1798086281863952, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 4379093611272920, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 663418151538615171, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 7117855805950541854, guid: 5dd761199ee4b7045a10fd9b79e36026, type: 2} - - {fileID: 1828417641415216, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 4973799536722654, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 82083427178691430, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 1936227566325814, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 4311465109639652, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 114064933120233714, guid: 0de6da49dab6f8b4d93ab32a4cb441af, type: 3} - - {fileID: 4300034, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 2100000, guid: 3996a623181f3ea4db0ce6077767d513, type: 2} - - {fileID: 4300058, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300032, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300028, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 2100000, guid: 3f1cdce5aab5f2949a47a321e5b7ca3c, type: 2} - - {fileID: 4300030, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 11500000, guid: 11a144aae082d4f478dce882e7a9ff3e, type: 3} - - {fileID: 11400000, guid: d368b89f1bf6dbb489895fa235392f59, type: 2} - - {fileID: 11500000, guid: a5fc604039227434d8b4e63ebc5e74a5, type: 3} - - {fileID: 11500000, guid: 5fe00bda43a444f02a45bb8c3fbe2384, type: 3} - - {fileID: 11500000, guid: dd39910b59b4d8a48bebea6c7987c440, type: 3} - - {fileID: 11500000, guid: 25ccaeb011f7bcd49af6a8c4458cc4d8, type: 3} - - {fileID: 106114, guid: de31086835a769c478a724bed352b694, type: 3} - - {fileID: 428982, guid: de31086835a769c478a724bed352b694, type: 3} - - {fileID: 8206458, guid: de31086835a769c478a724bed352b694, type: 3} - - {fileID: -7026863155127771645, guid: de31086835a769c478a724bed352b694, type: 3} - - {fileID: 5513324112908927545, guid: de31086835a769c478a724bed352b694, type: 3} - - {fileID: -3652834807452390688, guid: a437cb2e6f3db454b911aae0aee8b4ed, type: 3} - - {fileID: 2100000, guid: d48e34309600c6a41ae8d18d9bb4a51a, type: 2} - - {fileID: 11500000, guid: f56a83ea88140fa4f869bb2f7ffdb184, type: 3} - - {fileID: 6938333050955780944, guid: a437cb2e6f3db454b911aae0aee8b4ed, type: 3} - - {fileID: 11500000, guid: 0ebe2ea9c9ea0544d84d9c27f7470915, type: 3} - - {fileID: 11500000, guid: 7406acb2f821aa245a9ed80d00bb9421, type: 3} - - {fileID: 11500000, guid: 184b853582e46bf46b34b2cdd98208c9, type: 3} - - {fileID: 11500000, guid: 5f48bca6635fd9c4cac490a0558e9560, type: 3} - - {fileID: 110090, guid: 04dd09560119f3c48ba23669eb660db1, type: 3} - - {fileID: 404056, guid: 04dd09560119f3c48ba23669eb660db1, type: 3} - - {fileID: 19826360, guid: 04dd09560119f3c48ba23669eb660db1, type: 3} - - {fileID: 19943492, guid: 04dd09560119f3c48ba23669eb660db1, type: 3} - - {fileID: 2100000, guid: a3eb0e42ce9a6764094c26b92bd7a9f4, type: 2} - - {fileID: 3755693042845063189, guid: 04dd09560119f3c48ba23669eb660db1, type: 3} - - {fileID: -3292925553009838691, guid: a437cb2e6f3db454b911aae0aee8b4ed, type: 3} - - {fileID: -3996760141626369306, guid: a437cb2e6f3db454b911aae0aee8b4ed, type: 3} - - {fileID: -3531946766418785785, guid: a437cb2e6f3db454b911aae0aee8b4ed, type: 3} - - {fileID: -8113768720884857512, guid: a437cb2e6f3db454b911aae0aee8b4ed, type: 3} - - {fileID: 9186633843763367028, guid: a437cb2e6f3db454b911aae0aee8b4ed, type: 3} - - {fileID: -2639241166356525208, guid: a437cb2e6f3db454b911aae0aee8b4ed, type: 3} - - {fileID: 7733717212360752527, guid: a437cb2e6f3db454b911aae0aee8b4ed, type: 3} - - {fileID: 2100000, guid: d8002e76dc5e4904f90dc137b3f085ba, type: 2} - - {fileID: 2100000, guid: fd8ebe3c7242d364bae68f1548ae70bf, type: 2} - - {fileID: 2100000, guid: 1402721190994cd46b64bf7cba78f5d8, type: 2} - - {fileID: 4300000, guid: 5fd2e373efb1175419067cae468ba2d5, type: 3} - - {fileID: 2100000, guid: 5e9b194520919174d94b2c0cede2b6a9, type: 2} - - {fileID: 11500000, guid: 065db88beeb95054185e2f6e1c8cee54, type: 3} - - {fileID: 11500000, guid: 43ce90429324b114c883f287bad02448, type: 3} - - {fileID: 4300036, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300056, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300038, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300040, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300042, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300044, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300046, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300048, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300050, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300052, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300054, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300064, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 2100000, guid: 8304fd0823e5b3440ba7352f017e5c91, type: 2} - - {fileID: 4300066, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300070, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300016, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300018, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300020, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300022, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300006, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300014, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300072, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300012, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300024, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300008, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300000, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300010, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300002, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300060, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300062, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300068, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300026, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 4300004, guid: 8141439555e37a54ca50fb9bbc9a2aad, type: 3} - - {fileID: 11500000, guid: 9095b44a0b6bdfe49bc98da1c76d04aa, type: 3} - - {fileID: 11500000, guid: 7948d8319501e05438638e054e867201, type: 3} - - {fileID: 11500000, guid: b79c7719e6566674b8c4d70a6fc32d34, type: 3} - - {fileID: 11500000, guid: ed2afc8944f91a9439d30e3a99739f1f, type: 3} - - {fileID: 21300000, guid: 453e38c09a935674cab08a23afb35584, type: 3} - - {fileID: 4568222687187426178, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 2100000, guid: f81b778be874039479d1540dc7645be9, type: 2} - - {fileID: 8469893145743066266, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -8505940577425064350, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 1782605854506983380, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 2100000, guid: b1169be51cda415479079c8ca143cb2f, type: 2} - - {fileID: 8934170882572043652, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 2100000, guid: a058378ae8127a34584017136b67a903, type: 2} - - {fileID: -6254448070518214540, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 2100000, guid: 40f0f39d00a35534faf5366d5c98ac5c, type: 2} - - {fileID: 11500000, guid: 09fb320b5551f7248bff22d663fb071d, type: 3} - - {fileID: 11500000, guid: 167d9fcb2244c4174aa5576259dd31b6, type: 3} - - {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2} - - {fileID: 2100000, guid: 2199ea26a61314b4f9058b2854558e5a, type: 2} - - {fileID: 2100000, guid: e8318efb807bca2428ffcbecaf187f68, type: 2} - - {fileID: 11500000, guid: a65fdc2aeddcae84eaebeb2fbd7ccea4, type: 3} - - {fileID: 2100000, guid: 423e9261cfbc1fe41b4350ecae1ad8e4, type: 2} - - {fileID: 2100000, guid: 97d3af9ddb8b958438a143861121e68f, type: 2} - - {fileID: -7139405321205527316, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 6945531606499956714, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 470123885353709904, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 5008808685666404415, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -3535278837136164100, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -9073374121120703514, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -4405909687727437922, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 8359823511028523000, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 3104983276709665852, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -1722732877104763124, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 6686202437734114120, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 7764729889028878586, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -4262483344640856564, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -5148886672779297833, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -4635264751131651269, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -308789940315152528, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -7990090134782337837, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 2859158000341498644, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 4886166614235812967, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 3294334742234352736, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -719529869609738643, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 2987568599203752989, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -8258910284749306656, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 3790575567375776795, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -6700499269148183455, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -3342442744193697097, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -484360301233217029, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 3364021814890077493, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 1629431832681572804, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 3185773214130128540, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -1120171625839065659, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -945433613638392568, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 5499355806461094374, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -4199716196008357381, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 3681455191527054129, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -1264562021814628221, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -1521938882082237865, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -3893286176358349723, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 545074029333840128, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -5463275294558936105, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 5552891017665582844, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 7452794771043177520, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 4828643906713263360, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 1133237022524791561, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -3053059927776455055, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 2321168432058775306, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 4331152747443013814, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 3247722341761187205, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -7412693652104058868, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -2851138258364272189, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 5182181943701998418, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: -8646131043969265922, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 5747077955587427490, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 7075465445102118415, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 8378856683008937676, guid: 9d7c8e69e7a392e4ca81178ec62c8ae1, type: 3} - - {fileID: 2100000, guid: 8880b609646e9f14e9922549d4d9db54, type: 2} - - {fileID: 5082967010240043233, guid: 7db74e85ed564094aaa0d5ce85f65da5, type: 3} - - {fileID: -591625296947721680, guid: 7db74e85ed564094aaa0d5ce85f65da5, type: 3} - - {fileID: -3514488215648520579, guid: 7db74e85ed564094aaa0d5ce85f65da5, type: 3} - - {fileID: 2100000, guid: 94b434055fa6ec14c815ed6b755062c8, type: 2} - - {fileID: 11500000, guid: d3ee7654fb1dcff41b62c9ccb5f3111f, type: 3} - - {fileID: 11500000, guid: 393ae4f3421404510811ecdaa8927e7b, type: 3} - - {fileID: 11500000, guid: 2211dea05d3293b4a8d37f95d35822af, type: 3} - - {fileID: 11500000, guid: cae3332d4415b0942abbb84de23167e9, type: 3} - - {fileID: 11500000, guid: 2ca440d7a7106ec48948d6ced68759ee, type: 3} - - {fileID: 11400000, guid: a86c3cb0f51b4654b8519dc01bd3b952, type: 2} - - {fileID: 11500000, guid: bfda56da833e2384a9677cd3c976a436, type: 3} - - {fileID: -7897923752079291845, guid: a86c3cb0f51b4654b8519dc01bd3b952, type: 2} - - {fileID: 11500000, guid: d21dcc2386d650c4597f3633c75a1f98, type: 3} - - {fileID: -3260635357677993606, guid: a86c3cb0f51b4654b8519dc01bd3b952, type: 2} - - {fileID: 11500000, guid: 21bf7f712d84d26478ebe6a299f21738, type: 3} - - {fileID: 7834969322480390161, guid: a86c3cb0f51b4654b8519dc01bd3b952, type: 2} - - {fileID: -8995887845322384784, guid: a86c3cb0f51b4654b8519dc01bd3b952, type: 2} - - {fileID: 11500000, guid: 8b22792c3b570444eb18cb78c2af3a74, type: 3} - - {fileID: 11500000, guid: 1923e30c26e383f4aa3d15e3eb452e08, type: 3} - - {fileID: 11500000, guid: 71f3c1fb4f1e13c43b7db4207a58c59d, type: 3} - - {fileID: 11500000, guid: 5564f499341508a43819ce17743cd92b, type: 3} - - {fileID: 11400000, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 11500000, guid: 5703f1d9496ae6a4d9d637275c48fd83, type: 3} - - {fileID: 100028, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100030, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100006, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100024, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100016, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100022, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100044, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100034, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100012, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100010, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100018, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100026, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100004, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100002, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100038, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100014, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100036, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100040, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100032, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100042, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100008, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 100020, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 400028, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 400000, guid: 82b1c56d5c26f3f459bda2ef0c0e499a, type: 3} - - {fileID: 11500000, guid: a111c283075a545459dd71ed98b3fa53, type: 3} - - {fileID: 11400000, guid: d54a166be4fb2084dad930f3e26c3c23, type: 2} - - {fileID: -2916778614407849693, guid: d54a166be4fb2084dad930f3e26c3c23, type: 2} - - {fileID: -2765213366890320819, guid: d54a166be4fb2084dad930f3e26c3c23, type: 2} - - {fileID: -2639599264467413185, guid: d54a166be4fb2084dad930f3e26c3c23, type: 2} - - {fileID: -7426411354975018268, guid: d54a166be4fb2084dad930f3e26c3c23, type: 2} - - {fileID: 5747800401588367661, guid: d54a166be4fb2084dad930f3e26c3c23, type: 2} - - {fileID: 4526431794490739653, guid: d54a166be4fb2084dad930f3e26c3c23, type: 2} - - {fileID: 11500000, guid: 4d3068de49b815f48934822bc9a02cc8, type: 3} - - {fileID: 8198467346957679418, guid: 5552a921eb7fab943895321eb91f5830, type: 3} - - {fileID: 2100000, guid: 8b71fc96fc88e104cb719eae7e94918c, type: 2} - - {fileID: 2100000, guid: 54eabfe2195b3da43a226d84f3f890a4, type: 2} - - {fileID: 2100000, guid: edaf2b6061838a149bbbda8ab2717776, type: 2} - - {fileID: 11400000, guid: 781270dbafc443145b571d818ee722c4, type: 2} - - {fileID: -1444322297678558371, guid: 781270dbafc443145b571d818ee722c4, type: 2} - - {fileID: -5966370743482862702, guid: 781270dbafc443145b571d818ee722c4, type: 2} - - {fileID: -2869440286788520455, guid: 781270dbafc443145b571d818ee722c4, type: 2} - - {fileID: -5594737995236109928, guid: 781270dbafc443145b571d818ee722c4, type: 2} - - {fileID: 8819111935835113079, guid: 781270dbafc443145b571d818ee722c4, type: 2} - - {fileID: -2905028568115119374, guid: 8b669bfc54df0d540aa88c10a82aeaf8, type: 3} - - {fileID: 239378781582670930, guid: 8b669bfc54df0d540aa88c10a82aeaf8, type: 3} - - {fileID: 8197068848040915430, guid: 8b669bfc54df0d540aa88c10a82aeaf8, type: 3} - - {fileID: -7736671217193492679, guid: 8b669bfc54df0d540aa88c10a82aeaf8, type: 3} - - {fileID: -1854410234640311614, guid: 8b669bfc54df0d540aa88c10a82aeaf8, type: 3} - - {fileID: 2100000, guid: 82cbfefbe0c41a74892334aec113b963, type: 2} - - {fileID: 1499750085523079801, guid: 8b669bfc54df0d540aa88c10a82aeaf8, type: 3} - - {fileID: -7819359555950345858, guid: 8b669bfc54df0d540aa88c10a82aeaf8, type: 3} - - {fileID: 11500000, guid: c593457cd8105e148906690e1707c592, type: 3} - - {fileID: 11500000, guid: 3cfce3ac822ec8449b87df4ac40228a8, type: 3} - - {fileID: 11500000, guid: d79fd46029f2cfa428619d2c20b6b48a, type: 3} - - {fileID: 11500000, guid: 06c6ae9fa80d541799d186073bb287e5, type: 3} - - {fileID: 11400000, guid: 5fc3710eb4afa6e4f8412e4872644a95, type: 2} - - {fileID: 5527932851465768185, guid: 5fc3710eb4afa6e4f8412e4872644a95, type: 2} - - {fileID: -1644352135963027471, guid: 5fc3710eb4afa6e4f8412e4872644a95, type: 2} - - {fileID: -1366591468046307951, guid: 5fc3710eb4afa6e4f8412e4872644a95, type: 2} - - {fileID: 5382717290584509447, guid: 5fc3710eb4afa6e4f8412e4872644a95, type: 2} - - {fileID: 8235268905662235807, guid: 5fc3710eb4afa6e4f8412e4872644a95, type: 2} - - {fileID: 7542300126081847486, guid: 5fc3710eb4afa6e4f8412e4872644a95, type: 2} - - {fileID: 3545188018100173381, guid: 5fc3710eb4afa6e4f8412e4872644a95, type: 2} - - {fileID: 2002638925365408265, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 2100000, guid: 8274c38805cbd3f4bac1d576b717d3ce, type: 2} - - {fileID: 3847781741006171651, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 2100000, guid: 36e0f85119bca0140a0645812143e7e3, type: 2} - - {fileID: 2100000, guid: 769fb120f3843d44b909e2db935f1cf9, type: 2} - - {fileID: 8805198196656985655, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 2100000, guid: f2a82e4a5348b714eb8d084135e7f0ad, type: 2} - - {fileID: -4112288852777334209, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 3321329325007337911, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 8622086865551822961, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 2103409424702686807, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 6099456397538563975, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: -7224886455938948265, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 2129227653380107285, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 7891398600357904348, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: -5808071102615505433, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 5389101589102019761, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: 1174972919526961668, guid: be9390089aa5f4b42aeff25ffb214a83, type: 3} - - {fileID: -1505758480028328530, guid: e053dc0461db9d34f9cda5cea6cd5e4a, type: 3} - - {fileID: 4640484168071937241, guid: e053dc0461db9d34f9cda5cea6cd5e4a, type: 3} - - {fileID: 5997497064588721102, guid: e053dc0461db9d34f9cda5cea6cd5e4a, type: 3} - - {fileID: -4112288852777334209, guid: e053dc0461db9d34f9cda5cea6cd5e4a, type: 3} - - {fileID: 3321329325007337911, guid: e053dc0461db9d34f9cda5cea6cd5e4a, type: 3} - - {fileID: 8622086865551822961, guid: e053dc0461db9d34f9cda5cea6cd5e4a, type: 3} - - {fileID: 6320409153544369232, guid: e053dc0461db9d34f9cda5cea6cd5e4a, type: 3} - - {fileID: 7891398600357904348, guid: e053dc0461db9d34f9cda5cea6cd5e4a, type: 3} - - {fileID: 1174972919526961668, guid: e053dc0461db9d34f9cda5cea6cd5e4a, type: 3} - - {fileID: 4300000, guid: 9942d4f0602f0d245b0d6f8f4a28eaff, type: 3} - - {fileID: 2100000, guid: 740fc0f3cfbf1e54fabf033f98d1c305, type: 2} - - {fileID: -2526721507357191017, guid: d741d703f4233304cb6e1a2ed59fe52e, type: 3} - - {fileID: 2100000, guid: 7674e65c0d8117d458dfab7a9566783f, type: 2} - - {fileID: 2100000, guid: 526f0b2488c04c64296e9cda80feba80, type: 2} - - {fileID: 11500000, guid: 4a77114ad80b1e541a25be4916cdf46f, type: 3} - - {fileID: 2100000, guid: 43b32942f8571314e8b2a61ca67d799e, type: 2} - - {fileID: 11500000, guid: ae1a6859b386db5408d9c42b8ed26491, type: 3} - - {fileID: -7415608109633777482, guid: bba66628cdff877468c659ca5a922780, type: 3} - - {fileID: 2100000, guid: fe6c1d7a3ddb6294081c447810ccda35, type: 2} - - {fileID: -6726472112248689672, guid: bba66628cdff877468c659ca5a922780, type: 3} - - {fileID: 2371854002362355153, guid: bba66628cdff877468c659ca5a922780, type: 3} - - {fileID: 2100000, guid: e064007d7683dc9448ac341e59006e4e, type: 2} - - {fileID: 4300000, guid: e32b6a8ab58ab9346b1e947607b7593f, type: 3} - - {fileID: 13400000, guid: 00e237cffd7080749af1b7b6f6caa42b, type: 2} - - {fileID: 4300000, guid: 7facfdd0df11c7e4997f419d76c79409, type: 3} - - {fileID: 4300002, guid: 7facfdd0df11c7e4997f419d76c79409, type: 3} - - {fileID: 4300004, guid: 7facfdd0df11c7e4997f419d76c79409, type: 3} - - {fileID: 4300006, guid: 7facfdd0df11c7e4997f419d76c79409, type: 3} - - {fileID: 11400000, guid: da5400cbde41d414e96c673e928f7bad, type: 2} - - {fileID: -3980360429832049343, guid: da5400cbde41d414e96c673e928f7bad, type: 2} - - {fileID: -2915267605531778373, guid: da5400cbde41d414e96c673e928f7bad, type: 2} - - {fileID: -5647186430838279609, guid: da5400cbde41d414e96c673e928f7bad, type: 2} - - {fileID: 5684436645720694870, guid: da5400cbde41d414e96c673e928f7bad, type: 2} - - {fileID: 11500000, guid: 8a4a5d90c3849b64ca83374726fb185d, type: 3} - - {fileID: 11400000, guid: 73af8a7d97f5f714d819d2d2f73aa449, type: 2} - - {fileID: 11500000, guid: 79f52e06a8bead340841764b6d5f745c, type: 3} - - {fileID: 2100000, guid: 2b32361ad828b674bb944c01783c5dfb, type: 2} - - {fileID: 2100000, guid: d6eb1dad6326cf1479a967ee023884db, type: 2} - - {fileID: -7085570217500139841, guid: 5dd761199ee4b7045a10fd9b79e36026, type: 2} - - {fileID: 11500000, guid: 38a6efba93686334cbc6b7186c9acee3, type: 3} - - {fileID: 11500000, guid: 36a5a844de6a6df419bd8fb9e1079117, type: 3} - - {fileID: 11400000, guid: 783eaea67add43149be835240d0124d2, type: 2} - - {fileID: -3219052347372535275, guid: 783eaea67add43149be835240d0124d2, type: 2} - - {fileID: 7803784848533820276, guid: 783eaea67add43149be835240d0124d2, type: 2} - - {fileID: -3382683557446697592, guid: 783eaea67add43149be835240d0124d2, type: 2} - - {fileID: 6581048205761874700, guid: 783eaea67add43149be835240d0124d2, type: 2} - - {fileID: 8805198196656985655, guid: 974757c7a7981a74ca13161a3d5787df, type: 3} - - {fileID: 3847781741006171651, guid: 974757c7a7981a74ca13161a3d5787df, type: 3} - - {fileID: 11400000, guid: 44d42e80517fdbd4ba3873a2f0915988, type: 2} - - {fileID: -8431406143638380756, guid: 44d42e80517fdbd4ba3873a2f0915988, type: 2} - - {fileID: 8484553166765932268, guid: 44d42e80517fdbd4ba3873a2f0915988, type: 2} - - {fileID: 1496255269910861276, guid: 44d42e80517fdbd4ba3873a2f0915988, type: 2} - - {fileID: -8467822897054588172, guid: 44d42e80517fdbd4ba3873a2f0915988, type: 2} - - {fileID: 8805198196656985655, guid: 9d7b42efaa3f1274cb5e90e7df133734, type: 3} - - {fileID: 3847781741006171651, guid: 9d7b42efaa3f1274cb5e90e7df133734, type: 3} - - {fileID: 2100000, guid: f6d9903452d439842ab0738b9c9b42ee, type: 2} - - {fileID: 2100000, guid: 0101a05cf62d32142bb175bccaeea898, type: 2} - - {fileID: 6007206184699664220, guid: 9d7b42efaa3f1274cb5e90e7df133734, type: 3} - - {fileID: 11400000, guid: 312c2c6e50b2a3d46b4d1116ba75417c, type: 2} - - {fileID: 8805198196656985655, guid: 2067c47f191dbf34496f40b6239bd2c3, type: 3} - - {fileID: 3847781741006171651, guid: 2067c47f191dbf34496f40b6239bd2c3, type: 3} - - {fileID: 6007206184699664220, guid: 2067c47f191dbf34496f40b6239bd2c3, type: 3} - - {fileID: -1334936499604184442, guid: e304f26d23c9b01449cff7a5a3420872, type: 3} - - {fileID: 2100000, guid: cb29b6042270a7f478abfff555ef6c60, type: 2} - - {fileID: 11500000, guid: 075ab1ac73444714593d1c133239dfd2, type: 3} - - {fileID: 2100000, guid: ee09300b31fa0c74e9658173f63413b0, type: 2} - - {fileID: 2100000, guid: e08534b46af36bf4ea7f19caef04cd46, type: 2} - - {fileID: 2100000, guid: e6c4a90baf1c6504e85398c032e6a102, type: 2} - - {fileID: 11400000, guid: 367985bcb388edc43a15a31139d5edb2, type: 2} - - {fileID: 4777302437654934843, guid: 367985bcb388edc43a15a31139d5edb2, type: 2} - - {fileID: 1778212671155677425, guid: 367985bcb388edc43a15a31139d5edb2, type: 2} - - {fileID: 753451930913219264, guid: 367985bcb388edc43a15a31139d5edb2, type: 2} - - {fileID: 11400000, guid: 1ec07a15f8fcc4546ab76ab2a1e521f1, type: 2} - - {fileID: -4437297888949953751, guid: 1ec07a15f8fcc4546ab76ab2a1e521f1, type: 2} - - {fileID: 2750566772193412438, guid: 1ec07a15f8fcc4546ab76ab2a1e521f1, type: 2} - - {fileID: 8830568710669551119, guid: 1ec07a15f8fcc4546ab76ab2a1e521f1, type: 2} - - {fileID: 4619627035997231359, guid: 1ec07a15f8fcc4546ab76ab2a1e521f1, type: 2} - - {fileID: -4707431853535869563, guid: 1ec07a15f8fcc4546ab76ab2a1e521f1, type: 2} - - {fileID: 11500000, guid: 481db906bb0d1404ca6f8572b0e19c4b, type: 3} - - {fileID: 11400000, guid: 51726baba1835e342934b9fd6560ec56, type: 2} - - {fileID: -7195799752551904160, guid: 51726baba1835e342934b9fd6560ec56, type: 2} - - {fileID: 3628387527204728522, guid: 51726baba1835e342934b9fd6560ec56, type: 2} - - {fileID: 4300052, guid: 638572418cf33664f88dae09c5bf7652, type: 3} - - {fileID: 2100000, guid: 2fa32f6a96d20cf4ab95a70e349922c9, type: 2} - - {fileID: 2100000, guid: 995db7830bb1464479007d935c4c1970, type: 2} - - {fileID: 2100000, guid: d80c5515de6f44a4c998a68a51799fd5, type: 2} - - {fileID: 2100000, guid: 4b7f2a1fc3d0aa042af25853b1f07374, type: 2} - - {fileID: 11500000, guid: 93c856bff7ce8ee4ab4c77b173060b94, type: 3} - - {fileID: 2100000, guid: 9b474769b31aaf84b9e532bb264c19bc, type: 2} - - {fileID: 2100000, guid: bd3fc3c27a78cb948bff5115641a6ee7, type: 2} - - {fileID: 11400000, guid: cd49529047967d14795c6af0edea82b2, type: 2} - - {fileID: -4555284961992940547, guid: cd49529047967d14795c6af0edea82b2, type: 2} - - {fileID: 6836192510708579075, guid: cd49529047967d14795c6af0edea82b2, type: 2} - - {fileID: 3946873455939986610, guid: cd49529047967d14795c6af0edea82b2, type: 2} - - {fileID: -8683659980271510415, guid: cd49529047967d14795c6af0edea82b2, type: 2} - - {fileID: 4330193024082057770, guid: cd49529047967d14795c6af0edea82b2, type: 2} - - {fileID: -4054124649301603891, guid: cd49529047967d14795c6af0edea82b2, type: 2} - - {fileID: 2100000, guid: 2bf43c4e29faaba42b7048a0e0e89a68, type: 2} - - {fileID: 1049156707187959921, guid: 2e051c4ba62b22546b2db272a5d24409, type: 3} - - {fileID: -7535116304868481884, guid: 2e051c4ba62b22546b2db272a5d24409, type: 3} - - {fileID: 2028090638071702506, guid: 2e051c4ba62b22546b2db272a5d24409, type: 3} - - {fileID: -708096498548139872, guid: 2e051c4ba62b22546b2db272a5d24409, type: 3} - - {fileID: -6786074417505304138, guid: 2e051c4ba62b22546b2db272a5d24409, type: 3} - - {fileID: 7450741763379908841, guid: 7c57014712a167f4dba279ad4b10a112, type: 3} - - {fileID: 2100000, guid: e4f34d7a93127fc4abca2b535131f728, type: 2} - - {fileID: 2783131832183395012, guid: 7c57014712a167f4dba279ad4b10a112, type: 3} - - {fileID: 361570060702241720, guid: 7c57014712a167f4dba279ad4b10a112, type: 3} - - {fileID: 2100000, guid: 07d7ae213dc470e429e224791aa53df9, type: 2} - - {fileID: 3981401131936709373, guid: 2123d94f10caba044a6fb916a9d2d103, type: 3} - - {fileID: 823744954802476717, guid: 2123d94f10caba044a6fb916a9d2d103, type: 3} - - {fileID: 1205496168814394602, guid: 2123d94f10caba044a6fb916a9d2d103, type: 3} - - {fileID: -3506410135378273, guid: 2123d94f10caba044a6fb916a9d2d103, type: 3} - - {fileID: 11400000, guid: 58cb4a29c904dc3448da22fdb5e2a437, type: 2} - - {fileID: -1131209287222262811, guid: 58cb4a29c904dc3448da22fdb5e2a437, type: 2} - - {fileID: 8889938881759830362, guid: 58cb4a29c904dc3448da22fdb5e2a437, type: 2} - - {fileID: 7713918244727376372, guid: eaa8069ca33e5d54dbb1e715d6333824, type: 3} - - {fileID: 2100000, guid: 448c60bdbe8b33b49a31badad84ee97a, type: 2} - - {fileID: 5711168420708660493, guid: eaa8069ca33e5d54dbb1e715d6333824, type: 3} - - {fileID: 2100000, guid: 6830c9f5cc6edd6499c42f851212aa87, type: 2} - - {fileID: 2100000, guid: 25ac0857732d2da4bac976fb74751a43, type: 2} - - {fileID: 11400000, guid: 6381fc0cb5436034eb16ea9933cb7e24, type: 2} - - {fileID: 5032593570447118392, guid: 6381fc0cb5436034eb16ea9933cb7e24, type: 2} - - {fileID: -4212245043148919010, guid: 6381fc0cb5436034eb16ea9933cb7e24, type: 2} - - {fileID: 2100000, guid: 4ec260293f1b9484983f0aac1725eeb3, type: 2} - - {fileID: 1583363391274904534, guid: 8b802aa82ba6bf84ebdf90b7a283a6b9, type: 3} - - {fileID: -4289958941403566359, guid: 8b802aa82ba6bf84ebdf90b7a283a6b9, type: 3} - - {fileID: -1814991681162901916, guid: 8b802aa82ba6bf84ebdf90b7a283a6b9, type: 3} - - {fileID: 1615098114491355172, guid: 7fc75c9f053d5594d955c3844fa23b40, type: 3} - - {fileID: 2100000, guid: ad54ca5ce66d88c4193b1f4272756bb4, type: 2} - - {fileID: 2100000, guid: 47197316fbe35ef44a5f56e1af52a9f8, type: 2} - - {fileID: -1926992085332236772, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: 3693085672007481136, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: 5253388961407463442, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: 6286432733348144391, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: -255461491153596998, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: -3292925553009838691, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: 11500000, guid: 37fac21d1f093d344816942d1abce94e, type: 3} - - {fileID: -3996760141626369306, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: -3531946766418785785, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: -8113768720884857512, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: 9186633843763367028, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: -2639241166356525208, guid: 03e68ba86c9a390479bec471d38d77d2, type: 3} - - {fileID: 2100000, guid: 86cdf474e1d27114586c44e8a2db225c, type: 2} - - {fileID: -1926992085332236772, guid: 15599e38ff24b0b46a960ca52efed047, type: 3} - - {fileID: -3214512504191479892, guid: 15599e38ff24b0b46a960ca52efed047, type: 3} - - {fileID: 6576716960646010146, guid: 15599e38ff24b0b46a960ca52efed047, type: 3} - - {fileID: 5215633674785661376, guid: 15599e38ff24b0b46a960ca52efed047, type: 3} - - {fileID: 2100000, guid: 5dd538768920ffc428a0cfc680d6c759, type: 2} - - {fileID: -1926992085332236772, guid: f86b2ce0c4ba5fc4294309375cdeef65, type: 3} - - {fileID: -1615466324220252419, guid: f86b2ce0c4ba5fc4294309375cdeef65, type: 3} - - {fileID: -7055318869959136836, guid: f86b2ce0c4ba5fc4294309375cdeef65, type: 3} - - {fileID: -673386798465261157, guid: f86b2ce0c4ba5fc4294309375cdeef65, type: 3} - - {fileID: 2100000, guid: 27506a5ad14324642b370d809a0404a0, type: 2} - - {fileID: -1615466324220252419, guid: 5914917def31e9048b8ab5909aff41b4, type: 3} - - {fileID: -7055318869959136836, guid: 5914917def31e9048b8ab5909aff41b4, type: 3} - - {fileID: -673386798465261157, guid: 5914917def31e9048b8ab5909aff41b4, type: 3} - - {fileID: 5369103074460447506, guid: 5914917def31e9048b8ab5909aff41b4, type: 3} - - {fileID: -6555683372922428382, guid: 068db3f8e2fa2e14fbaf039d87bd5f9b, type: 3} - - {fileID: 3210846951905387238, guid: 068db3f8e2fa2e14fbaf039d87bd5f9b, type: 3} - - {fileID: 1923383514486573657, guid: 068db3f8e2fa2e14fbaf039d87bd5f9b, type: 3} - - {fileID: 6266992488305598009, guid: 068db3f8e2fa2e14fbaf039d87bd5f9b, type: 3} - - {fileID: 4300000, guid: d1475cfae74a78e44a3cbf46bd17b23b, type: 3} - - {fileID: 2100000, guid: 1d1861f89e43a5f4c8b2a430e67bb745, type: 2} - - {fileID: -273897550871366581, guid: d1475cfae74a78e44a3cbf46bd17b23b, type: 3} - - {fileID: -4122916103799640655, guid: d1475cfae74a78e44a3cbf46bd17b23b, type: 3} - - {fileID: -6017172911788317743, guid: d1475cfae74a78e44a3cbf46bd17b23b, type: 3} - - {fileID: -8094190371653704284, guid: d1475cfae74a78e44a3cbf46bd17b23b, type: 3} - - {fileID: -1766809595301799932, guid: d1475cfae74a78e44a3cbf46bd17b23b, type: 3} - - {fileID: -5709274730607971892, guid: d1475cfae74a78e44a3cbf46bd17b23b, type: 3} - - {fileID: -4729508461293722031, guid: d1475cfae74a78e44a3cbf46bd17b23b, type: 3} - - {fileID: 2100000, guid: bbf7ffb2a18965949862565eb9b2f2bb, type: 2} - - {fileID: 2100000, guid: c830f8b9f20934c45bbbc55443a44825, type: 2} - - {fileID: 2100000, guid: b6377742966cbd841b3a7e2b9e3be5aa, type: 2} - - {fileID: 2100000, guid: 3521563e8b1e40d45bb69ba728eb4feb, type: 2} - - {fileID: 11500000, guid: e2e3c4d99d032b44481b163a3fcf67fb, type: 3} - - {fileID: 2100000, guid: 30d0d8732a281d349a5abc48f8171e83, type: 2} - - {fileID: 2100000, guid: 8c5679f1ed4ccba47a6c21764f3a8102, type: 2} - - {fileID: 532591105809680800, guid: 414ba09b2e40fda4cb6949da12a6a3b9, type: 3} - - {fileID: 2100000, guid: d5281f297fbdbdc4f8366636266820a3, type: 2} - - {fileID: -3292925553009838691, guid: 414ba09b2e40fda4cb6949da12a6a3b9, type: 3} - - {fileID: -3996760141626369306, guid: 414ba09b2e40fda4cb6949da12a6a3b9, type: 3} - - {fileID: -3531946766418785785, guid: 414ba09b2e40fda4cb6949da12a6a3b9, type: 3} - - {fileID: -8113768720884857512, guid: 414ba09b2e40fda4cb6949da12a6a3b9, type: 3} - - {fileID: 9186633843763367028, guid: 414ba09b2e40fda4cb6949da12a6a3b9, type: 3} - - {fileID: -2639241166356525208, guid: 414ba09b2e40fda4cb6949da12a6a3b9, type: 3} - - {fileID: 7733717212360752527, guid: 414ba09b2e40fda4cb6949da12a6a3b9, type: 3} - - {fileID: -7233672229889999445, guid: 414ba09b2e40fda4cb6949da12a6a3b9, type: 3} - - {fileID: 2100000, guid: 8e64457cf04a12e4d813c2cf28d77486, type: 2} - - {fileID: 2100000, guid: d27964113cfbb714f9e64ba40307cc3c, type: 2} - - {fileID: 2100000, guid: e14240ce9c32c3d4394bc644c3d8a324, type: 2} - - {fileID: 5543942928809283276, guid: c79f7b4f41a24d34796e69b8697621b6, type: 3} - - {fileID: 200551902451676223, guid: c79f7b4f41a24d34796e69b8697621b6, type: 3} - - {fileID: -6860228614231304279, guid: c79f7b4f41a24d34796e69b8697621b6, type: 3} - - {fileID: 1780231411891999157, guid: 01326acbc568f7c4db7c6aa98e996744, type: 3} - - {fileID: 2698437764238509827, guid: 01326acbc568f7c4db7c6aa98e996744, type: 3} - - {fileID: 4300000, guid: d0008aea07f135d4890777d9924baea6, type: 3} - - {fileID: 4300000, guid: 7971a459b6f642444870a5c6c5497d84, type: 3} - - {fileID: 2100000, guid: 65743653ced235348b025c2761b714c6, type: 2} - - {fileID: 4300000, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300002, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300004, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300006, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300008, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300010, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300012, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300014, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300016, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300018, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300020, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300022, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300024, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300026, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300028, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300030, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300032, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 4300034, guid: 0c016a718524a0e4db693a2d23dd674c, type: 3} - - {fileID: 2100000, guid: 7770fea5a0ff69946b4f456196baa885, type: 2} - - {fileID: 2100000, guid: cb610cbd7227f0949b1e398d4a7ece48, type: 2} - - {fileID: 2100000, guid: ff141ea661267ea45ac51ce61d6321c4, type: 2} - - {fileID: 6329158148709259305, guid: 7009db1f7ca864c6cba6e5b169416c4d, type: 3} - - {fileID: 2100000, guid: da02d273244d0054799fa5aa809255e1, type: 2} - - {fileID: 2100000, guid: 871adba7bb43a2643ac8101bf7d74418, type: 2} - - {fileID: -6293388701019279917, guid: d6dff56b290ff23429012cc6f55ce8e0, type: 3} - - {fileID: 8886019423927501742, guid: d6dff56b290ff23429012cc6f55ce8e0, type: 3} - - {fileID: 6821156055455856099, guid: d6dff56b290ff23429012cc6f55ce8e0, type: 3} - - {fileID: 8127570818631976688, guid: d6dff56b290ff23429012cc6f55ce8e0, type: 3} - - {fileID: -2952478065676776400, guid: a0a38a97b9a1cdb43952962065661028, type: 3} - - {fileID: 4557123666204281028, guid: a0a38a97b9a1cdb43952962065661028, type: 3} - - {fileID: -6199587098398938883, guid: a0a38a97b9a1cdb43952962065661028, type: 3} - - {fileID: -8129560952772496191, guid: a0a38a97b9a1cdb43952962065661028, type: 3} - - {fileID: 2100000, guid: 9a2db58ce9bd62c47842d6a770ba481a, type: 2} - - {fileID: -1926992085332236772, guid: 93d726198c8a04c40a9000323c5d196e, type: 3} - - {fileID: -2048748267856620914, guid: 93d726198c8a04c40a9000323c5d196e, type: 3} - - {fileID: 4225367714011966803, guid: 93d726198c8a04c40a9000323c5d196e, type: 3} - - {fileID: -6093638431468886576, guid: 93d726198c8a04c40a9000323c5d196e, type: 3} - - {fileID: 4300000, guid: ffcb328da38936c46bf62650a45c463a, type: 3} - - {fileID: 2100000, guid: e3303f88698299c44a8b222ec32b8202, type: 2} - - {fileID: 2100000, guid: 3367b8ed9554254479bb3a91fd709f78, type: 2} - - {fileID: 2100000, guid: c72bb83784105eb428782bf2b8ff8ff6, type: 2} - - {fileID: 2100000, guid: 6aa63b8ab8fe141a58ca015312d73fbb, type: 2} - - {fileID: 11500000, guid: c94132541291a1a47a416e2c4ba2be3c, type: 3} - - {fileID: 11500000, guid: cc4d76f733087744991913c9d19d5274, type: 3} - - {fileID: 11400000, guid: a416e8767d1aa5748ae8dee23bbad9b5, type: 2} - - {fileID: 11500000, guid: 877e1507ae8d81c40bf1b94c1a86036f, type: 3} - - {fileID: -6491418099319685910, guid: 7481c6e40e44cc746a1bfc09d0b2f886, type: 3} - - {fileID: 11500000, guid: 03526e258566dc247a4eb8525aeeb667, type: 3} - - {fileID: 2100000, guid: 7f74562c360a75d468cce8ccff3d595f, type: 2} - - {fileID: 4300000, guid: 88b9906b4442aa2448a9379fa0d1b987, type: 3} - - {fileID: 2100000, guid: 2c420724f5bf46241bc8d1d616c65653, type: 2} - - {fileID: -3292925553009838691, guid: 03b1fd03dc4b7f2439c49d3ce2a66589, type: 3} - - {fileID: -3996760141626369306, guid: 03b1fd03dc4b7f2439c49d3ce2a66589, type: 3} - - {fileID: -3531946766418785785, guid: 03b1fd03dc4b7f2439c49d3ce2a66589, type: 3} - - {fileID: -8113768720884857512, guid: 03b1fd03dc4b7f2439c49d3ce2a66589, type: 3} - - {fileID: 9186633843763367028, guid: 03b1fd03dc4b7f2439c49d3ce2a66589, type: 3} - - {fileID: -2639241166356525208, guid: 03b1fd03dc4b7f2439c49d3ce2a66589, type: 3} - - {fileID: 3438700730782300104, guid: 3606261d170581d4685b3a412216c0ac, type: 3} - - {fileID: 2100000, guid: 8571915d0ba2fd049bb6e6dc400d9843, type: 2} - - {fileID: 3689770915106694059, guid: 3606261d170581d4685b3a412216c0ac, type: 3} - - {fileID: 7733717212360752527, guid: 3606261d170581d4685b3a412216c0ac, type: 3} - - {fileID: -7647463442239531939, guid: 3606261d170581d4685b3a412216c0ac, type: 3} - - {fileID: 4944557015945844418, guid: 3606261d170581d4685b3a412216c0ac, type: 3} - - {fileID: 7643229109163234770, guid: 3606261d170581d4685b3a412216c0ac, type: 3} - - {fileID: -3243264717552843444, guid: 3606261d170581d4685b3a412216c0ac, type: 3} - - {fileID: -1141464603633071787, guid: 3606261d170581d4685b3a412216c0ac, type: 3} - - {fileID: 8498874204345323650, guid: b2c0331cc37677b4d81773265ad01f4c, type: 3} - - {fileID: 2100000, guid: d71d01c0fd369564e969aca6bd0d76bf, type: 2} - - {fileID: -3292925553009838691, guid: b2c0331cc37677b4d81773265ad01f4c, type: 3} - - {fileID: -4122916103799640655, guid: b2c0331cc37677b4d81773265ad01f4c, type: 3} - - {fileID: -6017172911788317743, guid: b2c0331cc37677b4d81773265ad01f4c, type: 3} - - {fileID: 1160288528575290666, guid: b2c0331cc37677b4d81773265ad01f4c, type: 3} - - {fileID: 5673084798034043110, guid: b2c0331cc37677b4d81773265ad01f4c, type: 3} - - {fileID: -8094190371653704284, guid: b2c0331cc37677b4d81773265ad01f4c, type: 3} - - {fileID: -1766809595301799932, guid: b2c0331cc37677b4d81773265ad01f4c, type: 3} - - {fileID: -547343557084233894, guid: b2c0331cc37677b4d81773265ad01f4c, type: 3} - - {fileID: 11500000, guid: 24cc9a1cbec00104b88dfb3a6eec1889, type: 3} - - {fileID: 8500439468027806320, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 2100000, guid: 40de6ebc041250c478dfec15a32c145a, type: 2} - - {fileID: -3130316574009735412, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -6646454846951977189, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -4667261177169091003, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7214193811802931440, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 6955325411819906681, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 4739708421811679405, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 6156504082426645568, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7614009453162750389, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 8552110968962687103, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -5004522436653212676, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7665049433447715279, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -7043042206449401386, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 2917728214046262213, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -2291978678946826777, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -5825735762797945274, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 8104765561289265191, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7482505390182424241, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 8583826772886065389, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 2332284548510145022, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -5037604016511172432, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 5488342602481319543, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 2068193639074924069, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 6185361167837157261, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7169600282478295572, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -3794613968994777179, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 4324422222079026745, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -3048686541578828178, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -5135399346177912891, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7712559407327539335, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 4513602414889655098, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -5695774230165701368, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -6845306066780539024, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 955648472126184911, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 432967359118270925, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 2090839450807706472, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 3552248942485903959, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 2342412804192394859, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -299298253395810150, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -2106795429885399434, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -3998370710841197335, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -8798726962460539606, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -7686470366731688153, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -6522813368568872717, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7886947929670811894, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -9214106353982088294, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -1897115635411936875, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7481163215490519750, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 3267845382702083265, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7168475267954057386, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 1236264510675673648, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -2005670133553777847, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 6779649534030240474, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -1273769105833638631, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -2111228155844350252, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -3628202152169273470, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -2019863859983309499, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 9178935111462068118, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7904479474768264899, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -308249992715431050, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -2267060832482209638, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -1740667153208175439, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 7400892729873828126, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -2774076997687965844, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 2159695447000472992, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -8450307172903366177, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -8956717898165658514, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 3256952931895804875, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -6359680411166486601, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 5031349428225775748, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -6849294928899533210, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -4709575457041783975, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 983588181656973873, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: -8739931087500029266, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 1487135854082189940, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 2528905825655119356, guid: 8c313ba50be0e224a8b6557f6aa4b7ab, type: 3} - - {fileID: 2100000, guid: 0474ccc85948eec49b48cb84d96abb57, type: 2} - - {fileID: 11500000, guid: 74c30c109de697c4c8fa38395fef35a2, type: 3} - - {fileID: 2100000, guid: 3cbe3edc2ad293341b0b73f6ce6f066b, type: 2} - - {fileID: 2100000, guid: 6e7dcbbe13d7ef040a5671350f60ae8a, type: 2} - - {fileID: 454627970135650704, guid: 56e8924dd427bbc41a9df4873e99b661, type: 3} - - {fileID: 435705090464298322, guid: 56e8924dd427bbc41a9df4873e99b661, type: 3} - - {fileID: 7199309654375001011, guid: 56e8924dd427bbc41a9df4873e99b661, type: 3} - - {fileID: -6291950575530415403, guid: 56e8924dd427bbc41a9df4873e99b661, type: 3} - - {fileID: 11500000, guid: 26d9ad0aee30f1341bdca4781e509c2f, type: 3} - - {fileID: 2100000, guid: 9d669b62817bf9047ae0d973564c2e30, type: 2} - - {fileID: 4300000, guid: 7aa93bd222a2e394482ada780004fe2a, type: 3} - - {fileID: 4300000, guid: d4d9a98f2db5045419ae77cb4b955242, type: 3} - - {fileID: 4300002, guid: d4d9a98f2db5045419ae77cb4b955242, type: 3} - - {fileID: 4300004, guid: d4d9a98f2db5045419ae77cb4b955242, type: 3} - - {fileID: 4300006, guid: d4d9a98f2db5045419ae77cb4b955242, type: 3} - - {fileID: 11400000, guid: c4511ae479edeb54885a918fefd49283, type: 2} - - {fileID: 2100000, guid: 1b7bc3da97b3ae940baeae2d8618e855, type: 2} - - {fileID: 6662478386777849572, guid: c626b7367d186094f8c1447ac9440ae9, type: 3} - - {fileID: 3910199572169338753, guid: c626b7367d186094f8c1447ac9440ae9, type: 3} - - {fileID: 1393287657082678242, guid: c626b7367d186094f8c1447ac9440ae9, type: 3} - - {fileID: -7414045051683787018, guid: d264a123b68ef894fa93b31b3a10e0b2, type: 3} - - {fileID: 2100000, guid: 276701d74cef2c44382688e1d7ee58b3, type: 2} - - {fileID: -7553716758358721678, guid: 376746a0d75d9a64aafedae6b324fa21, type: 3} - - {fileID: 7921239165074108771, guid: 376746a0d75d9a64aafedae6b324fa21, type: 3} - - {fileID: -5630024020402786232, guid: 376746a0d75d9a64aafedae6b324fa21, type: 3} - - {fileID: 7494901804054511603, guid: 376746a0d75d9a64aafedae6b324fa21, type: 3} - - {fileID: 2100000, guid: c18d9feb408939f409d6c3d5e86f356f, type: 2} - - {fileID: -3531946766418785785, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: 9186633843763367028, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: -2639241166356525208, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: 7733717212360752527, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: -7647463442239531939, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: 4944557015945844418, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: 7643229109163234770, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: -3243264717552843444, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: 2871469715313346890, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: 2017278551893438244, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: 1137079595626638175, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: 5695709101238383724, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: 3263883238016538001, guid: 91ac858e5bd7d8f4e9c9bfee4ebbba34, type: 3} - - {fileID: 2100000, guid: 14e7ba1f7a282394b991991a6acfe0ae, type: 2} - - {fileID: 2473705003916454285, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: 6651975614648439633, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: -2006804626152393506, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: 3011920204182831038, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: 1160288528575290666, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: -8094190371653704284, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: -4616045271648449016, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: -1766809595301799932, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: 2799901174202133636, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: 6873384914211470390, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: -5709274730607971892, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: 2935426519696197319, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: 2727622749864163269, guid: 577e4aa6fb8c17140af2e8a7f73ff7f1, type: 3} - - {fileID: 5074577194457057473, guid: 1b706b2ce910a1a4e81443aeca4583a4, type: 3} - - {fileID: -7535116304868481884, guid: 1b706b2ce910a1a4e81443aeca4583a4, type: 3} - - {fileID: 5616440723087585477, guid: 1b706b2ce910a1a4e81443aeca4583a4, type: 3} - - {fileID: -2791905086224331331, guid: 1b706b2ce910a1a4e81443aeca4583a4, type: 3} - - {fileID: -6469520554673743805, guid: 1b706b2ce910a1a4e81443aeca4583a4, type: 3} - - {fileID: -1667639867965075062, guid: 0c737b5a0c998d240ae0e41319fa4db7, type: 3} - - {fileID: 2100000, guid: 0f14417507856f941a725c46f9a2066a, type: 2} - - {fileID: -3838157358657118783, guid: b0123bd079d5fd84f8297cbe663ecb7d, type: 3} - - {fileID: 4300000, guid: b0123bd079d5fd84f8297cbe663ecb7d, type: 3} - - {fileID: 4300002, guid: b0123bd079d5fd84f8297cbe663ecb7d, type: 3} - - {fileID: 4300004, guid: b0123bd079d5fd84f8297cbe663ecb7d, type: 3} - - {fileID: 418862345826499746, guid: a07754733c850b94ab2d05d24e542d2c, type: 3} - - {fileID: 2100000, guid: ec5c3c827219a5d4b87c92ee7974ab46, type: 2} - - {fileID: 1630361224828484835, guid: a07754733c850b94ab2d05d24e542d2c, type: 3} - - {fileID: 11500000, guid: adf62119a133d9a44b0cc59d4a3e2c12, type: 3} - - {fileID: 2100000, guid: ece30666f70d8ad4c81c41db79ccb14d, type: 2} - - {fileID: -5475723283201142710, guid: a17e5056aa251744a8024f590820d619, type: 3} - - {fileID: -662979811379237891, guid: a17e5056aa251744a8024f590820d619, type: 3} - - {fileID: -2956152605902325952, guid: a17e5056aa251744a8024f590820d619, type: 3} - - {fileID: 3440885721382045616, guid: a17e5056aa251744a8024f590820d619, type: 3} - - {fileID: -6686901467321161504, guid: 460db2496edc1cd4a9fab32ee53a898a, type: 3} - - {fileID: -1493552743763869006, guid: 460db2496edc1cd4a9fab32ee53a898a, type: 3} - - {fileID: 7723796673235367738, guid: 460db2496edc1cd4a9fab32ee53a898a, type: 3} - - {fileID: -9035369053606410286, guid: 460db2496edc1cd4a9fab32ee53a898a, type: 3} - - {fileID: 2100000, guid: 3d223ad8bbd73e24caf8658351119793, type: 2} - - {fileID: -6964573097935904079, guid: 160f0655a5466da4dab9b951199da54e, type: 3} - - {fileID: -5345471469483630335, guid: 160f0655a5466da4dab9b951199da54e, type: 3} - - {fileID: -2747707763487863864, guid: 160f0655a5466da4dab9b951199da54e, type: 3} - - {fileID: 2100000, guid: 98325d0f8e794414285084b1722f23a2, type: 2} - - {fileID: 9104314296759460148, guid: 0c30b446c101cdd46b2d7b841fba5560, type: 3} - - {fileID: -5513948614966055551, guid: 0c30b446c101cdd46b2d7b841fba5560, type: 3} - - {fileID: 7929412667450373953, guid: 0c30b446c101cdd46b2d7b841fba5560, type: 3} - - {fileID: -8063959199776403410, guid: 0c30b446c101cdd46b2d7b841fba5560, type: 3} - - {fileID: 2100000, guid: 563fb5a2f736cf74fa4477c1e962bda2, type: 2} - - {fileID: -8105771797506927229, guid: 6860000cd9cb3cb41b7894cb5fd54364, type: 3} - - {fileID: -8044466949695035243, guid: 6860000cd9cb3cb41b7894cb5fd54364, type: 3} - - {fileID: 9170756390351687422, guid: 6860000cd9cb3cb41b7894cb5fd54364, type: 3} - - {fileID: -6928245960549968660, guid: 6860000cd9cb3cb41b7894cb5fd54364, type: 3} - - {fileID: 6086046910844457127, guid: 150bec9d2b4a7e447b2888457110cc4d, type: 3} - - {fileID: 2194011323608328041, guid: 150bec9d2b4a7e447b2888457110cc4d, type: 3} - - {fileID: -7855032304682371077, guid: 150bec9d2b4a7e447b2888457110cc4d, type: 3} - - {fileID: 4542902348041279190, guid: 150bec9d2b4a7e447b2888457110cc4d, type: 3} - - {fileID: 8128770841687833433, guid: 164316254b6b9f742b3bcf46fed0a133, type: 3} - - {fileID: 2100000, guid: e90e992fada09784c8e921333f680058, type: 2} - - {fileID: 2100000, guid: 92ae110f9f5018f4ab09534f29c0b3b9, type: 2} - - {fileID: -3761876392555145021, guid: 95073dc66d5c1814f947ede6ef6bbf8a, type: 3} - - {fileID: 524791223331496968, guid: 95073dc66d5c1814f947ede6ef6bbf8a, type: 3} - - {fileID: -8709925291593725279, guid: 95073dc66d5c1814f947ede6ef6bbf8a, type: 3} - - {fileID: -8294347007908758024, guid: 95073dc66d5c1814f947ede6ef6bbf8a, type: 3} - - {fileID: 2100000, guid: 922423a727e9841479b8f2be109b1b71, type: 2} - - {fileID: -6447184269074089029, guid: b3656432e59bb9948a7565fb5e458c42, type: 3} - - {fileID: 2056350192800738610, guid: b3656432e59bb9948a7565fb5e458c42, type: 3} - - {fileID: 6837076470452788753, guid: b3656432e59bb9948a7565fb5e458c42, type: 3} - - {fileID: -3101193380947566429, guid: b3656432e59bb9948a7565fb5e458c42, type: 3} - - {fileID: 2100000, guid: e8456479eed001747a0eec3b85fe8f2e, type: 2} - - {fileID: 5216073953217143411, guid: 4e6d18242c58def44b10e35d589d8f18, type: 3} - - {fileID: 4205736883051648710, guid: 4e6d18242c58def44b10e35d589d8f18, type: 3} - - {fileID: -4448030803530216062, guid: 4e6d18242c58def44b10e35d589d8f18, type: 3} - - {fileID: -3838157358657118783, guid: 4e6d18242c58def44b10e35d589d8f18, type: 3} - - {fileID: 7749491296922783744, guid: b89ceb634cf6ebd4fb954d4c3d7de656, type: 3} - - {fileID: -4938743405285356258, guid: b89ceb634cf6ebd4fb954d4c3d7de656, type: 3} - - {fileID: -3286633370953568788, guid: b89ceb634cf6ebd4fb954d4c3d7de656, type: 3} - - {fileID: 1850729526957970844, guid: 52f74eea725e7754aab933f591b72b8e, type: 3} - - {fileID: 6056129483990473523, guid: 52f74eea725e7754aab933f591b72b8e, type: 3} - - {fileID: -3292925553009838691, guid: 52f74eea725e7754aab933f591b72b8e, type: 3} - - {fileID: -3996760141626369306, guid: 52f74eea725e7754aab933f591b72b8e, type: 3} - - {fileID: -3531946766418785785, guid: 52f74eea725e7754aab933f591b72b8e, type: 3} - - {fileID: -8113768720884857512, guid: 52f74eea725e7754aab933f591b72b8e, type: 3} - - {fileID: 9186633843763367028, guid: 52f74eea725e7754aab933f591b72b8e, type: 3} - - {fileID: 2100000, guid: a8b52aad6990b0d48bf216dbb44414c0, type: 2} - - {fileID: 11500000, guid: c854be764278f61418496af113fac519, type: 3} - - {fileID: 11500000, guid: d8c26023d2cb9264aa65a4c7d6cd66bd, type: 3} - - {fileID: 11500000, guid: 12983bc7c88f251478e63383314b2d52, type: 3} - - {fileID: 11500000, guid: 01554ac8a98d75b47b443ab9a7d5f0a5, type: 3} - - {fileID: 3897690596190022909, guid: 03845536a77fa7c4d88738c695e6738d, type: 3} - - {fileID: -4767146785081022773, guid: 03845536a77fa7c4d88738c695e6738d, type: 3} - - {fileID: -8226537161435208065, guid: 03845536a77fa7c4d88738c695e6738d, type: 3} - - {fileID: 4140997183945979774, guid: 03845536a77fa7c4d88738c695e6738d, type: 3} - - {fileID: 5438331367048010110, guid: 804e6b2c60ea3d443a88166b8a709a56, type: 3} - - {fileID: -7535116304868481884, guid: 804e6b2c60ea3d443a88166b8a709a56, type: 3} - - {fileID: 3033318298100752752, guid: 804e6b2c60ea3d443a88166b8a709a56, type: 3} - - {fileID: 7556104168310545949, guid: 804e6b2c60ea3d443a88166b8a709a56, type: 3} - - {fileID: 1212272870727365824, guid: 804e6b2c60ea3d443a88166b8a709a56, type: 3} - - {fileID: 9000005398807659037, guid: 148f4acb0243fa74fa6ebb2b2056c28a, type: 3} - - {fileID: -7535116304868481884, guid: 148f4acb0243fa74fa6ebb2b2056c28a, type: 3} - - {fileID: 5179123722750538385, guid: 148f4acb0243fa74fa6ebb2b2056c28a, type: 3} - - {fileID: 5731471429232737150, guid: 148f4acb0243fa74fa6ebb2b2056c28a, type: 3} - - {fileID: 1511918256853132386, guid: 148f4acb0243fa74fa6ebb2b2056c28a, type: 3} - - {fileID: 5155148823836801832, guid: b450d8880596e67449d9fef523292a1f, type: 3} - - {fileID: 8470245130021300493, guid: b450d8880596e67449d9fef523292a1f, type: 3} - - {fileID: -5488630537916100534, guid: b450d8880596e67449d9fef523292a1f, type: 3} - - {fileID: 3225710348585974346, guid: b84adb97803dbf046bffbdf6f3c3daa4, type: 3} - - {fileID: -1120458610367225918, guid: b84adb97803dbf046bffbdf6f3c3daa4, type: 3} - - {fileID: -2014469121837564730, guid: b84adb97803dbf046bffbdf6f3c3daa4, type: 3} - - {fileID: -4757243866283384317, guid: b84adb97803dbf046bffbdf6f3c3daa4, type: 3} - - {fileID: -9114714170847907662, guid: 353185c575c60ed44875d9941e245e02, type: 3} - - {fileID: -8503640895201224182, guid: 353185c575c60ed44875d9941e245e02, type: 3} - - {fileID: -661968664017939289, guid: 353185c575c60ed44875d9941e245e02, type: 3} - - {fileID: 2100000, guid: 304397def97dac248852c8eac5c446f6, type: 2} - - {fileID: -114168362533998925, guid: 854647c74b584a8439ad476855ec637f, type: 3} - - {fileID: 1621341199501985198, guid: 854647c74b584a8439ad476855ec637f, type: 3} - - {fileID: -7016897947380357386, guid: 854647c74b584a8439ad476855ec637f, type: 3} - - {fileID: 2082682139483812280, guid: 854647c74b584a8439ad476855ec637f, type: 3} - - {fileID: 2100000, guid: e2f579c3bbb31c2438db4cf0f147699c, type: 2} - - {fileID: 2100000, guid: 26795b0837f338e488b7e0593e9d4052, type: 2} - - {fileID: 2100000, guid: 7823795ee72aeb348acaa6ee2e9d203f, type: 2} - - {fileID: 4300002, guid: 32ded1222ee990f44ba14b0e5c32d3b1, type: 3} - - {fileID: 4300000, guid: 32ded1222ee990f44ba14b0e5c32d3b1, type: 3} - - {fileID: 4300000, guid: c9d91b460e1eac1479da0aa389decf8a, type: 3} - - {fileID: 4300002, guid: c9d91b460e1eac1479da0aa389decf8a, type: 3} - - {fileID: 4300004, guid: c9d91b460e1eac1479da0aa389decf8a, type: 3} - - {fileID: 4300006, guid: c9d91b460e1eac1479da0aa389decf8a, type: 3} - - {fileID: -3531946766418785785, guid: f394987cf3173ea4ca856283fb56d050, type: 3} - - {fileID: 2100000, guid: cede9c15945887147bfab84137210daf, type: 2} - - {fileID: 4493782366139066799, guid: 03015293f7da51a4cada6842ef0dae37, type: 3} - - {fileID: 4463556140080088852, guid: 03015293f7da51a4cada6842ef0dae37, type: 3} - - {fileID: 2100000, guid: a0b0da761b8a2744083e9d014d3a0ebd, type: 2} - - {fileID: -8497023870436895977, guid: 03015293f7da51a4cada6842ef0dae37, type: 3} - - {fileID: 8414218738977918667, guid: 03015293f7da51a4cada6842ef0dae37, type: 3} - - {fileID: 2100000, guid: ce975db36c97fac44aa0a2e71143a567, type: 2} - - {fileID: -2468174546278918456, guid: cafe9bf11b797be44b0a7252af9a5722, type: 3} - - {fileID: 7127769877949096129, guid: cafe9bf11b797be44b0a7252af9a5722, type: 3} - - {fileID: 1890811075063134906, guid: cafe9bf11b797be44b0a7252af9a5722, type: 3} - - {fileID: 5616418477269842043, guid: 9b18d8ac34fe0224798c43b6a57dda7a, type: 3} - - {fileID: 7570508659726298605, guid: 9b18d8ac34fe0224798c43b6a57dda7a, type: 3} - - {fileID: -3508624300052210440, guid: 9b18d8ac34fe0224798c43b6a57dda7a, type: 3} - - {fileID: 2100000, guid: 7911795df27dd464190eed77dda90191, type: 2} - - {fileID: 3027310215732490077, guid: 69dff89415e5c684c8bf1036a37c660f, type: 3} - - {fileID: 2473705003916454285, guid: 69dff89415e5c684c8bf1036a37c660f, type: 3} - - {fileID: 6651975614648439633, guid: 69dff89415e5c684c8bf1036a37c660f, type: 3} - - {fileID: -2006804626152393506, guid: 69dff89415e5c684c8bf1036a37c660f, type: 3} - - {fileID: 2100000, guid: e80202bb5f47aae43942f07e1a1f5e5d, type: 2} - - {fileID: 2100000, guid: 54439922abeec764faf094f0700b695b, type: 2} - - {fileID: 6673579506158328361, guid: c4a9428e4dfe6c44284e0c0a000d0ae9, type: 3} - - {fileID: 7787831528426595662, guid: c4a9428e4dfe6c44284e0c0a000d0ae9, type: 3} - - {fileID: -3557885753892589592, guid: c4a9428e4dfe6c44284e0c0a000d0ae9, type: 3} - - {fileID: 2100000, guid: 105f971ca217c094fa7495ee0849437a, type: 2} - - {fileID: -3302998734558440251, guid: fd67f305d1276cb4baac14013b5c2d86, type: 3} - - {fileID: -2962914609976016690, guid: fd67f305d1276cb4baac14013b5c2d86, type: 3} - - {fileID: -2338488038505442083, guid: fd67f305d1276cb4baac14013b5c2d86, type: 3} - - {fileID: 2100000, guid: 946b37dbb07fdaa4a996b5dc5d364d3f, type: 2} - - {fileID: 2100000, guid: b6f387d0b4bb07a4fadecdbe4bc51ae8, type: 2} - - {fileID: 2100000, guid: ec949b2849e515d429bb08d434cdc8f8, type: 2} - - {fileID: 4300000, guid: 0c9855749abc5a14a954c4e6dc082fbc, type: 3} - - {fileID: 4300004, guid: 0c9855749abc5a14a954c4e6dc082fbc, type: 3} - - {fileID: 4300006, guid: 0c9855749abc5a14a954c4e6dc082fbc, type: 3} - - {fileID: 4300008, guid: 0c9855749abc5a14a954c4e6dc082fbc, type: 3} - - {fileID: 4300002, guid: 0c9855749abc5a14a954c4e6dc082fbc, type: 3} - - {fileID: 4300002, guid: f140d58109640ef46af0d69de876ec6f, type: 3} - - {fileID: 2100000, guid: b6ac5baa43626934b9b936e8babe2fbb, type: 2} - - {fileID: 7519824029520083326, guid: c657cbeb7189a6e4faa250e8810ddfa5, type: 3} - - {fileID: 2100000, guid: 4fcf2ec4c50c747878631e625f91e771, type: 2} - - {fileID: 1125398788956078060, guid: c657cbeb7189a6e4faa250e8810ddfa5, type: 3} - - {fileID: -8436513303791760402, guid: c657cbeb7189a6e4faa250e8810ddfa5, type: 3} - - {fileID: 2794861980667203519, guid: c657cbeb7189a6e4faa250e8810ddfa5, type: 3} - - {fileID: -5110898914222667380, guid: 9963b4d6102394c4db8fc9784699d862, type: 3} - - {fileID: 2100000, guid: 4eb250b5f390b21478c5fbee8f3b1e29, type: 2} - - {fileID: -1818175185217214472, guid: 3b7ccf6e0ab6d75448a058d40c6befd3, type: 3} - - {fileID: -7535116304868481884, guid: 3b7ccf6e0ab6d75448a058d40c6befd3, type: 3} - - {fileID: 1194946957411759280, guid: 3b7ccf6e0ab6d75448a058d40c6befd3, type: 3} - - {fileID: 5673762355715515738, guid: 3b7ccf6e0ab6d75448a058d40c6befd3, type: 3} - - {fileID: 6463198933139180707, guid: 3b7ccf6e0ab6d75448a058d40c6befd3, type: 3} - - {fileID: 11400000, guid: c5cfdb0d09037b14caa122eb1c7e685f, type: 2} - - {fileID: 3906918208020252497, guid: c5cfdb0d09037b14caa122eb1c7e685f, type: 2} - - {fileID: -1126525242152300035, guid: c5cfdb0d09037b14caa122eb1c7e685f, type: 2} - - {fileID: 13400000, guid: cd4d66a5aded27a4588caf913d3933fb, type: 2} - - {fileID: 11400000, guid: 478bc6a7e9fd82c4a9d395af400e05e6, type: 2} - - {fileID: 11500000, guid: 7808656a201b86946a0b40195d3277b1, type: 3} - - {fileID: -677928599816364586, guid: 51c058f50598c7c4cb1a09e9fc0a6d6f, type: 3} - - {fileID: 2100000, guid: 4f315e993b358614a9ce38c794018d27, type: 2} - - {fileID: -5965729807848592748, guid: 51c058f50598c7c4cb1a09e9fc0a6d6f, type: 3} - - {fileID: -4075781929362043993, guid: 51c058f50598c7c4cb1a09e9fc0a6d6f, type: 3} - - {fileID: 5953150100223742978, guid: 51c058f50598c7c4cb1a09e9fc0a6d6f, type: 3} - - {fileID: -1681775263961149461, guid: 51c058f50598c7c4cb1a09e9fc0a6d6f, type: 3} - - {fileID: 2100000, guid: e95ea4259ccc4f441acea34a5a1add4b, type: 2} - - {fileID: -3292925553009838691, guid: 51c058f50598c7c4cb1a09e9fc0a6d6f, type: 3} - - {fileID: -3996760141626369306, guid: 51c058f50598c7c4cb1a09e9fc0a6d6f, type: 3} - - {fileID: -3531946766418785785, guid: 51c058f50598c7c4cb1a09e9fc0a6d6f, type: 3} - - {fileID: -8113768720884857512, guid: 51c058f50598c7c4cb1a09e9fc0a6d6f, type: 3} - - {fileID: 2100000, guid: 0f858218d32b3d743b975c855e1c4a6a, type: 2} - - {fileID: -3835615659322764696, guid: 9963b4d6102394c4db8fc9784699d862, type: 3} - - {fileID: 11500000, guid: f1454565ddde5b249a054545a05b51bd, type: 3} - - {fileID: 2100000, guid: 57db746b154327d49a66322fb9b0f855, type: 2} - - {fileID: -6799056753637144491, guid: e59a1818e0146d14980f3fc38bd02588, type: 3} - - {fileID: 2973962058912236589, guid: e59a1818e0146d14980f3fc38bd02588, type: 3} - - {fileID: -2139559533064313322, guid: e59a1818e0146d14980f3fc38bd02588, type: 3} - - {fileID: -3783128434218693831, guid: e59a1818e0146d14980f3fc38bd02588, type: 3} - - {fileID: -6201437837848608256, guid: e59a1818e0146d14980f3fc38bd02588, type: 3} - - {fileID: -5239409694435298007, guid: e59a1818e0146d14980f3fc38bd02588, type: 3} - - {fileID: 7477467713230224209, guid: e59a1818e0146d14980f3fc38bd02588, type: 3} - - {fileID: -4405140920381003426, guid: e59a1818e0146d14980f3fc38bd02588, type: 3} - - {fileID: -975145788574905347, guid: 1844e21cb94ab5c439b586022de03f02, type: 3} - - {fileID: 1072464280149525340, guid: f739cd512c767d945bfa677af183e250, type: 3} - - {fileID: 2752788004724228794, guid: cda4c2cb51b7d1d428b18fe43f518936, type: 3} - - {fileID: 1883499446970405488, guid: 1b51f8cb18d244c47833d3b733f6a705, type: 3} - - {fileID: 8876349068956119980, guid: 1b51f8cb18d244c47833d3b733f6a705, type: 3} - - {fileID: 2152794043347981194, guid: 1b51f8cb18d244c47833d3b733f6a705, type: 3} - - {fileID: 7220304080360658888, guid: 1b51f8cb18d244c47833d3b733f6a705, type: 3} - - {fileID: 2726293615421115386, guid: bf567c6dff1052944a529331972889e3, type: 3} - - {fileID: -7490190628416701508, guid: bf567c6dff1052944a529331972889e3, type: 3} - - {fileID: 8269448011172213329, guid: bf567c6dff1052944a529331972889e3, type: 3} - - {fileID: 4041091665946265529, guid: bf567c6dff1052944a529331972889e3, type: 3} - - {fileID: 7042588842743722101, guid: c588ac9fa5f1f8a499487d61c3106d09, type: 3} - - {fileID: 5370508012006113601, guid: fbdec79922f6b004f8626f8c82c002ca, type: 3} - - {fileID: 3641113520916142151, guid: bbfb6fc126611db4e99d0cd9b0add549, type: 3} - - {fileID: 913226515188383473, guid: bbfb6fc126611db4e99d0cd9b0add549, type: 3} - - {fileID: 6239884790196329857, guid: bbfb6fc126611db4e99d0cd9b0add549, type: 3} - - {fileID: 2165860169256462954, guid: bbfb6fc126611db4e99d0cd9b0add549, type: 3} - - {fileID: 4190309327482756311, guid: 46dfb71565d520e4c9b7aaddc35e6b06, type: 3} - - {fileID: 1548839363644090761, guid: 46dfb71565d520e4c9b7aaddc35e6b06, type: 3} - - {fileID: 8459712155944983282, guid: 46dfb71565d520e4c9b7aaddc35e6b06, type: 3} - - {fileID: -5870838031547685656, guid: 46dfb71565d520e4c9b7aaddc35e6b06, type: 3} - - {fileID: 11500000, guid: acba06d2ab5b05041a171929a461c9ff, type: 3} - - {fileID: 4300002, guid: 01e83f1ac305f1240aa0783712ccf417, type: 3} - - {fileID: 2100000, guid: 207c73bff38ed6c429a948d96c36305a, type: 2} - - {fileID: 7400000, guid: fb84bf4e393cc9d438983c043e38c9d9, type: 2} - - {fileID: 7400000, guid: 50b7f8dcc224c8a49b8c74336fed1185, type: 2} - - {fileID: 4965290303610317180, guid: d7231ae3eda602349926990223e1a6ef, type: 3} - - {fileID: 789336084000262107, guid: d7231ae3eda602349926990223e1a6ef, type: 3} - - {fileID: -3639821267599462519, guid: d7231ae3eda602349926990223e1a6ef, type: 3} - - {fileID: 5674938533919073311, guid: d7231ae3eda602349926990223e1a6ef, type: 3} - - {fileID: 2100000, guid: 735e6f3decfe53945b358221d0b2c1bb, type: 2} - - {fileID: -1543800175356013256, guid: 7411004a3675d8246bd60a380769f13d, type: 3} - - {fileID: -7444017152997478807, guid: 6cde6b69555816f4b852f735fecc98fb, type: 3} - - {fileID: -3131756052748687062, guid: 06d33af52615fb24b809bcd741fd323a, type: 3} - - {fileID: -2370356344301691097, guid: c3147c654a041fc4e9ff9f20834875aa, type: 3} - - {fileID: 4300002, guid: 1d204992e3181274b8ffd6e7f82479f7, type: 3} - - {fileID: 4300002, guid: 1dc1029fa1c008f42b476aba25f52f26, type: 3} - - {fileID: 2100000, guid: fb81b11d8682bb24390fd73681953016, type: 2} - - {fileID: 4300000, guid: 8240b851089e77342881e3e74a047944, type: 3} - - {fileID: 4300000, guid: 70f3caef458c17244bfb5fd8210d869f, type: 3} - - {fileID: 2100000, guid: 30f66275ff50c40408c621eca087b24c, type: 2} - - {fileID: -8778658408178077812, guid: 52ad8f7c27a3fc64cb38a756086f84b4, type: 3} - - {fileID: 7450741763379908841, guid: 049372f0cddd5734fb66dd04134b0b4b, type: 3} - - {fileID: 2100000, guid: 1e7164a45cc354046be044b5ffc5537c, type: 2} - - {fileID: 4300000, guid: 0f40f7ee023c2dd44b65e3751070f0e9, type: 3} - - {fileID: 4300000, guid: ecf85fbaeb7b1cb48bbc8fcea7ad1edf, type: 3} - - {fileID: 4300000, guid: 722c5841e60873d45ad17effa34102ba, type: 3} - - {fileID: 4300002, guid: 5ab1f58759e646c4fa9c253bf9794a21, type: 3} - - {fileID: 2100000, guid: 51c14c2a019c50b4b9f6a4f138f4e762, type: 2} - - {fileID: 4300000, guid: 3961044e8753f414bbfbddd7819de133, type: 3} - - {fileID: 1978418761432266623, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: 5001470383257787364, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: -3292925553009838691, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: -3996760141626369306, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: -3531946766418785785, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: -8113768720884857512, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: 9186633843763367028, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: -2639241166356525208, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: 7733717212360752527, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: -7647463442239531939, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: 4944557015945844418, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: 7643229109163234770, guid: aa922d755182ee4429d57094636a9e1b, type: 3} - - {fileID: 2100000, guid: 2870c9e18fb00264789730acdae896cf, type: 2} - - {fileID: 537882885674464208, guid: 62b06a3c81371fd42a3dac37ef9c49e6, type: 3} - - {fileID: -4360581950206516649, guid: 62b06a3c81371fd42a3dac37ef9c49e6, type: 3} - - {fileID: -7889225697467263424, guid: 62b06a3c81371fd42a3dac37ef9c49e6, type: 3} - - {fileID: 6066457743073500367, guid: 62b06a3c81371fd42a3dac37ef9c49e6, type: 3} - - {fileID: 11500000, guid: 49bfb838862db4342abe840fbfbdf0a9, type: 3} - - {fileID: 2100000, guid: e70f49f6d7d634d4ea05f4750f4b1adc, type: 2} - - {fileID: 7303985347878646474, guid: d201ba68847648c418716e2e73e9c2c5, type: 3} - - {fileID: -2197102075780670627, guid: d201ba68847648c418716e2e73e9c2c5, type: 3} - - {fileID: 1154124372382401162, guid: d201ba68847648c418716e2e73e9c2c5, type: 3} - - {fileID: 8357090108904170509, guid: d201ba68847648c418716e2e73e9c2c5, type: 3} - - {fileID: 4232615545436608176, guid: f756960288618c848a23cb5bee5400c0, type: 3} - - {fileID: 2100000, guid: 256793e2d03a9b14a8a8f964bda7e7ad, type: 2} - - {fileID: -5498821173291747174, guid: f756960288618c848a23cb5bee5400c0, type: 3} - - {fileID: 1446823648839374954, guid: f756960288618c848a23cb5bee5400c0, type: 3} - - {fileID: 4232615545436608176, guid: 796bd36b6a325d24b8a975d928eb722b, type: 3} - - {fileID: 2100000, guid: 8eb3b5ace6fd6534e89158767a209398, type: 2} - - {fileID: 11500000, guid: 7182a61276f08404ba48d2c26ba56075, type: 3} - - {fileID: -3292925553009838691, guid: 796bd36b6a325d24b8a975d928eb722b, type: 3} - - {fileID: -3996760141626369306, guid: 796bd36b6a325d24b8a975d928eb722b, type: 3} - - {fileID: -3531946766418785785, guid: 796bd36b6a325d24b8a975d928eb722b, type: 3} - - {fileID: -8113768720884857512, guid: 796bd36b6a325d24b8a975d928eb722b, type: 3} - - {fileID: 9186633843763367028, guid: 796bd36b6a325d24b8a975d928eb722b, type: 3} - - {fileID: -2639241166356525208, guid: 796bd36b6a325d24b8a975d928eb722b, type: 3} - - {fileID: 7733717212360752527, guid: 796bd36b6a325d24b8a975d928eb722b, type: 3} - - {fileID: -7647463442239531939, guid: 796bd36b6a325d24b8a975d928eb722b, type: 3} - - {fileID: 3274946172242779108, guid: a1a800ba8fc46474781a829c6da6b0e7, type: 3} - - {fileID: 2100000, guid: 63ef9440fe01c87478a51ef7f08a3597, type: 2} - - {fileID: 2100000, guid: 5bd5107bbe8665e4ab155708724ccbd4, type: 2} - - {fileID: 11500000, guid: 665b2c26c02bb60489e191296354bb4d, type: 3} - - {fileID: 1133012516766849421, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 1129774348655504705, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 1134722866617951095, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 1129662721813714125, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 937708172521592213, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 970940802607372373, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 1133375823506965755, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 1131150400315623449, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 971782350517483667, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 970981480997712023, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 2100000, guid: cbf7f07103fa99e4181c815486697559, type: 2} - - {fileID: 4032407498686900992, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 4026491396928775878, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 3832876754090127052, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 3833544472612820500, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 2100000, guid: 48a256de478b5064ca8c5563e3efbd9c, type: 2} - - {fileID: 2324988456398572162, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 3579307327165321500, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 2367054773173716519, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 4936550898242211324, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 8943625838081512905, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 8966720136285985303, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 6984044421563689561, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 2423642576296251297, guid: 38d2d59f74a114d4bac7a891298b3871, type: 3} - - {fileID: 11500000, guid: 8410750655a2d2f489c642c14c30aaec, type: 3} - - {fileID: 4300000, guid: 1f04fe726b3bee64f81c87863c2ebed8, type: 3} - - {fileID: 2100000, guid: a9593e7f52d0541419870f84ea82cb14, type: 2} - - {fileID: 2100000, guid: 99a055298d6265042874374609cea0f3, type: 2} - - {fileID: 2100000, guid: 75e50306bbdde224ca9ce255d18cb73f, type: 2} - - {fileID: 2100000, guid: 2e6569b12e2111343ad2ebbb627a1a6f, type: 2} - - {fileID: 3640123678423045922, guid: 1e518929367e7454cadf564571b82170, type: 3} - - {fileID: -4903950473668146713, guid: 1e518929367e7454cadf564571b82170, type: 3} - - {fileID: 1350892819067000442, guid: 1e518929367e7454cadf564571b82170, type: 3} - - {fileID: 227984104409497498, guid: 1e518929367e7454cadf564571b82170, type: 3} - - {fileID: 2100000, guid: 64d63dfbfc72a2d4fa87bda56c39b57c, type: 2} - - {fileID: 2100000, guid: 6f532b5d96ddc5b46b4a168d1ce9eaa5, type: 2} - - {fileID: 7400000, guid: 77b76c3dee2ba964fa6dec409c922a34, type: 2} - - {fileID: 11500000, guid: e59e9e53bdec3604da080498c7e3cd0a, type: 3} - - {fileID: 4300006, guid: 73348b7adf3513e4a93a45f24402ef9b, type: 3} - - {fileID: 2100000, guid: 3dfffd5a5d9d6c747ba693ecf451d511, type: 2} - - {fileID: 2100000, guid: 9a47f97112907c14c922c5f56fc6f87a, type: 2} - - {fileID: 4300000, guid: 73348b7adf3513e4a93a45f24402ef9b, type: 3} - - {fileID: 11500000, guid: 153bfba017503c74d919ab3c55d40277, type: 3} - - {fileID: 4300004, guid: 73348b7adf3513e4a93a45f24402ef9b, type: 3} - - {fileID: 4300002, guid: 73348b7adf3513e4a93a45f24402ef9b, type: 3} - - {fileID: 4300000, guid: 84255a6ff121a004894ced81888de5b0, type: 3} - - {fileID: 11500000, guid: acb414223d4e72240a4c12d2d6a14be1, type: 3} - - {fileID: 21300000, guid: 4ff161d7517ca2d468ba7db9c3084dcf, type: 3} - - {fileID: 2100000, guid: 00cf5a9f8b99edb4f8bc066783011a1b, type: 2} - - {fileID: 11500000, guid: ae518b3558fb3934d9483114512189ea, type: 3} - - {fileID: 11500000, guid: 3bd7c1d0cb20f4b43b0738961f62db15, type: 3} - - {fileID: 11500000, guid: 03eaeffd71d15c94dab7c026b21bbd7e, type: 3} - - {fileID: 21300000, guid: 168e10da6b1a187439da9dfdf0667a56, type: 3} - - {fileID: -7792510024688528776, guid: f2eb85ea2cc0e9f48bc89a76a7677946, type: 3} - - {fileID: -8848596817547098569, guid: f2eb85ea2cc0e9f48bc89a76a7677946, type: 3} - - {fileID: -5916590320452087919, guid: f2eb85ea2cc0e9f48bc89a76a7677946, type: 3} - - {fileID: -3055625408343474829, guid: f2eb85ea2cc0e9f48bc89a76a7677946, type: 3} - - {fileID: 7899025756634895457, guid: 0e3eef362d3301545a791ab4162cfb08, type: 3} - - {fileID: -3778552710529761293, guid: 0e3eef362d3301545a791ab4162cfb08, type: 3} - - {fileID: -7533098878529377088, guid: 0e3eef362d3301545a791ab4162cfb08, type: 3} - - {fileID: -7428990230393809499, guid: 0e3eef362d3301545a791ab4162cfb08, type: 3} - - {fileID: 11500000, guid: 51f5efbd6725e4135b5afa15b2f61d4f, type: 3} - - {fileID: -4768895652012954563, guid: bf0ace4357bea8747b935e0cad9ec59f, type: 3} - - {fileID: -7535116304868481884, guid: bf0ace4357bea8747b935e0cad9ec59f, type: 3} - - {fileID: -5509429343560399656, guid: bf0ace4357bea8747b935e0cad9ec59f, type: 3} - - {fileID: 6188727559739785380, guid: bf0ace4357bea8747b935e0cad9ec59f, type: 3} - - {fileID: 6102895906985127448, guid: bf0ace4357bea8747b935e0cad9ec59f, type: 3} - - {fileID: 2100000, guid: a82e2dcdc0197284db315d63644a6269, type: 2} - - {fileID: 285173623091873423, guid: 5ecb0c47431a8164db4198c39aab9c23, type: 3} - - {fileID: 5668525911440863060, guid: 5ecb0c47431a8164db4198c39aab9c23, type: 3} - - {fileID: -4779603017822390178, guid: 5ecb0c47431a8164db4198c39aab9c23, type: 3} - - {fileID: 7148896784838649367, guid: 5ecb0c47431a8164db4198c39aab9c23, type: 3} - - {fileID: 4300000, guid: 8ce16d3eb18eb124cbd3e140176464f7, type: 3} - - {fileID: 2100000, guid: 11a65b9b3d35aa64da963ebe10db0b04, type: 2} - - {fileID: 11500000, guid: 26f513fb966187949a9ceeb6cde717c9, type: 3} - - {fileID: 1685491737006986, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 4400588286255550, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 1077121069960906, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 4430981797026098, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 198386434315369190, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 199199089751955794, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 1120687184020128, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 4979115681039358, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 198824696875858716, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 199893867746596904, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 1083685481411842, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 4735495063453648, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 198554698831193398, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 199911185048045998, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 1212669432273548, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 4788684171991446, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 1003632744778474, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 4723756483817542, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 108962456040877226, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 114807906555530836, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 1723595385534678, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 4858849521043064, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 1639220283668096, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 4166813516837676, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 114822221101045702, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 82155684749707740, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 1299975182679482, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 4171045550618238, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 114008161060454274, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 82080349598824456, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 1662360563880068, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 4545529992367598, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 114904175885502562, guid: 6fc25221225b78c4da7f42307c8ca364, type: 3} - - {fileID: 11400000, guid: 4684f25ea680ac5418ff9d11bdcef745, type: 2} - - {fileID: -8356766053425231806, guid: 4684f25ea680ac5418ff9d11bdcef745, type: 2} - - {fileID: 1451707119271192577, guid: 4684f25ea680ac5418ff9d11bdcef745, type: 2} - - {fileID: -3982579239655081310, guid: 4684f25ea680ac5418ff9d11bdcef745, type: 2} - - {fileID: 4300000, guid: 0f9bcb37639026944a0eb9a6958ad2c4, type: 3} - - {fileID: 2100000, guid: c50b39b66b4c2514abd250b290570076, type: 2} - - {fileID: 2100000, guid: 4f5e3884e1b5d0742a6836ceebb8b2f1, type: 2} - - {fileID: 1975786158291536, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 4315343377622900, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 1654011709422128, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 4624570142688298, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 198491055735286206, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 199366798901900306, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 2100000, guid: a69e413641b51ee4ebcb6974c941427c, type: 2} - - {fileID: 1827441690307382, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 4657430358404928, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 198948337652190550, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 199442102476353312, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 2100000, guid: 33a5467520a5fb44496a087b409e3d55, type: 2} - - {fileID: 1277719709856122, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 4380996380988728, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 1514285564075222, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 4635094144416314, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 114834431701699260, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 114695269830753122, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 82266182752353444, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 1815784398652256, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 4611275703373928, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 82231821731241278, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 114690102706102916, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 1686177701623118, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 4031647049893320, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 114299852473013114, guid: 99254b3ee2f40024ea0cc2bc0428c7c1, type: 3} - - {fileID: 2100000, guid: d361b80bb3254fc478dea7259f7fcb68, type: 2} - - {fileID: 11500000, guid: f3492cf10ef6be247b080774d2070ff5, type: 3} - - {fileID: 11500000, guid: 65254f02113119c4d87d5115eebe910f, type: 3} - - {fileID: 1100874966522690, guid: 9ec9519fcd4c08f478b91c1075539dd5, type: 3} - - {fileID: 4561194820298252, guid: 9ec9519fcd4c08f478b91c1075539dd5, type: 3} - - {fileID: 82925668093486488, guid: 9ec9519fcd4c08f478b91c1075539dd5, type: 3} - - {fileID: 7642247427861946190, guid: 9ec9519fcd4c08f478b91c1075539dd5, type: 3} - - {fileID: 2100000, guid: 3d2a4a61fb45b5e4cbcbf41a553eb638, type: 2} - - {fileID: 2100000, guid: 1bbe76ab99398cd4b81c04c5625583c4, type: 2} - - {fileID: 2100000, guid: 1bd89a5669ca9bb409f98b03a1d5ece8, type: 2} - - {fileID: 2100000, guid: 5f811fb685089ea419d2bc1e8e80ce0d, type: 2} - - {fileID: 2100000, guid: 673b008938bc381479c4ec76cf1bb8d5, type: 2} - - {fileID: 4300000, guid: 61000ba11363530448d78739983c4678, type: 3} - - {fileID: 2100000, guid: 76a705a5efcefa94cb0033d5b0f65b25, type: 2} - - {fileID: 2100000, guid: 6063fc46276911c4b879ae212d251951, type: 2} - - {fileID: 1978339525470840, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4570560573720312, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 1424435591356714, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4781259207929092, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 198533772514632626, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 199782483114349886, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4300000, guid: 08a645ca50977a441aa65b77a47064c7, type: 3} - - {fileID: 2100000, guid: c4f0d57dd8a95e74f8125006a94f3a33, type: 2} - - {fileID: 1759190327302814, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4803485404603270, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 198525020219545916, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 199733321865526576, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 2100000, guid: 0d2e219de614fb542bac8c4cc3891fa1, type: 2} - - {fileID: 1328289184763814, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4253355128499360, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 198557404194659020, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 199681518607146432, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 2100000, guid: 1ff1fa139cb20554daff3419d134b752, type: 2} - - {fileID: 1880284424721044, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4252127267497976, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 198087110682472056, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 199717045170989164, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 1305281916127382, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4015797565682788, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 1186604114411118, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4606522496597988, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 108689825063144544, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 114852863253868710, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 8088773555918700401, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 1495056377423554, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4530719334344774, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 198153699066065490, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 199424345545162332, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 2100000, guid: 695ee8a5a1c771c44860538c6760ef51, type: 2} - - {fileID: 1829324351239780, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4324348057520626, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 198619706885936822, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 199908486887739148, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 1433861837223602, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4370994163243520, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 1429861001227352, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4528368360648616, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 82339045044734144, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 1285179667835674, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4012844193289574, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 82133757255566242, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 1777663729050558, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 4461919702837324, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 114884542700305556, guid: 260f399c3ea71934bbf9a913d99f9d6c, type: 3} - - {fileID: 2100000, guid: 68d9565b64442b24e9df79d238862168, type: 2} - - {fileID: 2100000, guid: 200723f5bf63db7469645f2d6f44ca82, type: 2} - - {fileID: 2100000, guid: 3910073b852717c429ef740ff3459549, type: 2} - - {fileID: 2100000, guid: 780c782bb17fb3a48a7148bd3df39861, type: 2} - - {fileID: 9091344075837094916, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 2646845751451218558, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 7796734567378129901, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -5546885370591743827, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 4581188374056244385, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 3248258932366744055, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -5609590689141315559, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 1954301376403881739, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -7317041736318001816, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -1866639713417154457, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 5010602404670954339, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -6899182872169474207, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 7114614540603006807, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -7796419048504452751, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -5231358951402311910, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -8477281063888327280, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -2863135353859802398, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -1959354369801939508, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -6027990687423189513, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -4976938801335997875, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -7622670008671965192, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -5964443404700973286, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 5582481579895551392, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -5743295191792133365, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 2377791958543546175, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -6583508705673752194, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 7801999293695889183, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: -8805161253009019499, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 2151834093703680625, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 382400778191989906, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 3769378506567708730, guid: 1b1e6ad5c7db50147a373759a5c99495, type: 3} - - {fileID: 11400000, guid: 4fb587ec0c2018645a209ac93cd6f20b, type: 2} - - {fileID: -3085156903107039534, guid: fbb4560a118d88749b466ff1d22dee54, type: 3} - - {fileID: -7535116304868481884, guid: fbb4560a118d88749b466ff1d22dee54, type: 3} - - {fileID: 2413259182573219410, guid: fbb4560a118d88749b466ff1d22dee54, type: 3} - - {fileID: -8673950667193841382, guid: fbb4560a118d88749b466ff1d22dee54, type: 3} - - {fileID: 8089177137823139313, guid: fbb4560a118d88749b466ff1d22dee54, type: 3} - - {fileID: -2609305643354511896, guid: 37038c337b7ea8048b370a71dba13e58, type: 3} - - {fileID: -7535116304868481884, guid: 37038c337b7ea8048b370a71dba13e58, type: 3} - - {fileID: -6331455938486779585, guid: 37038c337b7ea8048b370a71dba13e58, type: 3} - - {fileID: 4002748553274787716, guid: 37038c337b7ea8048b370a71dba13e58, type: 3} - - {fileID: 5807692262562679547, guid: 37038c337b7ea8048b370a71dba13e58, type: 3} - - {fileID: 11500000, guid: 435af7c014d72e94ead59b528cd430a5, type: 3} - - {fileID: 2100000, guid: 86dd4f444078c7b4d824ae1e7ec015eb, type: 2} - - {fileID: 11400000, guid: 89663e938c9cdcf4f9f32025c0957040, type: 2} - - {fileID: 6994076395573131847, guid: 89663e938c9cdcf4f9f32025c0957040, type: 2} - - {fileID: -2991025118658219907, guid: 89663e938c9cdcf4f9f32025c0957040, type: 2} - - {fileID: -8400097721101330634, guid: 5552a921eb7fab943895321eb91f5830, type: 3} - - {fileID: 8554187561498724823, guid: 5552a921eb7fab943895321eb91f5830, type: 3} - - {fileID: 135586, guid: 19f53be6c41ed8844ab7091513f2426d, type: 3} - - {fileID: 449932, guid: 19f53be6c41ed8844ab7091513f2426d, type: 3} - - {fileID: 198367197439351486, guid: 19f53be6c41ed8844ab7091513f2426d, type: 3} - - {fileID: 199617081577422180, guid: 19f53be6c41ed8844ab7091513f2426d, type: 3} - - {fileID: 4068123679155741644, guid: 19f53be6c41ed8844ab7091513f2426d, type: 3} - - {fileID: 184202, guid: eebf36b3f36961449b48f7cd618ae273, type: 3} - - {fileID: 423458, guid: eebf36b3f36961449b48f7cd618ae273, type: 3} - - {fileID: 5420082081289325120, guid: eebf36b3f36961449b48f7cd618ae273, type: 3} - - {fileID: 3966889493148399481, guid: eebf36b3f36961449b48f7cd618ae273, type: 3} - - {fileID: 120084, guid: eebf36b3f36961449b48f7cd618ae273, type: 3} - - {fileID: 408476, guid: eebf36b3f36961449b48f7cd618ae273, type: 3} - - {fileID: 3357720, guid: eebf36b3f36961449b48f7cd618ae273, type: 3} - - {fileID: 2390346, guid: eebf36b3f36961449b48f7cd618ae273, type: 3} - - {fileID: 1606542427775616, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 4840106065745484, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 1827988419837942, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 4035817611096852, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 198306971971634078, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 199688109071600538, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 1030975258253434, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 4978070653628352, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 198045514471419544, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 199715574464684888, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 6545890033423119225, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 6539800529681360969, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 6371804835057862389, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 6347814622281226037, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 1936227566325814, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 4311465109639652, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 114064933120233714, guid: 46d02fdac1ac803448b2bf72bc2a732d, type: 3} - - {fileID: 1514282284419572, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 4241111278148062, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 1854385448852578, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 4476740428192730, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 198321200803993650, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 199752162908056532, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 114887300833662146, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 1654477767434382, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 4198605986900918, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 198977262500188636, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 199986155937621946, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 114300394525166890, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 1529691625137140, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 4766129703693574, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 1053925716465482, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 4858213646075992, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 82582750762538116, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 114025548991055450, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 1765546765154070, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 4367927386009066, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 114644750169050680, guid: ad259b29cbefa54479b68c8a4960565a, type: 3} - - {fileID: 11400000, guid: 7b2b75ddf4e961e4bb3fa51195dd4b33, type: 2} - - {fileID: -1849223087411304739, guid: 7b2b75ddf4e961e4bb3fa51195dd4b33, type: 2} - - {fileID: -1407959224470417010, guid: 7b2b75ddf4e961e4bb3fa51195dd4b33, type: 2} - - {fileID: 11500000, guid: 1d13dccfe911b47f182de4a32036a169, type: 3} - - {fileID: 21300000, guid: 74938967677ed3a4cafa1c74d6e543c8, type: 3} - - {fileID: 21300000, guid: 0f2704a843128794ab6c432f5900efa2, type: 3} - - {fileID: 21300000, guid: 998c4bf20a2c0074b98225523a9cf7cc, type: 3} - - {fileID: 21300000, guid: 127939cfe970c4b42b51e00b4d41ff37, type: 3} - - {fileID: 11500000, guid: dbbb513818b8211428fb9b3d3c36758f, type: 3} - - {fileID: 21300000, guid: b403cd471a96a574cb7461e39518989a, type: 3} - - {fileID: 21300000, guid: bd2d77f00d7e9c548a139835d3ca6697, type: 3} - - {fileID: 11500000, guid: 628625a0302c4664bbb44144c9a7b04d, type: 3} - - {fileID: -8097115522409661777, guid: 0e74f41e2f487f44fad5281def7066cb, type: 3} - - {fileID: 11500000, guid: 3f8df5998f95c0a43a72e5ce689f0c33, type: 3} - - {fileID: 2792517348513667351, guid: 0e74f41e2f487f44fad5281def7066cb, type: 3} - - {fileID: 6074611648660087407, guid: 0e74f41e2f487f44fad5281def7066cb, type: 3} - - {fileID: 8540998599750456070, guid: 0e74f41e2f487f44fad5281def7066cb, type: 3} - - {fileID: 3265940742826068057, guid: 0e74f41e2f487f44fad5281def7066cb, type: 3} - - {fileID: -208503515, guid: 0a7b27024d171384eba3f3f43aeb0a70, type: 3} - - {fileID: 21300000, guid: 2c9e1e10abb92f34f9a160b63dbe8ff1, type: 3} - - {fileID: 1925307845, guid: 0a7b27024d171384eba3f3f43aeb0a70, type: 3} - - {fileID: -1239712944, guid: 0a7b27024d171384eba3f3f43aeb0a70, type: 3} - - {fileID: 11500000, guid: 75c3fc2cefa7a6340a916bc8411aa276, type: 3} - - {fileID: 11500000, guid: 1928f81dec01ef84caa9ed91cd050d57, type: 3} - - {fileID: 8158296672657720701, guid: 61af3f6b14540c5449a1f19f003e2fef, type: 3} - - {fileID: 11500000, guid: 493a00bf42b7a2243ae2a036f06841da, type: 3} - - {fileID: 786194886791511614, guid: 61af3f6b14540c5449a1f19f003e2fef, type: 3} - - {fileID: 3861045974018979559, guid: 61af3f6b14540c5449a1f19f003e2fef, type: 3} - - {fileID: 3313786135884455570, guid: 61af3f6b14540c5449a1f19f003e2fef, type: 3} - - {fileID: 2880646797361054954, guid: 61af3f6b14540c5449a1f19f003e2fef, type: 3} - - {fileID: 11500000, guid: 30ddd15b742f9d3448d907cb4d6003a8, type: 3} - - {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3} - - {fileID: 11500000, guid: 170f4eecc19e91941bb7b3c4ef6d5742, type: 3} - - {fileID: 7240368623984240119, guid: 5dd761199ee4b7045a10fd9b79e36026, type: 2} - - {fileID: -2526721507357191017, guid: efbef1bc5f0ade441aabd27454139ff2, type: 3} - - {fileID: 15600000, guid: 98c1e77b0574ab14592dabf80d827e5f, type: 2} - - {fileID: 2100000, guid: 594ea882c5a793440b60ff72d896021e, type: 2} - - {fileID: 11500000, guid: 7d3882580e6fcb84999e25cfbf8af764, type: 3} - - {fileID: 2100000, guid: 18ddcdc2b7e5cbb4585a58908ad0cc23, type: 2} - - {fileID: -244548147852750464, guid: 8602ade5acce2dc49a0a263f7e1ba5c3, type: 3} - - {fileID: 4300000, guid: 48376f905f27aec4ebcf01e18e4bd743, type: 3} - - {fileID: 2100000, guid: c6d5f4796d3463a4fb392b1a9912130a, type: 2} - - {fileID: 4300000, guid: 87289a72827e1d846a30b4581a81181a, type: 3} - - {fileID: 2100000, guid: 05698e902acf37946b2e636668bcbd45, type: 2} - - {fileID: 4300000, guid: f7121a05e5e7c434382978aaffbe2983, type: 3} - - {fileID: 2100000, guid: 8de04aeecfa19dd48a4873a0649b5108, type: 2} - - {fileID: 2100000, guid: d960d897cdc819041a73dceb80befb85, type: 2} - - {fileID: -6025712408805081422, guid: e7a084e2d885c6349a551cf2134674c5, type: 3} - - {fileID: -140523848266156868, guid: e7a084e2d885c6349a551cf2134674c5, type: 3} - - {fileID: -3292925553009838691, guid: e7a084e2d885c6349a551cf2134674c5, type: 3} - - {fileID: -3996760141626369306, guid: e7a084e2d885c6349a551cf2134674c5, type: 3} - - {fileID: -3531946766418785785, guid: e7a084e2d885c6349a551cf2134674c5, type: 3} - - {fileID: -8113768720884857512, guid: e7a084e2d885c6349a551cf2134674c5, type: 3} - - {fileID: 9186633843763367028, guid: e7a084e2d885c6349a551cf2134674c5, type: 3} - - {fileID: -2639241166356525208, guid: e7a084e2d885c6349a551cf2134674c5, type: 3} - - {fileID: 11500000, guid: 0b2db86121404754db890f4c8dfe81b2, type: 3} - - {fileID: 11500000, guid: 558a8e2b6826cf840aae193990ba9f2e, type: 3} - - {fileID: 11500000, guid: 97c23e3b12dc18c42a140437e53d3951, type: 3} - - {fileID: 11500000, guid: 5485954d14dfb9a4c8ead8edb0ded5b1, type: 3} - - {fileID: 11500000, guid: b6de40c3d47391a4e89d129fbf4136c1, type: 3} - - {fileID: 11400000, guid: 2d1052b821cd57d42b9768a990e33c71, type: 2} - - {fileID: 11500000, guid: 9ece3bd7f611b49ccaaa625adf2429a7, type: 3} - - {fileID: 11500000, guid: f994cc1e6b8c0be4aa9cb499516ef312, type: 3} - - {fileID: 11500000, guid: 5ed35d7817ea1c142ab53dc40d47ecad, type: 3} - - {fileID: 11500000, guid: 73b9091c5c040480ab84b12a5e673d57, type: 3} - - {fileID: 498591472276671051, guid: a22a9884ffbb050469d036a2b0045411, type: 3} - - {fileID: 11500000, guid: 19fafd6a9de4a8b45a568107796e6a58, type: 3} - - {fileID: 6167010339520921750, guid: 411cdc12007f5c7429ceb0dd0c899695, type: 3} - - {fileID: 2100000, guid: 5bde88515a161cf44b1ee4c2c8c2698d, type: 2} - - {fileID: 21300000, guid: e630544619b4d294c948da5c1b655cac, type: 3} - - {fileID: 10754, guid: 0000000000000000f000000000000000, type: 0} - - {fileID: 11500000, guid: 1f9da1a79749644e9a1d37902dac24ee, type: 3} - - {fileID: 11500000, guid: c71cc702f7047e94db5dacd0d5bfba8b, type: 3} - - {fileID: 11500000, guid: 01a49bbd2406d4a5f8ae5ad40326117b, type: 3} - - {fileID: 145182807891766407, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 668813484176291389, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5697623055692398924, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2771266855296782355, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1869341007450391921, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2881367511299427521, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480946225538, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480411329181, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480411329185, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8402125871639069773, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 564909053124010023, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 605187736388311949, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1087209305531306132, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: -5030993690615808209, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 498122787460346701, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5565493057008222219, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7384029865178170832, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480946225659, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9052319448832799575, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9168089605447091091, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8166295448093787280, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481945847185, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9043282928681990425, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 222668319895640316, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3560243734800386484, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3039011068403183305, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9059520122149357766, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7021733499468492784, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2444158891201166102, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480988590694, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480988590691, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480988590689, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480988590688, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481989931288, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481989931291, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481989931301, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481989931290, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6248607972346682034, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2678279519885637163, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7331056646167425853, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1976844477347914489, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8446890566207943071, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8778835328607015366, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9059026447091373186, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5458434349137849000, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5208600871442454687, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6518046445433997134, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3525894637268371368, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481933353769, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481933353768, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481933353770, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481933353771, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3458532680287419669, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2573442874120074892, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7312330664156476058, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4723885843913998895, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8605211562222799362, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7991033887727897092, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480840561776, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480840561779, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480840561789, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480840561778, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 360117194067999920, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1218225457384966430, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4171918967510165655, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4296776321554114532, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2050188015716554987, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2068690777970540759, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481375089663, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481375089662, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481375089656, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481375089657, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3507410494520212206, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7442951093103010598, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8391896244610029811, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6561807140132444440, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5310186034556873887, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 863165820148612642, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6696693026671669934, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6567996059859124505, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8774215042963391227, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1491572809526748896, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7763626967150824630, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480305616812, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480305616809, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480305616815, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480305616814, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7905357020469831009, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4539875813944361057, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3896483143931851175, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4067044619156085546, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 322074608278010035, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2721092428807103083, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2914583075101119906, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2529415926901139900, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1540959804427156987, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1250453840052169357, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1003162008723764636, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481213679717, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481213679716, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481213679718, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974481213679719, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4010830710593231951, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3070222901262141864, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1501005172001856014, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4018203961773542112, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1475925961400051495, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8993654574710939461, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480831273283, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480831273282, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480831273292, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480831273293, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5992929783276981381, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 601162926822433625, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2154922012275877057, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1312380621476574168, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6426395500305832321, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7196817129597195386, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480669939334, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480669939329, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480669939331, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8306974480669939328, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8645990685578681017, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4851121417663474163, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2359728766857903336, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7098558708777125890, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1090198961356393949, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1666531204363515233, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1718385745715919416, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1602046077510092754, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5717948926474905118, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6351565433873195242, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5756811185403751174, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 871126361922411930, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7548215978968275980, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4986191690057732163, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 11231657804976641, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2172603522978508389, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3507474706706935659, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4510363585308642166, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4550212276521477371, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1737380412366725630, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4703239632233654814, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5984651647786124814, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2322598842309072192, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8693074734330519488, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 496468614470552627, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2709307473241850407, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3863757806329750646, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4852393728718188886, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1133714074701454784, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2357870092192008571, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2880134317510113095, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1455361102793470829, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2807283824843450150, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 299173543397853658, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6715265701178975475, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5502089026360606574, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4456505617813006326, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5732159520190161506, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6170306833334748310, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2725179368898716889, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7776940573332588477, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8583935247917487131, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1146000410463405023, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 612174768477361522, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2715974730026851778, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5359031525029339566, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8104762747722846658, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4320527419821965170, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7501736447747777806, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8181206876220073164, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4180750328637999740, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7632228096813895680, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4737468135415328468, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1529963568493526376, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6674538808294306784, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123303651, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134807795, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134721905, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1113321093, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1113098815, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123351889, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134591991, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1113079861, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123517765, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134573589, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3638365256905573734, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 2639117734959247338, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3034988967893484466, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4917091853962604847, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1926579954325053044, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123525323, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134572321, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134877165, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1113148391, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123543983, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134591967, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1113158031, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 8344773777866118199, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7887766118768613534, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7738653496337685741, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5471164066495029040, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7004246307772453271, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 470291141523646578, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7950377534834809994, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 747404170537577763, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6721675868942209273, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1131267071284757768, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 5068241036982048821, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4823403197889906932, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9510529601, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9610745362, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9612890469, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9461108563, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123316883, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134821195, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134891711, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1113139345, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7208262157538090882, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 6820184208908186546, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1241112051370329023, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 3125611689641750392, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285734488807, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285734181549, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285739942721, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285734412795, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285734248181, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285740562949, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285739930079, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 99070315609356709, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285734431541, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285734194273, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285714818483, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285714642111, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285734420487, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285734173203, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285714779131, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285714618901, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285734397225, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285734166375, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285714822941, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4488022285714614055, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4489985129671441555, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4492600925902422513, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4361884584961324025, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4362651342550141745, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4489270496713300129, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4487489019483227435, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 4602000415326142149, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123348013, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123027763, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1113105553, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9510070121, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9610179297, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9609340464, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9461465962, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9460782311, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9510425632, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9610444867, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9461178802, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123332019, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134631797, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134916987, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1113072599, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123300031, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134626271, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1123337181, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134814637, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1134912391, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 1113071363, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9508792495, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9610445079, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9460724927, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9509005450, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9610321058, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9508931389, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9610297496, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9612600222, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9460710091, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9510166225, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9610069501, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9612958887, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 9460633792, guid: e115436bfe06bd447a266ca75621bbdd, type: 3} - - {fileID: 7479598640678843761, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7820236841459150795, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7714022415548090414, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368881022527, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368881022503, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368881022502, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7175886684001734184, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368881022501, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368881022500, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368881022523, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368881022522, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368881022521, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368881022520, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8845325299544843716, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: -1278527073786056490, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3938029089036456179, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8534199483043517832, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6237934316188186782, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7103197231425963534, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4065801471284967875, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5337082456567761167, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2584704431567929867, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5278141174676888187, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5708178921383819173, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7751725513184067631, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1532676739292691826, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1426834870497900918, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3418529992858575109, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3154142124561337460, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3382241041530610740, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 9007464825215599108, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3053621362526828530, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 997249308630315984, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4127574785963302001, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6255038515455506046, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7902070134087418998, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1381415459752517567, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 197338972580437718, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5075039055722706074, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5465452357921543021, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1608828349376969646, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2781345135082110678, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7674630026590470038, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2381354089006405430, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 753874648554053361, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3628571236721768209, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 309519810066256237, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3827373881966903838, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7377610032607165319, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1482941688207595114, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3714911889618712780, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1864619446598276113, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3533956100728169675, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8243991000161746247, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1990524378054106081, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4052615594113070529, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6178921667159640560, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2735874124596916894, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3076220785011461633, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3114120012482504157, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4030048440703920165, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7230637490463274447, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2288899016938882172, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7684903219170131037, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 344471880002358404, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 422819331517970140, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4556360488611655375, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4761670073486903863, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6906709969788856239, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4058870348227800095, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7202401122741738644, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 602084212083249632, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8246900214482583798, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1871589814347193913, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5251077555383114430, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2332813915378197308, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2319600056911961857, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3764936858276870979, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3305776345512909052, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8884851917090283710, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2479938439839464365, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2067147144280365923, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 810456292462802561, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2663866437726249696, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7619378336274212588, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 950363894151135527, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7179427058329478805, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4557342639362377613, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4689625907752079875, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2731693220706899300, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7827907225499454716, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4097818659112661181, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 200094940024363464, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7385147146927705955, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3400634275492204743, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8729479391408919392, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7982291271328574805, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4784463992062510187, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5807298487435704400, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8006145812510970764, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1505408907878862298, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7255458325151105338, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6823601256148583856, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6967805196288730707, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7149516221054715097, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8499342226105530774, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1902409183226919290, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6533520980653047434, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6669576785735499575, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2926154703894907339, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 599950327792671340, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2722494758439744360, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5862351609828662795, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8654225164651499078, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 329086234033445822, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5600822016888371656, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3609034892952471946, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1514479983464300647, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4715325323379346102, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5119903502595790585, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2539573037233153174, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3459589984120597827, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 799581511690071014, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7683764928085136356, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3519905422966328616, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4087003554382506902, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5622844334663383250, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1160739855768665433, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2828262342537740140, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8363808371105851820, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3840980481518463702, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368871612537, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368871612536, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1179497723602868580, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6838049509574335738, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4997970672729201198, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4809886288004379446, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8187791123995467221, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4003331213186223754, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1615273673589940108, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 706987175369880950, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1945870872928039217, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1281420401657801071, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6608338381595447840, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6578074579968537650, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7302380346659440211, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7020093142444147958, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 196253576206763143, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7883779924121676863, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 233142481790055765, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4769146352027601241, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 860020134564089198, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8027463155358100150, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 583668029127330592, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3991605030476475306, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 183199157309758631, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 972922267875922920, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 9191386053620725238, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8802751214800429623, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7291175632003039444, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3169535811130126091, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7111452784241234963, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8820762687587341581, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5555082936668771959, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4481200019139860800, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5520569658811933184, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3036674476188513657, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1712464785118202326, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6337239182300049526, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7813644470265704849, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4232241002403663462, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 751651865393688254, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 137280423401998324, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3242724623949914160, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6380323786201194824, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4467651833251576815, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2096581738089609542, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7074821224640652850, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1804997425604148313, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4425644110241099352, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3265902763903393251, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 218836485360722296, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 32221232867783964, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1106575115584570935, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7159051364730937576, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8967896175631880858, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4764614009904563185, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7731586674498589204, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2788296817610356587, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5712433195264513534, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2373368307596592417, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1212256221424537870, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4813428686386510823, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2422938129294900704, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7008699148630874687, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1448666231592573173, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8353766219721052287, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 730786230085499587, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6170606231851947842, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2214654903596977826, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2834127929717313421, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7271150190659622, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5604747949437475829, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2402959270974851107, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7098185809956760180, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4256191509648706843, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1427366157257865428, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1663457716911236947, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7185725599145168952, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1332577416149957163, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8852967428989452459, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3540102384625357435, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 149397102455107483, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5153870618350910692, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4386690066754291137, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5675479784198397599, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5805073686266939772, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 182844332986278570, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5046195969981127160, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 878417019326970953, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4177236293685877605, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2960431558038080639, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3590340355660953968, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5822044114955882742, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8553534704947867660, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5325216647704273214, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 908828029907896897, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7673737236793885048, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2284191567822697613, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6418099222919302197, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 837057820017994943, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 9066586914692117138, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5902055437360925421, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7693651990548088442, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5609690695622556261, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2072685353345485884, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5535176218658840378, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2006165998545118747, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5812225560874741490, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2383861801543886319, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6894979107232009101, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5099670777137129890, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3275581799788098410, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7778343412950731164, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2534420774015450924, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3902214375860123702, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3946041592992025546, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8232269781211243611, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1992234444681291340, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7808049577652116806, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 67056801886686353, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2580942675964115285, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5485497264877839662, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6301940501515134322, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2510429818155258270, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1778428593774876365, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4899228045961551792, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7652539283843641596, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3942633157238952135, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2794876332780164136, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8371594974983683993, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6606859563213256526, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7885052902452002457, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2045840609677986334, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4782845682254615718, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1670932423023829022, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2430033090814159712, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4001710099187346589, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8378755618687894292, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370305948320, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370305948327, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370305948326, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370283489607, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370283489606, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370283489627, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370283489604, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370283489605, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368918201446, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368918201445, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368918201444, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369050702635, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369050702634, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370253048872, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370253048879, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370253048876, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370253048877, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370253048878, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368692903777, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368692903776, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368692903782, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368692903783, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368726878772, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368726878731, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368726878730, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369065009965, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369065009964, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369065009955, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368897332071, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368897332070, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368897332091, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368897332068, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368897332069, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368814293031, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368814293030, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368814293028, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492368814293029, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369018820224, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369018820231, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369018820229, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369018820230, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370355019530, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370355019529, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370355019535, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492370355019528, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369708057889, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369708057888, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369708057894, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4901492369708057895, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4686549637097042145, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 16933621479259475, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8309022130563433898, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8383978913565972353, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3413919394467780091, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4931442346539666623, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1324097118, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1324097120, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1324097119, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2868705260323553174, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 121686518, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 121686519, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 121686523, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 121686522, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 121686521, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 121686520, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 893946753, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 893946754, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 893946756, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 893946755, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 496480962, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 496480963, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 496480965, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 496480964, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1876269522468035528, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 801453456, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 801453457, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 801453458, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2033585775021278798, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1689817226332216564, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8996587769910318910, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4870854982149409532, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3595350378288691760, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2584521494477869228, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8103106468499822268, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8552934006639429219, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5443061042168857669, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4734073363628445217, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1640965749412645281, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8197382694756969342, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2386196543325774686, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7976237188843900493, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7510107419652688457, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 9212187089043499165, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5953552338849854550, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 210195440559645827, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3594058986445971406, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8626432491998874806, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5072277717517871732, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 919973056314529036, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4342479775774511151, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5778579722431987531, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6126094405786638091, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2919575767214309918, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3244088509718109073, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8127509876883097421, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4936020665665823765, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3258983571135317313, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1611631994566309705, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5140506407587176162, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 396730970032406240, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 660108634444784073, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8889023395666258908, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1154313264038703221, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2224171987694320063, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5393603019278066600, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7486083444117659000, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7901518220941019281, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6732092556782472681, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5675960750219461128, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8469416947103635120, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7697180169380980143, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3628025885277870030, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7061474475138447330, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3849390166751067162, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 519455009435910638, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7666385369415709924, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7662958252911252503, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2990235872523229160, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 858210752, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 858210753, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 858210755, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 858210754, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5664371255126657083, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4419237379913737998, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7139662289210720266, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7022650265245175179, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5246613514057981651, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 2990513404407151895, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4046031856800269894, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1021221498069478442, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4532121108180871438, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5923646702491680282, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4159798242926529935, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 421486720549829723, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3696725791868264812, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 4250800931942801243, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8716767304253305444, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3308811143340806491, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 5009625943996700420, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7317957095370056762, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 9126475102749921003, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 6340477956348257673, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 144712072739462699, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 9067302641351828830, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 8437142336324537516, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3528615066530393543, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 7418974447653679213, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 1681199025231530531, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 278946026, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 278946027, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 278946029, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 278946028, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 3054626336766261257, guid: 1f3424d248237724ba9b7ca0e29cd1a9, type: 3} - - {fileID: 11500000, guid: 94f5a41f58160314dadafd081d5c9d4c, type: 3} - - {fileID: 2100000, guid: 23ed32b02fa54444485004f2331ed9fd, type: 2} - - {fileID: 2100000, guid: edf28a6a75c07a14baa31ddfba8d47d5, type: 2} - - {fileID: 2100000, guid: 6c575685b8a1fb74b922030782b03452, type: 2} - - {fileID: 5345222606774968400, guid: 268045a1097eb834ba8725d7a4acd57f, type: 3} - - {fileID: -7474234057888911958, guid: 268045a1097eb834ba8725d7a4acd57f, type: 3} - - {fileID: 1888398457311169343, guid: 268045a1097eb834ba8725d7a4acd57f, type: 3} - - {fileID: 8400000, guid: 0abd467be9128224b9d11b4c9806e4de, type: 2} - - {fileID: 11500000, guid: 0bfe23953f4f5a44f8ea718713a4ce4d, type: 3} - - {fileID: 11500000, guid: fc03036aad05c334eab057a96938959a, type: 3} - - {fileID: 11500000, guid: 9fbafe64f40b0694b8d4ec9c082f8bf1, type: 3} - - {fileID: 11500000, guid: ad4d3f2fce70b2441bd76f6c5777e8ab, type: 3} - - {fileID: 11500000, guid: 83f83f21929de48ef806bc6360cd7535, type: 3} - - {fileID: 11500000, guid: bfcf3cd6563a8408b947083d5f6071fb, type: 3} - - {fileID: 11500000, guid: d8023d2ae1fcb2948a39527720c2087b, type: 3} - - {fileID: 11500000, guid: 223176b09fd283c4da4828330e326a50, type: 3} - - {fileID: 11500000, guid: 61587e20dbbff7b4f8b950ee8040aea4, type: 3} - - {fileID: 11500000, guid: 4b16076b8d3339d49b9620137d1144a5, type: 3} - - {fileID: 11400000, guid: cc9081fd3bd479d4faffcf57e3d0e965, type: 2} - - {fileID: 11500000, guid: da50733ca13d24f45a2980dcd5a56ed5, type: 3} - - {fileID: 11500000, guid: fb1f567dbec4e7745b9ee94c3cb29f66, type: 3} - - {fileID: 11500000, guid: 46a72684e6c03b14aa44e0758a6c8fba, type: 3} - - {fileID: 239378781582670930, guid: 7130152102ad12245a10f4b6b8a93db9, type: 3} - - {fileID: 11500000, guid: ab8b685e62a9aeb4a9472b30ec2d86d9, type: 3} - - {fileID: 11400000, guid: d6f6a47305abab144b7fc1a5e1f080ef, type: 2} - - {fileID: 11500000, guid: 935899b62f48ae5498594680ed17d133, type: 3} - - {fileID: 147116, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22455678, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11482104, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: e9888f0d13032ad4bb14acdba3472d3a, type: 3} - - {fileID: 11418554, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11414052, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 164888, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22477974, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22235878, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22564486, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11484202, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11487132, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11433828, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 9581424, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 142136, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22483620, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22251220, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11403358, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 128822, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22432892, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22292702, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11449852, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11498218, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11406570, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11479594, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: 6c9d27989a5b06848886a48c124164a0, type: 3} - - {fileID: 101006, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22484822, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22245236, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11407030, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 167852, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22497836, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22262142, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11480746, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22552054, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 9512998, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11427878, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 131342, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22454152, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11444986, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: e9a9540f98bb79346b296ec5feb51073, type: 3} - - {fileID: 104780, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22449464, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22290418, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11404950, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 114188, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22408920, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22234022, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11425238, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22408098, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11493240, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11443036, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11467564, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: 62cc181fd85762c43ba3dfb6bf475aca, type: 3} - - {fileID: 177226, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11498364, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22256364, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11479836, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11465934, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 193808, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22405336, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22272156, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11496970, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11431652, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: cf59e9c601bf0354baa2d3daac7d491e, type: 3} - - {fileID: 149122, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22462286, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22261676, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11471156, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11489682, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 155616, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22476168, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22213392, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11468530, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11453598, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11426384, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: 0a44b96aa95563e4dbd81da44328a697, type: 3} - - {fileID: 159388, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22452514, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22291636, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11441338, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11455824, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11445902, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11422190, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: 05399fb241106df4fbea2cb9b72f8a5b, type: 3} - - {fileID: 11471618, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 180144, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22410668, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22208046, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11409198, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 158480, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22402366, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22213202, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11442710, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11465056, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 163606, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22414656, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 107482, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22469478, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22294772, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11475890, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 184394, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22443832, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 122248, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22441452, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22255428, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11449270, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 159398, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22420968, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22269078, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11429384, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11489866, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11444782, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11449898, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: 73ee3d99442035942b6dd1ede25ff7cd, type: 3} - - {fileID: 179640, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22491142, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22210182, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11449818, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11401376, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11486384, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 175308, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22413550, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11493494, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: 06a595362371054409f908a284e235c4, type: 3} - - {fileID: 11451396, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11409768, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 171288, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22491286, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22289636, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11497538, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11493360, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22523648, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 9579632, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 139776, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22425482, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22235558, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11464906, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 131434, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22419892, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22262650, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11497382, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11426706, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: d199490a83bb2b844b9695cbf13b01ef, type: 3} - - {fileID: 11462612, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 114209802615131668, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 152948, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22449912, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22248932, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11442486, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11463112, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 131446, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22455432, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 128998, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22449150, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22207424, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11401142, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 128832, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22488568, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 22283928, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11429656, guid: 4b372d6b3e80ce04e99683e81c7de9ca, type: 3} - - {fileID: 11500000, guid: 3b24a5606b164c84db0d3ed3ee8256e1, type: 3} - - {fileID: 168688, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22454582, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22201382, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11421968, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11455538, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11500000, guid: 37f9837a261a7d04ab92e117a5389cc2, type: 3} - - {fileID: 11450052, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11404786, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 126380, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22456466, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22269882, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 168102, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22400840, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22219264, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11422758, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11489268, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11461346, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 192326, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22417012, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22291288, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11419322, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11488978, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 192068, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22474240, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22299134, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11465558, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11422022, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11414880, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 151316, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22451644, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22283998, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11473324, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 21300000, guid: 4de85c90bbe61ed4bb3d67de9ab26f64, type: 3} - - {fileID: 158816, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22416348, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 22224046, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 11432482, guid: a5c98dfcec76e1847a0aa8d7c8a93459, type: 3} - - {fileID: 162630, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22410808, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22221378, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11452156, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11400838, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11500000, guid: 27e68e079d48afa43b19c14dd2dbbeaf, type: 3} - - {fileID: 148926, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22450706, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22264180, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11479272, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22529778, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 9527512, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11452756, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 187668, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22439828, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22218714, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11427372, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11409764, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 108394, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22450140, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22285646, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11427206, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11407600, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 125564, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22455308, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22201054, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11478334, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 194902, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22414768, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11469894, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22451830, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22483838, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22290434, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11498076, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 162124, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11432672, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22237692, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11416972, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 168454, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11444728, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11478940, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 144792, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22493252, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22224188, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11437994, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11432834, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11407766, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11462688, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11500000, guid: 24796e3cc17ac9148ba0787e8cc26dd0, type: 3} - - {fileID: 11414438, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11406956, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 198638, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22413376, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22273912, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11496716, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11444678, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 172520, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22457182, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22255444, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11488222, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 110298, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22405738, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22230922, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11489698, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11419764, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11436452, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 197542, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22407088, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22224890, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11499428, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11405770, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11432858, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11487614, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11491532, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11500000, guid: 3636a79541e359942a7e392895f66751, type: 3} - - {fileID: 11403458, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 158652, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22433720, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22205872, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11465210, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11495842, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 168580, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22492402, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11403056, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11418844, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11423302, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11500000, guid: 1c6f5c1f45c7c7e428a2b54e01467f5b, type: 3} - - {fileID: 165220, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22423904, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22216158, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11469012, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 102452, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22459650, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22290622, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11413106, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 142326, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22420426, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22204900, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11416870, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11454964, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11469932, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11441632, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11481438, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11444152, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 140452, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22406880, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22207540, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11454908, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11438342, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 119650, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22496262, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11482852, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11459064, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11495446, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 199998, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22401766, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22224580, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11470506, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 105602, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22431844, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22273242, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11469572, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 192054, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22402904, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22234602, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11410068, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11462546, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 183820, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22430292, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 140086, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22439574, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22216216, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11405564, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 189950, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22466470, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22290732, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11462008, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 140512, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22420436, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11468178, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22469798, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22435418, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22211306, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11451562, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 104370, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11415598, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22251914, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11449092, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 110286, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11406400, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11455802, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 105356, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22430722, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22229878, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11419926, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11468506, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11484122, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11500000, guid: 004c59bce9a55654e98abb835847385d, type: 3} - - {fileID: 155778, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22462038, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22200326, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11455502, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11415722, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11421068, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 108382, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22407546, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22269150, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11459826, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11445082, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11481080, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 145072, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22465036, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22273994, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11475640, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11428720, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11473988, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 186548, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22402088, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22280946, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11420970, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11455794, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11493954, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 120300, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22459188, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22247592, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11448924, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11438886, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11494650, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11500000, guid: 37afc2e97a9c8aa4aad3a5c306155f36, type: 3} - - {fileID: 11410206, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11467252, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 114592, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22493552, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22237540, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11488726, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11499706, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 194450, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22474374, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22233130, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 162308, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22482552, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22232120, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11446052, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11477214, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 104230, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22419024, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 144140, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22447718, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22228592, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11494582, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 194548, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22402976, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22221994, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11438330, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11453284, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 195160, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22469954, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22284462, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11413288, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 111414, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22455066, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22272478, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11487986, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 175904, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22464092, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11427450, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 134804, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22499420, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22265250, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11486952, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11401308, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11454818, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 181040, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22460958, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22283772, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11408754, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 105722, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22426276, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22287680, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11442834, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11469808, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11400152, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 199736, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22407206, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22225148, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11430496, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 195372, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22418836, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22299644, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11456950, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11482686, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11444116, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11500000, guid: 31f62120d7385ae41b003e28625fba63, type: 3} - - {fileID: 11438050, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 101282, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22476578, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22255000, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11421820, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 124946, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22441626, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22234110, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11488086, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11412978, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11436604, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 193910, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22407934, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22221542, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11414100, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11469552, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 147312, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22422838, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22229710, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11485500, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11479106, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11494868, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 177654, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22492416, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22258646, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11433896, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11459138, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 108284, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22435934, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22244532, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11417498, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11491772, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11492404, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 112572, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22497996, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22291704, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11474276, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11414442, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 195742, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22432542, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22205638, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11454642, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11475138, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11408158, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 114524, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22485260, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 22236094, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11411222, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11441886, guid: f40d1072f56eeb04f9c104b7c4a8811f, type: 3} - - {fileID: 11500000, guid: dddab24af7a02a54c9631fd5c532d7c4, type: 3} - - {fileID: 11500000, guid: 689b4b1238e337d4590a91183947bcd5, type: 3} - - {fileID: 11500000, guid: 7c54f930af957f4488bf65838d4ed623, type: 3} - - {fileID: 11500000, guid: c139516016bca084288d1ee836fc024b, type: 3} - - {fileID: 11500000, guid: 2dd968c7c0aaf894daa18afd9eac9965, type: 3} - - {fileID: 11500000, guid: e4ff4051e75dc9443879b116bd65c930, type: 3} - - {fileID: 2100000, guid: fb80074802966ad438ec681fae1be1c2, type: 3} - - {fileID: 11400000, guid: c7b6169aa7d17f840aae2ea8a8f27810, type: 2} - - {fileID: 11500000, guid: e251860fcd970734c9f14ebd98a146c3, type: 3} - - {fileID: 11500000, guid: 7be5bc49901e54e2a9a16564ee81ca76, type: 3} - - {fileID: 11500000, guid: 75770a8355e9142d7af2233244fd4506, type: 3} - - {fileID: 21300000, guid: 4dc33325d3ef560478efaac55dadbef6, type: 3} - - {fileID: 11500000, guid: df2b3f9827db646a5a4f47848ad6baba, type: 3} - - {fileID: 11500000, guid: 6f7f9612717dd294593fffdb28645456, type: 3} - - {fileID: 11500000, guid: 2185d538298c73f418ba252c3e3e01ff, type: 3} - - {fileID: 2100000, guid: 833783ec291ffc74e99ff3b0fbc62f1a, type: 2} - - {fileID: -8103845586651937920, guid: 9006c9b99eef9bd479327523ef5d210d, type: 3} - - {fileID: 7870398215187452700, guid: 9006c9b99eef9bd479327523ef5d210d, type: 3} - - {fileID: 2100000, guid: 472d052582557af4f90ca04bc5bd45ec, type: 2} - - {fileID: 11500000, guid: 5e0ccef96ff434f2a90de6cd16b1bb3e, type: 3} - - {fileID: 2100000, guid: b2e9fadb8315b48b9820e3b768e254af, type: 2} - - {fileID: 21300000, guid: faf6f4fe86f531744b74405225e0273e, type: 3} - - {fileID: 21300000, guid: 76e7cc532d9ee344fa8299399ddce347, type: 3} - - {fileID: 21300000, guid: 585e26402b853674dac159b71b483949, type: 3} - - {fileID: 11500000, guid: 09251e66268e84b04926d584c21d14cc, type: 3} - - {fileID: -179342086610282019, guid: b490602c0499d324cb47430342397daf, type: 3} - - {fileID: -3133855841003927073, guid: b490602c0499d324cb47430342397daf, type: 3} - - {fileID: -400602004547739345, guid: b490602c0499d324cb47430342397daf, type: 3} - - {fileID: 2936335243524097727, guid: b490602c0499d324cb47430342397daf, type: 3} - - {fileID: 2100000, guid: c3bf2d6ef5126f14e9d35e95b03592d0, type: 2} - - {fileID: 3323404528860920809, guid: 7ac93becca76b1343ba0091fa0b809bb, type: 3} - - {fileID: -1285749370953267454, guid: 7ac93becca76b1343ba0091fa0b809bb, type: 3} - - {fileID: -7126571151504588174, guid: 7ac93becca76b1343ba0091fa0b809bb, type: 3} - - {fileID: -3338699162209208773, guid: 7ac93becca76b1343ba0091fa0b809bb, type: 3} - - {fileID: 2100000, guid: b435461a645497144b71f81f3dd7a755, type: 2} - - {fileID: 2100000, guid: 09d55bd6cf44b2c46a146e18326202cd, type: 2} - - {fileID: 2100000, guid: 51cb280eba050ba409ee4c7e300b76d8, type: 2} - - {fileID: 2100000, guid: 5e8739dbdccec2a4db11be343a5e2080, type: 2} - - {fileID: -1926992085332236772, guid: 524c68d6feca58c4cb721774e64dce0d, type: 3} - - {fileID: -2197102075780670627, guid: 524c68d6feca58c4cb721774e64dce0d, type: 3} - - {fileID: 1154124372382401162, guid: 524c68d6feca58c4cb721774e64dce0d, type: 3} - - {fileID: 8357090108904170509, guid: 524c68d6feca58c4cb721774e64dce0d, type: 3} - - {fileID: 21300000, guid: 4652bce8db3c6874dbcbf70bc35ea33f, type: 3} - - {fileID: 11500000, guid: 66c7f2f7a2f540e45ad7c14d3ed7be49, type: 3} - - {fileID: -7995740559867597933, guid: 37fa8280a5cb21a45a6453b2e90d9a50, type: 3} - - {fileID: -6673312209605301051, guid: 37fa8280a5cb21a45a6453b2e90d9a50, type: 3} - - {fileID: -1728808692197382870, guid: 37fa8280a5cb21a45a6453b2e90d9a50, type: 3} - - {fileID: 3307011922329464894, guid: 37fa8280a5cb21a45a6453b2e90d9a50, type: 3} - - {fileID: -6494222842944515283, guid: afac91d7651c66f4dae113c73c8a4f1c, type: 3} - - {fileID: -3552897928527787076, guid: afac91d7651c66f4dae113c73c8a4f1c, type: 3} - - {fileID: 4449066466075182480, guid: afac91d7651c66f4dae113c73c8a4f1c, type: 3} - - {fileID: 9044781959111212044, guid: afac91d7651c66f4dae113c73c8a4f1c, type: 3} - - {fileID: -7274842951285538469, guid: 4b12b42777070cc47a939f823485c481, type: 3} - - {fileID: -3214653310766953527, guid: 4b12b42777070cc47a939f823485c481, type: 3} - - {fileID: -2923040713571652258, guid: 4b12b42777070cc47a939f823485c481, type: 3} - - {fileID: 4752785329601293946, guid: 4b12b42777070cc47a939f823485c481, type: 3} - - {fileID: -5059087448013635098, guid: 69c8ba3305cf0be418d8d048669ea9bb, type: 3} - - {fileID: 7169400171121530219, guid: 69c8ba3305cf0be418d8d048669ea9bb, type: 3} - - {fileID: -2111518840845414817, guid: 69c8ba3305cf0be418d8d048669ea9bb, type: 3} - - {fileID: -3135468320711898908, guid: 69c8ba3305cf0be418d8d048669ea9bb, type: 3} - - {fileID: -7789249386796501167, guid: 1e7ce50aad009d441b992c83e7b4bc5a, type: 3} - - {fileID: -1878627442958224904, guid: 1e7ce50aad009d441b992c83e7b4bc5a, type: 3} - - {fileID: -8941437072890109957, guid: 1e7ce50aad009d441b992c83e7b4bc5a, type: 3} - - {fileID: -2673523955640372467, guid: 1e7ce50aad009d441b992c83e7b4bc5a, type: 3} - - {fileID: 2100000, guid: 5ddb3a8e91c5a1f4b8b6af571a5ae5b9, type: 2} - - {fileID: -727537163301471121, guid: 4b8c3d68b0da1af478b4edcfc65108bb, type: 3} - - {fileID: -1930377287822103317, guid: 4b8c3d68b0da1af478b4edcfc65108bb, type: 3} - - {fileID: -5770341414860219208, guid: 4b8c3d68b0da1af478b4edcfc65108bb, type: 3} - - {fileID: -3043208745876125179, guid: 4b8c3d68b0da1af478b4edcfc65108bb, type: 3} - - {fileID: 21300000, guid: 169b1085037e4b8429f2bd0edf18ca88, type: 3} - - {fileID: 2100000, guid: 2568bf5031a9dae45a7e631f30ca329e, type: 2} - - {fileID: 2100000, guid: 4575a529fd19f02478263b8ccf086763, type: 2} - - {fileID: 11500000, guid: 93ab69ab277284ee89a7d5c46029d111, type: 3} - - {fileID: 11500000, guid: b3027f475235a4f7ab39c90b4bbf8567, type: 3} - - {fileID: 2100000, guid: 644c5fbe7e0624b239c5c09b7d1613ae, type: 2} - - {fileID: 11500000, guid: 0ced847b3185b4d4bbe0a6f53e0e8567, type: 3} - - {fileID: 11400000, guid: 481ef9a7a51bc4492ab6a0128fa4fb28, type: 2} - - {fileID: 11500000, guid: 07febf57df48148a3a4551707674e816, type: 3} - - {fileID: 2100000, guid: 6dfe24573234e413ab0d0b5093141a3c, type: 2} - - {fileID: 2100000, guid: 1ea30df0c05aaec44b8900116b712329, type: 2} - - {fileID: 2100000, guid: 87fca1f8f94c6438295c17fdd04485bc, type: 2} - - {fileID: 2100000, guid: 7d2ab9fc92c6796439f6ba955326bdf5, type: 2} - - {fileID: 2100000, guid: 5bb03aa18a7a55d4cac34498a7d895f8, type: 2} - - {fileID: 2100000, guid: e8ab6bb827945fb479c87a97042e724f, type: 2} - - {fileID: 21300000, guid: 52571c2dcb78e74419fb99613caf446a, type: 3} - - {fileID: 21300000, guid: c3f0993debb86d745b6500e0f9c41dbb, type: 3} - - {fileID: 11500000, guid: 2170d6dc93232cd458d5d4295ac6ec8a, type: 3} - - {fileID: 11500000, guid: 17cae70f0a0564943b448af813a394c3, type: 3} - - {fileID: 11500000, guid: 3bbf1297cb49acc46aa8c6c35182e34f, type: 3} - - {fileID: 21300000, guid: 134fbb6be0c332a46b800211a0635924, type: 3} - - {fileID: 11400000, guid: c3892597e4a7e264c9c25dee8e988ff8, type: 2} - - {fileID: 11500000, guid: bcf0f9454f4a64d2493472b8e1bbbe2f, type: 3} - - {fileID: 11500000, guid: 3ecb2a4203c89f54fb4e913b414c0027, type: 3} - - {fileID: 21300000, guid: 8cd96f341ec658943823ce80dc60433c, type: 3} - - {fileID: 21300000, guid: 0b2093ddd36ce6f4e92d0314b3bd5489, type: 3} - - {fileID: 21300000, guid: ddab7a6fd5d48464b9683eb93b634908, type: 3} - - {fileID: 21300000, guid: 72c02dea7052b194e8fcdfc71d3502a6, type: 3} - - {fileID: 11400000, guid: 3469ab8568a204243a62f9f81c6e6a33, type: 2} - - {fileID: 11400000, guid: c54a7d4864fee3440ae0cf6d2a9de811, type: 2} - _Values: 580882af8b4ec574d8af55a1651072003b42185177fd8f607c825da515e02261b0dde5bbae7c4b13a1b2be97a4aae51fd6402635416b75303a445fbba28a8d56532f802c53bc187f03e69a536a0db666ccc912091811201e5dcf6ca05acf9a1ec7831306f171f541500c759b4cfd0f277d5b65ae10aabb14e26d423653b08b07cf5ef3bf14ddfe421c5121386d57d5597e5909c714381051d744bd0d0abdbd625147d4e899be0e4c3c9a197ef4c6e356e2e823a5b4f2391cb6ee2c21cacd311f055c5c21954aa849c19f7f02b980df00b736cd0240cec41bfecb7365e80807103a7317b8c48a9a074a150f02fa2e372d9ad0e64665fec05a4b34554e29bfe46c80dd8993febc8d205f841fbb5fb2417560fab6501b27d82a6baddb2969370d21fcb0eece2d91223722a93a3e8ddd2f2549f8943988dab50b799fce129d60cb47ffb5ac7f81a0d34b2e65e7fce0f00059f84c8f9d570ca5527aa0e6522866042e4b78895fc2614a19be032a0a8903821c770c194522a4057b8e965e6f52f6f34215e96568f7d734278482979c44a94b7e0a20b984da8e3f3e63ed641ed57c2d4441785754602ac8692fdf00a15e624448b18b1d98479a6f55a3b9c7b32b93391b89b20a35ce00e51a0b6166039cb66a74ae8f70605cdf0c32af5090d01c4de94953e984383c96b263f0d4a2030d85516e3297f7620f430c702cb3194d0460ae1952a0652ceaf4c554c11e4f8f585e633c6def03767de8cd351cc2267cc7b89f02d8ac8465ef957d78d04da37805fd97143698fa7718b2bb22244e758a34c15906cf8fd63dce919734af7b03e615134e2a3b713bfcfef1a003737e7014012e1c71e19b8a0dba3d781e053f9e3902672f575a601797d7aa132e721a5aaf2f6346436b8883ae4737a3673eb08585e448001096b9130742d6b40ab2886d76cbcf0e6444e3bb922370b467fe58c79df67fb228678802c9e4625e09b9ee366e7ce8434533a9d3ebce2e3b5a99c211bae001022fb493839e3cea0938d87c79f4cfc46e05695fdfa1169a33210dfdabf828ecb42294ac1b8988a7d960f566babdc06d21562a7792d59c8a1a2412489e55c15f4e49a24f0cbe3291e664f75b833ec53bd165c3166d66207f8a1d64f4fc6215b32b305cfc058f94b64159d4e7a6e60441ce3dee999681534c3227802b902e79470a5b5fad30f3e2de3a426203b3c590029e5f5247a3518d24066072ac01a391e21e1cfa10b27f7528833149e8dfe12263cf0988c4d48dcc3a620298a46519b7eb661345bba8802f9ea71bd99df4d40704b962e4686f87c3375413068cf2bae51f3a1552748b51197fb109dbade1a54bf2941c935735701a90f52dfbc4842a3b6100631fc78c74a6bbc91154d74cb484b57968f4a325b03905b46e0da2299735585c45d352ea7b879e477d32b5f520657cef47c338c81746d6a67cfcfcf3e8887a2b6c68a7902ebd3a3e0be57115bfb422c033a5d3c8b01d751a3e84b137604c2f852bc16dcdd55b27b06d713264c00a2297621682c08c036ce3588b331bfc853f925cfb18b119825c9a2b1e6b81d72f6f4c68460c8cc6fe15660fef9fc00fbadf7d44144422c4447bb828c7daa52f4842190205657416d9aa7a09dbb2e9c1a4f54b28ca4fb6dc508fc91fd3d96f5c61eb684370978b8e41757a20a4a1f18090b3dc07461e35cafb178d72ceddc9dcdbe7da7b6e829aed3094c87ed33b4e3af3e7e37501df539deb1a736116452224000ac529abb3920c057c70251a4b093f37ac811907ab2245c58798530f38d7ea71a47e210077e4a77aef7a7c6f2d849f10332a68c5091d54e880632376272e49a9cc202103dd41c89eb4115cb0c18a99e94ce36e3f11e20dd9e5176c9888f35efbefd557d81c4af0faa7872e222f7830f03db328bb40764450d2041ec6d56026a7705840ed33c2cc02f3731867eed1f6a2b7a3592b35e5c499e55755de974930f851296d88b844bd7be62651b38fab3fa3fac07d78b9fb728b94a62d75e85466c35bee47e7c091168c192112a5c9eff6c5e84d1b22528a01b37ab2174bb868d6bfcf7a2c4694d0738595cf7e2f00a07f2a9819106328149e62713b7b230b2a792d091771c87ad268ec511834c0233e91644b570df3f69ad1b1bc5a6224c5387edd034e79486d9f6db0855b7458debeee8dc727306ac36acb758be33185503970bcb6fe24adbe77b3f328791bc38f92b7710df75636aa5233fbfb4a714b0bb0fe786324706557f06396c2aa2f1af7e25462d6ed3fba5d506316d9db38badf939aa207213f18f338caf592bb7200231a0418f50e731e71b9d6b487873d33291e755644d220e7ddc29061dcb64de73c9dc60c1fae4fed07b714c0f7f470930568348bb9e345af06140947602a052806ef77eac031137cce625efce6e110e951fd5b7382c25f21e2751333b79772dcb13bc7e76c5b53ca8350a6e3bebe6ae82420f663cf925537b0a8f7b5e2203bc90fc551dd57087c0a56db082d97bc62dcf404a728722a0d1fe58f36c3649e54a58c70f3830f476fe45c004655657c316c0b1bc1dd7913571b47ce08382e466df53063a127c8df13c48c757b8d8f9d7a9e3e3647b723881e603826c4bec0c94aea6daddafe24f535ea2e8569ee8ee57455ac95050700492e58bafea0105c2d7baa3f9a04c287863d346b31e5a8f20d2ead4d91eed43cbc16dc807dbcd9abda72fff641500c1f4e3126573973322fd64a39d3b2a111e3af18fcb1e043054317776f40194e4f43dd720060142b7630480a58c88406f839601b47294dbdff91371dc03efb0ee977047b4eda5e4d307b5d2d0614653238e28f575fcb6b876e648d6ed70894c8cac5de203cf7aa2c6851b43d79844815d3fb1b22afa3af1e0c7c0c4c68cc7628e79563340c7990d07243404f80a900f3aca34224138e88918a03d346fc083c642473aa1c211308596a4aaf0d1b00619c83e6600b0e9a3a761df4be0fb32833847f5b8b0b00e515c0ab9c8e5dc16a52759b8f351d96b78d4051dfc52d54f90c927e348c777592649703df4855d7674b4c5db68b42a2afe4c81733a221ab4215a5a821dc72dddbea2ef3cc2076ffe217b92b128a0b854ff0cf4fc45f57ca7a123f355c534a8cd92939a0b9362a8e6ec8351be9f54332dfd507ee543e19856d9c86451ebf5d8ecd44053bc4ab3e7be5be1f04d5c41f85ce0d56874b5c201942b4331dafe5522d25a64ea4f0076e339682d3135d1d515682f3ebd4ea1b4271241d7e78df5c35016c4c2a7c12c36a3a61dd0f3677f2759ffa765f5c2fd8430a64dd7fd289f5543a4cd37faa47cd69baa1daca37d48717e96c20819703272fba6fcb1f0fbcc23d8cfd3bc58352a676b387515ce2dac61785445875f6700b525a49cdbc6868fc42542cf6ca1940de1bcb34f82ed7430a1cb4209075bc2f7165cd1889b20ff3c069a62fc8d6cbdae405dbddabe02db80359022bb84abeefba58aae10a7603f5945dd67710fedf1e72348e9f003b38567d0c77238764e3924075912af1f826ccf67b8f4343fb3aadde7ee175cc6248763263af6cf14a5b3e712402065ee7fac57c6666713679a56eb26952dce43b1e83c97cd3043373c686da7c3a0285c3a982e45a0ecd37465254f740ba87f77e5936067e481f0492e285935b1e73a7fd032f322e1d4c3a158f12832e405e0d9deb2129345be1c4524c03bc5b4972f1770a00bb351b68030b578b7b1e0aa59f74b350ac1edc6baec583da0c04092c7e4f60d017632a8e33997239384f66641df57b522066675ab6c8b516060be11acea9111e7b489333ff3310fefb1b2616296adf3587480f5ff1f833bab11c0b89ca615dba9a071ef6b68a95b1d924c6392f62e9f2b42789eade6f6491861086e999c243cafe456fe661235dae2a2a53264a0c6767647391307ac68c288f53e824d0775517d5531f66af67720cbb33ec3ce995ebf5523788c8dd0bdc35f147570d3b39ddb2d53baf09d532e9341a61145226afc106980d2f671073c5368854a708417fb80aee399a51bc0a357bdf42e23f1f2e5ca1095d5bb798bb3cb7fe788281d9f17699191ebfa0e990b672284c7831a9fbaa484f06fee4da6fa3aa761eacbc764b5e12337c593e6fbbb779a733201acc919e05dd362f1f0fa58c763d1529cbe3f9fbdcee6502d25d93266cb17ac359b077221b805821bfe3c1fd720f1d005a91ec95ad3843d4996d8e9c8fa3644b3c1ababfaf6371f8acd63e41ea4c3102f85b291206f02ad8a190b7dca54a4063998251fa7a621e786f028189eaa4772980e939afd1600248874328ce5d6f3a93f761b54f3039045e4007d7f78b453dbaf872a444ee6e33057b657d4275122bdf3d14814c5ac706b91b691027c7052b337f1e3830ec807d6695b0d4cabbc22d5432f9ba76c3f15e316ceb28855e0c328091afc1934b5b0dbd96e8e10a9cd074df96bcf4ce4bb46e8ebf08c30058f83aa2e253390b01996171f9022025f0ab6b9c774aeea2176333bae1b0adace0f16461517b120ff5801f311e66c74dd4947e6c7328880d0998454687f3ecb2470d52eb66bed374995b6e0895417c4e631a1bb2cdbec74797a96b173e3377fd6c92772db8b3b49367f304d09791a34b14941d6dd839e588460a54bd53eab3cdd36c746413a21c47bee55f6cc51dd2e644450e34e2833e04b55b4495264d867a92566f57c0ebe15c3a7b061d773c213d74c527d40cac4d58c1b75b4a9e781181a2510d8c58322e228dcf4afd7154f521444d4998e79207ca9ae47d95421a3aa79cd42ce2887d1b45f7ca45c39db436ea528272ecc2aa693458d826c24f3c9a57f60e6164d728553d96716fb1d7432de5ae9242bfa82569463d6177b157de9434659d3272ac663d85275054afc5e4f363faf314bdf9daafd0a41a5fc6605b1a4723c4168b89616dea2f3818f97aba80596e14544cf2522e3f4d0315c8c504e5836a9c74ff328213a39e011331f3b656ea9a0558b4f99ac58a0da93d7ab45adad4ad6a63162e7f8bf027f853f23e5f330359006234a3ce762f29150e8a448d57f9dce87b88523fbb1b796824f2edd44bad763a2b4c4359ce200bcb13e78feaca4aafb31557e4bb5699bb7d45c65697e3019e43130b620cb5821a5a6be3ad5d559bcc9042c6400a36451c6d6fc61308ca74e7114847781cc072fa821d22e5ecd752646f115c4440332c92580219fcd712ac399210faaef0240f2c41669ad993c5c095952c409b4420cf57a62d931a27ea521d3e2ef06807f27f33bf1a349332b8a2daeb762c6441377125e47f19d7d70365695d3e6283d6dad51f347cb0facdadf50d8655cae4c4841051113c9493ec275284d5797439c9b452167d0116de4ef190e3665e932cfc735c634579f89ed376cbdb0a7c3e721e5b4dec327f6c533fdeb5cbc25c6c65fa34d699407fd598774b8fe6b35de348c7d288b1c47e64ac7d14dd1aff1814c52162b89add16e7be7e97ec1d29338d07902f3cbfc90f69bbfe77a7523d19e9e5758285f58f17508fabef8c592a0f5beacbe932c03f7dea027462fe54b56889685a12bee2782168e49ac6748bcc6a8942a9e8564d841fc76141344c2a7271d29def8df7e8386bf502c5c30eff0f78e6029afee359651d493aabb65c71ef3e0190cf19726a0a71f2acae994ae418172cfcb1ce55016c66193fe9497eb2a45f0b759e166333c8328b072879aec8385a836c4b030995cb686cd21d753eca2f2caf6ed4abada60832610e3afbd3bca74a054cc33ca2475c177ea6576683014e387fe00c8ca3976f6bb7e26c406050b74a85c67d1d949480309d7cf02eab501e6862c15e5435c1c9558c9fe8f290f77647882468f3fc17e02b0318f2eaab2e5148cbb5f09e86ad386fc86824b282de301a7d6fdb92b3312a65ebff67de8bed447d8d1fb290c4536367edc96d572bbc6b3e8c4adc2a04d5d67ad6e30b983cefa25fff231cf531112d0eae0fb33cc05983783c21ab4dcc58fa5f5a907e9cda3a533c1fa0c51e6f90ca5423fc8d527736cf34e330fed13f477f7f557ccce755786f0708039b37e5b3b0678e199dea36b17a42197c0dd2d3c306068c6599045ba20046210511c0f3372b3ad64e5e9bbad5ae6ec7151e0e1a72bc79de7b964195c7f51eccf33482308bb67589597e549408da5ff732f1ac541d5b3766e786070d3592322a0d564cb37b030ae28ad7f8156b8545741116e197ff5d0287051c227dca1e17c246df541c855262b2c2e5260bb85740602446f22d284638a2dd2613d037fd5884e3e865483b822e09d429456ac30771ccedea14ed272605a34a92f8837d7b7beacdfb289f16e43bfd44f3b2d436ab485933edb121730e4b054328fa7a067642cb931389e263ee56683954162ff8293a6eb56c91c017c608cd4b21a80ed7262f65dd6f11a891d94e2540483004c0c974517db9426ee00826b855dff31189f41ce2fb627c362194220c07bd0c0bd240488b82a35918451a1318c09c259cd15828f948f0e19a79e01550620393093b7b28dcc984ec69ca630c95c645d68bf84143aec1014d52299f51793d221094a3a31fceaff213582ffd51356515ffee1ddf256816483cd7cd1a4f7f64955326e2337f8b9e2aa6e8346640a29e1c675ba18b2c377b2ab7ffac740fee250bd68cdd73558c4dcacc5f220f09d302148150dc121279e7639289994377861028e0057ae26bf8c895ae4f71302c95d918e1f41c2643aae06457d139c12aa1b66756dcb2d66467bbfadc8f35f2068388a2cefdc91b0eef45d21ec0e8c574cb770fc52fa52962e2214e7f9edc06709f3445a67c81260206b448b3a125083bd58edfcf5629f105e55e6dbb1063e835f46b97a868d2e6667452952b45d0d868c2858e0c3b959c7013b99c1391daf90c621fa7deeb48ef737dcc07212bd6be7b78c94e8dcce4df6026625752f9efc574e4f4fac2d66c2360d0de71992eecd44d71f267d3b7d8217493d90559979e8e0e4af8c92c2bd88c2fd50649279b4e5f68e6f6fa3f3c9ae22410100b60a0e61a108d707cb8853cd023d83b00126a67091f94e5dd004d3b0f20959273182ec4d7663b230558a58f2446fd8c4c9fd516a133f46033cb17b6106f1608594fe15c8d4e0ee0f9cf5892af65eeb0380c520f740783d02a8460663e652920c7517f92ee68d36973505b23534894d1f2d339cd0238b32f9de71be28f16d7f244bfa0e2e34cba167a907570303390e7f9191daea61026a225dab5e5ee59fae5fc478942976b13e92d0568ffa105fa5a36e141bdef294b3399fdbc099760fb2b75a59387434d508d2c06dbac7825442ae05aaf0c183d0a2c03aa5666511b7f71fe6b8bb96772e9166e4c6f17b260458c466ed7c34e11edc8513f74125b4922b7789652f26574c36d43c67b65ac0d855c9a35e01cbb42c00f58530aa7e729bc242bb79e1c0d5127d1314406148c52755fc5d1ad91293e8c44a99db446801b9713a44eb1ffb72bfced43e3c5ab066d0c673a99eddb8c7304689ebf389d7f6396c785215d24262e6d8dfb1a7535f428128f6b4bbe9f3741fc1a0ae207a78d7f1eeac42c7235156b95fc1dcb34a10614b2f15531304e7f05de8e0c00f35b124077998bcd6345de1be1a973fb7ae5e60db37ec9cd058775504368975d954910403ea3bfc066d600350fc321c360ad84490039c95be31221665dbe70a660e30e194c39b33fdfe76366f5c82495593b84761ee80e2191eb7f2cfe700602e08589004f427b6885b43035b732b6ad6ed3b558971d8e6d2eb5aa11f7754553e181b318d458512301f286778e7c2a722b07f45af1473b04a9d08005ec8c5ffbfa841739e5cf81c724d8595c68e81f4e74c81a117e15bbd642483d5bda56108d518172116b9ca70476448018eede9bc1b13190248eb2831a37be09626ed95f84161851155b31e2d820159b3a6b5d179c5383550b18caff6001a8252aa50a7250a3042f0630b1657f4fb8035db14250265992f01584549de117b2164df448cde95db4696f73e133fb162aa560c7a2afbf58fed112e7a32c085deee11dc7b3739785edba66abbfb3775ff4ff51060256459e2a5a0de620fc46779eed613dafcb9c48f22525e84813984b59b325a37d0f604527bb625965b165f073ef0c2eae4bf13f636606d883a2aae93e3d739328160b52b258150c960a525c74e974a7f939065a5b9b3f180888c2841178685ddb07e67505a07b5735fdd56db8634c6d1704f00437193772280cb6d66a6e1d0f72af377cd0e95f59bdb0245dc5d15ea63b566d0c8863253d2fa661eda9ad3fa51ae4e0679ac83dff9c68b8790b26380694a4ee3f24d5682a2b06b3d5778e016cef8043e0f1f70a8de793560fe36132096d67824d9c7e7fbb8348c36bea9876d696db977496e6149e9a7b26b72c770c8d38bd42df104f076f00fe6439ba755db2e3d45a41075960ad84e017e75ac818fb544fa4a7db563bb82cd68b687e251ddbe18a2ba7e2347ae05c965b30372013c819a071f5e6fa733a0f136ddde5c82a56020c371a0c3f18e02a7cfb8e4e930fb4163cb1214cd70ae61764b7f5a25805956bb23344572d44da175003a888237d848167229c60ca5cebb0cb07a3e0517c9d2c5c1ba2db4e1c8460ed58542a215dcf1540b8ad914b4863afce4502a0f003b2461447e3f9363606444e8c7153663adb4523e166b4f15be7a4419eaaa9c402ee16e9fd023a6b47f4550a16efbdb653e5fe78451747767fe4863a5f767a4c66b2731c7e8c501b37ba7443ee391b6063793e006a1c62b13a6df7bf7718de524088afea658d588075ed392e0602553e6e3de6932ea1ac3231f5bdffdf5819bc095c9c8378e2853c0cfa067509c8171336f6bb2c011f8ddc737153351152ff023a8dc8d26c272b1b6e2d7effd305eeca629de8ea1ad4e4312ae383aff79dea4909f74cb1337a13133f9044af03adb7906c2554dcb5fb1c1b6402752844fa072c04da5848464a4a7d0840bce78004badd53abe42c68994f617e290c8bdf4af4326b272632625972172becf9f215f8990529ea21a114362a9a40e3231894a2f2b2559bfdaf1ab381641951a5157c62767d4e02fc2fee70c8182b99ccafd944accd5a5ffeabff35d4a9013afcd6ebfdd33c756e5db629709b526dac9fad938b54a80c54ade75df3a9db76e45da1ea6722c01c9adfd4b5ff1ac249bca467eab163d704d55dce8427c6f001ce835c88bbabbf197b16e799781aae2f89585ee45f49e66b5b0f6733d8b73b19115adadc6906be2fde9591a1f33eb556cc27db5794565c48bfc41a5927cec31c133ddfc3925cd063a1cc6a565cf1db57ef51f0b568815e448fc14843b0dc8b23b625645623f49c3bf11fb5f32c3f17758e4e6d382c77046e11d816c7ca2d770d6f5bae6b2df27b757e715eb7d9ac7863a7836be2e61f474bb9e62815ab00dd53e699bc13081e9c4e8e74124fa6136218cce9573bb2a8fe2f89c8588844b7d27528c08daf10dda82b01d3893f24145347856e014c9a23611002962be9f29b9a56b6099c7c202cd00ccb665f2b43177153637afade88870f79396bc625d2459e3cfc37e65ace0e7b51892760d9737dec2618379a3d3f9d6a482d9ff307ac18512aa2decb62a4c75426df8f7305a8b891134bcc291ca44c81378401408aa8f3f155d88e59d5584827561f05bbd508563a05d4d568c6f74ff10e31770f8a49312c3c12bc3d141dafe37f2d4b8127af00d4694e15fe4a1021d9062c07a7fc8f6da0072eadadad146440621cc2b5ea8c861f0cec27843a3bfbc1477e1f5bad4d0fcf047fd82dd8071eff23ad5f0c4d4181954914c43b88d19a276ee7398047f230155e70510d159297734acaa4cdb5ef97b21469c62348d909cb4e771344fda9d0e77147e969c9445e263ed247d286cd377406ede48d0fc3943c4ac2b374a48cca82564c2839c7d9f47f1486893beeecbed157e7ffa89cce92cc716a17cfd5ba391d05861fb497d63add2327d9ca4a2de1d13f79b6d8031354f55b82bd0cb4976f9970dc8dd6e4c6c2d56053673db4e1c8736a4bc2b5777c91af0091376f46e552244aaed5327e70c82d6becf5b947a787ac30e3a9ed2a533f0b36761f9d464c53f620926b6102fcbce90e0eed261979e9ee5f057507b1dbced80d44969e3196b73c36829849f310101713afae45471bbabf2ebcd24463cc10f567efa5cd22bd1818563c93551b55ee8365d4fa08c13a790d2b94acc921b615417dc2e4c1766d88111adb25e1068f2f82204ab68bb20c82986b8b8b07110a96755a856ea4df11d95d7b838f3ae7e730e31d0650634f45c2722828b0875e59ef635340e5b8455789e37d1d7f2755c728de570694c70cca32c43ef4d3f6043235c67c70c3bb799773f675aa1546bd97265a507a80ef362a21fe68685b65ece8c6510a3e9ee3a12b2ee92c39bab6cbee26d2029bd602c81e94eb3d5a0cb31ef6a39a4a3659e841672359679120580372eff334b96e80edf59acf0f42d27c135d19845acc90d6d78fd96e7104bc4500c7ec1564a5d7658fa59bd61cbfabb9904468c80c3fe7ea7731e32b2bded3f8c690b7bb4cdb371de7550b2a1248600a3f80456e7c928aa2569a93337c10d7cfb293386649240817a2b03fb5733582156a8e4a466ac9a179e0ae80ac025ddc76079e84147fc8531b772ecbcb2ec1e9dee88237123991657a35b147f75d5d1546d4c9add546969532e266bd9903d74b20c4a1c47f25cb3c9903ff49310e4c791b1885f7641215987e1769f49f2bcc770bfd68bbff689620098c13d14720c6402ddfd9b1882018f150f6ba98432a9e6dcf76542e760779838365edd7fe42afa12155dd81fa1a12151b8994f7522d6533efa602d0cb0a49cba8a2ca12f10f106db8e68911b31e240b7a273e6ba452f5eb711d21ee6813e10d36b81e76132cdcdf75c034c644554a1175962f32b81052489ee3fa678a5d234785662a30b63a8ca418b22628206d3e935f097ef38f0de8bddeb007f08c5e3f6b317764fb835ddeae23889ff69a44c10e305da63b7072f92c7021fd3ec2396c77ed57ac57a37d15164f44154072066e45169ae4d37b692d19fd90069bce48363326377b03a00c1ce28385e4ef450fdd1ae7bc9555f850851449714f51d5728f4779ae3a218818da2263f71f71e61cfeb8300ae05559485cf75110db7bcf2ec0f018e28fac100770975f11747af533b3539204d1b4590f9fba72ed550a981abf95543070478d6582714ae65099f41631d61360d78c1a1799f995e3a69efb137ad7345b5cd945776079d45c8be5847653acab4a4fd91c3b068ef70d17a6900f90fd7e92ebc0337f8218d8b6545f2f48c3b1229ddd17ee3e8c10ce0fe2d7fd231ef265dc5a1f241ca561cac01ee20d4cb4e20b93539e595502829439cc16c01f230250e8b45bc807034d65fd22befa0c901c62e0ecdcb44b6935011695c26c506b0a2487934f9a15b2d9b644fb0b991a179ac178cebe9c5345356f20071b4309d18866757f15a15c6044eb35e494b21d390dc12524f1e6442948f163f1c39918b39bf14802d8565ca3c623ecb6d1a515fbe1178d7027b26d2e0c642030321f733d7f58864e61bf4ca455eccaf0c4dd5a1e831eb9f931203a4be8dde6b36f27741d5bf4daafa7717b08ca7f8a3422ac00d613284b76e987614f236218b8288e3eba1c0b6985bef64e43605ddf58e1f069d45e39597ac7586cb1be508e898c36378ef5d75c9f6dc11524ccc58a699bde61ad3eaa215896b0462d96a801f50b08565a72ac50d86a4e07e6072bdbb04c390a0032ce36f771370681ad343cd6b13248eeb3ecd48eca6526703553b5e00e1874e1fbfcd3eb30460c5cb5747220f59321f868d1109de5264b5efbf2df92c9105aa66694f5e06117370c70142402b48e2f6814746e9e611a3f58547d945bfff24cd9e4bf89a7dd591ac058427027bf7726cb9bbcd3f08ccc5aca80ddd5dc03be6d3324465e291f0f21e5672a4dd3e5656b864dedacf984b97b3dd758de691cd0043ffcd1538fd9f95ec12afe4aa5149310209992034d9913179296cca8e462575a7c71f146b69d8751a356a0098d2e1537fcaf4d61cb0a78487fa2bbfe8da1a34438870c600e7b7722a53078cf15eb3a6259673e05671bc912daa4cc89413c5c2f50393c838a8d96623252a7ae58603e5f8cb3060f8cc24f3d7cc8978246794f6396836b564e30da0129523ed556d1330fda54de33134536568d60df226e78d64a42da552e0e95963498f704856868b556fe49f545eb52e23dfefa61cf396fe662a3cc25558afd5a4a1810787d516412131f6c4167cbf8b47a8de407883febed06ff12a4a96cf25e4f422c5d2cd0297c31956716649ac303662965a6436532f374959bc2aa31d1045d01a2abca2f3f68627c9895802a82ce06b69345a4e7ffb33a65fc679e74e3213a320d237db3408820e47c068a6d0ba87fb7cdf782f58d662b7d75709666b99e0fed8c653bf642161eb76b679ce2793c7cfceed6a0230cb12fc0fcfee1d33cb15699dd3d285e4ae15e40e39351a1ae8151f9223e736b3b1846b64d27535ba8c4416329c1ae07fa1c2b3ae7b94cb42bfc023be4e3b355c93a5225816fca1ba5002590a5e00f69bb6910a60f907c337576003f503b977047c650da1caae83c833104e1c99dd145e0e91f2de76b755a592e4f1c1fc5744cb7d45dea0905316bdd3761c4e2558142d98e19be04baecbbe23b3d4693dd78b60a8e4bd172225c100cee37e14817b986eb9a09c603b555f1548f040be07413b5a11e4e31c7711b1521891e8767690c9e5ee963675672a90cf9a32a25f90061373e6d0cea1ae6a45d882c5a0747c7d46206d778f85ac49dae85020ef15f84a96c17ec036f52d0390b874f1ef7bbeccb16926270f559bd27ec55406def1b6f26c9954e3b0b819fe4b6d2fd482413247122c0d52b2055833f74889877dcb4dc4d19dc9b756e10423970c98d206b93355ff07e192c9ae68cf247e6573a1f2f2e826bbd2f7db86146ae591d99465a0c4606466d4b7022c87a70360bab321e91c1abd4376b7f444569768159b66f2a2e0dc78399be1370c2e742462d3a019f2897a6821ac35873c2211f9d766929dd29456cf627a65511745d95ef641f0499efa05916e24813abe2ad7cc43f787c15668bef41343c6a15282a60cffba52d20619d3557dacb3741e17d09f482226df2f196d0aa7d4120d0e01af5988a861c6f42713ba7d7057dd24b9c0ecaaa532b9d335a57684e822ed32f45fb65cf17282351b9ea21804719a65caa39e8f04c73a19d406e6cd6993bc7b2f9894c07be55663f7bc2b64dd7787976be9f5e55a236aa2b29242bab8a30ec81ccd7a77e6e359b06754398a47777eb5f33aa886e6b304a9d0e4f90ff38540153c42f76b51b6e11692247abc81e64332ec3b2a389f20449a9cdf12b601e7ba16c18f51ef1d77e223c170fcffa5a052d64b98eb1e46154deb3b52ba5d9fa2436699cf77643b910a8e46a431dabf439374bcc5289a421370861bbd9e514ea0d0ed1e1363d5a7e112868df9c223fee1966ab7c4e3b4d5e7d8539dae19fe75961f85cdd8c21f1d36029f4f70d03f189192e7e2b284c58e5521144f38f5bcd8e6ae7d56c2a688a9821039ecec09c83ae4dae6ede763bfa0e053e7c3ed9d8db5253f01acb0307bba17230b659973ceceb3852affb049c62b5302940742d864c43713f909b851db892686cc2f74dfad7da5cd1b792f619432a27655b7a16c49b21366cc69c16e12d137dc94c95979d3d5d45edfa0fbbb2bd2f52234ad51564b1070684dd60f816208807cc10e79c73beb324fe602d7c069910071bfecdcdf8f02419d7b78c61043ff00be97d6405bebd8455818149d88d6d3f05685b37e93a8e9f76f9ce26f6606de671f26ce10efd464b63bf09097ed121790ac606de4d0b9f9114e99de784bcd547406ccd082ed6a21f7b40da76e0f0676d5e2367ada6160bf012bb2e2a84aff72b15a2cace41bd02f001258e433bcc2e952b54c27ebe307cbf7e48e71ca926b38e403dcc95c5e721436e03693965979a5a567eb609977dfbc02dfd31ce7758072657e7e1606689d16003b22f9f284d4916437a817f6e6d49bc0de209481e110f260a3957d356ba30c7462307ed463ae4230bd5230acd0dd45a3a62928b0a5b51396f87227c9dd0ff9e690749b0f1f1d0375e11e674664dc6cf56da5c0fc8409551106a1af4a3a8d70558b373a1f9e40b572d1e2be7197f10f4633af1116ab4b50e77181242c5b462760b70a277e59b4a016a2c915c928054450a0c29c56370b4d87fbd4684bb57de593ba8cf8fb398528737755bdab5d608080cae70ddf7c28e5a3591e5aac76b3aee5adc334d7f83ea963eb74a06007f77c00b69c8b8ba5b1697546acb67d959d64b2d3a67092c61bb5a5ae517527f8f972f45ade75ab640a94f26e1c0b6ab6e95de13984f11e8255cbe34853857cb4589ec4704a0caccdf09e4678e14895edaf821731ebd9ae0bbeed33c55c51d90d9bb7f494ae8079f98a5a43a96e3bad2f5128531f51df4b2fd6e9d31fe2b387a1e8c8b7dbd271e0a9503592b862067208a870f0068e88b5c45f71d410dc8d1f90e4d97720bc163d1cc832f52547d3b13cb8e1d5cb40f374f237d88410dd256ff0b3cd96b34a8258585cf574865fd9125a4235c682acde347b3099863c157e4ae12cfbf28e25f55ef96270d1cd3596f7883608c67cf32aab083041f4e7081e694ae01536f1ce07c57d25304696872c0128d096c4d73de6bd32bd8b7439025768a1a825767cddce8f2ca800577fbaf3b7220d1b074f9c7259ef8b02706e525f35aeb6cce13640907835748b675e5e7460b9e9bef69fafd4805bccf934587d3987412722478119bd288792dc64814e107ed3623550449b1feefdf29c75a0c952510af2da41cee98abf2ed98c9152bdef9d79211091c4be74bff586d654884df240bb66ea54b1f2fc891dc968958e5e727976935f246ea2139caeec8a6071d576eee043f873e821bcb1194ec7d55ae3558bda590655518efc3ccfcb8c22472766ae3b44e9c71fd4329998561620164a8428351c0b57b1db323e29cac41128364e57e24e89a7944fb66fbbfbd2e62db06316b80b4e6017235d1a6b5b5b93e7fd5aaff3adbc07ababf46e00bedb92bd6dd8c87b832b5076af4df42f7d3ec4ad4e4abd652d9f61f7a107fca21bb3e7db07437008194603c3952c627de3fd50d2bc2f0cee4e15d75c4abb32ee382922259d4292dd64a540610628f1a73c4f8467fa5927509816976b7dbed632bfc02531f63550968afe22e157c2b59d482587202834cc4f9e0df1a4b242385f8e6b145d1e51464094e9d39da560930511c3e0197dc3129843d6305ee58b1bd62389b027da78f0cc659d80946970d3eaae0c45575e2ccd8a308c43d38f20ce8c84a4c71b884a565893d8d047fc66b4f83315d4d87daf7d124851872296e48612cbbd8495c54abbfee8dec38797dfe485983713ee59d46e2c7b74b20a9152d8de37d513765bf88e31f396615c6baedfafe034d4bf5b0d1f972e9044fbb247c09d7e7522106d0855fcaeeef6f305a868aa3eb0a0f740d76f46b9a26174c8d684c50b5bd0ce8050d3eff95dd50984ccf33d553e5220849386b28d66d58ae6743aed4f3e24af09a103e62ceb80178332b7e51c3c348d4ef401da72cbc778c040cdb8eb91154fa50fb0204906f10f09dd4604f769408dcca7a084056127ef963f8b8ab245e7eaaf02036c42e2726c63dcc98c6e34f374de3347ff765411b4a717685f3e365531bfdb8e7033e2b5a68191b4e91ffab33a1081413d045394e086afef911f0b71a525bdb6e2ca09969f6353d92b1776f3a42365c3ac3394062b8a9b302222da0369d5c7ffa5ada672926c8034774722544480be960315d904de09dc91044613968edefddd6b7542b5f86af466375a8ff5d413b313c6a7ccd17b0f7ce08a8136027d66f0d0db243542d8f79059503974333ffc814a4dc8785654eea53f7e113140595ad11f4cca70d1fe51b709e257b7d0b822a1055343dd80ff86116efd1c1411b8ad9139af1855b402faabf708a89ab682118b4fa9c00f41fba269f1bb223076781eeeb993837a11342bea6582f7afd2feb1a430485c50064d8f1ffa1892212649e9db153fcaf717d1122f832491a780ca0cd87476f00f51820ec9ee59f2daf493ca8ce195dd0495c59bd3ff3730f580ee9565b23e602c80ed88b98937e78e40b3b5920208e4997353acdcbb4f59dd860c0a3fdbd6121fc6e6e45a80875e62a30f2b7af08a6495823a22a5c92b180626973cbf74c941b1165f58519cea7442613e52ac10559451f17fc987b26949a35070b3e1bf0fe45e3016b8a6637eb9eeb18f669c09ef0c26b081f380191d4c292346bf3d8caa0a6691e8cf3a0f28401175fd3e9d52956cef81367ca1400a290b76475467e5138bb217e45327c2e08b38e2af280add674fea478b0a7dfa320a0d50658a4589aea46215bf0d7a685360ea76457e817d822f0d61d252fb40ae2829228cec2114660028d1a9c32d945fd76de1bf8df7d4d65e4e37f18fdaaf2323ec046cb297137a444a42bd62c043cd4b7d861aff0664ed249f35e0b2d94f6a709e57bbc6dcee283e92102f58f8b43c9849b72449d1d20ec79195d572d4f906d0bca18c5cbf7cabd4b4354e630b3643c242b65000c0752d66d871bf7be8014d751250a6ecb64998ea622235e2cf6251899422b8a4dbece687c4b2495f309a1c06cc6566b92da138ca4a017f7388e03e52534315f4b67c90d7c891887969a427a2691799dc0c3ec8115180357e0e9012a715840ba7b700281b5ab051e0af16d3965b04d911843f88d5abe3644176397dad9a4165dff40d9f82b851eaaa781f6839c364b8b4ca9c6ab088a2282a1e031c516bb086322daa0f627aa2cf14fdfa3e183d7591154ace530c0ab4006fe944f9dd26815e79552a51ed8c839fe2d46ab0bf2625cb6c65374e97dc4079fd1701075fde760aeb4e2b7f344fe1b776da24ddb7bab72b2130becb8e5c77f64a3e6bc94f94875e850f381deba2151c6389054d7f5717aa87335314c06ad44eb16b6fc477f1f6876635e40cc1d1350a1475475bbcf8166b53776cb740ce61b544df4335b28b61f5b49da18dda6e5053b27dbf690c32c14325067dea4ea6543c23d761125e2ca5250d52b76b5151e4cd6a7268fa1fc01076cce33724071392614cf1c36bb486b39566e108004c5f116fcdfa9791220283e6f5929e61ebfdc0d2935d77aab9e1a06a4daeba269137369c2008219749a25462eef97e489adb91bdbc4de9b3bb7d5092a13526397881c1b2daf239b487a0d0d2a9b58c49cf84725d77c7215e113f92db8f042d7b1dc961f504953b6f756642f0be636c2ea0ca50cd7d968b91f325334334d9b367297fc05be56b09713950540a863c3ccf2bab674409ca62c07433b7875c860dcf88315717a36a27352c20a676a00f647e0ac061c8562fdfb6179a2159b5a4712c732c80b0a998313ff70a2667081edc99ac6772a5b49ad52e1d40b6421a2ff59a96e68359d157dd26f32a67b225c61817b437c3e14b9f1a9de293367a6344d44c418202f19cef49c8086651ce243aaf3cd828550ab78aa9ba2b7a147d3e63313b4e16d0461ccd9b83da61f09f12a70fa85f19c590119a8949c0b5a6f2a633b5a89fa6f071be59a7c8ecd463a32d427a7e10871182d608839c689b05b0b7e8895a0cbf81c0e414a684799dd4f8689941d1307627e1f973b1c0f121c04c1a31596da83c24a6765979be67b8412db3ca66f6b26693ef4ac51baadbf9a28d6ced412e2186e20c010fbbc8d3ba86c222a3e7a202e7b5df2c6397c1ed4ad166376d15d6ccce81f5d3e4b4839679b0e3730cacde6ea7a71b9bd8c411d3bd319afa515d0e27f2c2d640f97008fc088701eb6cc50396e332547629e3f89e82110bee4891ff2412a35af70d2b7078b4e7d04ea3a7b70447c23da9736ae29ff2076053e7b4811d871023b4e079506c0f80782660e57554c8961319cbfb4a8305a54eadc7bc54b17692ada7d34c567114322d761f8e60a8e695e734452424c0d6d0db92b0f5b995aa402d959c984a9e78e7f7681fe5f286cbb62401e390285d8d80b0876fcdd5fe9705fd424d4c00a39f61c0740d00bf5ed4a4bfbff984e851bf8101ada0c5da7e88a3461ada2016b065d38c82c9398b893dd6942bc5e6f98260930ab05ae96f468b85636e3413d88db25523509af66fa8f836d5e0248c543fe7356f6d4194c12265655d27160816a650b4b1ed0571c2f730e7cbeca62818b3a4a77aeb84db7d05e29680f96985467b4cc50d2e3219ffaf8a0289d0216041b5d8b70c2176f0796152f5f7289cda1a3e40a2520f8a0ff92f4c24d0d8805a3e24dc9721ad959d3ee2ca72ec3b9b2fef2228b66437aa9a53d7e9558ed2e1916199d8f2ccea4f4428a00b461eb61b3b9d8cf204072bb5a84529cae5e4fb7f0e353cc4448b60e22a5c7ad7d2abeca6a6f21c3e254db42ed8828a9be3c1c9324816ef9210f8eea875544e17b1cc21b0b8a850c85620f1d821054bd736586beede9b7c61f5153c2deb66e5279127bf30582ba18f50d468638dc29b7dd544ece418fce1d431c29b6f40fe64f8a26939bd0957de6ba0be98ebaf56837117c288199e7baa6c964b49df8ee412d39603d7ca01c8b0936698ae04820868fdf0b6436997428904b36f169cfb1d9534078e0f3f984172e5946f4bef767393f292ce39beb081bb0d729463b4fcf5af745064737eb75c87b915b35d03fd687f40a4fc863f5e3d017b87428844daf39a96f346a6b4a429ddf9236549a0e5f2475b3333c2e4902dac6de1ec20bfc8001964c3a71f89b56808d2420ce19dc8f9df5324723b2806539868a4c3f17da5d0c2d18152e4b4655073ef64796a16c5fe292867a39a542201b7c2f001478d45f1da85a302623f7f9d5eb030b9d1b87138af60e55a2cb525089abc410c6f183cd201c922ba7d413a29dd1f56e568f08955b128d12aa0bdbdf216dfe739d7364fab00b465843f02de97b650d18c2f4f7966d4fce6a52fa1a1f732e5a03215dc2292e25f663deb5d550131b4d534f7dfc98d040812dd39b0887ac5aa9413b5486d763f81e578a5c985e6da4e71d285e04b8ba14b85234734bc8e020b11f4be2536d9a59c034c8750aa571db1b16766e10229a4e004e26b35ba2b5c1905a666986ae1811455387832844ffa15f63fb2dedeb93af2e4584135a4957e2fc04cbd191b3d807ac44cd966a4552745f3ae573aeb2c873d403bf604430262d2a1cdd3db089e51d7f3b1c51c100eac69e5d6113382be939733902f50f9b2867305207b6926e35025f70b225b027e8a55a7affa1923a6556065b36887524d3e49c7b8114f9343430275fb4c878c3894b5059af7562792b0a135e44125c42887bbc683ed35a2b54d9ba2f360d10d230361b7e26312bb6b8ea5877019a77468c6ae8307c1ffea359835276d06ebde106bed2792fda68baa77320282dd12dee5101bb33dc1fb2b0cb4127567d5d79d958c6823f930e8a982c5d2807b4123e49fa46d0655e2bc053f01a007e110fa520a94dfc73a10e2d5db116204bccab5e4e0d85451dace11a0cc4ba023e02e52666fa06815a4ad00099a909ed083ff4b84ed72ca60cabbfe7d4598f5a4fee5797b13beb9f3ee04c6c8b4185650b461ff271a225bc56a6859e71cf7041584fef74816ae9a8715263b2b6b7af6d14977973020b6e907928984dc950884012f2a88a3de08e7f7f524498b6b294fd2298e482ce7282e21a48879588ef52357d8bafba3a3ce1c122c667e3428182c03117de1b2073b0826c633a693a48a30d609fee5bd764144f071315ba2f160ab77f893a67cc21686107fce27dda81b7867752e6dbacd127b317cb47d66a71180938d391becf5edc0077ae7489febe598174e1c54a05e0a2b001d64636c132fa2061d298fc47cebbbd5981124465f09d700c07d0aa65a6b2a160b8d079ed99566977c6dd65de7c8aca5072a17b503b4a822375f777f5402fda5b461c1db048c88f25ecece7c0dcadd04e1cffe3451af8561c72301fb58ca11b2b24122d1bf2b9e359992557375a68a866565d870160fd1f3027789a16bdba392fc0b939fd7bc8425e7bb085d9f08f9b4588ed6433d422fb4d971b13b8ae8176106848bd593bdd4a471d26af8ae5dd0b4814e08ecf56065b1e4a79999f4a7650063a7542384df58055a21c4ffbd2853346f0353370f0b99962ec9f0ec143abfc6d894aaf8f642c04099f1cd3c649a0b33a4653af1543df160c10a425ed03429808e01d8e78295c1e3cd0d6f0f3739f5373adb684100418d555cc5d60f6ad0ef25c84cae62c113b115d8e131be630f5806faf4dbeb24277fc38b8c7533304d7703fe49370a8b92761705bd87d0f0210da29220f5a05325a6105c81fe4d98f456165855a039c84d7b62952d0a8960612c95814d6ee0a8294f33df576e1994387e15fc71c6ca3ec885105203b336d85dd036f7b44743625d0f739dab36f0cea8cb47889ab50e35c79746c87e99e06b686c365370e51d47e0c3b592089147978f94d4addc04f702b8aab0c93b6df6b3e97fb07c7e0d6f60924d14fbc45e8f2ea54e35ecc4032d810165531aad7043ad7efc055732880383e3526016e61d28f8c62083f2d7ec980352ce822caf8b3cddf69883284936413d41b9c6ae5cfb98e171a4147323b98aa46bf7446415d6e468158212817fbf506010a9548e4cb9afa1a89c61bc504635b2f21144307aa533289e3ec3d101e5bedf0b7b6275aaf71eda6919f3624890c86bb7d5738f0c7f254a2382d01df5c0939e4b40b7dbb8a007fb0269d760b1c5513ef72f96e39dd214855f536225111bec55bb2e55c63391c6e6dfc4966ff2ade18454efe6c223c5b429276a914872a914838590033ec11052d55413e64402091bce1cfdf45d5e83da65dd631691d52a6b24607fe555b91214e68cf31562001e10a686354704e3033f6f5b5c2039d9962184379401c891c9ac96fcfa13eb5de0d71ede9ed7830ef8037efe38017a718d69a31378f648f291ebe1962e311a23925fa77a9f9511820ec466250766c2b90a821de9536343bffbdb254f6086dd291d929097a8f51eed84eaddb2a393eb3b29389b9c1320b04f1c078ec47fc20e780e70cd6608a5a20fa330646895810c67effa1637fb36cc3e52cfb3b073e59dc2d955c114615123eee69bf8d2cc57a66504d91b8a54267cdacb60ecc70e027398d2a19f3fcfe7f6aec647416f3de10aaa694eabaada17e8f036f9b70f8b933f2bd79fffe5479624fcdfaa409b77d273159478cfb341e1a2fa9a8f76c9af0615967982c9321f156d4ce64124d038a277bb795e94ed3c74161a1d158038e3016bd5c4aa21e51940f980ea03667ce982be17f824bfbf9ec2dd12573cb0cb6a64462b22f55b2d2b934b35aadbfcd6e256e0aa63a82117c113b6f1d7344c4601c1e98a467e60112210e3ab2685eb4d2a03f4ce1c2667b243221c46ae5955f747053c271d8d7f8c0931b38b7b7a0eb4d7942434d7059dd7d6543d78821962c8cae51dd4362bc0536b874b15861cc242cf2764694899bd46a5807b1034a82cd7e591d538be9e3716a226e6063ebeba8f339666916f6661298fd05748ccdaf9c6c3726f470fe9f051d4f75b0f2a5c32d687079262fa2b3f081e17ce7a9897092e62457e18e1f4276177d7d96fe66582e729b53243e22b76af0b91c5ccb88ce74dc842627a0398ec907e961d9ed43337326447ca9df32ee714c622290406bb5c3c6422dea7d1244fcdd1b0f8f24e5729987e05ecf24ad41ab0b4a3d72160b7488b4d866eaf3d663b4a00b693d482567710fa87a734414d62cc83c7f2a5bb702bb311b6bae004b77b069ec2053623579300d563c5a40c758d752920b14bd8ca14af36b11ed33a680cafad820edc6b380ef2dfe092959ac101397ec4ddb3dc7ff27ff5569f45ad9ff4b1e673b9ed4a9ba2ef7c964d1db5b8db6f5c9029f2494b7409ae03f04e483b96ac3bc22f5154de710020a2cf57d9970e38dff26f02e486b71c7ac4d3265ed4518ed4378ecd05e2a0f500d0301f26ffa51858b227299b06d011730319a92c4dc7ff8d435bdca25c7a21c0d3f8bae6e15cf8b0d26cc9b51927fd7ea7a546b3604ba612e7aa8f45b9aeda7de27882d22cda3adf34351144e4a356eb5255d4cecdf47689e4a3fc6cce630ea7860fbd9e19aebec9c5e126452f572d0824c868a28acf1aa55450da68f6dfa5da4669bee4e5b8d1b3970b08df1acba93bd0f49185fa6c1cb6e517c6473bba3d09b6ef7466e9ee121266b50b7fc63b8a98a79d405fe5b54ff750bbbf5e01c16509b6da24f7b723dccfa5b95ecd2d9c620257cd830d0cd700c0c1441462081b503b94b96f57088b858f8070ca2f041d14ed264cf63f3462069dd6b4367b483ec7b116ecd7991436e51ca7e39c8c2cd1ccb426f1885b15110722b002d23baae5b8be46f6f7d8aa742710921d28d8016d454787726449c712c637e3e5b6e8f6df486253cae313d9955e9b1588570dc620cbe2a7e64ce2b5fd8a9632d0536b32b1e63d258b3bd68a217df223b6cbc124378e4ce1968f22e3d4d7beb04ce10951e35853a20627c50b0aa77997b530f346b44585a1705cdc42b35950b37d264d4074a03050ef633e1fc931d6f218ca9905daf5648266bac1968c00eeb088788820e4ca0c556ebbd8bef88a27c223de59f8c04ad887be45162621662b205e2168af4649f2b2cce607f80532ec3400da6bbcb6aa1f325d18eb7447438d43dfc8d3138da57a6258d861de6f8f25f2c48841a3f8fb65762a1f20e8d005fb42b568eaa401e01e42ad144b4f2f92fd7233011fb0bbd0c6b3ed8385e4513a724698c68ad9cbdc9e005966deff2f927933b2789bb26ec96927807f58ab35097d427ca9a80aba0307e1b3f160323568d57505adce176140182226638d7a158186409f45f9afd664a306cb224f1d287b5c3341ea3a7c6d3316f55c001bc1eb6b6f74189287e4b997a434e0bc9ffd05d7d854e74a2befcbf2add263210c39a72ee4a042db05ab0340fce5d9fa744f6cd61083d860baa13f7fb824d06a51a89b7a8dc1c800501f228ca7c65d4615c17e6e6596d0297baf69486cc731dee532b2f252d2344b9cfa41d727f754e1e2838e4aa317988a8ca51ad59413a34f482ab0cd43953de111da99a80600b6d45a5f3a4b5df24be3997bdf9d245548af991f4c5666b11539880b4280b950e8ea09b87cd39dc532c22fa935fb55852c6eb2e6a411b007867952fac7172d378c132a5e92040452df5bc928d7f3e2b7d9ffc476e5cd76526681747b0f2cc2e01d9c8a7ce308e24792753170c61817f63cd6f6f81ab618c6ed1b5872d16bd1f7674c93ae2abd51f75225f38b482f405660641cbb6b8326474315f630e74f1d377ee45540e2ff1da49df3b8c1d02e2975329cca41bd4d07b7f6fcb923d86183946875399eb3c11e444b3fbeea54ecdf61081545f51f5be0120f11dbb0095e8c75ac1a43d0f8e7b2416608d3d9f19ec592484cfe7b022bc620a7f13f3c77152dd1ac11f57a09648dc4f7a108c1a9fec06247b4753d01967ae3af0d48552b6801343dbe34b4a28a40654ce85fbe152c8fe1f59a8fd918899631d71d0ce7d9c0f7e0625cff58238504d1eb15760619d6f7328d565f90e8382ba4181d127a82a764741f90bf9dd427ea856f51be03138027f025da6a7361670835975c8fe98d75a0c289fa159a868506a540e4f1867a289087c512a05d11e7d57688f52520b7c412d650fb79197a9d6990cc5acd738a8e34914c081e90160dd461df9c237bba375d14f8482a715088e2c273cedf38e59e13f55f6c13401d5d03a328f8b62196121973a81d84ad9c4ccf34eae10c573eab8c3187e1d3a1dbe30855443257982d4ec395d842d0c8196659029331aac3bf438b7474f7b9c44e6797b4ea2606961ac8e853ed667efbcab41821c519b155c7cb5a07c233f2eb07781bb02a95b22f7cff2d65c6b91eea3d78b0c6ffeb895828ed8ca57fe1ac0929f2b385823f113501e8b4d5fc5b8f1eac7fca4524c9eb3beec39737e2679f8b53143bc3f59957fe677bc5077f90bb8b8364ae102756ede3edef7445d9c6dd55a6c67d27e044e6ece83422508f02bb7f7f22bb52498f53fc3657d6061502281e491abe46123c8447a46507a476c19d2f651c4b06f484f0c9d596a1b7e502fe15a3bf566651018d52ae73bdd1770872e7e5057b214d2f19c429f470873e5c2cb7631d483618037e638ef85877cd4dbd22ec462d106843378b5a6dc3956dfb7b9db8f9819450a8ffe873deb03587918157a1a36387e0e3b0d02a332455cfe9017a63f630b6bf61739546159446e38d02fbef1b4705781c533ab74e85e27b65e7b32fd556823248170316f8ce0678184c58c9efcb14820bf257a3060f70c46ee60fc22ed8f1e690be27325a2c60d5a65d410dc2d7746ad32123d30edf37b8883147fd41cba6d15e32392193e237d06e72a6acaf8161889e657abff32b17ae798145e71b8c677e1bddb3faef69f6d10954417185e467f66d309123af0911ecd56864dac7e114e20b34b88d455c66db916649511659d45df94f79eaeb43c2fb005f2fa8312e572596dc7345631ab100c9c58238cfc0c67b8406e1886729f6c8ae328319c331659cf0dc35b6196115118186deda4e75d4b0875bdbc5b331418cd5abd3a59ddad3fb3b2f29ac068c94e51c0309fdf8d105d7923d5d88aa602640654d643acb4540bc6ada056d9f70b6fc1f3f1e49c4c07404a60c13607d4b50c51716c946e7a5d626b25648c2e673770d2bbe9694be137454d95f94cf21e03659d52fa977488ff3cb0ac87891885ed1cd8aff83d42e1a86fc6d91efb8b56ab4ddf01102493600359bb25b99e59ae2c2d831623a21641a87e06962e6495fc4f0658d5aa1774c9897754617ce3d8f6ea74fbb4888accf7c8205671e103ce603b412a4cb87bfbea474d9f9a4db4c4c5a50382a36ae074c539600d8a6ee6aa8d450c263ab88b3e6f781afdd52a67447de46e34227a8e34e3490f86188786592ef72ddf5a8e8a0c19c40ee47a1b60642de4705aff4d77ed49280a7c37fad9180d3e2ace57469f0b6f7a4d18768d5000558b58cde9d4a61e7fbf6acf7bfabbeb61d80e47bad2438b7c83367a9a5e76bcd8092ec3520d2e38980b4d68232f6f8b419e7ab1646945d8311b4f9961df4622c9d9597ad60766ac552a52517b5450540c3e39fce42720414e076e37bec89a77517060b62a0a4bc6c832068fbb9653856ca47223a5493ea1b8182b31676295e13b365d154af980e876003a162daffce55bf3351a55bd1d9aae026e44361a5e669c255386393f3a73238a66a6832873081c46745b977b8b7d18c265498b3db15ba1d34d5302811e9a2ea809cc57c41ed676775f7e8f03cf2099d56c89260d181a27f448577520069a28d976bf7a3fd9ab5c702e15de34cc9d042c13d8ee95742090ee0db4f389b468820659978571642650e72cb5df2cf95bc0e55ca1332dac9365562e8c3225b8d2bcc568e68d632276903978f99740be9b0a4d0c0d2d1234545ac632d2bc280cd5d1a5071ac3dee92408d231935a5bd559ea366980cd555b566feb3f559551b9682da2270ec627a117c8ce045be1c7afb59b8c1987be8c077b4ab17651e2c246a5746664b833e32011d7804863a549c8c9650b0fde95cd565f64545889620e0675eb5530472c66e87fac2b50c1bb94de6c86c04aefd1243a42bdc41b78c3685036852c4efb79809dfe22903296826a5c2f8a130fdda7e75c39e51105f08170bb43da193c72ba1c0dfadcb4119ea95b40ad971302d777738f9dd01515998453834d2b11709da6ea756e0514455cf8bd908ad1575892921b3399756141d03275758931c336453423ab7d768f237446cd5bed7a7469ddacf1ba0fded62646a8a53b909fbc72440b2a410bfd291b04f8c052a8065454be0b99dd40082766a203992b2fac6d2b75a5e81eafcda12083d5b7161e847d3e55507e8505de313a1b3b1cf169aab54f991437b1108dfb755245a495aeefb72680d880802af231542adcfd8b4f4f482d74f84fcd44d0b01db30c28b47c38162b7c0a8e6fd5cadb591e1c241275783b5d732ddf4960161d50d99d33e1358228620dd6efbb3f26a73fd3a8eb60f5c2932cb879d855e7a0746413c169c86906dc650b3de0b3970962662ae1e2f6fd81ba64316029bba9d27a52b6ac578242202933cc8655b8e2df943edd3f80c8826a626ef9fb0636cf67f022b733684361e4a84bf6ead588d3fe7d10f668df6a52b1d04ab61676b9e50d9c34777700af7650dd3e17342c676a2665058209be9977792f69fd4d72b591109a028709004bff2c8646471e8186de37b4704f8fc823b1fc42014797abc3c392d02731d0118bd84ffb508f04df95fab6473b67fe99fdb889af7538016c6927b5f6271156aaf2d9d668019577b3b6dbd8fc6f50705cc4f9d26f458187c4dabc647825f3477b5bf3ab9e6f969791303c655111fddb19b659322d3e199b8d9e64bd422f008ec4935ca07b040ecb2e61413f081adad5d7977d2e7f248a45bda8e100f553263ecf35d61a9261a9e25872fc3402585b583a701a554e2ef15fe15ea2db190ed6db877f0e3df0404376ef9bd60c2741b8eab3763a7bc67a7301d9c9040ffc7b0399b728447d981d99054c6fbb16fa028722158c8e9049515ffef3f29bd9c351746b9f6fc34f853584d0de342e57bf75fbdc42e1f96fec734f658642718bb94158b4efa090828006c0811288e35ab41d5912bf29d6c8a70e8a1ff2335b6ffe7ae694c651a072fc2de68c81ef78315d6350e6089a35ebad70f21fe98e70b25530808c6d782006bd1ae96ef09db569784483aa7cbd8866502fbec9bb40a474623336516fecc3e44249d8124e3805f04477a6a40bc53698a7193b3eb9574a7d7674f443999c06737e6198cd6b654a76cb51f3cd66009763036156aa4f7ad4150154773cba3da9578f1add92a3fcfcf39c4d090a4a17e3760b6fc0c7b9a3dbfc727ecc16dc863109fa495d802304bf066562f2fe7b20a0e6c700304b7de19eeb3f26fbdecf1ae9eae313fb6c8b9b65efd0392c1bb1dc8052de4ddfdcb67c87dce7473fb5ff612a7fb4081a671b0c7262661fe5484b7dc69d5a56017e063a5f9f651e8544db1bee3263529a563ee6c82e254144d5983e91698022f0a99d5779119845cd3991b73d820e4e1b071b8fa08c712d59c5f68907268c1b3c47d4ba6bf3267841074cfe4023813ae5e759988510c37c1ccbfeb31a0e3e0cc5ac7bf5ad53e327205cb266bf8c127cb9ce5ae0320c6a4c0b50d536f2da9250bba7c76c57747337357e86d7a1a34270b9826ce9691e3f46422eea5d7dad350610fd53e83b59db2d4292aab48593ab680d65ee74477bba646981ae855fd0b577b77f395bb0a5ca115e9a2bfbc8f3cb517e7db0e7413e416b42ef50bd07618d12b9de95fa33f9e74cd0002e1d5849d275b65c08e21fcd3677c131615f0978e741d8c2bc15a22ee17c9763174010231273c2c67264696f3215a81dbc645a47564818900ae5fa17e81b3f844cbbb6f5661a44d59d430583d7687159424014b9284e0ecf58a02ef76d55dd57a2eebbedcb4db7a2a830e49a4d6ab8a155535a282f7aa4025119633a133cbd0d99511f16525e2590897210f86a7383ee59cf4dc0b04b27284ab89cb2ea0eb7e573d700fb4b300c4c88144d5e74636dc59b5193e38904a2b187b89ef40529846744d47b6d8c79a329c400389bfd7a9cae4bd716997b669187854e7dfc310053b198b5a249df003821f4bca7893d3e51fee40f57d1ed14ecdd42f3e73efc605bc4ae870348d8198d4b9ff5a5bebe084a479f7be140577fc483a2808cd3e706dc6ce994c83bbe08da35635c8f1d452e1e3aa9a09f817f65e4d23b805aa77260cd5a2fee58ac2f7a05a7a1acddfaef1fcad09fc67c87a55c14b1876489c09d323efcd615b3cc793497dc65081f2d77161de3b5d5b9c723454b2cfdf6cb6cfc440a6ee9d9d005d202a995d05fdd62c341d7627e93898d1475da9161dfc96f0002d9a9138e1651e622b6b87e4e97822217974332d115703267835fb36166b2cc1995d238877551587a7d5bddd00ec6de566f4a49853d2eed6878ab1176054889687b681c95455573186352aa466d9ea749c2f6304f04aea93b415f00de9c3180332d8ab3891d8b643bbe61e98fd933d516ada54bf1e7c59c29efa7295ba9ad4a6a2e21e71d15e2d44d5b6c91a2c419620d761573be838ee4681275883a4a401a0f177e62b74bb8017079984b53573eee2bbae32e40def6114307500c9f599a0219ae7d74b948553d2eea1bbb15bc6fee4f65b4f52e6e5bee0d6f5a4e05539ee9139b65a5d9ca35e365a5ff2afab22700699e43c55a5a2b54096b8249ee0638db78fb304eddea37e56668a52c917a173f4859e4660fd88eb86f109b6e48ebf55e6d24b1ff81d8227e675e5ef2b5ffc38f5442019421d1cb9f6c77decd4fc99d7a7246bf6cc917bd6f3666ffb17a9c03704d0c1a05ea603d9b59ef6df506aad0623f1d8090bfa939c37b915dbbd11925d0746e7f43ae989011092313b784b375e13761f0961c9430f646237fa6fc7e36c014c2968bd5ecef28536d651c430eb7d11b7c846f298fb4df3e88fdd117370e8759d4ccc21dea0b4a72c842ae2e13b33726af3d87fd5a165c0eb64d4cef1d111c5fddc26e41f4b43070c7039eb3fa4ed52a3b55970678750041904b986341a4ab49dab0afafba09ce040c16c35db50f090523772973a922d7533d4f2ebfb26c4e225955d94a9f266f30786dec71c7a20860ab61794731e10d0378fd8d9424f1ad7864e5b50ae954a449e75afb3c36668c20598e6a14e595543964ddc39db3045579bf730ce1ecfe7657bd305fd7e6d1cd118f93134da33da105c7109138e8bd0314508b823da655cc5605c1d116f52b2034abd40e20f008d5031412a7fd90af3f7acd8bd98dacf548393942b71e9475ef65f15d8e13afe223474980ad470336194bfeb3b596ad6d774b8dd45933bff498602342eded3d532a16976e28d25c70c202d794df1e3fa7485e2a267925770f773ee7f1dc3eb7d4f155899efe3e45a4ee02985c5c2b1479203576b33de825fb6077091646b2b3ff4502a38aa7dea687a379c988422c935dad6cd1a6c80396082f7bff76475beaa1b567e9a577762dbd7011ef3cdf6347cc1b5497261ef3c9bd94665c2cdd1ccfff6469c155e9c62bdc6571e8250c2c176d3d325bf3c4c482c19d2cefee2da564721e105fb65e0d1cabd644c1ac0aa4b1674e366a1077c2c329ec00b7bdb5190a0ad55b441d8bcdcc4b4f0636f6fd29480684563e643c53fa5c4d35ca5ec5d961f04f49d6af6093dc816a4b617e8ccc2bc2b742bff3a891b9d6a95f963f68d5efd69745584cff0799e7cc41d087f27cd0800906a8831b6d47be8f5259bf291cea3f3a7519b8db883d41245ac1eac131e42d8f14ca9dd19345d5021624ad5126414fa80f3d986a76a46ebb17a976ad5dfc5e6e784e3d514c6ea72f434a3b53146cb46370be4d908367fa475be2b93bbb835f123a40d8757fa1f47d696826c0dfc2d0840cedc3e4b6110d1f54f6f66ab46b73c0574e8ed5943fe4cf4ccaf91b4139679911cbd0314085a4d74df8c975975e31d40b9a97d3af59e7b42d6ece13e80d21e5715d587e3ca500dc56b7889c756f37ee04ce27dad13a486a1ce3fb2d496f11c02a1bfc0b484fee4e657429f8d04b3fbe361ff048cb03495314ed6258a9d393e7374ac6906b42365320d8754464413b6723469cd681370bd92e5809a512695b6d07eecf787b51ac0c56bc970c72fb112c4d06cb10909696903e129decc66ebe4833e24b7671c3ecd10eaa2cc6a0fe663345dd570d9e4add707aa049974b3fb9187a1fbfaab97861ef0e63e018962f0fc07930cd5d393319823fbcf1110c841d4d10144cc0bd11ecbe3db8e3fed40af85550f6eee38ea320b93841eafc874fe28a466ef7558430827442101ff1171756493c653ee96ac640933406f8fefce9458d2959b841014eda80789dd9623ced2eaf67ccc61471330bf32c9bde81c87c87a63592c771cf984b8b3e409d321222a9b928b668ceddcfe30a6455919a8fa74804248097aa25bddfce7f3cd5b2d13d064f0ddba6eeec47379975d3d57b07b1fb97775ea96d45ab201a69c9b1e65b6a245e4d428cb4005a18dd48ff3553e764c7ce40c1c58b6c66f69e45737bdc6aafc1f551782dc52446961d45cd254776cc320500e4a61d2fafcab438d5058c2a0bb8083fd55a8fc9fe5606581e2ec773c1ebed5a80dd4d55de240153877205b4ddb8ae7b2e874b27c2cfff3aad7511810340763e0e1956d1954d9e4f583c428b50517b2922bdb9c55f39674f2478fdabc97ca938e944c1f60e80102017048001ee757401f13ba4c0fa3c9e4782a6ad1d4ff2852b1a855df36f7be55dac99ae5bb9666167120044712816c225e30878b52e2d700a7754e48c2d978e74a9b8926c1506ff180915305037f75330b87c28870b65747fd75b2ef2b5126b55714638907baaef23f79f42bca23fbe7fff4cbb553fe97f444313437134f1cd0a5625200f403c4b626c4c7eaba73121689daff101cdc1955a39832b70129fa8176d4c13c85fcec03d0158e9f36bd49c12f1da0ee3e3ced71845852942ee25b032a36617f444eac831104bfdd955763a641ae680c76e3bcc3bdbd47c255b82b126081b5004bca8cd0712dcd297d0fdc344c18e2908a5e8c321ceace78f925d2a719ad7d0392635a83eb587da4b0d630b22efc819165446340fdf71d1698f5d996f0644fdf92d891e0a3767531d0d771369a2c5a0ca43141c1ff520a54a9bc150112249525161054f7819db20130de8fe56843a0a54fd64b31ba0e311b2d0975975e8bd043cda3ef8638ad71ce0cbd0d322e0033029335bf079fe6db27ef39da74f35952a4fe3c27b45be5936d9b72db06fb83493d4c783a872cd8a3948f17657277e6baa35a5843e1e87eae68c91c9312fbe43c7be09d28746c2637da776ccab34b15d5723d7e6143b8c4ea34d96cafc03590905343d163150f2f1f60801e59454961a3def21550728d174b4a78a2b2274a07fff7f2d1f8d398fa816c9dc1d3d59b94fb67b8d0de103fe239c369e763938ce826882e615267673fc8235942ffa114ff212c58b58186c620482af433b281870dd985f85bf3f5b2840ee898f169831d77418539b8b5326662b1b15672a45372b963a4968657471b3b6edcb46a1fc78634b7947ab834c04ce4105a55bd60c5285255df9dc4fc97100a70652791f6d3c30a279b3a38ce2584a367a275fce15763cbfae94000aab147ef8b9fb82067550d3c8d5fe4fbff61208b5afa5d4a112326f70ea468f27c33ab172ca542c182a50abca5397f816277c376473b5a4fac01f0bec8d121c2fc00474f0b3230a5d19108a5efa0a4d7b397b98660f2ab30e9554cd16a1e759c293258b580ae9ca4a8726b59dc0fc0b35927a27087ab51f965165a5a0a90b44cd484df11f7ff57050b11dee36df50ce925f0257e33fafb722fa21578fbbd65e841d18ac8df5144962f5764668371649ff693700554b9f71666a305684d4ae117d5f6659370dbce8ed447a585920a85e35c369ebe535b497a02d37a09cc5ba7d256a6d61519554bcccef507fa8fb831a66552bdf5312f94ea5b23582038e5cc2191f2add3c50dae573d700236e6905e0f5b85463e6bbdde45bf755f87f2e3f014d902d34013031ab565338bb46883929deb23b0787554e495f5e785a122679a11e2e47590d59cc538fd31dea69ad0debee4c67c3b42e4a27373e2b0a1fa1e4c7e239210b787161d37dd639cbe13108e46c63502f77c808174120778cb4c64b61ec051d64a66a2fd7092a0859b49a75da217d6bd39647c48aba977a06218cf0ecccaf37a3d16f13c3b55422ebec5bea78850742d800a3bf3d99825265079afe235038269c2de8546e6ed177eb69d89d5fad01742acf19ec29f0f9094f1d78ca4f5245644ccb7a5992a34e682f2caaa7711fb148052527f26a244f54cc20faae0af8d83dae3de82a275b077a81b0bdfc4552972f6c30cf757a37cf701ccf25b29efd722705e855ae08dc70561eac721ae14c9a1e48d6e6c537b1481a0c5846f780b9187dc26a08a20316d971c1799426a9ea51676a446bc717adef525fc4459edd9828646d0ba789bb08e45db15705be1d217009aaad61c525e0946f610d17c0a731347ecbb00bd0c99cc04c60e91ce9b4ddd1141452e3da982d3972a63ddacc08abe974713df67eb89b8f05396dfe2be495153d20d32b05ebf0e8071681d5743e0cbb0b2e6fa60e2caf324f1f16edf9d49aa80f289deddbd6ef5f6027fe9439700343442909fe75ef07102ffa85dbfe221d244fd71b632406681e3e1145e72e1bf8df1ad3a8d0ca9c3220208dbde25013603d0826ba9caa60e0c240ebbf65a91fe21401593ed486b2a64d5b04bc67b77932d450f720ab296a76854c94ee1f233289fe56561f55adca3c447f93be5a5c87f5381c95b6a13f8e3d6c1cb987f1c3862a287b43ee9ea623d97a4425d443d62e1e2c76d9c34817d4c11b6b8b71f4424b80f943182ae567a96d06443c5c1bb9fa95ed28b4679c4a723f507e2dcccd6b3242705ace86ef5803931f45357324875a9e8e21a1e3711b1b502e272699c6236064ed7e3389138c596bdb48791eeb01e437db70c253f4ea4b738a7c58c7326acdfce565a05cab2f75fd370b40465d039ad2bd11be56610c6f033359ed701bde61b9ea7cc6799e777353053c1de82a91d08d17297abb538864270a642a514305e158a905cf26c3deccba61115c9df086d9a1885e59f2591c0c73e0616f39a1c5970a1e3cc0db3d5535c7a2341c65e30218913d77cae4acefff8cf85b47624d055b26a865bc2d47b4dede941f958e397157e37922fc298e7bb70d3b4dd4989c9715a790420d49be45d9f15514518c5b705386046217d4fe7a4adbe3366a9588767a2c353ce183805e5e41040ad37acc4469aca05b9cfe8041a915f8329a78519185337124581f51d60763c12a310b592ff061331537e31379ac76e5348b4ef8d692968f07150f647701889d0040558e4a91d8dd38bac4a45ddf07881ec6e29daaa4674339649fe41f0344eb52b9ecc6a818645c63d5cfe3320eced81c687dc21bdab75b58673851cf4203c476d952a3f341e0066186397f734b7547327801b78681cf7702916d40e0138d2127945a0b6071cb5d788a9e6a5fc718f20df01f57414c3ef509265e9e2c60d9b206185707a680a8a443a1d0f0dfc5283655604deff436dfdb2eafebc4ecd2cee850139c87e0e06772477a13e21d2ed5ce03d7b773523659c2398426096b1b488e6fba41f361b0163606265886dd02410025e33febe4a569e64627b19bf88f219c3c5eae299037cf4c11138588711f60c44227e488dc5caaca4f5bad3bfe7b3d7703bc497f531870ee130c252ee01f8ad93912a62d55673f1f4c1b25ca756bb26a2bf27a4a2a1e8fd54a0a8a167d2755911a798beedd94339504963491c1c49b805a45fd115bbf50e57c2f1db523d75dda39f7433edb991326369095f34d1747230c0fca2d149f9f962e94d04004e4d07a42a4232c931fffa057d632705980e3d62c69a0db33e672ce69e44f560be46f120e957bc293d0c35277a76c6d84abad2916f396b9b2b6d784071ad12266b4cd136ef7ba18ff38840472b5671179758b4b542f5c661a4ae2ac53bd1c47df32332f38088558ef7b39226a33504eb343650704b7524bcc5faaf7269894bce3c2dabf7e38d882fae43acf09c60419056b06f022dcb4697b8103685e8d3256e77c3ea859703015e418fe170ddfaa6d9c3c036d607c20f8f18ebb023a3589a6d38efb656e9fb7629d3799e84c2edaa33776017b272569f0c96d326f6f17d3bd05152fac457c19b64819243c455ce10d1668d2ae330e7faf250a9b012d26d1b40b57ee61012f5ebc5c4a320d002daa6e8c24580644db7508698079c52019886febd8489c49bcf118f5eaad17258e51069fd28af67fd7f930e1e5f88058dc23bb3d3cddd81b5de3da2f72254d5c80eec3d1787e2f3c9040e7390d25174e881452092cf30f2cd8fd7cfde2ae1948f60c863013f5c57cfa29b6867757897321690584fecea51e279e0e6ce142ef30573debdf9321e71ec70007f49b5f3f7ed5480936a30f713c4d5bf58a18a7653ce718d0c594561f0082e7bcfec6b1827a2272bed5b3d92b48cbaf91372b5c05209acbdab43004132b99f64b43ad8c8963d87b68a6e88f883fbbe66fbb18a9d425e29c63fbd7ce491d5f936daa256ff65838f55fb0f45f380bbe6507b66aa8ec41358edab60f7bc40a314a475521de1a4c10e87dddb6dbce7d6358b83cd500880780508b696abfb74230557ea918e3e96380ac597ed5f074115c5752b7c28834313fbf2b8d957b4850323a0e0b5977957f91aa43d659f5cd70c69cc6c2126e0458e0b31827f18906040c5650f00180942b142db89233f574480d4538064a79c13d36b52ba65f6d8e06a53fcb03a4dd6f45e87145b4ab113459a0b1eef32a71a314b57e0de527a6f33c6ebe9770c8a9bb68f146eb162324f11931f8bbfb7bcf4033d3de13bfe5cc534182f6ba12853c6f496e5603e3858cf02690d84bd015073f607e639cea95fc834366d26ad395206b6d670468d2d223b96031c5b042e7dca879b85990e9d859de6925b9b5a7083b434fbb46c8e58fedcc5aaa3c1b5badc52b42851b75104fabba3e1d2d52e791eea86cf6ff02d15b71f65bd9156ceb8bc5e8608e722c23b1539e6600fafe43bf4c1466e48864adc359e709ee2f159be85a361e16b375041bcc1e5c609cd0546f3a1a2529d30602603a9d3475dcca7dc2fc8259301c2d0cd60f4b4f5a3eb2d9766d664cec0f8eeaabcc4250af566fc1fe5f655d1e2a848c6726fc39e2aaa36012895506777e92b26d97ae62262243d380f2b247a410f7a0f1f2b312f437f6fed61dc239558ac8830ee83449d8e66544e328b82ca31543fd6d4beb7c357f595a7153c608600a280aba355544dcad78d857f8f5347eca5ac1dac4cb5f7644b88e418fbb7b205ce3d800ae716ebfffd91bc4c4d42d8b72245807fbd163c2377f01111c7a4cf3fdf9b4dcce342fa813fd25154f643ae719fc31959c8c1bd3b865c8d28c80247a250dc2bd880a438b14e223686c5c1b6c2660c4a2d9085ff1469075b280e726950c0a735caaf426079c4cd26b2dac2e676a9fdcf3eceb534e4839d21c6bdb092ebcb97477d0773dcfc642f973ca0c1ef4bedd1d1fc3195720b7c1a4e3c7437278560027e721a537e2dcabba2fe5c77c3c1adf5d8dbdea6a5d9e6ad16ee4de6a0ab571c9cb3306149bea0003912b793bef44e0fea6a00035c09535b7492b360203be3b1ba86fb807eb35068742120432252fe12a04e0c355b7a70936fd4ecb382102054f6794e45ffce713719a79f32d66982387f29ef91d7d6f9afe9a7df63a00c199c0f34b356fb57dd2e333ad452f9c379c9672522a7d08e8d2f7fae5c57e0f268ea5ec4bde4ecd933c7071dd512ab4c99ad11a8cac526ae33724e2d395654351d50c1ea0424fa7b29cf97164112a97a743304bf36465d4e10fd083033006fdd6b2c2b35d48540ce92a67efb3e1052ef372c56f9ae535b63b393c9072cc55e2a2fb9ab14f77395eee2361c8fc7679c314a290906a9667bce877ee9785e57e4a7f7bb348b9ac7c9454dba141b8014d4e4d868330c33a4dc79c213628765d26f75a54b888d63d0997dadb1bb9c856031ad55fb6009eb20d45371353688aab0bb202989c0dbad5248b8feb56e81f9471f3251d5316a7265757b90240166e8d0d2ecf69b730b9f52c547bbe7075f70926a3a2458da7ff225928f04554b8940e1c01de2819b6dc4154e4b5576d99693260afdb9d7429ff652f53f071bf8b5e8b3f935d9168310f90399f0e560d584a4040bde4a5dcf799f20278f96ba74d00df43bf68000804646e419429ecc7a98c7808b1307d700467372baf6c1ed584c879601165b10fb5c8c42153e66f2086baab048f8ca88181afb85732d4b7718344c55ba34cd90e3d87bd78f59ec3ead757b20a40e59bef8f041e3ee3f7bf7680ca5b6854343d2d6c46be0731cf721d14328026dd53cd62572933622f9a2b45c846f82abca4695ce57b61072894205e773b521578e554d398bdbf7d985f012ee587c178c79d616fc9234062f1c68aeb4a91da0cb8e9311d0ddb6d7963e6c48679322150aa66d9ea633d2165d9493aa1b85438067b0b8904aa5c9413d118f41ca1451741a43941e3b8efa97ac8cc43c4a0ccc10eadbd0085bc25fa06fbecbb7c323d061fa0840381ecaab16a4bfb338960a64b6226fc35a1b963027fc2c51834cbd2b775c6246424d042fb576f6a39c0f271a55460a7aacaf89a9a03797d40d86e83611e4d573cc3bdd86d1bff21cdb0d6be733295922adbd7138261429854acfddd1614091b0d49ae691279c67133293216d238108dbc23a77ab85fda9e822484c11e21f446450e33431e2b804fea9a20a7d1576c8c9c7021f26c7c2c93ddb314c9017871aacb132f3bfb53ace8a4578f1e3e32cd2ab9f724ad0018b2c23ac720d240494e722a75dbbe282f9248c4394e14ed0dab551815eff5ac3dabb2c6f175c2747e29ed091df4c8560e028966dbe8c6ca3851b8e43446d5a643e19834d608c945312bb9ef9ff530e774ac2717785b88261ce98ea1bdde3f3752b839017302d2e9353068f85d4996d27f5fa71e9113e060587118be966a020f6b10bd1944d18b8d26c31eb70c6f372d7e61201c855ec96628d9a801e91352ca2da87393f850e9af14ccbaabce67933756bac20875e06b364558f11d7a8d773a15eae565fca3352e778ef7455ce2683f6c21a75d29a4bff23b3d4da05fcb3587537f691a7ed2c54c7c6c6efc284e6dd840318a59e51a107129f429c05595cfac3b7e99dc794dc0991a0b2669ed44e5755526e02e41dba1396fda4371fc85a2113c1b37aab4905ff20fdc8c0fbf85a1922760ead04b5e949f20d34c9e094e9d9469152dd20c3ac0c57b2cc2e2984f060a3850b564642e3a2279988ae143c0e8c03e095a56a73079135fdbaae1634df92e334265590401f8974f4f4c73b0df81ba4401a4a0a95cb1692aa204898358bf2b6e47ebfea57043c200f3a5f77cedc33f5b662565f29ad8906ffc2ea505821ba80f77e2f7ca805fb44567a19b02a8e61722c62d1e335a39d46e5c8fa19fe9c8830db2f90b3045f6233b2655a6c48c6de715e97c344fc624964eb665261000532f2f25a950afdae6dd44aea6a6501f67053778b7b76d9333472970a685202fecc52d25779fe21d383b31a68602933518924f5fee87b70b9cc3581085e07f93028b656bd42ba8c822194f0d17ece5ca24a07739d4801e747d38774db90d5de6453a5712672761ede9873d2bc7550c4f217134275846bf816df1160da2f58130763553afbc2c9d02c076215cbdf3ac272c272bb726c97101842a7ffea95e93f4d33166e8acf54013c11661a9cfacd918100763fc2bab48def0521fd4c653e18f99d94ee4fae82b7df13c7d07cec945dd1226699422b8b69ae9696aecd1018ef52b825907f9fd0e8644ea0cd38b4ac0ca378c4173fa4bac1505171b0f9cb189b366964cdb5550516f7d7f43bff67ab7c3df5c5ddfffcc6e681b8f41998c35d9fb1ce213f94b302f5338df0b95a3d75eecb2f85a4a2bc9b84608554a6b5acda84893da7c6dbf36f0e980ab3f80e221c3181ded23e3f0cc2b7343823bbe3cd613996d9440d82fe31973967c3631a2aa34b097a1379447b98aa1991e71a44ef666d97e5b191f5733e514651c0141c51771f9a74667830e5151bb845432bb37302b35899c421727176dddca8461663b4d0d1170a92e3c0164d5a5739467f8445927f5b4cf59083d05923e073b55482b65bdff3dc879bbf4239b54e2261c2a863a7b3cd37121ff0dfc61e5e19b36d29168c16df73921b56a3c4d3486a858fc566d4223963e131d60f90fdad3970c402e8679b04daf0277f3f104b70c9c1cc2f5147b63e57b756498a7aeba1e0322bdc0dbd1b4802662aa16d0be42a32b5bfdb3e35e6771be26b6b15e110b994a1e7905cff352a05374991af2a3984314698a90e979e9c2915a69b7aa20d23e2d431f9697b7c1c213375e7cc07feb33b8362f9bc754b48aed0c0622489f82525347be3f6c6f7c776f4c9bf77f4577d4ed0d45c106319e9d7f745c133ea9da11f4313efabf005eba8009dcca2eac484a1c010160e38fefb60a7f3e19fb48d30e663d0432414b3de8c83d6b8bc4844ee80b45e2d0a88f0335f652947290822be05b4976bf3d88167bd22dbb42e23eb741b83c03d647e84a870504f7c8b79431fafd774789299969109817117ae8f1fc40e40267eb90a438aff10f35e038c1704b9b79c0a5bbcd4dfe8d1f91a9d3fd1485c23ffa6d8db4e43d472ee2e457fb91d8354f71a03029103e1725d416af66277ce3758664ad9b74d59e34312faaed2b31ac7d0a2bee7c7d5b3e56486591472077ad309f48b7d71a8138589f82e6777793ce43456adc0a0566c154827c7f9b969f00026b79910a6f79ce57a84101c24400b272f0972c91fde7be17 diff --git a/Assets/Plugins/Easy Save 3/Resources/ES3/ES3GlobalReferences.asset.meta b/Assets/Plugins/Easy Save 3/Resources/ES3/ES3GlobalReferences.asset.meta deleted file mode 100644 index c5293dca5..000000000 --- a/Assets/Plugins/Easy Save 3/Resources/ES3/ES3GlobalReferences.asset.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1f155f65d447942499c738857d84fef2 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 11400000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts.meta b/Assets/Plugins/Easy Save 3/Scripts.meta deleted file mode 100644 index 9a10374c1..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 86ef77fdddf9947f290776206b1f23ab -folderAsset: yes -timeCreated: 1499764821 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Attributes.meta b/Assets/Plugins/Easy Save 3/Scripts/Attributes.meta deleted file mode 100644 index af485a915..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Attributes.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e3195251321eef445b65f7c8d345e743 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Attributes/ES3Attributes.cs b/Assets/Plugins/Easy Save 3/Scripts/Attributes/ES3Attributes.cs deleted file mode 100644 index 242a7901a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Attributes/ES3Attributes.cs +++ /dev/null @@ -1,7 +0,0 @@ -using System; - -[AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property)] -public class ES3Serializable : Attribute{} - -[AttributeUsage(AttributeTargets.Class | AttributeTargets.Field | AttributeTargets.Property)] -public class ES3NonSerializable : Attribute { } diff --git a/Assets/Plugins/Easy Save 3/Scripts/Attributes/ES3Attributes.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Attributes/ES3Attributes.cs.meta deleted file mode 100644 index e18e2d3b4..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Attributes/ES3Attributes.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e29c69181d1dff642b20c218819fe2e9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Auto Save.meta b/Assets/Plugins/Easy Save 3/Scripts/Auto Save.meta deleted file mode 100644 index cf53efc77..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Auto Save.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: a01ff460e5e0b4f58bd28b3520b7ff2c -folderAsset: yes -timeCreated: 1502446431 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSave.cs b/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSave.cs deleted file mode 100644 index 311e5a4c4..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSave.cs +++ /dev/null @@ -1,32 +0,0 @@ -using UnityEngine; -using System.Collections.Generic; - -public class ES3AutoSave : MonoBehaviour -{ - public bool saveChildren = false; - private bool isQuitting = false; - - [HideInInspector] - public List componentsToSave = new List(); - - public void Awake() - { - if (ES3AutoSaveMgr.Current == null) - ES3Internal.ES3Debug.LogWarning("No GameObjects in this scene will be autosaved because there is no Easy Save 3 Manager. To add a manager to this scene, exit playmode and go to Assets > Easy Save 3 > Add Manager to Scene.", this); - else - ES3AutoSaveMgr.AddAutoSave(this); - } - - public void OnApplicationQuit() - { - isQuitting = true; - } - - public void OnDestroy() - { - // If this is being destroyed, but not because the application is quitting, - // remove the AutoSave from the manager. - if(!isQuitting) - ES3AutoSaveMgr.RemoveAutoSave (this); - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSave.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSave.cs.meta deleted file mode 100644 index 1bc733337..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSave.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9cfcc9ceea0bf419cb3bcaf548c2600d -timeCreated: 1519132292 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs b/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs deleted file mode 100644 index 0ea6a7c3f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs +++ /dev/null @@ -1,129 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.SceneManagement; - -public class ES3AutoSaveMgr : MonoBehaviour -{ - public static ES3AutoSaveMgr _current = null; - public static ES3AutoSaveMgr Current - { - get - { - if (_current == null /*|| _current.gameObject.scene != SceneManager.GetActiveScene()*/) - { - var scene = SceneManager.GetActiveScene(); - var roots = scene.GetRootGameObjects(); - - // First, look for Easy Save 3 Manager in the top-level. - foreach (var root in roots) - if (root.name == "Easy Save 3 Manager") - return _current = root.GetComponent(); - - // If the user has moved or renamed the Easy Save 3 Manager, we need to perform a deep search. - foreach (var root in roots) - if ((_current = root.GetComponentInChildren()) != null) - return _current; - } - return _current; - } - } - - // Included for backwards compatibility. - public static ES3AutoSaveMgr Instance - { - get { return Current; } - } - - public enum LoadEvent { None, Awake, Start } - public enum SaveEvent { None, OnApplicationQuit, OnApplicationPause } - - public string key = System.Guid.NewGuid().ToString(); - public SaveEvent saveEvent = SaveEvent.OnApplicationQuit; - public LoadEvent loadEvent = LoadEvent.Awake; - public ES3SerializableSettings settings = new ES3SerializableSettings("AutoSave.es3", ES3.Location.Cache); - - public HashSet autoSaves = new HashSet(); - - public void Save() - { - if (autoSaves == null || autoSaves.Count == 0) - return; - - // If we're using caching and we've not already cached this file, cache it. - if (settings.location == ES3.Location.Cache && !ES3.FileExists(settings)) - ES3.CacheFile(settings); - - if (autoSaves == null || autoSaves.Count == 0) - { - ES3.DeleteKey(key, settings); - } - else - { - var gameObjects = new List(); - foreach (var autoSave in autoSaves) - // If the ES3AutoSave component is disabled, don't save it. - if (autoSave.enabled) - gameObjects.Add(autoSave.gameObject); - ES3.Save(key, gameObjects.ToArray(), settings); - } - - if(settings.location == ES3.Location.Cache && ES3.FileExists(settings)) - ES3.StoreCachedFile(settings); - } - - public void Load() - { - // If we're using caching and we've not already cached this file, cache it. - if (settings.location == ES3.Location.Cache && !ES3.FileExists(settings)) - ES3.CacheFile(settings); - - ES3.Load(key, new GameObject[0], settings); - } - - void Start() - { - if(loadEvent == LoadEvent.Start) - Load(); - } - - public void Awake() - { - autoSaves = new HashSet(); - - foreach (var go in this.gameObject.scene.GetRootGameObjects()) - autoSaves.UnionWith(go.GetComponentsInChildren(true)); - - _current = this; - - if (loadEvent == LoadEvent.Awake) - Load(); - } - - void OnApplicationQuit() - { - if(saveEvent == SaveEvent.OnApplicationQuit) - Save(); - } - - void OnApplicationPause(bool paused) - { - if( (saveEvent == SaveEvent.OnApplicationPause || - (Application.isMobilePlatform && saveEvent == SaveEvent.OnApplicationQuit)) && paused) - Save(); - } - - /* Register an ES3AutoSave with the ES3AutoSaveMgr, if there is one */ - public static void AddAutoSave(ES3AutoSave autoSave) - { - if(ES3AutoSaveMgr.Current != null) - ES3AutoSaveMgr.Current.autoSaves.Add(autoSave); - } - - /* Remove an ES3AutoSave from the ES3AutoSaveMgr, for example if it's GameObject has been destroyed */ - public static void RemoveAutoSave(ES3AutoSave autoSave) - { - if(ES3AutoSaveMgr.Current != null) - ES3AutoSaveMgr.Current.autoSaves.Remove(autoSave); - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs.meta deleted file mode 100644 index 39da0af67..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Auto Save/ES3AutoSaveMgr.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9107aee0ced90422da95f0b31680501f -timeCreated: 1519132291 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Debugging.meta b/Assets/Plugins/Easy Save 3/Scripts/Debugging.meta deleted file mode 100644 index 7d3f40a7b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Debugging.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: c00267afddf624bb19ac24ce8076f9e4 -folderAsset: yes -timeCreated: 1518175259 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Debugging/ES3Debug.cs b/Assets/Plugins/Easy Save 3/Scripts/Debugging/ES3Debug.cs deleted file mode 100644 index b583b5d1e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Debugging/ES3Debug.cs +++ /dev/null @@ -1,52 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace ES3Internal -{ - internal static class ES3Debug - { - private const string disableInfoMsg = "\nTo disable these messages from Easy Save, go to Window > Easy Save 3 > Settings, and uncheck 'Log Info'"; - private const string disableWarningMsg = "\nTo disable warnings from Easy Save, go to Window > Easy Save 3 > Settings, and uncheck 'Log Warnings'"; - private const string disableErrorMsg = "\nTo disable these error messages from Easy Save, go to Window > Easy Save 3 > Settings, and uncheck 'Log Errors'"; - - private const char indentChar = '-'; - - public static void Log(string msg, Object context = null, int indent=0) - { - if (!ES3Settings.defaultSettingsScriptableObject.logDebugInfo) - return; - else if (context != null) - Debug.LogFormat(context, Indent(indent) + msg + disableInfoMsg); - else - Debug.LogFormat(context, Indent(indent) + msg); - } - - public static void LogWarning(string msg, Object context=null, int indent = 0) - { - if (!ES3Settings.defaultSettingsScriptableObject.logWarnings) - return; - else if (context != null) - Debug.LogWarningFormat(context, Indent(indent) + msg + disableWarningMsg); - else - Debug.LogWarningFormat(context, Indent(indent) + msg + disableWarningMsg); - } - - public static void LogError(string msg, Object context = null, int indent = 0) - { - if (!ES3Settings.defaultSettingsScriptableObject.logErrors) - return; - else if (context != null) - Debug.LogErrorFormat(context, Indent(indent) + msg + disableErrorMsg); - else - Debug.LogErrorFormat(context, Indent(indent) + msg + disableErrorMsg); - } - - private static string Indent(int size) - { - if (size < 0) - return ""; - return new string(indentChar, size); - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Debugging/ES3Debug.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Debugging/ES3Debug.cs.meta deleted file mode 100644 index d26c5ba80..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Debugging/ES3Debug.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9f97d288c55524622a117171a19d3225 -timeCreated: 1518175265 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3.cs b/Assets/Plugins/Easy Save 3/Scripts/ES3.cs deleted file mode 100644 index 9b36c55c2..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3.cs +++ /dev/null @@ -1,1490 +0,0 @@ -using UnityEngine; -using System; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; -#if UNITY_2018_3_OR_NEWER -using UnityEngine.Networking; -#endif - -public static class ES3 -{ - public enum Location { File, PlayerPrefs, InternalMS, Resources, Cache }; - public enum Directory { PersistentDataPath, DataPath } - public enum EncryptionType { None, AES }; - public enum CompressionType { None, Gzip}; - public enum Format { JSON }; - public enum ReferenceMode { ByRef, ByValue, ByRefAndValue}; - - #region ES3.Save - - // Saves the value to the default file with the given key. - /// The key we want to use to identify our value in the file. - /// The value we want to save. - public static void Save(string key, object value) - { - Save(key, value, new ES3Settings()); - } - - /// Saves the value to a file with the given key. - /// The key we want to use to identify our value in the file. - /// The value we want to save. - /// The relative or absolute path of the file we want to store our value to. - public static void Save(string key, object value, string filePath) - { - Save(key, value, new ES3Settings(filePath)); - } - - /// Saves the value to a file with the given key. - /// The key we want to use to identify our value in the file. - /// The value we want to save. - /// The relative or absolute path of the file we want to store our value to. - /// The settings we want to use to override the default settings. - public static void Save(string key, object value, string filePath, ES3Settings settings) - { - Save(key, value, new ES3Settings(filePath, settings)); - } - - /// Saves the value to a file with the given key. - /// The key we want to use to identify our value in the file. - /// The value we want to save. - /// The settings we want to use to override the default settings. - public static void Save(string key, object value, ES3Settings settings) - { - using (var writer = ES3Writer.Create(settings)) - { - writer.Write(key, value); - writer.Save(); - } - } - - /// Saves the value to the default file with the given key. - /// The type of the data that we want to save. - /// The key we want to use to identify our value in the file. - /// The value we want to save. - public static void Save(string key, T value) - { - Save(key, value, new ES3Settings()); - } - - /// Saves the value to a file with the given key. - /// The type of the data that we want to save. - /// The key we want to use to identify our value in the file. - /// The value we want to save. - /// The relative or absolute path of the file we want to store our value to. - public static void Save(string key, T value, string filePath) - { - Save(key, value, new ES3Settings(filePath)); - } - - /// Saves the value to a file with the given key. - /// The type of the data that we want to save. - /// The key we want to use to identify our value in the file. - /// The value we want to save. - /// The relative or absolute path of the file we want to store our value to. - /// The settings we want to use to override the default settings. - public static void Save(string key, T value, string filePath, ES3Settings settings) - { - Save(key, value, new ES3Settings(filePath, settings)); - } - - /// Saves the value to a file with the given key. - /// The type of the data that we want to save. - /// The key we want to use to identify our value in the file. - /// The value we want to save. - /// The settings we want to use to override the default settings. - public static void Save(string key, T value, ES3Settings settings) - { - if (settings.location == Location.Cache) - { - ES3File.GetOrCreateCachedFile(settings).Save(key, value); - return; - } - - using (var writer = ES3Writer.Create(settings)) - { - writer.Write(key, value); - writer.Save(); - } - } - - /// Creates or overwrites a file with the specified raw bytes. - /// The bytes we want to store. - public static void SaveRaw(byte[] bytes) - { - SaveRaw(bytes, new ES3Settings()); - } - - /// Creates or overwrites a file with the specified raw bytes. - /// The bytes we want to store. - /// The relative or absolute path of the file we want to store our bytes to. - public static void SaveRaw(byte[] bytes, string filePath) - { - SaveRaw(bytes, new ES3Settings(filePath)); - } - - /// Creates or overwrites a file with the specified raw bytes. - /// The bytes we want to store. - /// The relative or absolute path of the file we want to store our bytes to. - /// The settings we want to use to override the default settings. - public static void SaveRaw(byte[] bytes, string filePath, ES3Settings settings) - { - SaveRaw(bytes, new ES3Settings(filePath, settings)); - } - - /// Creates or overwrites a file with the specified raw bytes. - /// The bytes we want to store. - /// The settings we want to use to override the default settings. - public static void SaveRaw(byte[] bytes, ES3Settings settings) - { - if (settings.location == Location.Cache) - { - ES3File.GetOrCreateCachedFile(settings).SaveRaw(bytes, settings); - return; - } - - using (var stream = ES3Stream.CreateStream(settings, ES3FileMode.Write)) - { - stream.Write(bytes, 0, bytes.Length); - } - ES3IO.CommitBackup(settings); - } - - /// Creates or overwrites the default file with the specified raw bytes. - /// The string we want to store. - public static void SaveRaw(string str) - { - SaveRaw(str, new ES3Settings()); - } - - /// Creates or overwrites the default file with the specified raw bytes. - /// The string we want to store. - /// The relative or absolute path of the file we want to store our bytes to. - public static void SaveRaw(string str, string filePath) - { - SaveRaw(str, new ES3Settings(filePath)); - } - - /// Creates or overwrites a file with the specified raw bytes. - /// The string we want to store. - /// The relative or absolute path of the file we want to store our bytes to. - /// The settings we want to use to override the default settings. - public static void SaveRaw(string str, string filePath, ES3Settings settings) - { - SaveRaw(str, new ES3Settings(filePath, settings)); - } - - /// Creates or overwrites a file with the specified raw bytes. - /// The string we want to store. - /// The settings we want to use to override the default settings. - public static void SaveRaw(string str, ES3Settings settings) - { - var bytes = settings.encoding.GetBytes(str); - SaveRaw(bytes, settings); - } - - /// Creates or appends the specified bytes to a file. - /// The bytes we want to append. - public static void AppendRaw(byte[] bytes) - { - AppendRaw(bytes, new ES3Settings()); - } - - /// Creates or appends the specified bytes to a file. - /// The bytes we want to append. - /// The relative or absolute path of the file we want to append our bytes to. - /// The settings we want to use to override the default settings. - public static void AppendRaw(byte[] bytes, string filePath, ES3Settings settings) - { - AppendRaw(bytes, new ES3Settings(filePath, settings)); - } - - /// Creates or appends the specified bytes to a file. - /// The bytes we want to append. - /// The settings we want to use to override the default settings. - public static void AppendRaw(byte[] bytes, ES3Settings settings) - { - if (settings.location == Location.Cache) - { - ES3File.GetOrCreateCachedFile(settings).AppendRaw(bytes); - return; - } - - ES3Settings newSettings = new ES3Settings(settings.path, settings); - newSettings.encryptionType = EncryptionType.None; - newSettings.compressionType = CompressionType.None; - - using (var stream = ES3Stream.CreateStream(newSettings, ES3FileMode.Append)) - stream.Write(bytes, 0, bytes.Length); - } - - /// Creates or appends the specified bytes to the default file. - /// The bytes we want to append. - public static void AppendRaw(string str) - { - AppendRaw(str, new ES3Settings()); - } - - /// Creates or appends the specified bytes to a file. - /// The bytes we want to append. - /// The relative or absolute path of the file we want to append our bytes to. - /// The settings we want to use to override the default settings. - public static void AppendRaw(string str, string filePath, ES3Settings settings) - { - AppendRaw(str, new ES3Settings(filePath, settings)); - } - - /// Creates or appends the specified bytes to a file. - /// The bytes we want to append. - /// The settings we want to use to override the default settings. - public static void AppendRaw(string str, ES3Settings settings) - { - var bytes = settings.encoding.GetBytes(str); - ES3Settings newSettings = new ES3Settings(settings.path, settings); - newSettings.encryptionType = EncryptionType.None; - newSettings.compressionType = CompressionType.None; - - if (settings.location == Location.Cache) - { - ES3File.GetOrCreateCachedFile(settings).SaveRaw(bytes); - return; - } - - using (var stream = ES3Stream.CreateStream(newSettings, ES3FileMode.Append)) - stream.Write(bytes, 0, bytes.Length); - } - - /// Saves a Texture2D as a PNG or JPG, depending on the file extension used for the filePath. - /// The Texture2D we want to save as a JPG or PNG. - /// The relative or absolute path of the PNG or JPG file we want to create. - public static void SaveImage(Texture2D texture, string imagePath) - { - SaveImage(texture, new ES3Settings(imagePath)); - } - - /// Saves a Texture2D as a PNG or JPG, depending on the file extension used for the filePath. - /// The Texture2D we want to save as a JPG or PNG. - /// The relative or absolute path of the PNG or JPG file we want to create. - public static void SaveImage(Texture2D texture, string imagePath, ES3Settings settings) - { - SaveImage(texture, new ES3Settings(imagePath, settings)); - } - - /// Saves a Texture2D as a PNG or JPG, depending on the file extension used for the filePath. - /// The Texture2D we want to save as a JPG or PNG. - /// The settings we want to use to override the default settings. - public static void SaveImage(Texture2D texture, ES3Settings settings) - { - // Get the file extension to determine what format we want to save the image as. - string extension = ES3IO.GetExtension(settings.path).ToLower(); - if (string.IsNullOrEmpty(extension)) - throw new System.ArgumentException("File path must have a file extension when using ES3.SaveImage."); - byte[] bytes; - if (extension == ".jpg" || extension == ".jpeg") - bytes = texture.EncodeToJPG(); - else if (extension == ".png") - bytes = texture.EncodeToPNG(); - else - throw new System.ArgumentException("File path must have extension of .png, .jpg or .jpeg when using ES3.SaveImage."); - - ES3.SaveRaw(bytes, settings); - } - - #endregion - - #region ES3.Load - - /* Standard load methods */ - - /// Loads the value from a file with the given key. - /// The key which identifies the value we want to load. - public static object Load(string key) - { - return Load(key, new ES3Settings()); - } - - /// Loads the value from a file with the given key. - /// The key which identifies the value we want to load. - /// The relative or absolute path of the file we want to load from. - public static object Load(string key, string filePath) - { - return Load(key, new ES3Settings(filePath)); - } - - /// Loads the value from a file with the given key. - /// The key which identifies the value we want to load. - /// The relative or absolute path of the file we want to load from. - /// The settings we want to use to override the default settings. - public static object Load(string key, string filePath, ES3Settings settings) - { - return Load(key, new ES3Settings(filePath, settings)); - } - - /// Loads the value from a file with the given key. - /// The key which identifies the value we want to load. - /// The settings we want to use to override the default settings. - public static object Load(string key, ES3Settings settings) - { - return Load(key, settings); - } - - /// Loads the value from a file with the given key. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - public static T Load(string key) - { - return Load(key, new ES3Settings()); - } - - /// Loads the value from a file with the given key. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The relative or absolute path of the file we want to load from. - public static T Load(string key, string filePath) - { - return Load(key, new ES3Settings(filePath)); - } - - /// Loads the value from a file with the given key. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The relative or absolute path of the file we want to load from. - /// The settings we want to use to override the default settings. - public static T Load(string key, string filePath, ES3Settings settings) - { - return Load(key, new ES3Settings(filePath, settings)); - } - - /// Loads the value from a file with the given key. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The settings we want to use to override the default settings. - public static T Load(string key, ES3Settings settings) - { - if (settings.location == Location.Cache) - return ES3File.GetOrCreateCachedFile(settings).Load(key); - - using (var reader = ES3Reader.Create(settings)) - { - if (reader == null) - throw new System.IO.FileNotFoundException("File \"" + settings.FullPath + "\" could not be found."); - return reader.Read(key); - } - } - - /// Loads the value from a file with the given key. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The value we want to return if the file or key does not exist. - public static T Load(string key, T defaultValue) - { - return Load(key, defaultValue, new ES3Settings()); - } - - /// Loads the value from a file with the given key. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The relative or absolute path of the file we want to load from. - /// The value we want to return if the file or key does not exist. - public static T Load(string key, string filePath, T defaultValue) - { - return Load(key, defaultValue, new ES3Settings(filePath)); - } - - /// Loads the value from a file with the given key. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The relative or absolute path of the file we want to load from. - /// The value we want to return if the file or key does not exist. - /// The settings we want to use to override the default settings. - public static T Load(string key, string filePath, T defaultValue, ES3Settings settings) - { - return Load(key, defaultValue, new ES3Settings(filePath, settings)); - } - - /// Loads the value from a file with the given key. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The value we want to return if the file or key does not exist. - /// The settings we want to use to override the default settings. - public static T Load(string key, T defaultValue, ES3Settings settings) - { - if (settings.location == Location.Cache) - return ES3File.GetOrCreateCachedFile(settings).Load(key, defaultValue); - - using (var reader = ES3Reader.Create(settings)) - { - if (reader == null) - return defaultValue; - return reader.Read(key, defaultValue); - } - } - - /* Self-assigning load methods */ - - /// Loads the value from a file with the given key into an existing object, rather than creating a new instance. - /// The key which identifies the value we want to load. - /// The object we want to load the value into. - public static void LoadInto(string key, object obj) where T : class - { - LoadInto(key, obj, new ES3Settings()); - } - - /// Loads the value from a file with the given key into an existing object, rather than creating a new instance. - /// The key which identifies the value we want to load. - /// The relative or absolute path of the file we want to load from. - /// The object we want to load the value into. - public static void LoadInto(string key, string filePath, object obj) - { - LoadInto(key, obj, new ES3Settings(filePath)); - } - - /// Loads the value from a file with the given key into an existing object, rather than creating a new instance. - /// The key which identifies the value we want to load. - /// The relative or absolute path of the file we want to load from. - /// The object we want to load the value into. - /// The settings we want to use to override the default settings. - public static void LoadInto(string key, string filePath, object obj, ES3Settings settings) - { - LoadInto(key, obj, new ES3Settings(filePath, settings)); - } - - /// Loads the value from a file with the given key into an existing object, rather than creating a new instance. - /// The key which identifies the value we want to load. - /// The object we want to load the value into. - /// The settings we want to use to override the default settings. - public static void LoadInto(string key, object obj, ES3Settings settings) - { - LoadInto(key, obj, settings); - } - - /// Loads the value from a file with the given key into an existing object, rather than creating a new instance. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The object we want to load the value into. - public static void LoadInto(string key, T obj) where T : class - { - LoadInto(key, obj, new ES3Settings()); - } - - /// Loads the value from a file with the given key into an existing object, rather than creating a new instance. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The relative or absolute path of the file we want to load from. - /// The object we want to load the value into. - public static void LoadInto(string key, string filePath, T obj) where T : class - { - LoadInto(key, obj, new ES3Settings(filePath)); - } - - /// Loads the value from a file with the given key into an existing object, rather than creating a new instance. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The relative or absolute path of the file we want to load from. - /// The object we want to load the value into. - /// The settings we want to use to override the default settings. - public static void LoadInto(string key, string filePath, T obj, ES3Settings settings) where T : class - { - LoadInto(key, obj, new ES3Settings(filePath, settings)); - } - - /// Loads the value from a file with the given key into an existing object, rather than creating a new instance. - /// The type of the data that we want to load. - /// The key which identifies the value we want to load. - /// The object we want to load the value into. - /// The settings we want to use to override the default settings. - public static void LoadInto(string key, T obj, ES3Settings settings) where T : class - { - if (ES3Reflection.IsValueType(obj.GetType())) - throw new InvalidOperationException("ES3.LoadInto can only be used with reference types, but the data you're loading is a value type. Use ES3.Load instead."); - - if (settings.location == Location.Cache) - { - ES3File.GetOrCreateCachedFile(settings).LoadInto(key, obj); - return; - } - - if (settings == null) settings = new ES3Settings(); - using (var reader = ES3Reader.Create(settings)) - { - if (reader == null) - throw new System.IO.FileNotFoundException("File \"" + settings.FullPath + "\" could not be found."); - reader.ReadInto(key, obj); - } - } - - /* LoadString method, as this can be difficult with overloads. */ - - /// Loads the value from a file with the given key. - /// The key which identifies the value we want to load. - /// The value we want to return if the file or key does not exist. - /// The relative or absolute path of the file we want to load from. - public static string LoadString(string key, string defaultValue, string filePath=null) - { - return Load(key, filePath, defaultValue, new ES3Settings(filePath)); - } - - #endregion - - #region Other ES3.Load Methods - - /// Loads the default file as a byte array. - public static byte[] LoadRawBytes() - { - return LoadRawBytes(new ES3Settings()); - } - - /// Loads a file as a byte array. - /// The relative or absolute path of the file we want to load as a byte array. - public static byte[] LoadRawBytes(string filePath) - { - return LoadRawBytes(new ES3Settings(filePath)); - } - - /// Loads a file as a byte array. - /// The relative or absolute path of the file we want to load as a byte array. - /// The settings we want to use to override the default settings. - public static byte[] LoadRawBytes(string filePath, ES3Settings settings) - { - return LoadRawBytes(new ES3Settings(filePath, settings)); - } - - /// Loads the default file as a byte array. - /// The settings we want to use to override the default settings. - public static byte[] LoadRawBytes(ES3Settings settings) - { - if (settings.location == Location.Cache) - return ES3File.GetOrCreateCachedFile(settings).LoadRawBytes(); - - using (var stream = ES3Stream.CreateStream(settings, ES3FileMode.Read)) - { - if (stream == null) - throw new System.IO.FileNotFoundException("File "+settings.path+" could not be found"); - - if (stream.GetType() == typeof(System.IO.Compression.GZipStream)) - { - var gZipStream = (System.IO.Compression.GZipStream)stream; - using (var ms = new System.IO.MemoryStream()) - { - ES3Stream.CopyTo(gZipStream, ms); - return ms.ToArray(); - } - } - else - { - var bytes = new byte[stream.Length]; - stream.Read(bytes, 0, bytes.Length); - return bytes; - } - } - - /*if(settings.location == Location.File) - return ES3IO.ReadAllBytes(settings.FullPath); - else if(settings.location == Location.PlayerPrefs) - return System.Convert.FromBase64String(PlayerPrefs.GetString(settings.FullPath)); - else if(settings.location == Location.Resources) - { - var textAsset = Resources.Load(settings.FullPath); - return textAsset.bytes; - } - return null;*/ - } - - /// Loads the default file as a byte array. - public static string LoadRawString() - { - return LoadRawString(new ES3Settings()); - } - - /// Loads a file as a byte array. - /// The relative or absolute path of the file we want to load as a byte array. - /// The settings we want to use to override the default settings. - public static string LoadRawString(string filePath) - { - return LoadRawString(new ES3Settings(filePath)); - } - - /// Loads a file as a byte array. - /// The relative or absolute path of the file we want to load as a byte array. - /// The settings we want to use to override the default settings. - public static string LoadRawString(string filePath, ES3Settings settings) - { - return LoadRawString(new ES3Settings(filePath, settings)); - } - - /// Loads the default file as a byte array. - /// The settings we want to use to override the default settings. - public static string LoadRawString(ES3Settings settings) - { - var bytes = ES3.LoadRawBytes(settings); - return settings.encoding.GetString(bytes, 0, bytes.Length); - } - - /// Loads a PNG or JPG as a Texture2D. - /// The relative or absolute path of the PNG or JPG file we want to load as a Texture2D. - /// The settings we want to use to override the default settings. - public static Texture2D LoadImage(string imagePath) - { - return LoadImage(new ES3Settings(imagePath)); - } - - /// Loads a PNG or JPG as a Texture2D. - /// The relative or absolute path of the PNG or JPG file we want to load as a Texture2D. - /// The settings we want to use to override the default settings. - public static Texture2D LoadImage(string imagePath, ES3Settings settings) - { - return LoadImage(new ES3Settings(imagePath, settings)); - } - - /// Loads a PNG or JPG as a Texture2D. - /// The settings we want to use to override the default settings. - public static Texture2D LoadImage(ES3Settings settings) - { - byte[] bytes = ES3.LoadRawBytes(settings); - return LoadImage(bytes); - } - - /// Loads a PNG or JPG as a Texture2D. - /// The raw bytes of the PNG or JPG. - public static Texture2D LoadImage(byte[] bytes) - { - var texture = new Texture2D(1, 1); - texture.LoadImage(bytes); - return texture; - } - - /// Loads an audio file as an AudioClip. Note that MP3 files are not supported on standalone platforms and Ogg Vorbis files are not supported on mobile platforms. - /// The relative or absolute path of the audio file we want to load as an AudioClip. - public static AudioClip LoadAudio(string audioFilePath -#if UNITY_2018_3_OR_NEWER - , AudioType audioType -#endif - ) - { - return LoadAudio(audioFilePath, -#if UNITY_2018_3_OR_NEWER - audioType, -#endif - new ES3Settings()); - } - - /// Loads an audio file as an AudioClip. Note that MP3 files are not supported on standalone platforms and Ogg Vorbis files are not supported on mobile platforms. - /// The relative or absolute path of the audio file we want to load as an AudioClip. - /// The settings we want to use to override the default settings. - public static AudioClip LoadAudio(string audioFilePath, -#if UNITY_2018_3_OR_NEWER - AudioType audioType, -#endif - ES3Settings settings) - { - if (settings.location != Location.File) - throw new InvalidOperationException("ES3.LoadAudio can only be used with the File save location"); - - if (Application.platform == RuntimePlatform.WebGLPlayer) - throw new InvalidOperationException("You cannot use ES3.LoadAudio with WebGL"); - - string extension = ES3IO.GetExtension(audioFilePath).ToLower(); - - if (extension == ".mp3" && (Application.platform == RuntimePlatform.WindowsPlayer || Application.platform == RuntimePlatform.OSXPlayer)) - throw new System.InvalidOperationException("You can only load Ogg, WAV, XM, IT, MOD or S3M on Unity Standalone"); - - if (extension == ".ogg" && (Application.platform == RuntimePlatform.IPhonePlayer - || Application.platform == RuntimePlatform.Android - || Application.platform == RuntimePlatform.WSAPlayerARM)) - throw new System.InvalidOperationException("You can only load MP3, WAV, XM, IT, MOD or S3M on Unity Standalone"); - - var newSettings = new ES3Settings(audioFilePath, settings); - -#if UNITY_2018_3_OR_NEWER - using (UnityWebRequest www = UnityWebRequestMultimedia.GetAudioClip("file://" + newSettings.FullPath, audioType)) - { - www.SendWebRequest(); - - while (!www.isDone) - { - // Wait for it to load. - } - - if (ES3WebClass.IsNetworkError(www)) - throw new System.Exception(www.error); - else - return DownloadHandlerAudioClip.GetContent(www); - } -#elif UNITY_2017_1_OR_NEWER - WWW www = new WWW(newSettings.FullPath); - - while(!www.isDone) - { - // Wait for it to load. - } - - if(!string.IsNullOrEmpty(www.error)) - throw new System.Exception(www.error); -#else - WWW www = new WWW("file://"+newSettings.FullPath); - - while(!www.isDone) - { - // Wait for it to load. - } - - if(!string.IsNullOrEmpty(www.error)) - throw new System.Exception(www.error); -#endif - -#if UNITY_2017_3_OR_NEWER && !UNITY_2018_3_OR_NEWER - return www.GetAudioClip(true); -#elif UNITY_5_6_OR_NEWER && !UNITY_2018_3_OR_NEWER - return WWWAudioExtensions.GetAudioClip(www); -#endif - } - - #endregion - - #region Serialize/Deserialize - - public static byte[] Serialize(T value, ES3Settings settings=null) - { - if (settings == null) settings = new ES3Settings(); - - using (var ms = new System.IO.MemoryStream()) - { - using (var stream = ES3Stream.CreateStream(ms, settings, ES3FileMode.Write)) - { - using (var baseWriter = ES3Writer.Create(stream, settings, false, false)) - baseWriter.Write(value, ES3TypeMgr.GetOrCreateES3Type(typeof(T)), settings.referenceMode); - - return ms.ToArray(); - } - } - } - - public static T Deserialize(byte[] bytes, ES3Settings settings=null) - { - return (T)Deserialize(ES3TypeMgr.GetOrCreateES3Type(typeof(T)), bytes, settings); - } - - internal static object Deserialize(ES3Types.ES3Type type, byte[] bytes, ES3Settings settings = null) - { - if (settings == null) - settings = new ES3Settings(); - - using (var ms = new System.IO.MemoryStream(bytes, false)) - using (var stream = ES3Stream.CreateStream(ms, settings, ES3FileMode.Read)) - using (var reader = ES3Reader.Create(stream, settings, false)) - return reader.Read(type); - } - - public static void DeserializeInto(byte[] bytes, T obj, ES3Settings settings = null) where T : class - { - DeserializeInto(ES3TypeMgr.GetOrCreateES3Type(typeof(T)), bytes, obj, settings); - } - - public static void DeserializeInto(ES3Types.ES3Type type, byte[] bytes, T obj, ES3Settings settings = null) where T : class - { - if (settings == null) - settings = new ES3Settings(); - - using (var ms = new System.IO.MemoryStream(bytes, false)) - using (var reader = ES3Reader.Create(ms, settings, false)) - reader.ReadInto(obj, type); - } - - #endregion - - #region Other ES3 Methods - - public static byte[] EncryptBytes(byte[] bytes, string password=null) - { - if (string.IsNullOrEmpty(password)) - password = ES3Settings.defaultSettings.encryptionPassword; - return new AESEncryptionAlgorithm().Encrypt(bytes, password, ES3Settings.defaultSettings.bufferSize); - } - - public static byte[] DecryptBytes(byte[] bytes, string password=null) - { - if (string.IsNullOrEmpty(password)) - password = ES3Settings.defaultSettings.encryptionPassword; - return new AESEncryptionAlgorithm().Decrypt(bytes, password, ES3Settings.defaultSettings.bufferSize); - } - - public static string EncryptString(string str, string password=null) - { - return ES3Settings.defaultSettings.encoding.GetString(EncryptBytes(ES3Settings.defaultSettings.encoding.GetBytes(str), password)); - } - - public static string DecryptString(string str, string password=null) - { - return ES3Settings.defaultSettings.encoding.GetString(DecryptBytes(ES3Settings.defaultSettings.encoding.GetBytes(str), password)); - } - - /// Deletes the default file. - public static void DeleteFile() - { - DeleteFile(new ES3Settings()); - } - - /// Deletes the file at the given path using the default settings. - /// The relative or absolute path of the file we wish to delete. - public static void DeleteFile(string filePath) - { - DeleteFile(new ES3Settings(filePath)); - } - - /// Deletes the file at the given path using the settings provided. - /// The relative or absolute path of the file we wish to delete. - /// The settings we want to use to override the default settings. - public static void DeleteFile(string filePath, ES3Settings settings) - { - DeleteFile(new ES3Settings(filePath, settings)); - } - - /// Deletes the file specified by the ES3Settings object provided as a parameter. - /// The settings we want to use to override the default settings. - public static void DeleteFile(ES3Settings settings) - { - if (settings.location == Location.File) - ES3IO.DeleteFile(settings.FullPath); - else if (settings.location == Location.PlayerPrefs) - PlayerPrefs.DeleteKey(settings.FullPath); - else if (settings.location == Location.Cache) - ES3File.RemoveCachedFile(settings); - else if (settings.location == Location.Resources) - throw new System.NotSupportedException("Deleting files from Resources is not supported."); - } - - /// Copies a file from one path to another. - /// The relative or absolute path of the file we want to copy. - /// The relative or absolute path of the copy we want to create. - public static void CopyFile(string oldFilePath, string newFilePath) - { - CopyFile(new ES3Settings(oldFilePath), new ES3Settings(newFilePath)); - } - - /// Copies a file from one location to another, using the ES3Settings provided to override any default settings. - /// The relative or absolute path of the file we want to copy. - /// The relative or absolute path of the copy we want to create. - /// The settings we want to use when copying the old file. - /// The settings we want to use when creating the new file. - public static void CopyFile(string oldFilePath, string newFilePath, ES3Settings oldSettings, ES3Settings newSettings) - { - CopyFile(new ES3Settings(oldFilePath, oldSettings), new ES3Settings(newFilePath, newSettings)); - } - - /// Copies a file from one location to another, using the ES3Settings provided to determine the locations. - /// The settings we want to use when copying the old file. - /// The settings we want to use when creating the new file. - public static void CopyFile(ES3Settings oldSettings, ES3Settings newSettings) - { - if (oldSettings.location != newSettings.location) - throw new InvalidOperationException("Cannot copy file from " + oldSettings.location + " to " + newSettings.location + ". Location must be the same for both source and destination."); - - if (oldSettings.location == Location.File) - { - if (ES3IO.FileExists(oldSettings.FullPath)) - { - ES3IO.DeleteFile(newSettings.FullPath); - ES3IO.CopyFile(oldSettings.FullPath, newSettings.FullPath); - } - } - else if (oldSettings.location == Location.PlayerPrefs) - { - PlayerPrefs.SetString(newSettings.FullPath, PlayerPrefs.GetString(oldSettings.FullPath)); - } - else if (oldSettings.location == Location.Cache) - { - ES3File.CopyCachedFile(oldSettings, newSettings); - } - else if (oldSettings.location == Location.Resources) - throw new System.NotSupportedException("Modifying files from Resources is not allowed."); - } - - /// Renames a file. - /// The relative or absolute path of the file we want to rename. - /// The relative or absolute path we want to rename the file to. - public static void RenameFile(string oldFilePath, string newFilePath) - { - RenameFile(new ES3Settings(oldFilePath), new ES3Settings(newFilePath)); - } - - /// Renames a file. - /// The relative or absolute path of the file we want to rename. - /// The relative or absolute path we want to rename the file to. - /// The settings for the file we want to rename. - /// The settings for the file we want our source file to be renamed to. - public static void RenameFile(string oldFilePath, string newFilePath, ES3Settings oldSettings, ES3Settings newSettings) - { - RenameFile(new ES3Settings(oldFilePath, oldSettings), new ES3Settings(newFilePath, newSettings)); - } - - /// Renames a file. - /// The settings for the file we want to rename. - /// The settings for the file we want our source file to be renamed to. - public static void RenameFile(ES3Settings oldSettings, ES3Settings newSettings) - { - if (oldSettings.location != newSettings.location) - throw new InvalidOperationException("Cannot rename file in " + oldSettings.location + " to " + newSettings.location + ". Location must be the same for both source and destination."); - - if (oldSettings.location == Location.File) - { - if (ES3IO.FileExists(oldSettings.FullPath)) - { - ES3IO.DeleteFile(newSettings.FullPath); - ES3IO.MoveFile(oldSettings.FullPath, newSettings.FullPath); - } - } - else if (oldSettings.location == Location.PlayerPrefs) - { - PlayerPrefs.SetString(newSettings.FullPath, PlayerPrefs.GetString(oldSettings.FullPath)); - PlayerPrefs.DeleteKey(oldSettings.FullPath); - } - else if (oldSettings.location == Location.Cache) - { - ES3File.CopyCachedFile(oldSettings, newSettings); - ES3File.RemoveCachedFile(oldSettings); - } - else if (oldSettings.location == Location.Resources) - throw new System.NotSupportedException("Modifying files from Resources is not allowed."); - } - - /// Copies a file from one path to another. - /// The relative or absolute path of the directory we want to copy. - /// The relative or absolute path of the copy we want to create. - public static void CopyDirectory(string oldDirectoryPath, string newDirectoryPath) - { - CopyDirectory(new ES3Settings(oldDirectoryPath), new ES3Settings(newDirectoryPath)); - } - - /// Copies a file from one location to another, using the ES3Settings provided to override any default settings. - /// The relative or absolute path of the directory we want to copy. - /// The relative or absolute path of the copy we want to create. - /// The settings we want to use when copying the old directory. - /// The settings we want to use when creating the new directory. - public static void CopyDirectory(string oldDirectoryPath, string newDirectoryPath, ES3Settings oldSettings, ES3Settings newSettings) - { - CopyDirectory(new ES3Settings(oldDirectoryPath, oldSettings), new ES3Settings(newDirectoryPath, newSettings)); - } - - /// Copies a file from one location to another, using the ES3Settings provided to determine the locations. - /// The settings we want to use when copying the old file. - /// The settings we want to use when creating the new file. - public static void CopyDirectory(ES3Settings oldSettings, ES3Settings newSettings) - { - if (oldSettings.location != Location.File) - throw new InvalidOperationException("ES3.CopyDirectory can only be used when the save location is 'File'"); - - if (!DirectoryExists(oldSettings)) - throw new System.IO.DirectoryNotFoundException("Directory " + oldSettings.FullPath + " not found"); - - if (!DirectoryExists(newSettings)) - ES3IO.CreateDirectory(newSettings.FullPath); - - foreach (var fileName in ES3.GetFiles(oldSettings)) - CopyFile(ES3IO.CombinePathAndFilename(oldSettings.path, fileName), - ES3IO.CombinePathAndFilename(newSettings.path, fileName)); - - foreach (var directoryName in GetDirectories(oldSettings)) - CopyDirectory(ES3IO.CombinePathAndFilename(oldSettings.path, directoryName), - ES3IO.CombinePathAndFilename(newSettings.path, directoryName)); - } - - /// Renames a file. - /// The relative or absolute path of the file we want to rename. - /// The relative or absolute path we want to rename the file to. - public static void RenameDirectory(string oldDirectoryPath, string newDirectoryPath) - { - RenameDirectory(new ES3Settings(oldDirectoryPath), new ES3Settings(newDirectoryPath)); - } - - /// Renames a file. - /// The relative or absolute path of the file we want to rename. - /// The relative or absolute path we want to rename the file to. - /// The settings for the file we want to rename. - /// The settings for the file we want our source file to be renamed to. - public static void RenameDirectory(string oldDirectoryPath, string newDirectoryPath, ES3Settings oldSettings, ES3Settings newSettings) - { - RenameDirectory(new ES3Settings(oldDirectoryPath, oldSettings), new ES3Settings(newDirectoryPath, newSettings)); - } - - /// Renames a file. - /// The settings for the file we want to rename. - /// The settings for the file we want our source file to be renamed to. - public static void RenameDirectory(ES3Settings oldSettings, ES3Settings newSettings) - { - if (oldSettings.location == Location.File) - { - if (ES3IO.DirectoryExists(oldSettings.FullPath)) - { - ES3IO.DeleteDirectory(newSettings.FullPath); - ES3IO.MoveDirectory(oldSettings.FullPath, newSettings.FullPath); - } - } - else if (oldSettings.location == Location.PlayerPrefs || oldSettings.location == Location.Cache) - throw new System.NotSupportedException("Directories cannot be renamed when saving to Cache, PlayerPrefs, tvOS or using WebGL."); - else if (oldSettings.location == Location.Resources) - throw new System.NotSupportedException("Modifying files from Resources is not allowed."); - } - - /// Deletes the directory at the given path using the settings provided. - /// The relative or absolute path of the folder we wish to delete. - public static void DeleteDirectory(string directoryPath) - { - DeleteDirectory(new ES3Settings(directoryPath)); - } - - /// Deletes the directory at the given path using the settings provided. - /// The relative or absolute path of the folder we wish to delete. - /// The settings we want to use to override the default settings. - public static void DeleteDirectory(string directoryPath, ES3Settings settings) - { - DeleteDirectory(new ES3Settings(directoryPath, settings)); - } - - /// Deletes the directory at the given path using the settings provided. - /// The settings we want to use to override the default settings. - public static void DeleteDirectory(ES3Settings settings) - { - if (settings.location == Location.File) - ES3IO.DeleteDirectory(settings.FullPath); - else if (settings.location == Location.PlayerPrefs || settings.location == Location.Cache) - throw new System.NotSupportedException("Deleting Directories using Cache or PlayerPrefs is not supported."); - else if (settings.location == Location.Resources) - throw new System.NotSupportedException("Deleting directories from Resources is not allowed."); - } - - /// Deletes a key in the default file. - /// The key we want to delete. - public static void DeleteKey(string key) - { - DeleteKey(key, new ES3Settings()); - } - - public static void DeleteKey(string key, string filePath) - { - DeleteKey(key, new ES3Settings(filePath)); - } - - /// Deletes a key in the file specified. - /// The key we want to delete. - /// The relative or absolute path of the file we want to delete the key from. - /// The settings we want to use to override the default settings. - public static void DeleteKey(string key, string filePath, ES3Settings settings) - { - DeleteKey(key, new ES3Settings(filePath, settings)); - } - - /// Deletes a key in the file specified by the ES3Settings object. - /// The key we want to delete. - /// The settings we want to use to override the default settings. - public static void DeleteKey(string key, ES3Settings settings) - { - if (settings.location == Location.Resources) - throw new System.NotSupportedException("Modifying files in Resources is not allowed."); - else if (settings.location == Location.Cache) - ES3File.DeleteKey(key, settings); - else if (ES3.FileExists(settings)) - { - using (var writer = ES3Writer.Create(settings)) - { - writer.MarkKeyForDeletion(key); - writer.Save(); - } - } - } - - /// Checks whether a key exists in the default file. - /// The key we want to check the existence of. - /// True if the key exists, otherwise False. - public static bool KeyExists(string key) - { - return KeyExists(key, new ES3Settings()); - } - - /// Checks whether a key exists in the specified file. - /// The key we want to check the existence of. - /// The relative or absolute path of the file we want to search. - /// True if the key exists, otherwise False. - public static bool KeyExists(string key, string filePath) - { - return KeyExists(key, new ES3Settings(filePath)); - } - - /// Checks whether a key exists in the default file. - /// The key we want to check the existence of. - /// The relative or absolute path of the file we want to search. - /// The settings we want to use to override the default settings. - /// True if the key exists, otherwise False. - public static bool KeyExists(string key, string filePath, ES3Settings settings) - { - return KeyExists(key, new ES3Settings(filePath, settings)); - } - - /// Checks whether a key exists in a file. - /// The key we want to check the existence of. - /// The settings we want to use to override the default settings. - /// True if the file exists, otherwise False. - public static bool KeyExists(string key, ES3Settings settings) - { - if (settings.location == Location.Cache) - return ES3File.KeyExists(key, settings); - - using (var reader = ES3Reader.Create(settings)) - { - if (reader == null) - return false; - return reader.Goto(key); - } - } - - /// Checks whether the default file exists. - /// The relative or absolute path of the file we want to check the existence of. - /// True if the file exists, otherwise False. - public static bool FileExists() - { - return FileExists(new ES3Settings()); - } - - /// Checks whether a file exists. - /// The relative or absolute path of the file we want to check the existence of. - /// True if the file exists, otherwise False. - public static bool FileExists(string filePath) - { - return FileExists(new ES3Settings(filePath)); - } - - /// Checks whether a file exists. - /// The relative or absolute path of the file we want to check the existence of. - /// The settings we want to use to override the default settings. - /// True if the file exists, otherwise False. - public static bool FileExists(string filePath, ES3Settings settings) - { - return FileExists(new ES3Settings(filePath, settings)); - } - - /// Checks whether a file exists. - /// The settings we want to use to override the default settings. - /// True if the file exists, otherwise False. - public static bool FileExists(ES3Settings settings) - { - if (settings.location == Location.File) - return ES3IO.FileExists(settings.FullPath); - else if (settings.location == Location.PlayerPrefs) - return PlayerPrefs.HasKey(settings.FullPath); - else if (settings.location == Location.Cache) - return ES3File.FileExists(settings); - else if (settings.location == Location.Resources) - return Resources.Load(settings.FullPath) != null; - return false; - } - - /// Checks whether a folder exists. - /// The relative or absolute path of the folder we want to check the existence of. - /// True if the folder exists, otherwise False. - public static bool DirectoryExists(string folderPath) - { - return DirectoryExists(new ES3Settings(folderPath)); - } - - /// Checks whether a file exists. - /// The relative or absolute path of the folder we want to check the existence of. - /// The settings we want to use to override the default settings. - /// True if the folder exists, otherwise False. - - public static bool DirectoryExists(string folderPath, ES3Settings settings) - { - return DirectoryExists(new ES3Settings(folderPath, settings)); - } - - /// Checks whether a folder exists. - /// The settings we want to use to override the default settings. - /// True if the folder exists, otherwise False. - public static bool DirectoryExists(ES3Settings settings) - { - if (settings.location == Location.File) - return ES3IO.DirectoryExists(settings.FullPath); - else if (settings.location == Location.PlayerPrefs || settings.location == Location.Cache) - throw new System.NotSupportedException("Directories are not supported for the Cache and PlayerPrefs location."); - else if (settings.location == Location.Resources) - throw new System.NotSupportedException("Checking existence of folder in Resources not supported."); - return false; - } - - /// Gets an array of all of the key names in the default file. - public static string[] GetKeys() - { - return GetKeys(new ES3Settings()); - } - - /// Gets an array of all of the key names in a file. - /// The relative or absolute path of the file we want to get the key names from. - public static string[] GetKeys(string filePath) - { - return GetKeys(new ES3Settings(filePath)); - } - - /// Gets an array of all of the key names in a file. - /// The relative or absolute path of the file we want to get the key names from. - /// The settings we want to use to override the default settings. - public static string[] GetKeys(string filePath, ES3Settings settings) - { - return GetKeys(new ES3Settings(filePath, settings)); - } - - /// Gets an array of all of the key names in a file. - /// The settings we want to use to override the default settings. - public static string[] GetKeys(ES3Settings settings) - { - - if (settings.location == Location.Cache) - return ES3File.GetKeys(settings); - - var keys = new List(); - using (var reader = ES3Reader.Create(settings)) - { - foreach (string key in reader.Properties) - { - keys.Add(key); - reader.Skip(); - } - } - return keys.ToArray(); - } - - /// Gets an array of all of the file names in a directory. - public static string[] GetFiles() - { - var settings = new ES3Settings(); - if (settings.location == ES3.Location.File) - { - if (settings.directory == ES3.Directory.PersistentDataPath) - settings.path = Application.persistentDataPath; - else - settings.path = Application.dataPath; - } - return GetFiles(settings); - } - - /// Gets an array of all of the file names in a directory. - /// The relative or absolute path of the directory we want to get the file names from. - public static string[] GetFiles(string directoryPath) - { - return GetFiles(new ES3Settings(directoryPath)); - } - - /// Gets an array of all of the file names in a directory. - /// The relative or absolute path of the directory we want to get the file names from. - /// The settings we want to use to override the default settings. - public static string[] GetFiles(string directoryPath, ES3Settings settings) - { - return GetFiles(new ES3Settings(directoryPath, settings)); - } - - /// Gets an array of all of the file names in a directory. - /// The settings we want to use to override the default settings. - public static string[] GetFiles(ES3Settings settings) - { - if (settings.location == Location.Cache) - return ES3File.GetFiles(); - else if (settings.location != ES3.Location.File) - throw new System.NotSupportedException("ES3.GetFiles can only be used when the location is set to File or Cache."); - return ES3IO.GetFiles(settings.FullPath, false); - } - - /// Gets an array of all of the sub-directory names in a directory. - public static string[] GetDirectories() - { - return GetDirectories(new ES3Settings()); - } - - /// Gets an array of all of the sub-directory names in a directory. - /// The relative or absolute path of the directory we want to get the sub-directory names from. - public static string[] GetDirectories(string directoryPath) - { - return GetDirectories(new ES3Settings(directoryPath)); - } - - /// Gets an array of all of the sub-directory names in a directory. - /// The relative or absolute path of the directory we want to get the sub-directory names from. - /// The settings we want to use to override the default settings. - public static string[] GetDirectories(string directoryPath, ES3Settings settings) - { - return GetDirectories(new ES3Settings(directoryPath, settings)); - } - - /// Gets an array of all of the sub-directory names in a directory. - /// The settings we want to use to override the default settings. - public static string[] GetDirectories(ES3Settings settings) - { - if (settings.location != ES3.Location.File) - throw new System.NotSupportedException("ES3.GetDirectories can only be used when the location is set to File."); - return ES3IO.GetDirectories(settings.FullPath, false); - } - - /// Creates a backup of the default file . - /// A backup is created by copying the file and giving it a .bak extension. - /// If a backup already exists it will be overwritten, so you will need to ensure that the old backup will not be required before calling this method. - public static void CreateBackup() - { - CreateBackup(new ES3Settings()); - } - - /// Creates a backup of a file. - /// A backup is created by copying the file and giving it a .bak extension. - /// If a backup already exists it will be overwritten, so you will need to ensure that the old backup will not be required before calling this method. - /// The relative or absolute path of the file we wish to create a backup of. - public static void CreateBackup(string filePath) - { - CreateBackup(new ES3Settings(filePath)); - } - - /// Creates a backup of a file. - /// A backup is created by copying the file and giving it a .bak extension. - /// If a backup already exists it will be overwritten, so you will need to ensure that the old backup will not be required before calling this method. - /// The relative or absolute path of the file we wish to create a backup of. - /// The settings we want to use to override the default settings. - public static void CreateBackup(string filePath, ES3Settings settings) - { - CreateBackup(new ES3Settings(filePath, settings)); - } - - /// Creates a backup of a file. - /// A backup is created by copying the file and giving it a .bak extension. - /// If a backup already exists it will be overwritten, so you will need to ensure that the old backup will not be required before calling this method. - /// The settings we want to use to override the default settings. - public static void CreateBackup(ES3Settings settings) - { - var backupSettings = new ES3Settings(settings.path + ES3IO.backupFileSuffix, settings); - ES3.CopyFile(settings, backupSettings); - } - - /// Restores a backup of a file. - /// The relative or absolute path of the file we wish to restore the backup of. - /// True if a backup was restored, or False if no backup could be found. - public static bool RestoreBackup(string filePath) - { - return RestoreBackup(new ES3Settings(filePath)); - } - - /// Restores a backup of a file. - /// The relative or absolute path of the file we wish to restore the backup of. - /// The settings we want to use to override the default settings. - /// True if a backup was restored, or False if no backup could be found. - public static bool RestoreBackup(string filePath, ES3Settings settings) - { - return RestoreBackup(new ES3Settings(filePath, settings)); - } - - /// Restores a backup of a file. - /// The settings we want to use to override the default settings. - /// True if a backup was restored, or False if no backup could be found. - public static bool RestoreBackup(ES3Settings settings) - { - var backupSettings = new ES3Settings(settings.path + ES3IO.backupFileSuffix, settings); - - if (!FileExists(backupSettings)) - return false; - - ES3.RenameFile(backupSettings, settings); - - return true; - } - - public static DateTime GetTimestamp() - { - return GetTimestamp(new ES3Settings()); - } - - public static DateTime GetTimestamp(string filePath) - { - return GetTimestamp(new ES3Settings(filePath)); - } - - public static DateTime GetTimestamp(string filePath, ES3Settings settings) - { - return GetTimestamp(new ES3Settings(filePath, settings)); - } - - /// Gets the date and time the file was last updated, in the UTC timezone. - /// The settings we want to use to override the default settings. - /// A DateTime object represeting the UTC date and time the file was last updated. - public static DateTime GetTimestamp(ES3Settings settings) - { - if (settings.location == Location.File) - return ES3IO.GetTimestamp(settings.FullPath); - else if (settings.location == Location.PlayerPrefs) - return new DateTime(long.Parse(PlayerPrefs.GetString("timestamp_" + settings.FullPath, "0")), DateTimeKind.Utc); - else if (settings.location == Location.Cache) - return ES3File.GetTimestamp(settings); - else - return new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); - } - - /// Stores the default cached file to persistent storage. - /// A backup is created by copying the file and giving it a .bak extension. - /// If a backup already exists it will be overwritten, so you will need to ensure that the old backup will not be required before calling this method. - public static void StoreCachedFile() - { - ES3File.Store(); - } - - /// Stores a cached file to persistent storage. - /// The filename or path of the file we want to store the cached file to. - public static void StoreCachedFile(string filePath) - { - StoreCachedFile(new ES3Settings(filePath)); - } - - /// Creates a backup of a file. - /// The filename or path of the file we want to store the cached file to. - /// The settings of the file we want to store to. - public static void StoreCachedFile(string filePath, ES3Settings settings) - { - StoreCachedFile(new ES3Settings(filePath, settings)); - } - - /// Stores a cached file to persistent storage. - /// The settings of the file we want to store to. - public static void StoreCachedFile(ES3Settings settings) - { - ES3File.Store(settings); - } - - /// Stores the default cached file to persistent storage. - /// A backup is created by copying the file and giving it a .bak extension. - /// If a backup already exists it will be overwritten, so you will need to ensure that the old backup will not be required before calling this method. - public static void CacheFile() - { - CacheFile(new ES3Settings()); - } - - /// Stores a cached file to persistent storage. - /// The filename or path of the file we want to store the cached file to. - public static void CacheFile(string filePath) - { - CacheFile(new ES3Settings(filePath)); - } - - /// Creates a backup of a file. - /// The filename or path of the file we want to store the cached file to. - /// The settings of the file we want to store to. - public static void CacheFile(string filePath, ES3Settings settings) - { - CacheFile(new ES3Settings(filePath, settings)); - } - - /// Stores a cached file to persistent storage. - /// The settings of the file we want to store to. - public static void CacheFile(ES3Settings settings) - { - ES3File.CacheFile(settings); - } - - /// Initialises Easy Save. This happens automatically when any ES3 methods are called, but is useful if you want to perform initialisation before calling an ES3 method. - public static void Init() - { - var settings = ES3Settings.defaultSettings; - ES3TypeMgr.Init(); - } - - #endregion -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/ES3.cs.meta deleted file mode 100644 index e5d69004d..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ca1cdcde6d39a44b39ee5f5b86ddfd73 -timeCreated: 1499764822 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3Crypto.cs b/Assets/Plugins/Easy Save 3/Scripts/ES3Crypto.cs deleted file mode 100644 index b7ef8dce8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3Crypto.cs +++ /dev/null @@ -1,208 +0,0 @@ -#if !DISABLE_ENCRYPTION -using System.IO; -using System.Security.Cryptography; -#if NETFX_CORE -using Windows.Security.Cryptography; -using Windows.Security.Cryptography.Core; -using Windows.Storage.Streams; -using System.Runtime.InteropServices.WindowsRuntime; -#endif - -namespace ES3Internal -{ - public static class ES3Hash - { -#if NETFX_CORE - public static string SHA1Hash(string input) - { - return System.Text.Encoding.UTF8.GetString(UnityEngine.Windows.Crypto.ComputeSHA1Hash(System.Text.Encoding.UTF8.GetBytes(input))); - } -#else - public static string SHA1Hash(string input) - { - using (SHA1Managed sha1 = new SHA1Managed()) - return System.Text.Encoding.UTF8.GetString(sha1.ComputeHash(System.Text.Encoding.UTF8.GetBytes(input))); - } -#endif - } - - public abstract class EncryptionAlgorithm - { - public abstract byte[] Encrypt(byte[] bytes, string password, int bufferSize); - public abstract byte[] Decrypt(byte[] bytes, string password, int bufferSize); - public abstract void Encrypt(Stream input, Stream output, string password, int bufferSize); - public abstract void Decrypt(Stream input, Stream output, string password, int bufferSize); - - protected static void CopyStream(Stream input, Stream output, int bufferSize) - { - byte[] buffer = new byte[bufferSize]; - int read; - while ((read = input.Read(buffer, 0, bufferSize)) > 0) - output.Write(buffer, 0, read); - } - } - - public class AESEncryptionAlgorithm : EncryptionAlgorithm - { - private const int ivSize = 16; - private const int keySize = 16; - private const int pwIterations = 100; - - public override byte[] Encrypt(byte[] bytes, string password, int bufferSize) - { - using (var input = new MemoryStream(bytes)) - { - using (var output = new MemoryStream()) - { - Encrypt(input, output, password, bufferSize); - return output.ToArray(); - } - } - } - - public override byte[] Decrypt(byte[] bytes, string password, int bufferSize) - { - using (var input = new MemoryStream(bytes)) - { - using (var output = new MemoryStream()) - { - Decrypt(input, output, password, bufferSize); - return output.ToArray(); - } - } - } - - public override void Encrypt(Stream input, Stream output, string password, int bufferSize) - { - input.Position = 0; - -#if NETFX_CORE - // Generate an IV and write it to the output. - var iv = CryptographicBuffer.GenerateRandom(ivSize); - output.Write(iv.ToArray(), 0, ivSize); - - var pwBuffer = CryptographicBuffer.ConvertStringToBinary(password, BinaryStringEncoding.Utf8); - var keyDerivationProvider = KeyDerivationAlgorithmProvider.OpenAlgorithm("PBKDF2_SHA1"); - KeyDerivationParameters pbkdf2Parms = KeyDerivationParameters.BuildForPbkdf2(iv, pwIterations); - // Create a key based on original key and derivation parmaters - CryptographicKey keyOriginal = keyDerivationProvider.CreateKey(pwBuffer); - IBuffer keyMaterial = CryptographicEngine.DeriveKeyMaterial(keyOriginal, pbkdf2Parms, keySize); - - var provider = SymmetricKeyAlgorithmProvider.OpenAlgorithm(SymmetricAlgorithmNames.AesCbcPkcs7); - var key = provider.CreateSymmetricKey(keyMaterial); - - // Get the input stream as an IBuffer. - IBuffer msg; - using(var ms = new MemoryStream()) - { - input.CopyTo(ms); - msg = ms.ToArray().AsBuffer(); - } - - var buffEncrypt = CryptographicEngine.Encrypt(key, msg, iv); - - - output.Write(buffEncrypt.ToArray(), 0, (int)buffEncrypt.Length); - output.Dispose(); -#else - using (var alg = Aes.Create()) - { - alg.Mode = CipherMode.CBC; - alg.Padding = PaddingMode.PKCS7; - alg.GenerateIV(); - var key = new Rfc2898DeriveBytes(password, alg.IV, pwIterations); - alg.Key = key.GetBytes(keySize); - // Write the IV to the output stream. - output.Write(alg.IV, 0, ivSize); - using(var encryptor = alg.CreateEncryptor()) - using(var cs = new CryptoStream(output, encryptor, CryptoStreamMode.Write)) - CopyStream(input, cs, bufferSize); - } -#endif - } - - public override void Decrypt(Stream input, Stream output, string password, int bufferSize) - { -#if NETFX_CORE - var thisIV = new byte[ivSize]; - input.Read(thisIV, 0, ivSize); - var iv = thisIV.AsBuffer(); - - var pwBuffer = CryptographicBuffer.ConvertStringToBinary(password, BinaryStringEncoding.Utf8); - - var keyDerivationProvider = KeyDerivationAlgorithmProvider.OpenAlgorithm("PBKDF2_SHA1"); - KeyDerivationParameters pbkdf2Parms = KeyDerivationParameters.BuildForPbkdf2(iv, pwIterations); - // Create a key based on original key and derivation parameters. - CryptographicKey keyOriginal = keyDerivationProvider.CreateKey(pwBuffer); - IBuffer keyMaterial = CryptographicEngine.DeriveKeyMaterial(keyOriginal, pbkdf2Parms, keySize); - - var provider = SymmetricKeyAlgorithmProvider.OpenAlgorithm(SymmetricAlgorithmNames.AesCbcPkcs7); - var key = provider.CreateSymmetricKey(keyMaterial); - - // Get the input stream as an IBuffer. - IBuffer msg; - using(var ms = new MemoryStream()) - { - input.CopyTo(ms); - msg = ms.ToArray().AsBuffer(); - } - - var buffDecrypt = CryptographicEngine.Decrypt(key, msg, iv); - - output.Write(buffDecrypt.ToArray(), 0, (int)buffDecrypt.Length); -#else - using (var alg = Aes.Create()) - { - var thisIV = new byte[ivSize]; - input.Read(thisIV, 0, ivSize); - alg.IV = thisIV; - - var key = new Rfc2898DeriveBytes(password, alg.IV, pwIterations); - alg.Key = key.GetBytes(keySize); - - using(var decryptor = alg.CreateDecryptor()) - using(var cryptoStream = new CryptoStream(input, decryptor, CryptoStreamMode.Read)) - CopyStream(cryptoStream, output, bufferSize); - - } -#endif - output.Position = 0; - } - } - - public class UnbufferedCryptoStream : MemoryStream - { - private readonly Stream stream; - private readonly bool isReadStream; - private string password; - private int bufferSize; - private EncryptionAlgorithm alg; - private bool disposed = false; - - public UnbufferedCryptoStream(Stream stream, bool isReadStream, string password, int bufferSize, EncryptionAlgorithm alg) : base() - { - this.stream = stream; - this.isReadStream = isReadStream; - this.password = password; - this.bufferSize = bufferSize; - this.alg = alg; - - - if (isReadStream) - alg.Decrypt(stream, this, password, bufferSize); - } - - protected override void Dispose(bool disposing) - { - if (disposed) - return; - disposed = true; - - if (!isReadStream) - alg.Encrypt(this, stream, password, bufferSize); - stream.Dispose(); - base.Dispose(disposing); - } - } -} -#endif \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3Crypto.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/ES3Crypto.cs.meta deleted file mode 100644 index 5d39d6d5b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3Crypto.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: d2b3b6335276042569261b3e6bed694e -timeCreated: 1519132297 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3File.cs b/Assets/Plugins/Easy Save 3/Scripts/ES3File.cs deleted file mode 100644 index 9cd32f6d2..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3File.cs +++ /dev/null @@ -1,494 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System.IO; -using System; -using ES3Types; -using UnityEngine; -using ES3Internal; -using System.Linq; - -/// Represents a cached file which can be saved to and loaded from, and commited to storage when necessary. -public class ES3File -{ - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal static Dictionary cachedFiles = new Dictionary(); - - public ES3Settings settings; - private Dictionary cache = new Dictionary(); - private bool syncWithFile = false; - private DateTime timestamp = DateTime.UtcNow; - - /// Creates a new ES3File and loads the default file into the ES3File if there is data to load. - public ES3File() : this(new ES3Settings(), true) { } - - /// Creates a new ES3File and loads the specified file into the ES3File if there is data to load. - /// The relative or absolute path of the file in storage our ES3File is associated with. - public ES3File(string filePath) : this(new ES3Settings(filePath), true) { } - - /// Creates a new ES3File and loads the specified file into the ES3File if there is data to load. - /// The relative or absolute path of the file in storage our ES3File is associated with. - /// The settings we want to use to override the default settings. - public ES3File(string filePath, ES3Settings settings) : this(new ES3Settings(filePath, settings), true) { } - - /// Creates a new ES3File and loads the specified file into the ES3File if there is data to load. - /// The settings we want to use to override the default settings. - public ES3File(ES3Settings settings) : this(settings, true) { } - - /// Creates a new ES3File and only loads the default file into it if syncWithFile is set to true. - /// Whether we should sync this ES3File with the one in storage immediately after creating it. - public ES3File(bool syncWithFile) : this(new ES3Settings(), syncWithFile) { } - /// Creates a new ES3File and only loads the specified file into it if syncWithFile is set to true. - /// The relative or absolute path of the file in storage our ES3File is associated with. - /// Whether we should sync this ES3File with the one in storage immediately after creating it. - public ES3File(string filePath, bool syncWithFile) : this(new ES3Settings(filePath), syncWithFile) { } - /// Creates a new ES3File and only loads the specified file into it if syncWithFile is set to true. - /// The relative or absolute path of the file in storage our ES3File is associated with. - /// The settings we want to use to override the default settings. - /// Whether we should sync this ES3File with the one in storage immediately after creating it. - public ES3File(string filePath, ES3Settings settings, bool syncWithFile) : this(new ES3Settings(filePath, settings), syncWithFile) { } - - /// Creates a new ES3File and loads the specified file into the ES3File if there is data to load. - /// The settings we want to use to override the default settings. - /// Whether we should sync this ES3File with the one in storage immediately after creating it. - public ES3File(ES3Settings settings, bool syncWithFile) - { - this.settings = settings; - this.syncWithFile = syncWithFile; - if (syncWithFile) - { - // Type checking must be enabled when syncing. - var settingsWithTypeChecking = (ES3Settings)settings.Clone(); - settingsWithTypeChecking.typeChecking = true; - - using (var reader = ES3Reader.Create(settingsWithTypeChecking)) - { - if (reader == null) - return; - foreach (KeyValuePair kvp in reader.RawEnumerator) - cache[kvp.Key] = kvp.Value; - } - } - } - - /// Creates a new ES3File and loads the bytes into the ES3File. Note the bytes must represent that of a file. - /// The bytes representing our file. - /// The settings we want to use to override the default settings. - /// Whether we should sync this ES3File with the one in storage immediately after creating it. - public ES3File(byte[] bytes, ES3Settings settings = null) - { - if (settings == null) - this.settings = new ES3Settings(); - else - this.settings = settings; - SaveRaw(bytes, settings); - } - - /// Synchronises this ES3File with a file in storage. - public void Sync() - { - Sync(this.settings); - } - - /// Synchronises this ES3File with a file in storage. - /// The relative or absolute path of the file in storage we want to synchronise with. - /// The settings we want to use to override the default settings. - public void Sync(string filePath, ES3Settings settings = null) - { - Sync(new ES3Settings(filePath, settings)); - } - - /// Synchronises this ES3File with a file in storage. - /// The settings we want to use to override the default settings. - public void Sync(ES3Settings settings = null) - { - if (settings == null) - settings = new ES3Settings(); - - ES3.DeleteFile(settings); - - if (cache.Count == 0) - return; - - using (var baseWriter = ES3Writer.Create(settings, true, !syncWithFile, false)) - { - foreach (var kvp in cache) - { - // If we change the name of a type, the type may be null. - // In this case, use System.Object as the type. - Type type; - if (kvp.Value.type == null) - type = typeof(System.Object); - else - type = kvp.Value.type.type; - baseWriter.Write(kvp.Key, type, kvp.Value.bytes); - } - baseWriter.Save(!syncWithFile); - } - } - - /// Removes the data stored in this ES3File. The ES3File will be empty after calling this method. - public void Clear() - { - cache.Clear(); - } - - /// Returns an array of all of the key names in this ES3File. - public string[] GetKeys() - { - var keyCollection = cache.Keys; - var keys = new string[keyCollection.Count]; - keyCollection.CopyTo(keys, 0); - return keys; - } - - #region Save Methods - - /// Saves a value to a key in this ES3File. - /// The key we want to use to identify our value in the file. - /// The value we want to save. - public void Save(string key, T value) - { - var unencryptedSettings = (ES3Settings)settings.Clone(); - unencryptedSettings.encryptionType = ES3.EncryptionType.None; - unencryptedSettings.compressionType = ES3.CompressionType.None; - cache[key] = new ES3Data(ES3TypeMgr.GetOrCreateES3Type(typeof(T)), ES3.Serialize(value, unencryptedSettings)); - } - - /// Merges the data specified by the bytes parameter into this ES3File. - /// The bytes we want to merge with this ES3File. - /// The settings we want to use to override the default settings. - public void SaveRaw(byte[] bytes, ES3Settings settings = null) - { - if (settings == null) - settings = new ES3Settings(); - - // Type checking must be enabled when syncing. - var settingsWithTypeChecking = (ES3Settings)settings.Clone(); - settingsWithTypeChecking.typeChecking = true; - - using (var reader = ES3Reader.Create(bytes, settingsWithTypeChecking)) - { - if (reader == null) - return; - foreach (KeyValuePair kvp in reader.RawEnumerator) - cache[kvp.Key] = kvp.Value; - } - } - - /// Merges the data specified by the bytes parameter into this ES3File. - /// The bytes we want to merge with this ES3File. - /// The settings we want to use to override the default settings. - public void AppendRaw(byte[] bytes, ES3Settings settings = null) - { - if (settings == null) - settings = new ES3Settings(); - // AppendRaw just does the same thing as SaveRaw in ES3File. - SaveRaw(bytes, settings); - } - - #endregion - - #region Load Methods - - /* Standard load methods */ - - /// Loads the value from this ES3File with the given key. - /// The key which identifies the value we want to load. - public object Load(string key) - { - return Load(key); - } - - /// Loads the value from this ES3File with the given key. - /// The key which identifies the value we want to load. - /// The value we want to return if the key does not exist in this ES3File. - public object Load(string key, object defaultValue) - { - return Load(key, defaultValue); - } - - /// Loads the value from this ES3File with the given key. - /// The key which identifies the value we want to load. - public T Load(string key) - { - ES3Data es3Data; - - if (!cache.TryGetValue(key, out es3Data)) - throw new KeyNotFoundException("Key \"" + key + "\" was not found in this ES3File. Use Load(key, defaultValue) if you want to return a default value if the key does not exist."); - - var unencryptedSettings = (ES3Settings)this.settings.Clone(); - unencryptedSettings.encryptionType = ES3.EncryptionType.None; - unencryptedSettings.compressionType = ES3.CompressionType.None; - - if (typeof(T) == typeof(object)) - return (T)ES3.Deserialize(es3Data.type, es3Data.bytes, unencryptedSettings); - return ES3.Deserialize(es3Data.bytes, unencryptedSettings); - } - - /// Loads the value from this ES3File with the given key. - /// The key which identifies the value we want to load. - /// The value we want to return if the key does not exist in this ES3File. - public T Load(string key, T defaultValue) - { - ES3Data es3Data; - - if (!cache.TryGetValue(key, out es3Data)) - return defaultValue; - var unencryptedSettings = (ES3Settings)this.settings.Clone(); - unencryptedSettings.encryptionType = ES3.EncryptionType.None; - unencryptedSettings.compressionType = ES3.CompressionType.None; - - if (typeof(T) == typeof(object)) - return (T)ES3.Deserialize(es3Data.type, es3Data.bytes, unencryptedSettings); - return ES3.Deserialize(es3Data.bytes, unencryptedSettings); - } - - /// Loads the value from this ES3File with the given key into an existing object. - /// The key which identifies the value we want to load. - /// The object we want to load the value into. - public void LoadInto(string key, T obj) where T : class - { - ES3Data es3Data; - - if (!cache.TryGetValue(key, out es3Data)) - throw new KeyNotFoundException("Key \"" + key + "\" was not found in this ES3File. Use Load(key, defaultValue) if you want to return a default value if the key does not exist."); - - var unencryptedSettings = (ES3Settings)this.settings.Clone(); - unencryptedSettings.encryptionType = ES3.EncryptionType.None; - unencryptedSettings.compressionType = ES3.CompressionType.None; - - if (typeof(T) == typeof(object)) - ES3.DeserializeInto(es3Data.type, es3Data.bytes, obj, unencryptedSettings); - else - ES3.DeserializeInto(es3Data.bytes, obj, unencryptedSettings); - } - - #endregion - - #region Load Raw Methods - - /// Loads the ES3File as a raw, unencrypted, uncompressed byte array. - public byte[] LoadRawBytes() - { - var unencryptedSettings = (ES3Settings)settings.Clone(); - unencryptedSettings.encryptionType = ES3.EncryptionType.None; - unencryptedSettings.compressionType = ES3.CompressionType.None; - return GetBytes(unencryptedSettings); - } - - /// Loads the ES3File as a raw, unencrypted, uncompressed string, using the encoding defined in the ES3File's settings variable. - public string LoadRawString() - { - if (cache.Count == 0) - return ""; - return settings.encoding.GetString(LoadRawBytes()); - } - - /* - * Same as LoadRawString, except it will return an encrypted/compressed file if these are enabled. - */ - internal byte[] GetBytes(ES3Settings settings = null) - { - if (cache.Count == 0) - return new byte[0]; - - if (settings == null) - settings = this.settings; - - using (var ms = new System.IO.MemoryStream()) - { - var memorySettings = (ES3Settings)settings.Clone(); - memorySettings.location = ES3.Location.InternalMS; - // Ensure we return unencrypted bytes. - memorySettings.encryptionType = ES3.EncryptionType.None; - memorySettings.compressionType = ES3.CompressionType.None; - - using (var baseWriter = ES3Writer.Create(ES3Stream.CreateStream(ms, memorySettings, ES3FileMode.Write), memorySettings, true, false)) - { - foreach (var kvp in cache) - baseWriter.Write(kvp.Key, kvp.Value.type.type, kvp.Value.bytes); - baseWriter.Save(false); - } - - return ms.ToArray(); - } - } - - #endregion - - #region Other ES3 Methods - - /// Deletes a key from this ES3File. - /// The key we want to delete. - public void DeleteKey(string key) - { - cache.Remove(key); - } - - /// Checks whether a key exists in this ES3File. - /// The key we want to check the existence of. - /// True if the key exists, otherwise False. - public bool KeyExists(string key) - { - return cache.ContainsKey(key); - } - - /// Gets the size of the cached data in bytes. - public int Size() - { - int size = 0; - foreach (var kvp in cache) - size += kvp.Value.bytes.Length; - return size; - } - - public Type GetKeyType(string key) - { - ES3Data es3data; - if (!cache.TryGetValue(key, out es3data)) - throw new KeyNotFoundException("Key \"" + key + "\" was not found in this ES3File. Use Load(key, defaultValue) if you want to return a default value if the key does not exist."); - - return es3data.type.type; - } - - #endregion - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal static ES3File GetOrCreateCachedFile(ES3Settings settings) - { - ES3File cachedFile; - if (!cachedFiles.TryGetValue(settings.path, out cachedFile)) - { - cachedFile = new ES3File(settings, false); - cachedFiles.Add(settings.path, cachedFile); - } - // Settings might refer to the same file, but might have changed. - // To account for this, we update the settings of the ES3File each time we access it. - cachedFile.settings = settings; - return cachedFile; - } - - internal static void CacheFile(ES3Settings settings) - { - // If we're still using cached settings, default to file. - if (settings.location == ES3.Location.Cache) - { - settings = (ES3Settings)settings.Clone(); - settings.location = ES3.Location.File; - } - - if (!ES3.FileExists(settings)) - return; - - - // Disable compression and encryption when loading the raw bytes, and the ES3File constructor will expect encrypted/compressed bytes. - var loadSettings = (ES3Settings)settings.Clone(); - loadSettings.compressionType = ES3.CompressionType.None; - loadSettings.encryptionType = ES3.EncryptionType.None; - - cachedFiles[settings.path] = new ES3File(ES3.LoadRawBytes(loadSettings), settings); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal static void Store(ES3Settings settings = null) - { - if (settings == null) - settings = new ES3Settings(ES3.Location.File); - // If we're still using cached settings, default to file. - else if (settings.location == ES3.Location.Cache) - { - settings = (ES3Settings)settings.Clone(); - settings.location = ES3.Location.File; - } - - ES3File cachedFile; - if (!cachedFiles.TryGetValue(settings.path, out cachedFile)) - throw new FileNotFoundException("The file '" + settings.path + "' could not be stored because it could not be found in the cache."); - cachedFile.Sync(settings); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal static void RemoveCachedFile(ES3Settings settings) - { - cachedFiles.Remove(settings.path); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal static void CopyCachedFile(ES3Settings oldSettings, ES3Settings newSettings) - { - ES3File cachedFile; - if (!cachedFiles.TryGetValue(oldSettings.path, out cachedFile)) - throw new FileNotFoundException("The file '" + oldSettings.path + "' could not be copied because it could not be found in the cache."); - if (cachedFiles.ContainsKey(newSettings.path)) - throw new InvalidOperationException("Cannot copy file '" + oldSettings.path + "' to '" + newSettings.path + "' because '" + newSettings.path + "' already exists"); - - cachedFiles.Add(newSettings.path, (ES3File)cachedFile.MemberwiseClone()); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal static void DeleteKey(string key, ES3Settings settings) - { - ES3File cachedFile; - if (cachedFiles.TryGetValue(settings.path, out cachedFile)) - cachedFile.DeleteKey(key); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal static bool KeyExists(string key, ES3Settings settings) - { - ES3File cachedFile; - if (cachedFiles.TryGetValue(settings.path, out cachedFile)) - return cachedFile.KeyExists(key); - return false; - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal static bool FileExists(ES3Settings settings) - { - return cachedFiles.ContainsKey(settings.path); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal static string[] GetKeys(ES3Settings settings) - { - ES3File cachedFile; - if (!cachedFiles.TryGetValue(settings.path, out cachedFile)) - throw new FileNotFoundException("Could not get keys from the file '" + settings.path + "' because it could not be found in the cache."); - return cachedFile.cache.Keys.ToArray(); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal static string[] GetFiles() - { - return cachedFiles.Keys.ToArray(); - } - - internal static DateTime GetTimestamp(ES3Settings settings) - { - ES3File cachedFile; - if (!cachedFiles.TryGetValue(settings.path, out cachedFile)) - throw new FileNotFoundException("Could not get timestamp from the file '" + settings.path + "' because it could not be found in the cache."); - return cachedFile.timestamp; - } -} - -namespace ES3Internal -{ - public struct ES3Data - { - public ES3Type type; - public byte[] bytes; - - public ES3Data(Type type, byte[] bytes) - { - this.type = type == null ? null : ES3TypeMgr.GetOrCreateES3Type(type); - this.bytes = bytes; - } - - public ES3Data(ES3Type type, byte[] bytes) - { - this.type = type; - this.bytes = bytes; - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3File.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/ES3File.cs.meta deleted file mode 100644 index 43f99ffb8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3File.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 2cd9723dc51904030be3c30362442d47 -timeCreated: 1499764821 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3IO.cs b/Assets/Plugins/Easy Save 3/Scripts/ES3IO.cs deleted file mode 100644 index 21a166cfe..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3IO.cs +++ /dev/null @@ -1,137 +0,0 @@ -using System.IO; -using System; -using UnityEngine; - -namespace ES3Internal -{ - public static class ES3IO - { - public static readonly string persistentDataPath = Application.persistentDataPath; - - internal const string backupFileSuffix = ".bac"; - internal const string temporaryFileSuffix = ".tmp"; - - public enum ES3FileMode {Read, Write, Append} - - public static DateTime GetTimestamp(string filePath) - { - if(!FileExists(filePath)) - return new DateTime(1970, 1, 1, 0, 0, 0, 0, System.DateTimeKind.Utc); - return File.GetLastWriteTime(filePath).ToUniversalTime(); - } - - public static string GetExtension(string path) - { - return Path.GetExtension(path); - } - - public static void DeleteFile(string filePath) - { - if(FileExists(filePath)) - File.Delete(filePath); - } - - public static bool FileExists(string filePath) { return File.Exists(filePath); } - public static void MoveFile(string sourcePath, string destPath) { File.Move(sourcePath, destPath); } - public static void CopyFile(string sourcePath, string destPath) { File.Copy(sourcePath, destPath); } - - public static void MoveDirectory(string sourcePath, string destPath) { Directory.Move(sourcePath, destPath); } - public static void CreateDirectory(string directoryPath){ Directory.CreateDirectory(directoryPath); } - public static bool DirectoryExists(string directoryPath) { return Directory.Exists(directoryPath); } - - /* - * Given a path, it returns the directory that path points to. - * eg. "C:/myFolder/thisFolder/myFile.txt" will return "C:/myFolder/thisFolder". - */ - public static string GetDirectoryPath(string path, char seperator = '/') - { - //return Path.GetDirectoryName(path); - // Path.GetDirectoryName turns forward slashes to backslashes in some cases on Windows, which is why - // Substring is used instead. - char slashChar = UsesForwardSlash(path) ? '/' : '\\'; - - int slash = path.LastIndexOf(slashChar); - // Ignore trailing slash if necessary. - if(slash == (path.Length - 1)) - slash = path.Substring(0, slash).LastIndexOf(slashChar); - if(slash == -1) - ES3Debug.LogError("Path provided is not a directory path as it contains no slashes."); - return path.Substring(0, slash); - } - - public static bool UsesForwardSlash(string path) - { - if(path.Contains("/")) - return true; - return false; - } - - // Takes a directory path and a file or directory name and combines them into a single path. - public static string CombinePathAndFilename(string directoryPath, string fileOrDirectoryName) - { - if(directoryPath[directoryPath.Length-1] != '/' && directoryPath[directoryPath.Length-1] != '\\') - directoryPath += '/'; - return directoryPath + fileOrDirectoryName; - } - - public static string[] GetDirectories(string path, bool getFullPaths = true) - { - var paths = Directory.GetDirectories(path); - for (int i = 0; i < paths.Length; i++) - { - if(!getFullPaths) - paths[i] = Path.GetFileName(paths[i]); - // GetDirectories sometimes returns backslashes, so we need to convert them to - // forward slashes. - paths[i].Replace ("\\", "/"); - } - return paths; - } - - public static void DeleteDirectory(string directoryPath) - { - if(DirectoryExists(directoryPath)) - Directory.Delete( directoryPath, true ); - } - - public static string[] GetFiles(string path, bool getFullPaths = true) - { - var paths = Directory.GetFiles(path); - if(!getFullPaths) - { - for(int i=0; i GetReferences() - { - var localToGlobal = new Dictionary(); - - var refMgr = ES3ReferenceMgr.Current; - - if (refMgr == null) - return localToGlobal; - - foreach (var kvp in localRefs) - { - long id = refMgr.Add(kvp.Key); - localToGlobal.Add(kvp.Value.ToString(), id.ToString()); - } - return localToGlobal; - } - - public void ApplyReferences(Dictionary localToGlobal) - { - if (ES3ReferenceMgrBase.Current == null) - return; - - foreach (var localRef in localRefs) - { - long globalId; - if (localToGlobal.TryGetValue(localRef.Value, out globalId)) - ES3ReferenceMgrBase.Current.Add(localRef.Key, globalId); - } - } - - public static long GetNewRefID() - { - return ES3ReferenceMgrBase.GetNewRefID(); - } -#if UNITY_EDITOR - public void GeneratePrefabReferences() - { - if (this.gameObject.scene.name != null) - return; - - // Create a new reference list so that any objects which are no longer dependencies are removed. - var tempLocalRefs = new ES3RefIdDictionary(); - - // Get dependencies of children also. - var transforms = GetComponentsInChildren(); - var gos = new GameObject[transforms.Length]; - for (int i = 0; i < transforms.Length; i++) - gos[i] = transforms[i].gameObject; - - // Add the GameObject's dependencies to the reference list. - foreach (var obj in ES3ReferenceMgr.CollectDependencies(gos)) - { - var dependency = (UnityEngine.Object)obj; - if (obj == null || !ES3ReferenceMgr.CanBeSaved(dependency)) - continue; - - var id = Get(dependency); - // If we're adding a new reference, do an Undo.RecordObject to ensure it persists. - if (id == -1) - { - Undo.RecordObject(this, "Update Easy Save 3 Prefab"); - EditorUtility.SetDirty(this); - } - tempLocalRefs.Add(dependency, id == -1 ? GetNewRefID() : id); - } - - localRefs = tempLocalRefs; - } -#endif - } -} - -/* - * Create a blank ES3Type for ES3Prefab as it does not require serialising/deserialising when stored as a Component. - */ -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_ES3Prefab : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_ES3Prefab() : base(typeof(ES3Prefab)) { Instance = this; } - - public override void Write(object obj, ES3Writer writer) - { - } - - public override object Read(ES3Reader reader) - { - return null; - } - } - - /* - * Use this ES3Type to serialise the . - */ - public class ES3Type_ES3PrefabInternal : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_ES3PrefabInternal() : base(typeof(ES3Type_ES3PrefabInternal)) { Instance = this; } - - public override void Write(object obj, ES3Writer writer) - { - ES3Prefab es3Prefab = (ES3Prefab)obj; - - writer.WriteProperty("prefabId", es3Prefab.prefabId.ToString(), ES3Type_string.Instance); - writer.WriteProperty("refs", es3Prefab.GetReferences()); - } - - public override object Read(ES3Reader reader) - { - var prefabId = reader.ReadRefProperty(); - - if (ES3ReferenceMgrBase.Current == null) - return null; - - var es3Prefab = ES3ReferenceMgrBase.Current.GetPrefab(prefabId); - if (es3Prefab == null) - throw new MissingReferenceException("Prefab with ID " + prefabId + " could not be found.\nPress the 'Refresh References' button on the ES3ReferenceMgr Component of the Easy Save 3 Manager in the scene to refresh prefabs."); - - -#if UNITY_EDITOR - // Use PrefabUtility.InstantiatePrefab if we're saving in the Editor and the application isn't playing. - // This keeps the connection to the prefab, which is useful for Editor scripts saving data outside of runtime. - var instance = Application.isPlaying ? GameObject.Instantiate(es3Prefab.gameObject) : PrefabUtility.InstantiatePrefab(es3Prefab.gameObject); -#else - var instance = GameObject.Instantiate(es3Prefab.gameObject); -#endif - var instanceES3Prefab = ((GameObject)instance).GetComponent(); - if (instanceES3Prefab == null) - throw new MissingReferenceException("Prefab with ID " + prefabId + " was found, but it does not have an ES3Prefab component attached."); - - ReadInto(reader, instance); - - return instanceES3Prefab.gameObject; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - // Load as ES3Refs and convert to longs. - var localToGlobal_refs = reader.ReadProperty>(); - var localToGlobal = new Dictionary(); - foreach (var kvp in localToGlobal_refs) - localToGlobal.Add(kvp.Key.id, kvp.Value.id); - - if (ES3ReferenceMgrBase.Current == null) - return; - - ((GameObject)obj).GetComponent().ApplyReferences(localToGlobal); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3Prefab.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/ES3Prefab.cs.meta deleted file mode 100644 index 4c771c97c..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3Prefab.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: baff8732cd3074ef88b34f9cc487846d -timeCreated: 1519132295 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgr.cs b/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgr.cs deleted file mode 100644 index 2692358b9..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgr.cs +++ /dev/null @@ -1,118 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using ES3Internal; -using UnityEngine.SceneManagement; -#if UNITY_EDITOR -using UnityEditor; -using UnityEditor.SceneManagement; -using System.Reflection; -using System; -#endif - -public class ES3ReferenceMgr : ES3ReferenceMgrBase -{ -#if UNITY_EDITOR - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void RefreshDependencies(bool isEnteringPlayMode = false) - { - ES3ReferenceMgrBase.isEnteringPlayMode = isEnteringPlayMode; - - // If we're not adding all prefabs to the manager, clear the prefabs array each time we refresh the dependencies. - if (!ES3Settings.defaultSettingsScriptableObject.addAllPrefabsToManager) - prefabs.Clear(); - - // This will get the dependencies for all GameObjects and Components from the active scene. - AddDependencies(this.gameObject.scene.GetRootGameObjects()); - AddPrefabsToManager(); - RemoveNullOrInvalidValues(); - - ES3ReferenceMgrBase.isEnteringPlayMode = false; - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void Optimize() - { - var dependencies = CollectDependencies(this.gameObject.scene.GetRootGameObjects()); - var notDependenciesOfScene = new HashSet(); - - foreach (var kvp in idRef) - if (!dependencies.Contains(kvp.Value)) - notDependenciesOfScene.Add(kvp.Value); - - foreach (var obj in notDependenciesOfScene) - { - Remove(obj); - } - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void AddDependencies(UnityEngine.Object[] objs) - { - for (int i = 0; i < objs.Length; i++) - { - var obj = objs[i]; - - if (obj.name == "Easy Save 3 Manager") - continue; - - var dependencies = CollectDependencies(obj); - - foreach (var dependency in dependencies) - { - if (dependency != null) - { - Add(dependency); - - // Add the prefab if it's referenced by this scene. - if (dependency.GetType() == typeof(ES3Prefab)) - AddPrefabToManager((ES3Prefab)dependency); - } - } - } - - Undo.RecordObject(this, "Update Easy Save 3 Reference List"); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void AddDependencies(UnityEngine.Object obj) - { - AddDependencies(new UnityEngine.Object[] { obj }); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void GeneratePrefabReferences() - { - AddPrefabsToManager(); - foreach (var es3Prefab in prefabs) - es3Prefab.GeneratePrefabReferences(); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void AddPrefabsToManager() - { - if (ES3Settings.defaultSettingsScriptableObject.addAllPrefabsToManager) - { - // Clear any null values. This isn't necessary if we're not adding all prefabs to manager as the list is cleared each time. - if (this.prefabs.RemoveAll(item => item == null) > 0) - Undo.RecordObject(this, "Update Easy Save 3 Reference List"); - - foreach (var es3Prefab in Resources.FindObjectsOfTypeAll()) - AddPrefabToManager(es3Prefab); - } - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - private void AddPrefabToManager(ES3Prefab es3Prefab) - { - try - { - if (es3Prefab != null && EditorUtility.IsPersistent(es3Prefab)) - if(AddPrefab(es3Prefab)) - Undo.RecordObject(this, "Update Easy Save 3 Reference List"); - es3Prefab.GeneratePrefabReferences(); - } - catch { } - } -#endif -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgr.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgr.cs.meta deleted file mode 100644 index d1c37c61f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgr.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9a83408fcc9044c4fbc7e5d09a369ab6 -timeCreated: 1503395115 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs b/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs deleted file mode 100644 index 2a1a380f3..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs +++ /dev/null @@ -1,621 +0,0 @@ -using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using System.Linq; -using System; -using UnityEngine.UI; -using UnityEngine.SceneManagement; - -namespace ES3Internal -{ - [System.Serializable] - [DisallowMultipleComponent] - public abstract class ES3ReferenceMgrBase : MonoBehaviour - { - internal object _lock = new object(); - - public const string referencePropertyName = "_ES3Ref"; - private static ES3ReferenceMgrBase _current = null; - private static HashSet mgrs = new HashSet(); -#if UNITY_EDITOR - private const int CollectDependenciesDepth = 5; - protected static bool isEnteringPlayMode = false; - static readonly HideFlags[] invalidHideFlags = new HideFlags[] { HideFlags.DontSave, HideFlags.DontSaveInBuild, HideFlags.DontSaveInEditor, HideFlags.HideAndDontSave }; -#endif - - private static System.Random rng; - - [HideInInspector] - public bool openPrefabs = false; // Whether the prefab list should be open in the Editor. - - public List prefabs = new List(); - - public static ES3ReferenceMgrBase Current - { - get - { - // If the reference manager hasn't been assigned, or we've got a reference to a manager in a different scene which isn't marked as DontDestroyOnLoad, look for this scene's manager. - if (_current == null /*|| (_current.gameObject.scene.buildIndex != -1 && _current.gameObject.scene != SceneManager.GetActiveScene())*/) - { - var scene = SceneManager.GetActiveScene(); - var roots = scene.GetRootGameObjects(); - ES3ReferenceMgr mgr = null; - - // First, look for Easy Save 3 Manager in the top-level. - foreach (var root in roots) - if (root.name == "Easy Save 3 Manager") - mgr = root.GetComponent(); - - // If the user has moved or renamed the Easy Save 3 Manager, we need to perform a deep search. - if (mgr == null) - foreach (var root in roots) - if ((_current = root.GetComponentInChildren()) != null) - return _current; - - mgrs.Add(_current = mgr); - } - return _current; - } - } - - public bool IsInitialised { get { return idRef.Count > 0; } } - - [SerializeField] - public ES3IdRefDictionary idRef = new ES3IdRefDictionary(); - private ES3RefIdDictionary _refId = null; - - public ES3RefIdDictionary refId - { - get - { - if (_refId == null) - { - _refId = new ES3RefIdDictionary(); - // Populate the reverse dictionary with the items from the normal dictionary. - foreach (var kvp in idRef) - if (kvp.Value != null) - _refId[kvp.Value] = kvp.Key; - } - return _refId; - } - set - { - _refId = value; - } - } - - public ES3GlobalReferences GlobalReferences - { - get - { - return ES3GlobalReferences.Instance; - } - } - - private void Awake() - { - if (_current != null && _current != this) - { - var existing = _current; - - /* We intentionally use Current rather than _current here, as _current may contain a reference to a manager in another scene, - * but Current only returns the Manager for the active scene. */ - if (Current != null) - { - existing.Merge(this); - if (gameObject.name.Contains("Easy Save 3 Manager")) - Destroy(this.gameObject); - else - Destroy(this); - _current = existing; // Undo the call to Current, which may have set it to NULL. - } - } - else - _current = this; - mgrs.Add(this); - } - - private void OnDestroy() - { - mgrs.Remove(this); - } - - // Merges two managers, not allowing any clashes of IDs - public void Merge(ES3ReferenceMgrBase otherMgr) - { - foreach (var kvp in otherMgr.idRef) - Add(kvp.Value, kvp.Key); - } - - public long Get(UnityEngine.Object obj) - { - foreach (var mgr in mgrs) - { - if (mgr == null) - continue; - - if (obj == null) - return -1; - long id; - if (!mgr.refId.TryGetValue(obj, out id)) - return -1; - return id; - } - return -1; - } - - internal UnityEngine.Object Get(long id, Type type, bool suppressWarnings=false) - { - foreach (var mgr in mgrs) - { - if (mgr == null) - continue; - - if (id == -1) - return null; - UnityEngine.Object obj; - if (!mgr.idRef.TryGetValue(id, out obj)) - { - if (GlobalReferences != null) - { - var globalRef = GlobalReferences.Get(id); - if (globalRef != null) - return globalRef; - } - - if(type != null) - ES3Debug.LogWarning("Reference for " + type + " with ID " + id + " could not be found in Easy Save's reference manager. If you are loading objects dynamically (i.e. objects created at runtime), this warning is expected and can be ignored.", this); - else - ES3Debug.LogWarning("Reference with ID " + id + " could not be found in Easy Save's reference manager. If you are loading objects dynamically (i.e. objects created at runtime), this warning is expected and can be ignored.", this); - return null; - } - if (obj == null) // If obj has been marked as destroyed but not yet destroyed, don't return it. - return null; - return obj; - } - return null; - } - - public UnityEngine.Object Get(long id, bool suppressWarnings = false) - { - return Get(id, null, suppressWarnings); - } - - public ES3Prefab GetPrefab(long id, bool suppressWarnings = false) - { - foreach (var mgr in mgrs) - { - if (mgr == null) - continue; - - foreach (var prefab in mgr.prefabs) - if (prefabs != null && prefab.prefabId == id) - return prefab; - } - if (!suppressWarnings) - ES3Debug.LogWarning("Prefab with ID " + id + " could not be found in Easy Save's reference manager. Try pressing the Refresh References button on the ES3ReferenceMgr Component of the Easy Save 3 Manager in your scene.", this); - return null; - } - - public long GetPrefab(ES3Prefab prefabToFind, bool suppressWarnings = false) - { - foreach (var mgr in mgrs) - { - if (mgr == null) - continue; - - foreach (var prefab in prefabs) - if (prefab == prefabToFind) - return prefab.prefabId; - } - if (!suppressWarnings) - ES3Debug.LogWarning("Prefab with name " + prefabToFind.name + " could not be found in Easy Save's reference manager. Try pressing the Refresh References button on the ES3ReferenceMgr Component of the Easy Save 3 Manager in your scene.", prefabToFind); - return -1; - } - - public long Add(UnityEngine.Object obj) - { - long id; - // If it already exists in the list, do nothing. - if (refId.TryGetValue(obj, out id)) - return id; - - if (GlobalReferences != null) - { - id = GlobalReferences.GetOrAdd(obj); - if (id != -1) - { - Add(obj, id); - return id; - } - } - - lock (_lock) - { - // Add the reference to the Dictionary. - id = GetNewRefID(); - return Add(obj, id); - } - } - - public long Add(UnityEngine.Object obj, long id) - { - if (!CanBeSaved(obj)) - return -1; - - // If the ID is -1, auto-generate an ID. - if (id == -1) - id = GetNewRefID(); - // Add the reference to the Dictionary. - lock (_lock) - { - idRef[id] = obj; - refId[obj] = id; - } - return id; - } - - public bool AddPrefab(ES3Prefab prefab) - { - if (!prefabs.Contains(prefab)) - { - prefabs.Add(prefab); - return true; - } - return false; - } - - public void Remove(UnityEngine.Object obj) - { - foreach (var mgr in mgrs) - { - if (mgr == null) - continue; - - lock (mgr._lock) - { - mgr.refId.Remove(obj); - // There may be multiple references with the same ID, so remove them all. - foreach (var item in mgr.idRef.Where(kvp => kvp.Value == obj).ToList()) - mgr.idRef.Remove(item.Key); - } - } - } - - public void Remove(long referenceID) - { - foreach (var mgr in mgrs) - { - if (mgr == null) - continue; - - lock (mgr._lock) - { - mgr.idRef.Remove(referenceID); - // There may be multiple references with the same ID, so remove them all. - foreach (var item in mgr.refId.Where(kvp => kvp.Value == referenceID).ToList()) - mgr.refId.Remove(item.Key); - } - } - } - - public void RemoveNullOrInvalidValues() - { - var nullKeys = idRef.Where(pair => pair.Value == null || !CanBeSaved(pair.Value)) - .Select(pair => pair.Key).ToList(); - foreach (var key in nullKeys) - idRef.Remove(key); - - if (GlobalReferences != null) - GlobalReferences.RemoveInvalidKeys(); - } - - public void Clear() - { - lock (_lock) - { - refId.Clear(); - idRef.Clear(); - } - } - - public bool Contains(UnityEngine.Object obj) - { - return refId.ContainsKey(obj); - } - - public bool Contains(long referenceID) - { - return idRef.ContainsKey(referenceID); - } - - public void ChangeId(long oldId, long newId) - { - foreach (var mgr in mgrs) - { - if (mgr == null) - continue; - - mgr.idRef.ChangeKey(oldId, newId); - // Empty the refId so it has to be refreshed. - mgr.refId = null; - } - } - - internal static long GetNewRefID() - { - if (rng == null) - rng = new System.Random(); - - byte[] buf = new byte[8]; - rng.NextBytes(buf); - long longRand = BitConverter.ToInt64(buf, 0); - - return (System.Math.Abs(longRand % (long.MaxValue - 0)) + 0); - } - -#if UNITY_EDITOR - public static HashSet CollectDependencies(UnityEngine.Object obj, HashSet dependencies = null, int depth = CollectDependenciesDepth) - { - return CollectDependencies(new UnityEngine.Object[] { obj }, dependencies, depth); - } - - /* - * Collects all top-level dependencies of an object. - * For GameObjects, it will traverse all children. - * For Components or ScriptableObjects, it will get all serialisable UnityEngine.Object fields/properties as dependencies. - */ - public static HashSet CollectDependencies(UnityEngine.Object[] objs, HashSet dependencies = null, int depth = CollectDependenciesDepth) - { - if (depth < 0) - return dependencies; - - if (dependencies == null) - dependencies = new HashSet(); - - foreach (var obj in objs) - { - if (obj == null) - continue; - - var type = obj.GetType(); - - // Skip types which don't need processing - if (type == typeof(ES3ReferenceMgr) || type == typeof(ES3AutoSaveMgr) || type == typeof(ES3AutoSave) || type == typeof(ES3InspectorInfo)) - continue; - - // Add the prefab to the manager but don't process it. We'll use this to work out what prefabs to add to the prefabs list later. - if (type == typeof(ES3Prefab)) - { - dependencies.Add(obj); - continue; - } - - // If it's a GameObject, get the GameObject's Components and collect their dependencies. - if (type == typeof(GameObject)) - { - var go = (GameObject)obj; - // If we've not already processed this GameObject ... - if (dependencies.Add(go)) - { - // Get the dependencies of each Component in the GameObject. - CollectDependencies(go.GetComponents(), dependencies, depth - 1); - // Get the dependencies of each child in the GameObject. - foreach (Transform child in go.transform) - CollectDependencies(child.gameObject, dependencies, depth); // Don't decrement child, as we consider this a top-level object. - } - } - // Else if it's a Component or ScriptableObject, add the values of any UnityEngine.Object fields as dependencies. - else - CollectDependenciesFromFields(obj, dependencies, depth - 1); - } - - return dependencies; - } - - private static void CollectDependenciesFromFields(UnityEngine.Object obj, HashSet dependencies, int depth) - { - // If we've already collected dependencies for this, do nothing. - if (!dependencies.Add(obj)) - return; - - if (depth < 0) - return; - - var type = obj.GetType(); - - if (isEnteringPlayMode && type == typeof(UnityEngine.UI.Text)) - return; - - try - { - // SerializedObject is expensive, so for known classes we manually gather references. - - if (type == typeof(Animator) || obj is Transform || type == typeof(CanvasRenderer) || type == typeof(Mesh) || type == typeof(AudioClip) || type == typeof(Rigidbody) || obj is Texture || obj is HorizontalOrVerticalLayoutGroup) - return; - - if (obj is Graphic) - { - var m = (Graphic)obj; - dependencies.Add(m.material); - dependencies.Add(m.defaultMaterial); - dependencies.Add(m.mainTexture); - - if (type == typeof(Text)) - { - var text = (Text)obj; - dependencies.Add(text.font); - } - else if (type == typeof(Image)) - { - var img = (Image)obj; - dependencies.Add(img.sprite); - } - return; - } - - if (type == typeof(Mesh)) - { - if (UnityEditor.AssetDatabase.Contains(obj)) - dependencies.Add(obj); - return; - } - - if (type == typeof(Material)) - { - dependencies.Add(((Material)obj).shader); - return; - } - - if (type == typeof(MeshFilter)) - { - dependencies.Add(((MeshFilter)obj).sharedMesh); - return; - } - - if (type == typeof(MeshCollider)) - { - var mc = (MeshCollider)obj; - dependencies.Add(mc.sharedMesh); - dependencies.Add(mc.sharedMaterial); - dependencies.Add(mc.attachedRigidbody); - return; - } - - if (type == typeof(Camera)) - { - var c = (Camera)obj; - dependencies.Add(c.targetTexture); - return; - } - - if (type == typeof(SkinnedMeshRenderer)) - dependencies.Add(((SkinnedMeshRenderer)obj).sharedMesh); // Don't return. Let this fall through to the if(obj is renderer) call. - else if (type == typeof(SpriteRenderer)) - dependencies.Add(((SpriteRenderer)obj).sprite); // Don't return. Let this fall through to the if(obj is renderer) call. - else if (type == typeof(ParticleSystemRenderer)) - dependencies.Add(((ParticleSystemRenderer)obj).mesh); // Don't return. Let this fall through to the if(obj is renderer) call. - - if (obj is Renderer) - { - dependencies.UnionWith(((Renderer)obj).sharedMaterials); - return; - } - } - catch { } - - var so = new UnityEditor.SerializedObject(obj); - if (so == null) - return; - - var property = so.GetIterator(); - if (property == null) - return; - - // Iterate through each of this object's properties. - while (property.NextVisible(true)) - { - try - { - // If it's an array which contains UnityEngine.Objects, add them as dependencies. - if (property.isArray) - { - for (int i = 0; i < property.arraySize; i++) - { - var element = property.GetArrayElementAtIndex(i); - - // If the array contains UnityEngine.Object types, add them to the dependencies. - if (element.propertyType == UnityEditor.SerializedPropertyType.ObjectReference) - { - var elementValue = element.objectReferenceValue; - var elementType = elementValue.GetType(); - - // If it's a GameObject, use CollectDependencies so that Components are also added. - if (elementType == typeof(GameObject)) - CollectDependencies(elementValue, dependencies, depth - 1); - else - CollectDependenciesFromFields(elementValue, dependencies, depth - 1); - } - // Otherwise this array does not contain UnityEngine.Object types, so we should stop. - else - break; - } - } - // Else if it's a normal UnityEngine.Object field, add it. - else if (property.propertyType == UnityEditor.SerializedPropertyType.ObjectReference) - { - var propertyValue = property.objectReferenceValue; - if (propertyValue == null) - break; - - // If it's a GameObject, use CollectDependencies so that Components are also added. - if (propertyValue.GetType() == typeof(GameObject)) - CollectDependencies(propertyValue, dependencies, depth - 1); - else - CollectDependenciesFromFields(propertyValue, dependencies, depth - 1); - } - } - catch { } - } - } - - // Called in the Editor when this Component is added. - private void Reset() - { - // Ensure that Component can only be added by going to Assets > Easy Save 3 > Add Manager to Scene. - if (gameObject.name != "Easy Save 3 Manager") - { - UnityEditor.EditorUtility.DisplayDialog("Cannot add ES3ReferenceMgr directly", "Please go to 'Assets > Easy Save 3 > Add Manager to Scene' to add an Easy Save 3 Manager to your scene.", "Ok"); - DestroyImmediate(this); - } - } -#endif - - internal static bool CanBeSaved(UnityEngine.Object obj) - { -#if UNITY_EDITOR - if (obj == null) - return true; - - foreach (var flag in invalidHideFlags) - if ((obj.hideFlags & flag) != 0 && obj.hideFlags != HideFlags.HideInHierarchy && obj.hideFlags != HideFlags.HideInInspector) - if (!(obj is Mesh || obj is Material)) - return false; - - // Exclude the Easy Save 3 Manager, and all components attached to it. - if (obj.name == "Easy Save 3 Manager") - return false; -#endif - return true; - } - } - - [System.Serializable] - public class ES3IdRefDictionary : ES3SerializableDictionary - { - protected override bool KeysAreEqual(long a, long b) - { - return a == b; - } - - protected override bool ValuesAreEqual(UnityEngine.Object a, UnityEngine.Object b) - { - return a == b; - } - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - [System.Serializable] - public class ES3RefIdDictionary : ES3SerializableDictionary - { - protected override bool KeysAreEqual(UnityEngine.Object a, UnityEngine.Object b) - { - return a == b; - } - - protected override bool ValuesAreEqual(long a, long b) - { - return a == b; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs.meta deleted file mode 100644 index be51e2920..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3ReferenceMgrBase.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f659e3ad478b6470d9744732042e7515 -timeCreated: 1519132301 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs b/Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs deleted file mode 100644 index 1d231a532..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs +++ /dev/null @@ -1,756 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; -using System.Linq; -using System.Reflection; -using System.ComponentModel; -using UnityEngine; -using ES3Types; - -namespace ES3Internal -{ - public static class ES3Reflection - { - public const string memberFieldPrefix = "m_"; - public const string componentTagFieldName = "tag"; - public const string componentNameFieldName = "name"; - public static readonly string[] excludedPropertyNames = new string[]{"runInEditMode", "useGUILayout", "hideFlags"}; - - public static readonly Type serializableAttributeType = typeof(System.SerializableAttribute); - public static readonly Type serializeFieldAttributeType = typeof(SerializeField); - public static readonly Type obsoleteAttributeType = typeof(System.ObsoleteAttribute); - public static readonly Type nonSerializedAttributeType = typeof(System.NonSerializedAttribute); - public static readonly Type es3SerializableAttributeType = typeof(ES3Serializable); - public static readonly Type es3NonSerializableAttributeType = typeof(ES3NonSerializable); - - public static Type[] EmptyTypes = new Type[0]; - - private static Assembly[] _assemblies = null; - private static Assembly[] Assemblies - { - get - { - if(_assemblies == null) - { - var assemblyNames = new ES3Settings().assemblyNames; - var assemblyList = new List(); - - for(int i=0; i GetSerializableFields(Type type, List serializableFields=null, bool safe=true, string[] memberNames=null, BindingFlags bindings = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly) - { - if (type == null) - return new List(); - - var fields = type.GetFields(bindings); - - if(serializableFields == null) - serializableFields = new List(); - - foreach(var field in fields) - { - var fieldName = field.Name; - - // If a members array was provided as a parameter, only include the field if it's in the array. - if(memberNames != null) - if(!memberNames.Contains(fieldName)) - continue; - - var fieldType = field.FieldType; - - if (AttributeIsDefined(field, es3SerializableAttributeType)) - { - serializableFields.Add(field); - continue; - } - - if (AttributeIsDefined(field, es3NonSerializableAttributeType)) - continue; - - if (safe) - { - // If the field is private, only serialize it if it's explicitly marked as serializable. - if(!field.IsPublic && !AttributeIsDefined(field, serializeFieldAttributeType)) - continue; - } - - // Exclude const or readonly fields. - if (field.IsLiteral || field.IsInitOnly) - continue; - - // Don't store fields whose type is the same as the class the field is housed in unless it's stored by reference (to prevent cyclic references) - if (fieldType == type && !IsAssignableFrom(typeof(UnityEngine.Object), fieldType)) - continue; - - // If property is marked as obsolete or non-serialized, don't serialize it. - if(AttributeIsDefined(field, nonSerializedAttributeType) || AttributeIsDefined(field, obsoleteAttributeType)) - continue; - - if(!TypeIsSerializable(field.FieldType)) - continue; - - // Don't serialize member fields. - if(safe && fieldName.StartsWith(memberFieldPrefix) && field.DeclaringType.Namespace.Contains("UnityEngine")) - continue; - - serializableFields.Add(field); - } - - var baseType = BaseType(type); - if (baseType != null && baseType != typeof(System.Object) && baseType != typeof(UnityEngine.Object)) - GetSerializableFields(BaseType(type), serializableFields, safe, memberNames); - - return serializableFields; - } - - public static List GetSerializableProperties(Type type, List serializableProperties=null, bool safe=true, string[] memberNames=null, BindingFlags bindings = BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly) - { - bool isComponent = IsAssignableFrom(typeof(UnityEngine.Component), type); - - // Only get private properties if we're not getting properties safely. - if(!safe) - bindings = bindings | BindingFlags.NonPublic; - - var properties = type.GetProperties(bindings); - - if(serializableProperties == null) - serializableProperties = new List(); - - foreach(var p in properties) - { - if (AttributeIsDefined(p, es3SerializableAttributeType)) - { - serializableProperties.Add(p); - continue; - } - - if (AttributeIsDefined(p, es3NonSerializableAttributeType)) - continue; - - var propertyName = p.Name; - - if (excludedPropertyNames.Contains(propertyName)) - continue; - - // If a members array was provided as a parameter, only include the property if it's in the array. - if(memberNames != null) - if(!memberNames.Contains(propertyName)) - continue; - - if(safe) - { - // If safe serialization is enabled, only get properties which are explicitly marked as serializable. - if(!AttributeIsDefined(p, serializeFieldAttributeType) && !AttributeIsDefined(p, es3SerializableAttributeType)) - continue; - } - - var propertyType = p.PropertyType; - - // Don't store properties whose type is the same as the class the property is housed in unless it's stored by reference (to prevent cyclic references) - if(propertyType == type && !IsAssignableFrom(typeof(UnityEngine.Object), propertyType)) - continue; - - if(!p.CanRead || !p.CanWrite) - continue; - - // Only support properties with indexing if they're an array. - if(p.GetIndexParameters().Length != 0 && !propertyType.IsArray) - continue; - - // Check that the type of the property is one which we can serialize. - // Also check whether an ES3Type exists for it. - if(!TypeIsSerializable(propertyType)) - continue; - - // Ignore certain properties on components. - if(isComponent) - { - // Ignore properties which are accessors for GameObject fields. - if(propertyName == componentTagFieldName || propertyName == componentNameFieldName) - continue; - } - - // If property is marked as obsolete or non-serialized, don't serialize it. - if(AttributeIsDefined(p, obsoleteAttributeType) || AttributeIsDefined(p, nonSerializedAttributeType)) - continue; - - serializableProperties.Add(p); - } - - var baseType = BaseType(type); - if (baseType != null && baseType != typeof(System.Object)) - GetSerializableProperties(baseType, serializableProperties, safe, memberNames); - - return serializableProperties; - } - - public static bool TypeIsSerializable(Type type) - { - if(type == null) - return false; - - if (AttributeIsDefined(type, es3NonSerializableAttributeType)) - return false; - - if(IsPrimitive(type) || IsValueType(type) || IsAssignableFrom(typeof(UnityEngine.Component), type) || IsAssignableFrom(typeof(UnityEngine.ScriptableObject), type)) - return true; - - var es3Type = ES3TypeMgr.GetOrCreateES3Type(type, false); - - if(es3Type != null && !es3Type.isUnsupported) - return true; - - if(TypeIsArray(type)) - { - if(TypeIsSerializable(type.GetElementType())) - return true; - return false; - } - - var genericArgs = type.GetGenericArguments(); - for(int i=0; i(), safe, memberNames); - var propertyInfos = GetSerializableProperties(type, new List(), safe, memberNames); - var reflectedFields = new ES3ReflectedMember[fieldInfos.Count + propertyInfos.Count]; - - for(int i=0; i GetInstances() - { - var instances = new List(); - foreach (var assembly in Assemblies) - foreach (var type in assembly.GetTypes()) - if (IsAssignableFrom (typeof(T), type) && ES3Reflection.HasParameterlessConstructor (type) && !ES3Reflection.IsAbstract (type)) - instances.Add ((T)Activator.CreateInstance(type)); - return instances; - } - - public static IList GetDerivedTypes(Type derivedType) - { - return - ( - from assembly in Assemblies - from type in assembly.GetTypes() - where IsAssignableFrom(derivedType, type) - select type - ).ToList(); - } - - public static bool IsAssignableFrom(Type a, Type b) - { - return a.IsAssignableFrom(b); - } - - public static Type GetGenericTypeDefinition(Type type) - { - return type.GetGenericTypeDefinition(); - } - - public static Type[] GetGenericArguments(Type type) - { - return type.GetGenericArguments(); - } - - public static int GetArrayRank(Type type) - { - return type.GetArrayRank(); - } - - public static string GetAssemblyQualifiedName(Type type) - { - return type.AssemblyQualifiedName; - } - - public static ES3ReflectedMethod GetMethod(Type type, string methodName, Type[] genericParameters, Type[] parameterTypes) - { - return new ES3ReflectedMethod(type, methodName, genericParameters, parameterTypes); - } - - public static bool TypeIsArray(Type type) - { - return type.IsArray; - } - - public static Type GetElementType(Type type) - { - return type.GetElementType(); - } - -#if NETFX_CORE - public static bool IsAbstract(Type type) - { - return type.GetTypeInfo().IsAbstract; - } - - public static bool IsInterface(Type type) - { - return type.GetTypeInfo().IsInterface; - } - - public static bool IsGenericType(Type type) - { - return type.GetTypeInfo().IsGenericType; - } - - public static bool IsValueType(Type type) - { - return type.GetTypeInfo().IsValueType; - } - - public static bool IsEnum(Type type) - { - return type.GetTypeInfo().IsEnum; - } - - public static bool HasParameterlessConstructor(Type type) - { - foreach (var cInfo in type.GetTypeInfo().DeclaredConstructors) - { - if (!cInfo.IsFamily && !cInfo.IsStatic && cInfo.GetParameters().Length == 0) - return true; - } - return false; - - } - - public static ConstructorInfo GetParameterlessConstructor(Type type) - { - foreach (var cInfo in type.GetTypeInfo().DeclaredConstructors) - { - if (!cInfo.IsFamily && cInfo.GetParameters().Length == 0) - return cInfo; - } - return null; - } - - public static string GetShortAssemblyQualifiedName(Type type) - { - if (IsPrimitive (type)) - return type.ToString (); - return type.FullName + "," + type.GetTypeInfo().Assembly.GetName().Name; - } - - public static PropertyInfo GetProperty(Type type, string propertyName) - { - var property = type.GetTypeInfo().GetDeclaredProperty(propertyName); - if (property == null && type.BaseType != typeof(object)) - return GetProperty(type.BaseType, propertyName); - return property; - } - - public static FieldInfo GetField(Type type, string fieldName) - { - return type.GetTypeInfo().GetDeclaredField(fieldName); - } - - public static bool IsPrimitive(Type type) - { - return (type.GetTypeInfo().IsPrimitive || type == typeof(string) || type == typeof(decimal)); - } - - public static bool AttributeIsDefined(MemberInfo info, Type attributeType) - { - var attributes = info.GetCustomAttributes(attributeType, true); - foreach(var attribute in attributes) - return true; - return false; - } - - public static bool AttributeIsDefined(Type type, Type attributeType) - { - var attributes = type.GetTypeInfo().GetCustomAttributes(attributeType, true); - foreach(var attribute in attributes) - return true; - return false; - } - - public static bool ImplementsInterface(Type type, Type interfaceType) - { - return type.GetTypeInfo().ImplementedInterfaces.Contains(interfaceType); - } - - public static Type BaseType(Type type) - { - return type.GetTypeInfo().BaseType; - } -#else - public static bool IsAbstract(Type type) - { - return type.IsAbstract; - } - - public static bool IsInterface(Type type) - { - return type.IsInterface; - } - - public static bool IsGenericType(Type type) - { - return type.IsGenericType; - } - - public static bool IsValueType(Type type) - { - return type.IsValueType; - } - - public static bool IsEnum(Type type) - { - return type.IsEnum; - } - - public static bool HasParameterlessConstructor(Type type) - { - return type.GetConstructor (Type.EmptyTypes) != null || IsValueType(type); - } - - public static ConstructorInfo GetParameterlessConstructor(Type type) - { - return type.GetConstructor (Type.EmptyTypes); - } - - public static string GetShortAssemblyQualifiedName(Type type) - { - if (IsPrimitive (type)) - return type.ToString (); - return type.FullName + "," + type.Assembly.GetName().Name; - } - - public static PropertyInfo GetProperty(Type type, string propertyName) - { - var property = type.GetProperty(propertyName, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance); - if (property == null && BaseType(type) != typeof(object)) - return GetProperty(BaseType(type), propertyName); - return property; - } - - public static FieldInfo GetField(Type type, string fieldName) - { - var field = type.GetField(fieldName, BindingFlags.Public | BindingFlags.NonPublic | BindingFlags.Instance); - if (field == null && BaseType(type) != typeof(object)) - return GetField(BaseType(type), fieldName); - return field; - } - - public static bool IsPrimitive(Type type) - { - return (type.IsPrimitive || type == typeof(string) || type == typeof(decimal)); - } - - public static bool AttributeIsDefined(MemberInfo info, Type attributeType) - { - return Attribute.IsDefined(info, attributeType, true); - } - - public static bool AttributeIsDefined(Type type, Type attributeType) - { - return type.IsDefined(attributeType, true); - } - - public static bool ImplementsInterface(Type type, Type interfaceType) - { - return (type.GetInterface(interfaceType.Name) != null); - } - - public static Type BaseType(Type type) - { - return type.BaseType; - } - - public static Type GetType(string typeString) - { - switch(typeString) - { - case "bool": - return typeof(bool); - case "byte": - return typeof(byte); - case "sbyte": - return typeof(sbyte); - case "char": - return typeof(char); - case "decimal": - return typeof(decimal); - case "double": - return typeof(double); - case "float": - return typeof(float); - case "int": - return typeof(int); - case "uint": - return typeof(uint); - case "long": - return typeof(long); - case "ulong": - return typeof(ulong); - case "short": - return typeof(short); - case "ushort": - return typeof(ushort); - case "string": - return typeof(string); - case "Vector2": - return typeof(Vector2); - case "Vector3": - return typeof(Vector3); - case "Vector4": - return typeof(Vector4); - case "Color": - return typeof(Color); - case "Transform": - return typeof(Transform); - case "Component": - return typeof(UnityEngine.Component); - case "GameObject": - return typeof(GameObject); - case "MeshFilter": - return typeof(MeshFilter); - case "Material": - return typeof(Material); - case "Texture2D": - return typeof(Texture2D); - case "UnityEngine.Object": - return typeof(UnityEngine.Object); - case "System.Object": - return typeof(object); - default: - return Type.GetType(typeString); - } - } - - public static string GetTypeString(Type type) - { - if (type == typeof(bool)) - return "bool"; - else if (type == typeof(byte)) - return "byte"; - else if (type == typeof(sbyte)) - return "sbyte"; - else if (type == typeof(char)) - return "char"; - else if (type == typeof(decimal)) - return "decimal"; - else if (type == typeof(double)) - return "double"; - else if (type == typeof(float)) - return "float"; - else if (type == typeof(int)) - return "int"; - else if (type == typeof(uint)) - return "uint"; - else if (type == typeof(long)) - return "long"; - else if (type == typeof(ulong)) - return "ulong"; - else if (type == typeof(short)) - return "short"; - else if (type == typeof(ushort)) - return "ushort"; - else if (type == typeof(string)) - return "string"; - else if (type == typeof(Vector2)) - return "Vector2"; - else if (type == typeof(Vector3)) - return "Vector3"; - else if (type == typeof(Vector4)) - return "Vector4"; - else if (type == typeof(Color)) - return "Color"; - else if (type == typeof(Transform)) - return "Transform"; - else if (type == typeof(UnityEngine.Component)) - return "Component"; - else if (type == typeof(GameObject)) - return "GameObject"; - else if (type == typeof(MeshFilter)) - return "MeshFilter"; - else if (type == typeof(Material)) - return "Material"; - else if (type == typeof(Texture2D)) - return "Texture2D"; - else if (type == typeof(UnityEngine.Object)) - return "UnityEngine.Object"; - else if (type == typeof(object)) - return "System.Object"; - else - return GetShortAssemblyQualifiedName(type); - } -#endif - - /* - * Allows us to use FieldInfo and PropertyInfo interchangably. - */ - public struct ES3ReflectedMember - { - // The FieldInfo or PropertyInfo for this field. - private FieldInfo fieldInfo; - private PropertyInfo propertyInfo; - public bool isProperty; - - public bool IsNull { get{ return fieldInfo == null && propertyInfo == null; } } - public string Name { get{ return (isProperty ? propertyInfo.Name : fieldInfo.Name); } } - public Type MemberType { get{ return (isProperty ? propertyInfo.PropertyType : fieldInfo.FieldType); } } - public bool IsPublic { get{ return (isProperty ? (propertyInfo.GetGetMethod(true).IsPublic && propertyInfo.GetSetMethod(true).IsPublic) : fieldInfo.IsPublic); } } - public bool IsProtected { get{ return (isProperty ? (propertyInfo.GetGetMethod(true).IsFamily) : fieldInfo.IsFamily); } } - public bool IsStatic { get{ return (isProperty ? (propertyInfo.GetGetMethod(true).IsStatic) : fieldInfo.IsStatic); } } - - public ES3ReflectedMember(System.Object fieldPropertyInfo) - { - if(fieldPropertyInfo == null) - { - this.propertyInfo = null; - this.fieldInfo = null; - isProperty = false; - return; - } - - isProperty = ES3Reflection.IsAssignableFrom(typeof(PropertyInfo), fieldPropertyInfo.GetType()); - if(isProperty) - { - this.propertyInfo = (PropertyInfo)fieldPropertyInfo; - this.fieldInfo = null; - } - else - { - this.fieldInfo = (FieldInfo)fieldPropertyInfo; - this.propertyInfo = null; - } - } - - public void SetValue(System.Object obj, System.Object value) - { - if(isProperty) - propertyInfo.SetValue(obj, value, null); - else - fieldInfo.SetValue(obj, value); - } - - public System.Object GetValue(System.Object obj) - { - if(isProperty) - return propertyInfo.GetValue(obj, null); - else - return fieldInfo.GetValue(obj); - } - } - - public class ES3ReflectedMethod - { - private MethodInfo method; - - public ES3ReflectedMethod(Type type, string methodName, Type[] genericParameters, Type[] parameterTypes) - { - MethodInfo nonGenericMethod = type.GetMethod(methodName, parameterTypes); - this.method = nonGenericMethod.MakeGenericMethod(genericParameters); - } - - public ES3ReflectedMethod(Type type, string methodName, Type[] genericParameters, Type[] parameterTypes, BindingFlags bindingAttr) - { - MethodInfo nonGenericMethod = type.GetMethod(methodName, bindingAttr, null, parameterTypes, null); - this.method = nonGenericMethod.MakeGenericMethod(genericParameters); - } - - public object Invoke(object obj, object[] parameters = null) - { - return method.Invoke(obj, parameters); - } - } - - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs.meta deleted file mode 100644 index e8d30de32..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3Reflection.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 499c212fb9e3c410dacca179f55ba150 -timeCreated: 1499764821 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3SerializableDictionary.cs b/Assets/Plugins/Easy Save 3/Scripts/ES3SerializableDictionary.cs deleted file mode 100644 index e925ee909..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3SerializableDictionary.cs +++ /dev/null @@ -1,84 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using System.Linq; - -namespace ES3Internal -{ - [System.Serializable] - public abstract class ES3SerializableDictionary : Dictionary, ISerializationCallbackReceiver - { - [SerializeField] - private List _Keys; - [SerializeField] - private List _Values; - - protected abstract bool KeysAreEqual(TKey a, TKey b); - protected abstract bool ValuesAreEqual(TVal a, TVal b); - - public void OnBeforeSerialize() - { - _Keys = new List(); - _Values = new List(); - foreach(KeyValuePair pair in this) - { - try - { - _Keys.Add(pair.Key); - _Values.Add(pair.Value); - } - catch { } - } - } - - // load dictionary from lists - public void OnAfterDeserialize() - { - this.Clear(); - - if(_Keys.Count != _Values.Count) - throw new System.Exception(string.Format("Key count is different to value count after deserialising dictionary.")); - - - for(int i = 0; i < _Keys.Count; i++) - { - if (_Keys[i] != null) - { - try - { - this.Add(_Keys[i], _Values[i]); - } - catch { } - } - } - - _Keys = null; - _Values = null; - } - - public int RemoveNullValues() - { - var nullKeys = this.Where(pair => pair.Value == null) - .Select(pair => pair.Key) - .ToList(); - foreach (var nullKey in nullKeys) - Remove(nullKey); - return nullKeys.Count; - } - - // Changes the key of a value without changing it's position in the underlying Lists. - // Mainly used in the Editor where position might otherwise change while the user is editing it. - // Returns true if a change was made. - public bool ChangeKey(TKey oldKey, TKey newKey) - { - if(KeysAreEqual(oldKey, newKey)) - return false; - - var val = this [oldKey]; - Remove(oldKey); - this [newKey] = val; - return true; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3SerializableDictionary.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/ES3SerializableDictionary.cs.meta deleted file mode 100644 index 50a99d203..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3SerializableDictionary.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 681896bd0089c4f7296b3ecbd899f44d -timeCreated: 1519132287 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3Spreadsheet.cs b/Assets/Plugins/Easy Save 3/Scripts/ES3Spreadsheet.cs deleted file mode 100644 index 484ecdacc..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3Spreadsheet.cs +++ /dev/null @@ -1,280 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using System.IO; -using ES3Internal; - -public class ES3Spreadsheet -{ - private int cols = 0; - private int rows = 0; - private Dictionary cells = new Dictionary(); - - private const string QUOTE = "\""; - private const char QUOTE_CHAR = '"'; - private const char COMMA_CHAR = ','; - private const char NEWLINE_CHAR = '\n'; - private const string ESCAPED_QUOTE = "\"\""; - private static char[] CHARS_TO_ESCAPE = { ',', '"', '\n', ' ' }; - - public int ColumnCount - { - get{ return cols; } - } - - public int RowCount - { - get{ return rows; } - } - - public void SetCell(int col, int row, T value) - { - // If we're writing a string, add it without formatting. - if (value.GetType() == typeof(string)) - { - SetCellString(col, row, (string)(object)value); - return; - } - - var settings = new ES3Settings (); - using(var ms = new MemoryStream()) - { - using (var jsonWriter = new ES3JSONWriter (ms, settings, false, false)) - jsonWriter.Write(value, ES3.ReferenceMode.ByValue); - - SetCellString(col, row, settings.encoding.GetString(ms.ToArray())); - } - - // Expand the spreadsheet if necessary. - if(col >= cols) - cols = (col+1); - if(row >= rows) - rows = (row+1); - } - - private void SetCellString(int col, int row, string value) - { - cells [new Index (col, row)] = value; - - // Expand the spreadsheet if necessary. - if(col >= cols) - cols = (col+1); - if (row >= rows) - rows = (row + 1); - } - - - // Don't create non-generic version of this. Generic parameter is necessary as no type data is stored in the CSV file. - public T GetCell(int col, int row) - { - var val = GetCell(typeof(T), col, row); - - if (val == null) - return default(T); - return (T)val; - } - - internal object GetCell(System.Type type, int col, int row) - { - string value; - - if (col >= cols || row >= rows) - throw new System.IndexOutOfRangeException("Cell (" + col + ", " + row + ") is out of bounds of spreadsheet (" + cols + ", " + rows + ")."); - - if (!cells.TryGetValue(new Index(col, row), out value) || string.IsNullOrEmpty(value)) - return null; - - // If we're loading a string, simply return the string value. - if (type == typeof(string)) - { - var str = (object)value; - return str; - } - - var settings = new ES3Settings(); - using (var ms = new MemoryStream(settings.encoding.GetBytes(value))) - { - using (var jsonReader = new ES3JSONReader(ms, settings, false)) - { - var obj = ES3TypeMgr.GetOrCreateES3Type(type, true).Read(jsonReader); - return obj; - } - } - } - - public void Load(string filePath) - { - Load(new ES3Settings (filePath)); - } - - public void Load(string filePath, ES3Settings settings) - { - Load(new ES3Settings (filePath, settings)); - } - - public void Load(ES3Settings settings) - { - Load(ES3Stream.CreateStream(settings, ES3FileMode.Read), settings); - } - - public void LoadRaw(string str) - { - Load(new MemoryStream (((new ES3Settings ()).encoding).GetBytes(str)), new ES3Settings()); - } - - public void LoadRaw(string str, ES3Settings settings) - { - Load(new MemoryStream ((settings.encoding).GetBytes(str)), settings); - } - - private void Load(Stream stream, ES3Settings settings) - { - using (var reader = new StreamReader(stream)) - { - int c_int; - char c; - string value = ""; - int col = 0; - int row = 0; - - // Read until the end of the stream. - while(true) - { - c_int = reader.Read(); - c = (char)c_int; - if(c == QUOTE_CHAR) - { - while (true) - { - c = (char)reader.Read(); - - if(c == QUOTE_CHAR) - { - // If this quote isn't escaped by another, it is the last quote, so we should stop parsing this value. - if(((char)reader.Peek()) != QUOTE_CHAR) - break; - else - c = (char)reader.Read(); - } - value += c; - } - } - // If this is the end of a column, row, or the stream, add the value to the spreadsheet. - else if(c == COMMA_CHAR || c == NEWLINE_CHAR || c_int == -1) - { - SetCell(col, row, value); - value = ""; - if(c == COMMA_CHAR) - col++; - else if(c == NEWLINE_CHAR) - { - col = 0; - row++; - } - else - break; - } - else - value += c; - } - } - } - - public void Save(string filePath) - { - Save(new ES3Settings (filePath), false); - } - - public void Save(string filePath, ES3Settings settings) - { - Save(new ES3Settings (filePath, settings), false); - } - - public void Save(ES3Settings settings) - { - Save(settings, false); - } - - public void Save(string filePath, bool append) - { - Save(new ES3Settings (filePath), append); - } - - public void Save(string filePath, ES3Settings settings, bool append) - { - Save(new ES3Settings (filePath, settings), append); - } - - public void Save(ES3Settings settings, bool append) - { - using (var writer = new StreamWriter(ES3Stream.CreateStream(settings, append ? ES3FileMode.Append : ES3FileMode.Write))) - { - // If data already exists and we're appending, we need to prepend a newline. - if(append && ES3.FileExists(settings)) - writer.Write(NEWLINE_CHAR); - - var array = ToArray(); - for(int row = 0; row < rows; row++) - { - if(row != 0) - writer.Write(NEWLINE_CHAR); - - for(int col = 0; col < cols; col++) - { - if(col != 0) - writer.Write(COMMA_CHAR); - - writer.Write( Escape(array [col, row]) ); - } - } - } - if(!append) - ES3IO.CommitBackup(settings); - } - - private static string Escape(string str, bool isAlreadyWrappedInQuotes=false) - { - if(string.IsNullOrEmpty(str)) - return null; - - // Now escape any other quotes. - if(str.Contains(QUOTE)) - str = str.Replace(QUOTE, ESCAPED_QUOTE); - - // If there's chars to escape, wrap the value in quotes. - if(str.IndexOfAny(CHARS_TO_ESCAPE) > -1) - str = QUOTE + str + QUOTE; - return str; - } - - private static string Unescape(string str) - { - if(str.StartsWith(QUOTE) && str.EndsWith(QUOTE)) - { - str = str.Substring(1, str.Length-2); - if(str.Contains(ESCAPED_QUOTE)) - str = str.Replace(ESCAPED_QUOTE, QUOTE); - } - return str; - } - - private string[,] ToArray() - { - var array = new string[cols, rows]; - foreach (var cell in cells) - array [cell.Key.col, cell.Key.row] = cell.Value; - return array; - } - - protected struct Index - { - public int col; - public int row; - - public Index(int col, int row) - { - this.col = col; - this.row = row; - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/ES3Spreadsheet.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/ES3Spreadsheet.cs.meta deleted file mode 100644 index ad2f74889..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/ES3Spreadsheet.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: bb1f812633929432dabb61bb8de267ba -timeCreated: 1508838134 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Readers.meta b/Assets/Plugins/Easy Save 3/Scripts/Readers.meta deleted file mode 100644 index 3fce6685a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Readers.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 23cb117b6fd3547afa9766976f6dbd18 -folderAsset: yes -timeCreated: 1499764821 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs b/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs deleted file mode 100644 index 7ed4ea9e2..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs +++ /dev/null @@ -1,571 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using System.IO; -using System.Text; -using System; -using ES3Types; -using System.Globalization; - -namespace ES3Internal -{ - /* - * Specific ES3Reader for reading JSON data. - * - * Note: Leading & trailing whitespace is ignored whenever - * reading characters which are part of the JSON syntax, - * i.e. { } [ ] , " " : - */ - public class ES3JSONReader : ES3Reader - { - private const char endOfStreamChar = (char)65535; - - public StreamReader baseReader; - - internal ES3JSONReader(Stream stream, ES3Settings settings, bool readHeaderAndFooter = true) : base(settings, readHeaderAndFooter) - { - this.baseReader = new StreamReader(stream); - - // Read opening brace from file if we're loading straight from file. - if(readHeaderAndFooter) - { - try - { - SkipOpeningBraceOfFile(); - } - catch - { - this.Dispose(); - throw new FormatException("Cannot load from file because the data in it is not JSON data, or the data is encrypted.\nIf the save data is encrypted, please ensure that encryption is enabled when you load, and that you are using the same password used to encrypt the data."); - } - } - } - - #region Property/Key Methods - - /* - * Reads the name of a property, and must be positioned (with or without whitespace) either: - * - Before the '"' of a property name. - * - Before the ',' separating properties. - * - Before the '}' or ']' terminating this list of properties. - * Can be used in conjunction with Read(ES3Type) to read a property. - */ - public override string ReadPropertyName() - { - char c = PeekCharIgnoreWhitespace(); - - // Check whether there are any properties left to read. - if(IsTerminator(c)) - return null; - else if(c == ',') - ReadCharIgnoreWhitespace(); - else if(!IsQuotationMark(c)) - throw new FormatException("Expected ',' separating properties or '\"' before property name, found '"+c+"'."); - - var propertyName = Read_string(); - if(propertyName == null) - throw new FormatException("Stream isn't positioned before a property."); - - ES3Debug.Log(""+propertyName+" (reading property)", null, serializationDepth); - - // Skip the ':' seperating property and value. - ReadCharIgnoreWhitespace(':'); - - return propertyName; - } - - /* - * Reads the type data prefixed to this key. - * If ignore is true, it will return null to save the computation of converting - * the string to a Type. - */ - protected override Type ReadKeyPrefix(bool ignoreType=false) - { - StartReadObject(); - - Type dataType = null; - - string propertyName = ReadPropertyName(); - if(propertyName == ES3Type.typeFieldName) - { - string typeString = Read_string(); - dataType = ignoreType ? null : ES3Reflection.GetType(typeString); - propertyName = ReadPropertyName(); - } - - if(propertyName != "value") - throw new FormatException("This data is not Easy Save Key Value data. Expected property name \"value\", found \""+propertyName+"\"."); - - return dataType; - } - - protected override void ReadKeySuffix() - { - EndReadObject(); - } - - - internal override bool StartReadObject() - { - base.StartReadObject(); - return ReadNullOrCharIgnoreWhitespace('{'); - } - - internal override void EndReadObject() - { - ReadCharIgnoreWhitespace('}'); - base.EndReadObject(); - } - - - internal override bool StartReadDictionary() - { - return StartReadObject(); - } - - internal override void EndReadDictionary(){} - - internal override bool StartReadDictionaryKey() - { - // If this is an empty Dictionary, return false. - if(PeekCharIgnoreWhitespace() == '}') - { - ReadCharIgnoreWhitespace(); - return false; - } - return true; - } - - internal override void EndReadDictionaryKey() - { - ReadCharIgnoreWhitespace(':'); - } - - internal override void StartReadDictionaryValue(){} - - internal override bool EndReadDictionaryValue() - { - char c = ReadCharIgnoreWhitespace(); - // If we find a ']', we reached the end of the array. - if(c == '}') - return true; - // Else, we should expect a comma. - else if(c != ',') - throw new FormatException("Expected ',' seperating Dictionary items or '}' terminating Dictionary, found '"+c+"'."); - return false; - } - - - internal override bool StartReadCollection() - { - return ReadNullOrCharIgnoreWhitespace('['); - } - - internal override void EndReadCollection(){} - - internal override bool StartReadCollectionItem() - { - // If this is an empty collection, return false. - if(PeekCharIgnoreWhitespace() == ']') - { - ReadCharIgnoreWhitespace(); - return false; - } - return true; - } - - internal override bool EndReadCollectionItem() - { - char c = ReadCharIgnoreWhitespace(); - // If we find a ']', we reached the end of the array. - if(c == ']') - return true; - // Else, we should expect a comma. - else if(c != ',') - throw new FormatException("Expected ',' seperating collection items or ']' terminating collection, found '"+c+"'."); - return false; - } - - #endregion - - #region Seeking Methods - - /* - * Reads a string value into a StreamWriter. - * Reader should be positioned after the opening quotation mark. - * Will also read the closing quotation mark. - * If the 'skip' parameter is true, data will not be written into a StreamWriter and will return null. - */ - private void ReadString(StreamWriter writer, bool skip=false) - { - bool endOfString = false; - // Read to end of string, or throw error if we reach end of stream. - while(!endOfString) - { - char c = ReadOrSkipChar(writer, skip); - switch(c) - { - case endOfStreamChar: - throw new FormatException("String without closing quotation mark detected."); - case '\\': - ReadOrSkipChar(writer, skip); - break; - default: - if(IsQuotationMark(c)) - endOfString = true; - break; - } - } - } - - /* - * Reads the current object in the stream. - * Stream position should be somewhere before the opening brace for the object. - * When this method successfully exits, it will be on the closing brace for the object. - * If the 'skip' parameter is true, data will not be written into a StreamWriter and will return null. - */ - internal override byte[] ReadElement(bool skip=false) - { - // If 'skip' is enabled, don't create a stream or writer as we'll discard all bytes we read. - StreamWriter writer = skip ? null : new StreamWriter(new MemoryStream(settings.bufferSize)); - - using(writer) - { - int nesting = 0; - char c = (char)baseReader.Peek(); - - // Determine if we're skipping a primitive type. - // First check if it's an opening object or array brace. - if(!IsOpeningBrace(c)) - { - // If we're skipping a string, use SkipString(). - if(c == '\"') - { - // Skip initial quotation mark as SkipString() requires this. - ReadOrSkipChar(writer, skip); - ReadString(writer, skip); - } - // Else we just need to read until we reach a closing brace. - else - // While we've not peeked a closing brace. - while(!IsEndOfValue((char)baseReader.Peek())) - ReadOrSkipChar(writer, skip); - - if(skip) - return null; - writer.Flush(); - return ((MemoryStream)writer.BaseStream).ToArray(); - } - - // Else, we're skipping a type surrounded by braces. - // Iterate through every character, logging nesting. - while(true) - { - c = ReadOrSkipChar(writer, skip); - - if(c == endOfStreamChar) // Detect premature end of stream, which denotes missing closing brace. - throw new FormatException("Missing closing brace detected, as end of stream was reached before finding it."); - - // Handle quoted strings. - // According to the RFC, only '\' and '"' must be escaped in strings. - if(IsQuotationMark(c)) - { - ReadString(writer, skip); - continue; - } - - // Handle braces and other characters. - switch(c) - { - case '{': // Entered another level of nesting. - case '[': - nesting++; - break; - case '}': // Exited a level of nesting. - case ']': - nesting--; - // If nesting < 1, we've come to the end of the object. - if(nesting<1) - { - if(skip) - return null; - writer.Flush(); - return ((MemoryStream)writer.BaseStream).ToArray(); - } - break; - default: - break; - } - } - } - } - - /* - * Reads the next char into a stream, or ignores it if 'skip' is true. - */ - private char ReadOrSkipChar(StreamWriter writer, bool skip) - { - char c = (char)baseReader.Read(); - if(!skip) writer.Write(c); - return c; - } - - #endregion - - #region JSON-specific methods. - - /* - * Reads a char from the stream and ignores leading and trailing whitespace. - */ - private char ReadCharIgnoreWhitespace(bool ignoreTrailingWhitespace=true) - { - char c; - // Skip leading whitespace and read char. - while(IsWhiteSpace(c = (char)baseReader.Read())) - {} - - // Skip trailing whitespace. - if(ignoreTrailingWhitespace) - while(IsWhiteSpace((char)baseReader.Peek())) - baseReader.Read(); - - return c; - } - - /* - * Reads a char, or the NULL value, from the stream and ignores leading and trailing whitespace. - * Returns true if NULL was read. - */ - private bool ReadNullOrCharIgnoreWhitespace(char expectedChar) - { - char c = ReadCharIgnoreWhitespace(); - - // Check for null - if(c == 'n') - { - var chars = new char[3]; - baseReader.ReadBlock(chars, 0, 3); - if((char)chars[0] == 'u' && (char)chars[1] == 'l' && (char)chars[2] == 'l') - return true; - } - - if(c != expectedChar) - { - if(c == endOfStreamChar) - throw new FormatException("End of stream reached when expecting '"+expectedChar+"'."); - else - throw new FormatException("Expected \'"+expectedChar+"\' or \"null\", found \'"+c+"\'."); - } - return false; - } - - /* - * Reads a char from the stream and ignores leading and trailing whitespace. - * Throws an error if the char isn't equal to the one specificed as a parameter, or if it's the end of stream. - */ - private char ReadCharIgnoreWhitespace(char expectedChar) - { - char c = ReadCharIgnoreWhitespace(); - if(c != expectedChar) - { - if(c == endOfStreamChar) - throw new FormatException("End of stream reached when expecting '"+expectedChar+"'."); - else - throw new FormatException("Expected \'"+expectedChar+"\', found \'"+c+"\'."); - } - return c; - } - - private bool ReadQuotationMarkOrNullIgnoreWhitespace() - { - char c = ReadCharIgnoreWhitespace(false); // Don't read trailing whitespace as this is the value. - - if(c == 'n') - { - var chars = new char[3]; - baseReader.ReadBlock(chars, 0, 3); - if((char)chars[0] == 'u' && (char)chars[1] == 'l' && (char)chars[2] == 'l') - return true; - } - else if(!IsQuotationMark(c)) - { - if(c == endOfStreamChar) - throw new FormatException("End of stream reached when expecting quotation mark."); - else - throw new FormatException("Expected quotation mark, found \'"+c+"\'."); - } - return false; - } - - /* - * Peeks the next char in the stream, ignoring leading whitespace, but not trailing whitespace. - */ - private char PeekCharIgnoreWhitespace(char expectedChar) - { - char c = PeekCharIgnoreWhitespace(); - if(c != expectedChar) - { - if(c == endOfStreamChar) - throw new FormatException("End of stream reached while peeking, when expecting '"+expectedChar+"'."); - else - throw new FormatException("Expected \'"+expectedChar+"\', found \'"+c+"\'."); - } - return c; - } - - /* - * Peeks the next char in the stream, ignoring leading whitespace, but not trailing whitespace. - * Throws an error if the char isn't equal to the one specificed as a parameter. - */ - private char PeekCharIgnoreWhitespace() - { - char c; - // Skip leading whitespace and read char. - while(IsWhiteSpace(c = (char)baseReader.Peek())) - baseReader.Read(); - return c; - } - - // Skips all whitespace immediately after the current position. - private void SkipWhiteSpace() - { - while(IsWhiteSpace((char)baseReader.Peek())) - baseReader.Read(); - } - - private void SkipOpeningBraceOfFile() - { - // Skip the whitespace and '{' at the beginning of the JSON file. - char firstChar = ReadCharIgnoreWhitespace(); - if(firstChar != '{') // If first char isn't '{', it's not valid JSON. - throw new FormatException("File is not valid JSON. Expected '{' at beginning of file, but found '"+firstChar+"'."); - } - - private static bool IsWhiteSpace(char c) - { - return (c == ' ' || c == '\t' || c == '\n' || c == '\r'); - } - - private static bool IsOpeningBrace(char c) - { - return (c == '{' || c == '['); - } - - private static bool IsEndOfValue(char c) - { - return (c == '}' || c == ' ' || c == '\t' || c == ']' || c == ',' || c== ':' || c == endOfStreamChar || c == '\n' || c == '\r'); - } - - private static bool IsTerminator(char c) - { - return (c == '}' || c == ']'); - } - - private static bool IsQuotationMark(char c) - { - return c == '\"' || c == '“' || c == '”'; - } - - private static bool IsEndOfStream(char c) - { - return c == endOfStreamChar; - } - - /* - * Reads a value (i.e. non-string, non-object) from the stream as a string. - * Used mostly in Read_[type]() methods. - */ - private string GetValueString() - { - StringBuilder builder = new StringBuilder(); - - while(!IsEndOfValue(PeekCharIgnoreWhitespace())) - builder.Append((char)baseReader.Read()); - - // If it's an empty value, return null. - if(builder.Length == 0) - return null; - return builder.ToString(); - } - - #endregion - - #region Primitive Read() Methods. - - internal override string Read_string() - { - if(ReadQuotationMarkOrNullIgnoreWhitespace()) - return null; - char c; - - StringBuilder sb = new StringBuilder(); - - while(!IsQuotationMark((c = (char)baseReader.Read()))) - { - // If escape mark is found, generate correct escaped character. - if(c == '\\') - { - c = (char)baseReader.Read(); - if(IsEndOfStream(c)) - throw new FormatException("Reached end of stream while trying to read string literal."); - - switch(c) - { - case 'b': - c = '\b'; - break; - case 'f': - c = '\f'; - break; - case 'n': - c = '\n'; - break; - case 'r': - c = '\r'; - break; - case 't': - c = '\t'; - break; - default: - break; - } - } - sb.Append(c); - } - return sb.ToString(); - } - - internal override long Read_ref() - { - if (ES3ReferenceMgr.Current == null) - throw new InvalidOperationException("An Easy Save 3 Manager is required to load references. To add one to your scene, exit playmode and go to Assets > Easy Save 3 > Add Manager to Scene"); - if (IsQuotationMark(PeekCharIgnoreWhitespace())) - return long.Parse(Read_string()); - return Read_long(); - } - - internal override char Read_char() { return char.Parse( Read_string()); } - internal override float Read_float() { return float.Parse( GetValueString(), CultureInfo.InvariantCulture); } - internal override int Read_int() { return int.Parse( GetValueString()); } - internal override bool Read_bool() { return bool.Parse( GetValueString()); } - internal override decimal Read_decimal() { return decimal.Parse( GetValueString(), CultureInfo.InvariantCulture); } - internal override double Read_double() { return double.Parse( GetValueString(), CultureInfo.InvariantCulture); } - internal override long Read_long() { return long.Parse( GetValueString()); } - internal override ulong Read_ulong() { return ulong.Parse( GetValueString()); } - internal override uint Read_uint() { return uint.Parse( GetValueString()); } - internal override byte Read_byte() { return (byte)int.Parse( GetValueString()); } - internal override sbyte Read_sbyte() { return (sbyte)int.Parse( GetValueString()); } - internal override short Read_short() { return (short)int.Parse( GetValueString()); } - internal override ushort Read_ushort() { return (ushort)int.Parse( GetValueString()); } - - internal override byte[] Read_byteArray(){ return System.Convert.FromBase64String(Read_string()); } - - #endregion - - - public override void Dispose() - { - baseReader.Dispose(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs.meta deleted file mode 100644 index 663a6bb38..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3JSONReader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8757682770a6c4537a3dcbed278277bc -timeCreated: 1499764822 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs b/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs deleted file mode 100644 index 9693b8dc0..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs +++ /dev/null @@ -1,450 +0,0 @@ -using UnityEngine; -using System.IO; -using System.Collections; -using System.Collections.Generic; -using System; -using System.ComponentModel; -using ES3Types; -using ES3Internal; - -public abstract class ES3Reader : System.IDisposable -{ - /// The settings used to create this reader. - public ES3Settings settings; - - protected int serializationDepth = 0; - - #region ES3Reader Abstract Methods - - internal abstract int Read_int(); - internal abstract float Read_float(); - internal abstract bool Read_bool(); - internal abstract char Read_char(); - internal abstract decimal Read_decimal(); - internal abstract double Read_double(); - internal abstract long Read_long(); - internal abstract ulong Read_ulong(); - internal abstract byte Read_byte(); - internal abstract sbyte Read_sbyte(); - internal abstract short Read_short(); - internal abstract ushort Read_ushort(); - internal abstract uint Read_uint(); - internal abstract string Read_string(); - internal abstract byte[] Read_byteArray(); - internal abstract long Read_ref(); - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public abstract string ReadPropertyName(); - - protected abstract Type ReadKeyPrefix(bool ignore = false); - protected abstract void ReadKeySuffix(); - internal abstract byte[] ReadElement(bool skip=false); - - /// Disposes of the reader and it's underlying stream. - public abstract void Dispose(); - - // Seeks to the given key. Note that the stream position will not be reset. - internal virtual bool Goto(string key) - { - if (key == null) - throw new ArgumentNullException("Key cannot be NULL when loading data."); - - string currentKey; - while ((currentKey = ReadPropertyName()) != key) - { - if (currentKey == null) - return false; - Skip(); - } - return true; - } - - internal virtual bool StartReadObject() - { - serializationDepth++; - return false; - } - - internal virtual void EndReadObject() - { - serializationDepth--; - } - - internal abstract bool StartReadDictionary(); - internal abstract void EndReadDictionary(); - internal abstract bool StartReadDictionaryKey(); - internal abstract void EndReadDictionaryKey(); - internal abstract void StartReadDictionaryValue(); - internal abstract bool EndReadDictionaryValue(); - - internal abstract bool StartReadCollection(); - internal abstract void EndReadCollection(); - internal abstract bool StartReadCollectionItem(); - internal abstract bool EndReadCollectionItem(); - - #endregion - - internal ES3Reader(ES3Settings settings, bool readHeaderAndFooter = true) - { - this.settings = settings; - } - - // If this is not null, the next call to the Properties will return this name. - internal string overridePropertiesName = null; - /// Allows you to enumerate over each field name. This should only be used within an ES3Type file. - public virtual ES3ReaderPropertyEnumerator Properties - { - get - { - return new ES3ReaderPropertyEnumerator (this); - } - } - - internal virtual ES3ReaderRawEnumerator RawEnumerator - { - get - { - return new ES3ReaderRawEnumerator (this); - } - } - - /* - * Skips the current object in the stream. - * Stream position should be somewhere before the opening brace for the object. - * When this method successfully exits, it will be on the closing brace for the object. - */ - /// Skips the current object in the stream. - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void Skip() - { - ReadElement(true); - } - - /// Reads a value of type T from the reader. - public virtual T Read() - { - return Read(ES3TypeMgr.GetOrCreateES3Type(typeof(T))); - } - - /// Reads a value of type T from the reader into an existing object. - /// The object we want to read our value into. - public virtual void ReadInto(object obj) - { - ReadInto(obj, ES3TypeMgr.GetOrCreateES3Type(typeof(T))); - } - - /// Reads a property (i.e. a property name and value) from the reader, ignoring the property name and only returning the value. - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public T ReadProperty() - { - return ReadProperty(ES3TypeMgr.GetOrCreateES3Type(typeof(T))); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public T ReadProperty(ES3Type type) - { - ReadPropertyName(); - return Read(type); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public long ReadRefProperty() - { - ReadPropertyName(); - return Read_ref(); - } - - internal Type ReadType() - { - return ES3Reflection.GetType(Read(ES3Type_string.Instance)); - } - - /// Sets the value of a private property on an object. - /// The name of the property we want to set. - /// The value we want to set the property to. - /// The object containing the property we want to set. - public void SetPrivateProperty(string name, object value, object objectContainingProperty) - { - var property = ES3Reflection.GetES3ReflectedProperty(objectContainingProperty.GetType(), name); - if(property.IsNull) - throw new MissingMemberException("A private property named "+ name + " does not exist in the type "+objectContainingProperty.GetType()); - property.SetValue(objectContainingProperty, value); - } - - /// Sets the value of a private field on an object. - /// The name of the field we want to set. - /// The value we want to set the field to. - /// The object containing the field we want to set. - public void SetPrivateField(string name, object value, object objectContainingField) - { - var field = ES3Reflection.GetES3ReflectedMember(objectContainingField.GetType(), name); - if(field.IsNull) - throw new MissingMemberException("A private field named "+ name + " does not exist in the type "+objectContainingField.GetType()); - field.SetValue(objectContainingField, value); - } - - #region Read(key) & Read(key, obj) methods - - /// Reads a value from the reader with the given key. - /// The key which uniquely identifies our value. - public virtual T Read(string key) - { - if(!Goto(key)) - throw new KeyNotFoundException("Key \"" + key + "\" was not found in file \""+settings.FullPath+"\". Use Load(key, defaultValue) if you want to return a default value if the key does not exist."); - - Type type = ReadTypeFromHeader(); - - T obj = Read(ES3TypeMgr.GetOrCreateES3Type(type)); - - //ReadKeySuffix(); //No need to read key suffix as we're returning. Doing so would throw an error at this point for BinaryReaders. - return obj; - } - - /// Reads a value from the reader with the given key, returning the default value if the key does not exist. - /// The key which uniquely identifies our value. - /// The value we want to return if this key does not exist in the reader. - public virtual T Read(string key, T defaultValue) - { - if(!Goto(key)) - return defaultValue; - - Type type = ReadTypeFromHeader(); - T obj = Read(ES3TypeMgr.GetOrCreateES3Type(type)); - - //ReadKeySuffix(); //No need to read key suffix as we're returning. Doing so would throw an error at this point for BinaryReaders. - return obj; - } - - /// Reads a value from the reader with the given key into the provided object. - /// The key which uniquely identifies our value. - /// The object we want to load the value into. - public virtual void ReadInto(string key, T obj) where T : class - { - if(!Goto(key)) - throw new KeyNotFoundException("Key \"" + key + "\" was not found in file \""+settings.FullPath+"\""); - - Type type = ReadTypeFromHeader(); - - ReadInto(obj, ES3TypeMgr.GetOrCreateES3Type(type)); - - //ReadKeySuffix(); //No need to read key suffix as we're returning. Doing so would throw an error at this point for BinaryReaders. - } - - protected virtual void ReadObject(object obj, ES3Type type) - { - // Check for null. - if(StartReadObject()) - return; - - type.ReadInto(this, obj); - - EndReadObject(); - } - - protected virtual T ReadObject(ES3Type type) - { - if(StartReadObject()) - return default(T); - - object obj = type.Read(this); - - EndReadObject(); - return (T)obj; - } - - - #endregion - - #region Read(ES3Type) & Read(obj,ES3Type) methods - - /* - * Parses the next JSON Object in the stream (i.e. must be between '{' and '}' chars). - * If the first character in the Stream is not a '{', it will throw an error. - * Will also read the terminating '}'. - * If we have reached the end of stream, it will return null. - */ - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public virtual T Read(ES3Type type) - { - if(type == null || type.isUnsupported) - throw new NotSupportedException("Type of "+type+" is not currently supported, and could not be loaded using reflection."); - else if(type.isPrimitive) - return (T)type.Read(this); - else if(type.isCollection) - return (T)((ES3CollectionType)type).Read(this); - else if(type.isDictionary) - return (T)((ES3DictionaryType)type).Read(this); - else - return ReadObject(type); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void ReadInto(object obj, ES3Type type) - { - if(type == null || type.isUnsupported) - throw new NotSupportedException("Type of "+obj.GetType()+" is not currently supported, and could not be loaded using reflection."); - - else if(type.isCollection) - ((ES3CollectionType)type).ReadInto(this, obj); - else if(type.isDictionary) - ((ES3DictionaryType)type).ReadInto(this, obj); - else - ReadObject(obj, type); - } - - - #endregion - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - internal Type ReadTypeFromHeader() - { - // Check whether we need to determine the type by reading the header. - if(typeof(T) == typeof(object)) - return ReadKeyPrefix(); - else if(settings.typeChecking) - { - Type type = ReadKeyPrefix(); - if(type != typeof(T)) - throw new InvalidOperationException("Trying to load data of type "+typeof(T)+", but data contained in file is type of "+type+"."); - return type; - } - else - { - ReadKeyPrefix(true); - return typeof(T); - } - } - - /// Creates a new ES3Reader and loads the default file into it. - public static ES3Reader Create() - { - return Create(new ES3Settings()); - } - - /// Creates a new ES3Reader and loads a file in storage into it. - /// The relative or absolute path of the file we want to load into the reader. - public static ES3Reader Create(string filePath) - { - return Create(new ES3Settings(filePath)); - } - - /// Creates a new ES3Reader and loads a file in storage into it. - /// The relative or absolute path of the file we want to load into the reader. - /// The settings we want to use to override the default settings. - public static ES3Reader Create(string filePath, ES3Settings settings) - { - return Create(new ES3Settings(filePath, settings)); - } - - /// Creates a new ES3Reader and loads a file in storage into it. - /// The settings we want to use to override the default settings. - public static ES3Reader Create(ES3Settings settings) - { - Stream stream = ES3Stream.CreateStream(settings, ES3FileMode.Read); - if(stream == null) - return null; - - // Get the baseWriter using the given Stream. - if (settings.format == ES3.Format.JSON) - return new ES3JSONReader(stream, settings); - return null; - } - - /// Creates a new ES3Reader and loads the bytes provided into it. - public static ES3Reader Create(byte[] bytes) - { - return Create(bytes, new ES3Settings()); - } - - /// Creates a new ES3Reader and loads the bytes provided into it. - /// The settings we want to use to override the default settings. - public static ES3Reader Create(byte[] bytes, ES3Settings settings) - { - Stream stream = ES3Stream.CreateStream(new MemoryStream(bytes), settings, ES3FileMode.Read); - if(stream == null) - return null; - - // Get the baseWriter using the given Stream. - if(settings.format == ES3.Format.JSON) - return new ES3JSONReader(stream, settings); - return null; - } - - internal static ES3Reader Create(Stream stream, ES3Settings settings) - { - stream = ES3Stream.CreateStream(stream, settings, ES3FileMode.Read); - - // Get the baseWriter using the given Stream. - if(settings.format == ES3.Format.JSON) - return new ES3JSONReader(stream, settings); - return null; - } - - internal static ES3Reader Create(Stream stream, ES3Settings settings, bool readHeaderAndFooter) - { - // Get the baseWriter using the given Stream. - if(settings.format == ES3.Format.JSON) - return new ES3JSONReader(stream, settings, readHeaderAndFooter); - return null; - } - - [EditorBrowsable(EditorBrowsableState.Never)] - public class ES3ReaderPropertyEnumerator - { - public ES3Reader reader; - - public ES3ReaderPropertyEnumerator(ES3Reader reader) - { - this.reader = reader; - } - - public IEnumerator GetEnumerator() - { - string propertyName; - while(true) - { - // Allows us to repeat a property name or insert one of our own. - if(reader.overridePropertiesName != null) - { - string tempName = reader.overridePropertiesName; - reader.overridePropertiesName = null; - yield return tempName; - } - else - { - if((propertyName = reader.ReadPropertyName()) == null) - yield break; - yield return propertyName; - } - } - } - } - - [EditorBrowsable(EditorBrowsableState.Never)] - public class ES3ReaderRawEnumerator - { - public ES3Reader reader; - - public ES3ReaderRawEnumerator(ES3Reader reader) - { - this.reader = reader; - } - - public IEnumerator GetEnumerator() - { - while(true) - { - string key = reader.ReadPropertyName(); - if(key == null) - yield break; - - Type type = reader.ReadTypeFromHeader(); - - byte[] bytes = reader.ReadElement(); - - reader.ReadKeySuffix(); - - yield return new KeyValuePair(key, new ES3Data(type, bytes)); - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs.meta deleted file mode 100644 index 48dcb676b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3Reader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f511cfa2663a045aeac7dfe13754efba -timeCreated: 1519132300 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3XMLReader.cs b/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3XMLReader.cs deleted file mode 100644 index 3b736296f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3XMLReader.cs +++ /dev/null @@ -1,5 +0,0 @@ - -public class ES3XMLReader -{ - // Not Implemented -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3XMLReader.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3XMLReader.cs.meta deleted file mode 100644 index b824bdecf..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Readers/ES3XMLReader.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 2ef972c40e0163f4c873b7e18c0e24fb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Referencing.meta b/Assets/Plugins/Easy Save 3/Scripts/Referencing.meta deleted file mode 100644 index 54e00d824..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Referencing.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7aae016e8c4b7924290cd0904f1509b5 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Referencing/ES3GlobalReferences.cs b/Assets/Plugins/Easy Save 3/Scripts/Referencing/ES3GlobalReferences.cs deleted file mode 100644 index 0c86cf92d..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Referencing/ES3GlobalReferences.cs +++ /dev/null @@ -1,127 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace ES3Internal -{ - public class ES3GlobalReferences : ScriptableObject - { -#if !UNITY_EDITOR || ES3GLOBAL_DISABLED - public static ES3GlobalReferences Instance{ get{ return null; } } - public UnityEngine.Object Get(long id){return null;} - public long GetOrAdd(UnityEngine.Object obj){return -1;} - public void RemoveInvalidKeys(){} -#else - -#if ES3GLOBAL_DISABLED - private static bool useGlobalReferences = false; -#else - private static bool useGlobalReferences = true; -#endif - - private const string globalReferencesPath = "ES3/ES3GlobalReferences"; - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public ES3RefIdDictionary refId = new ES3RefIdDictionary(); - - private static ES3GlobalReferences _globalReferences = null; - public static ES3GlobalReferences Instance - { - get - { - // If Global References is disabled, we still keep it enabled unless we're playing so that ES3ReferenceMgrs in different scenes still use the same IDs. - if (Application.isPlaying && !useGlobalReferences) - return null; - - if (_globalReferences == null) - { - _globalReferences = Resources.Load(globalReferencesPath); - - if (_globalReferences == null) - { - _globalReferences = ScriptableObject.CreateInstance(); - - // If this is the version being submitted to the Asset Store, don't include ES3Defaults. - if (Application.productName.Contains("ES3 Release")) - { - Debug.Log("This has been identified as a release build as the title contains 'ES3 Release', so ES3GlobalReferences will not be created."); - return _globalReferences; - } - - ES3Settings.CreateDefaultSettingsFolder(); - UnityEditor.AssetDatabase.CreateAsset(_globalReferences, PathToGlobalReferences()); - UnityEditor.AssetDatabase.SaveAssets(); - } - - } - - return _globalReferences; - } - } - - private long Get(UnityEngine.Object obj) - { - if (obj == null) - return -1; - - long id; - if (!refId.TryGetValue(obj, out id)) - return -1; - return id; - } - - public UnityEngine.Object Get(long id) - { - foreach(var kvp in refId) - if (kvp.Value == id) - return kvp.Key; - return null; - } - - public void RemoveInvalidKeys() - { - var newRefId = new ES3RefIdDictionary(); - foreach (var kvp in refId) - { - var obj = kvp.Key; - if (obj == null) - continue; - - if ((((obj.hideFlags & HideFlags.DontSave) == HideFlags.DontSave) || - ((obj.hideFlags & HideFlags.DontSaveInBuild) == HideFlags.DontSaveInBuild) || - ((obj.hideFlags & HideFlags.DontSaveInEditor) == HideFlags.DontSaveInEditor) || - ((obj.hideFlags & HideFlags.HideAndDontSave) == HideFlags.HideAndDontSave))) - { - var type = obj.GetType(); - // Meshes are marked with HideAndDontSave, but shouldn't be ignored. - if (type != typeof(Mesh) && type != typeof(Material)) - continue; - } - newRefId[obj] = kvp.Value; - } - refId = newRefId; - } - - public long GetOrAdd(UnityEngine.Object obj) - { - var id = Get(obj); - - // Only add items to global references when it's not playing. - if (!Application.isPlaying && id == -1 && UnityEditor.AssetDatabase.Contains(obj) && ES3ReferenceMgr.CanBeSaved(obj)) - { - id = ES3ReferenceMgrBase.GetNewRefID(); - refId.Add(obj, id); - - UnityEditor.EditorUtility.SetDirty(this); - } - - return id; - } - - private static string PathToGlobalReferences() - { - return ES3Settings.PathToEasySaveFolder() + "Resources/" + globalReferencesPath +".asset"; - } -#endif - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Referencing/ES3GlobalReferences.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Referencing/ES3GlobalReferences.cs.meta deleted file mode 100644 index 591df097e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Referencing/ES3GlobalReferences.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e6b16dc7c203450459bb86e24305f9ca -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Settings.meta b/Assets/Plugins/Easy Save 3/Scripts/Settings.meta deleted file mode 100644 index 034ed770d..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Settings.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 6c350197e0cac40839770b990d43d828 -folderAsset: yes -timeCreated: 1499765763 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3DefaultSettings.cs b/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3DefaultSettings.cs deleted file mode 100644 index e3bfb6903..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3DefaultSettings.cs +++ /dev/null @@ -1,12 +0,0 @@ -using UnityEngine; - -namespace ES3Internal -{ - public class ES3DefaultSettings : MonoBehaviour - { - [SerializeField] - public ES3SerializableSettings settings = null; - - public bool autoUpdateReferences = true; - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3DefaultSettings.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3DefaultSettings.cs.meta deleted file mode 100644 index 5cb6de2fe..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3DefaultSettings.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c6d233887d0c64d7e8f3ebcb39bc8c82 -timeCreated: 1519132296 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Defaults.cs b/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Defaults.cs deleted file mode 100644 index 2a5f6a987..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Defaults.cs +++ /dev/null @@ -1,17 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -public class ES3Defaults : ScriptableObject -{ - [SerializeField] - public ES3SerializableSettings settings = new ES3SerializableSettings(); - - public bool addMgrToSceneAutomatically = false; - public bool autoUpdateReferences = true; - public bool addAllPrefabsToManager = true; - - public bool logDebugInfo = false; - public bool logWarnings = true; - public bool logErrors = true; -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Defaults.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Defaults.cs.meta deleted file mode 100644 index 4a6af3f53..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Defaults.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 7b340139c9e4d054f904d8b452798652 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Settings.cs b/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Settings.cs deleted file mode 100644 index a846584a9..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Settings.cs +++ /dev/null @@ -1,377 +0,0 @@ -using UnityEngine; -using ES3Internal; -#if UNITY_EDITOR -using UnityEditor; -#endif - -public class ES3Settings : System.ICloneable -{ - - #region Default settings - private static ES3Settings _defaults = null; - private static ES3Defaults _defaultSettingsScriptableObject; - private const string defaultSettingsPath = "ES3/ES3Defaults"; - - public static ES3Defaults defaultSettingsScriptableObject - { - get - { - if (_defaultSettingsScriptableObject == null) - { - _defaultSettingsScriptableObject = Resources.Load(defaultSettingsPath); - -#if UNITY_EDITOR - if (_defaultSettingsScriptableObject == null) - { - _defaultSettingsScriptableObject = ScriptableObject.CreateInstance(); - - // If this is the version being submitted to the Asset Store, don't include ES3Defaults. - if (Application.productName.Contains("ES3 Release")) - { - Debug.Log("This has been identified as a release build as the title contains 'ES3 Release', so ES3Defaults will not be created."); - return _defaultSettingsScriptableObject; - } - - // Convert the old settings to the new settings if necessary. - var oldSettings = GetOldSettings(); - if (oldSettings != null) - { - oldSettings.CopyInto(_defaultSettingsScriptableObject.settings); - // Only enable warning logs by default for new installs as this may look like unexpected behaviour to some. - _defaultSettingsScriptableObject.logWarnings = false; - RemoveOldSettings(); - } - - CreateDefaultSettingsFolder(); - AssetDatabase.CreateAsset(_defaultSettingsScriptableObject, PathToDefaultSettings()); - AssetDatabase.SaveAssets(); - } -#endif - } - return _defaultSettingsScriptableObject; - } - } - - public static ES3Settings defaultSettings - { - get - { - if(_defaults == null) - { - if(defaultSettingsScriptableObject != null) - _defaults = defaultSettingsScriptableObject.settings; - } - return _defaults; - } - } - - private static ES3Settings _unencryptedUncompressedSettings = null; - internal static ES3Settings unencryptedUncompressedSettings - { - get - { - if (_unencryptedUncompressedSettings == null) - _unencryptedUncompressedSettings = new ES3Settings(ES3.EncryptionType.None, ES3.CompressionType.None); - return _unencryptedUncompressedSettings; - } - } - - #endregion - - #region Fields - - private static readonly string[] resourcesExtensions = new string[]{".txt", ".htm", ".html", ".xml", ".bytes", ".json", ".csv", ".yaml", ".fnt" }; - - [SerializeField] - private ES3.Location _location; - /// The location where we wish to store data. As it's not possible to save/load from File in WebGL, if the default location is File it will use PlayerPrefs instead. - public ES3.Location location - { - get - { - if(_location == ES3.Location.File && (Application.platform == RuntimePlatform.WebGLPlayer || Application.platform == RuntimePlatform.tvOS)) - return ES3.Location.PlayerPrefs; - return _location; - } - set{ _location = value; } - } - - /// The path associated with this ES3Settings object, if any. - public string path = "SaveFile.es3"; - /// The type of encryption to use when encrypting data, if any. - public ES3.EncryptionType encryptionType = ES3.EncryptionType.None; - /// The type of encryption to use when encrypting data, if any. - public ES3.CompressionType compressionType = ES3.CompressionType.None; - /// The password to use when encrypting data. - public string encryptionPassword = "password"; - /// The default directory in which to store files, and the location which relative paths should be relative to. - public ES3.Directory directory = ES3.Directory.PersistentDataPath; - /// What format to use when serialising and deserialising data. - public ES3.Format format = ES3.Format.JSON; - /// Whether we want to pretty print JSON. - public bool prettyPrint = true; - /// Any stream buffers will be set to this length in bytes. - public int bufferSize = 2048; - /// The text encoding to use for text-based format. Note that changing this may invalidate previous save data. - public System.Text.Encoding encoding = System.Text.Encoding.UTF8; - // Whether we should serialise children when serialising a GameObject. - public bool saveChildren = true; - - /// Whether we should check that the data we are loading from a file matches the method we are using to load it. - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public bool typeChecking = true; - - /// Enabling this ensures that only serialisable fields are serialised. Otherwise, possibly unsafe fields and properties will be serialised. - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public bool safeReflection = true; - /// Whether UnityEngine.Object members should be stored by value, reference or both. - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public ES3.ReferenceMode memberReferenceMode = ES3.ReferenceMode.ByRef; - /// Whether the main save methods should save UnityEngine.Objects by value, reference, or both. - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public ES3.ReferenceMode referenceMode = ES3.ReferenceMode.ByRefAndValue; - - /// How many levels of hierarchy Easy Save will serialise. This is used to protect against cyclic references. - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public int serializationDepthLimit = 64; - - /// The names of the Assemblies we should try to load our ES3Types from. - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public string[] assemblyNames = new string[] { "Assembly-CSharp-firstpass", "Assembly-CSharp"}; - - /// Gets the full, absolute path which this ES3Settings object identifies. - public string FullPath - { - get - { - if (path == null) - throw new System.NullReferenceException("The 'path' field of this ES3Settings is null, indicating that it was not possible to load the default settings from Resources. Please check that the ES3 Default Settings.prefab exists in Assets/Plugins/Resources/ES3/"); - - if(IsAbsolute(path)) - return path; - - if(location == ES3.Location.File) - { - if(directory == ES3.Directory.PersistentDataPath) - return ES3IO.persistentDataPath + "/" + path; - if(directory == ES3.Directory.DataPath) - return Application.dataPath + "/" + path; - throw new System.NotImplementedException("File directory \""+directory+"\" has not been implemented."); - } - if(location == ES3.Location.Resources) - { - // Check that it has valid extension - var extension = System.IO.Path.GetExtension(path); - bool hasValidExtension = false; - foreach (var ext in resourcesExtensions) - { - if (extension == ext) - { - hasValidExtension = true; - break; - } - } - - if(!hasValidExtension) - throw new System.ArgumentException("Extension of file in Resources must be .json, .bytes, .txt, .csv, .htm, .html, .xml, .yaml or .fnt, but path given was \"" + path + "\""); - - // Remove extension - string resourcesPath = path.Replace(extension, ""); - return resourcesPath; - } - return path; - } - } - - #endregion - - #region Constructors - - /// Creates a new ES3Settings object with the given path. - /// The path associated with this ES3Settings object. - /// The settings we want to use to override the default settings. - public ES3Settings(string path = null, ES3Settings settings = null) : this(true) - { - // if there are settings to merge, merge them. - if (settings != null) - settings.CopyInto(this); - - if (path != null) - this.path = path; - } - - /// Creates a new ES3Settings object with the given path. - /// The path associated with this ES3Settings object. - /// Accepts an ES3.EncryptionType, ES3.CompressionType, ES3.Location, ES3.Directory or ES3.ReferenceMode. - public ES3Settings(string path, params System.Enum[] enums) : this(enums) - { - if (path != null) - this.path = path; - } - - - /// Creates a new ES3Settings object with the given path. - /// The path associated with this ES3Settings object. - /// Accepts an ES3.EncryptionType, ES3.CompressionType, ES3.Location, ES3.Directory or ES3.ReferenceMode. - public ES3Settings(params System.Enum[] enums) : this(true) - { - foreach (var setting in enums) - { - if (setting is ES3.EncryptionType) - this.encryptionType = (ES3.EncryptionType)setting; - else if (setting is ES3.Location) - this.location = (ES3.Location)setting; - else if (setting is ES3.CompressionType) - this.compressionType = (ES3.CompressionType)setting; - else if (setting is ES3.ReferenceMode) - this.referenceMode = (ES3.ReferenceMode)setting; - else if (setting is ES3.Format) - this.format = (ES3.Format)setting; - else if (setting is ES3.Directory) - this.directory = (ES3.Directory)setting; - } - } - - /// Creates a new ES3Settings object with the given encryption settings. - /// The type of encryption to use, if any. - /// The password to use when encrypting data. - public ES3Settings(ES3.EncryptionType encryptionType, string encryptionPassword) : this(true) - { - this.encryptionType = encryptionType; - this.encryptionPassword = encryptionPassword; - } - - /// Creates a new ES3Settings object with the given path and encryption settings. - /// The path associated with this ES3Settings object. - /// The type of encryption to use, if any. - /// The password to use when encrypting data. - /// The settings we want to use to override the default settings. - public ES3Settings(string path, ES3.EncryptionType encryptionType, string encryptionPassword, ES3Settings settings = null) : this(path, settings) - { - this.encryptionType = encryptionType; - this.encryptionPassword = encryptionPassword; - } - - /* Base constructor which allows us to bypass defaults so it can be called by Editor serialization */ - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public ES3Settings(bool applyDefaults) - { - if (applyDefaults) - if (defaultSettings != null) - _defaults.CopyInto(this); - } - - #endregion - - #region Editor methods -#if UNITY_EDITOR - public static string pathToEasySaveFolder = null; - - public static string PathToEasySaveFolder() - { - // If the path has not yet been cached, get the path and cache it. - if (string.IsNullOrEmpty(pathToEasySaveFolder)) - { - string[] guids = AssetDatabase.FindAssets("ES3Window"); - if (guids.Length == 0) - ES3Debug.LogError("Could not locate the Easy Save 3 folder because the ES3Window script has been moved or removed."); - if (guids.Length > 1) - ES3Debug.LogError("Could not locate the Easy Save 3 folder because more than one ES3Window script exists in the project, but this needs to be unique to locate the folder."); - - pathToEasySaveFolder = AssetDatabase.GUIDToAssetPath(guids[0]).Split(new string[] { "Editor" }, System.StringSplitOptions.RemoveEmptyEntries)[0]; - } - return pathToEasySaveFolder; - } - - internal static string PathToDefaultSettings() - { - return PathToEasySaveFolder() + "Resources/"+defaultSettingsPath+".asset"; - } - - internal static void CreateDefaultSettingsFolder() - { - if (AssetDatabase.IsValidFolder(PathToEasySaveFolder() + "Resources/ES3")) - return; - // Remove leading slash from PathToEasySaveFolder. - AssetDatabase.CreateFolder(PathToEasySaveFolder().Remove(PathToEasySaveFolder().Length - 1, 1), "Resources"); - AssetDatabase.CreateFolder(PathToEasySaveFolder() + "Resources", "ES3"); - } - - private static ES3SerializableSettings GetOldSettings() - { - var go = Resources.Load(defaultSettingsPath.Replace("ES3Defaults", "ES3 Default Settings")); - if(go != null) - { - var c = go.GetComponent(); - if (c != null && c.settings != null) - return c.settings; - } - return null; - } - - private static void RemoveOldSettings() - { - AssetDatabase.DeleteAsset(PathToDefaultSettings().Replace("ES3Defaults.asset", "ES3 Default Settings.prefab")); - } -#endif - #endregion - - #region Utility methods - - private static bool IsAbsolute(string path) - { - if (path.Length > 0 && (path[0] == '/' || path[0] == '\\')) - return true; - if (path.Length > 1 && path[1] == ':') - return true; - return false; - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public object Clone() - { - var settings = new ES3Settings(); - CopyInto(settings); - return settings; - } - - private void CopyInto(ES3Settings newSettings) - { - newSettings._location = _location; - newSettings.directory = directory; - newSettings.format = format; - newSettings.prettyPrint = prettyPrint; - newSettings.path = path; - newSettings.encryptionType = encryptionType; - newSettings.encryptionPassword = encryptionPassword; - newSettings.compressionType = compressionType; - newSettings.bufferSize = bufferSize; - newSettings.encoding = encoding; - newSettings.typeChecking = typeChecking; - newSettings.safeReflection = safeReflection; - newSettings.memberReferenceMode = memberReferenceMode; - newSettings.assemblyNames = assemblyNames; - newSettings.saveChildren = saveChildren; - newSettings.serializationDepthLimit = serializationDepthLimit; - } - - #endregion -} - -/* - * A serializable version of the settings we can use as a field in the Editor, which doesn't automatically - * assign defaults to itself, so we get no serialization errors. - */ -[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] -[System.Serializable] -public class ES3SerializableSettings : ES3Settings -{ - public ES3SerializableSettings() : base(false){} - public ES3SerializableSettings(bool applyDefaults) : base(applyDefaults){} - public ES3SerializableSettings(string path) : base(false) { this.path = path; } - public ES3SerializableSettings(string path, ES3.Location location) : base(false) { this.location = location; } - -#if UNITY_EDITOR - public bool showAdvancedSettings = false; -#endif -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Settings.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Settings.cs.meta deleted file mode 100644 index 2b45b24a6..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Settings/ES3Settings.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b7b35a33d52a04187b51d5e2e2e5b0c8 -timeCreated: 1519132294 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Streams.meta b/Assets/Plugins/Easy Save 3/Scripts/Streams.meta deleted file mode 100644 index 327f802ad..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Streams.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 37ab5860b18cc4976bb573d0554aa453 -folderAsset: yes -timeCreated: 1499764821 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3FileStream.cs b/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3FileStream.cs deleted file mode 100644 index 43a23b54b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3FileStream.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System.IO; - -namespace ES3Internal -{ - public enum ES3FileMode {Read, Write, Append} - - public class ES3FileStream : FileStream - { - private bool isDisposed = false; - - public ES3FileStream( string path, ES3FileMode fileMode, int bufferSize, bool useAsync) - : base( GetPath(path, fileMode), GetFileMode(fileMode), GetFileAccess(fileMode), FileShare.None, bufferSize, useAsync) - { - } - - // Gets a temporary path if necessary. - protected static string GetPath(string path, ES3FileMode fileMode) - { - string directoryPath = ES3IO.GetDirectoryPath(path); - // Attempt to create the directory incase it does not exist if we are storing data. - if (fileMode != ES3FileMode.Read && directoryPath != ES3IO.persistentDataPath) - ES3IO.CreateDirectory(directoryPath); - if(fileMode != ES3FileMode.Write || fileMode == ES3FileMode.Append) - return path; - return (fileMode == ES3FileMode.Write) ? path + ES3IO.temporaryFileSuffix : path; - } - - protected static FileMode GetFileMode(ES3FileMode fileMode) - { - if (fileMode == ES3FileMode.Read) - return FileMode.Open; - else if (fileMode == ES3FileMode.Write) - return FileMode.Create; - else - return FileMode.Append; - } - - protected static FileAccess GetFileAccess(ES3FileMode fileMode) - { - if (fileMode == ES3FileMode.Read) - return FileAccess.Read; - else if (fileMode == ES3FileMode.Write) - return FileAccess.Write; - else - return FileAccess.Write; - } - - protected override void Dispose (bool disposing) - { - // Ensure we only perform disposable once. - if(isDisposed) - return; - isDisposed = true; - - base.Dispose(disposing); - - - // If this is a file writer, we need to replace the temp file. - /*if(fileMode == ES3FileMode.Write && fileMode != ES3FileMode.Append) - { - // Delete the old file before overwriting it. - ES3IO.DeleteFile(path); - // Rename temporary file to new file. - ES3IO.MoveFile(path + ES3.temporaryFileSuffix, path); - }*/ - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3FileStream.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3FileStream.cs.meta deleted file mode 100644 index 40077cfb3..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3FileStream.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0daff17c3279448f994a7a93d305046a -timeCreated: 1499764821 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3PlayerPrefsStream.cs b/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3PlayerPrefsStream.cs deleted file mode 100644 index 95606ffb5..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3PlayerPrefsStream.cs +++ /dev/null @@ -1,63 +0,0 @@ -using System.IO; -using UnityEngine; - -namespace ES3Internal -{ - internal class ES3PlayerPrefsStream : MemoryStream - { - private string path; - private bool append; - private bool isWriteStream = false; - private bool isDisposed = false; - - // This constructor should be used for read streams only. - public ES3PlayerPrefsStream(string path) : base(GetData(path,false)) - { - this.path = path; - this.append = false; - } - - // This constructor should be used for write streams only. - public ES3PlayerPrefsStream(string path, int bufferSize, bool append=false) : base(bufferSize) - { - this.path = path; - this.append = append; - this.isWriteStream = true; - } - - private static byte[] GetData(string path, bool isWriteStream) - { - if(!PlayerPrefs.HasKey(path)) - throw new FileNotFoundException("File \""+path+"\" could not be found in PlayerPrefs"); - return System.Convert.FromBase64String(PlayerPrefs.GetString(path)); - } - - protected override void Dispose (bool disposing) - { - if(isDisposed) - return; - isDisposed = true; - if(isWriteStream && this.Length > 0) - { - if (append) - { - // Convert data back to bytes before appending, as appending Base-64 strings directly can corrupt the data. - var sourceBytes = System.Convert.FromBase64String(PlayerPrefs.GetString(path)); - var appendBytes = this.ToArray(); - var finalBytes = new byte[sourceBytes.Length + appendBytes.Length]; - System.Buffer.BlockCopy(sourceBytes, 0, finalBytes, 0, sourceBytes.Length); - System.Buffer.BlockCopy(appendBytes, 0, finalBytes, sourceBytes.Length, appendBytes.Length); - - PlayerPrefs.SetString(path, System.Convert.ToBase64String(finalBytes)); - - PlayerPrefs.Save(); - } - else - PlayerPrefs.SetString(path + ES3IO.temporaryFileSuffix, System.Convert.ToBase64String(this.ToArray())); - // Save the timestamp to a separate key. - PlayerPrefs.SetString("timestamp_" + path, System.DateTime.UtcNow.Ticks.ToString()); - } - base.Dispose(disposing); - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3PlayerPrefsStream.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3PlayerPrefsStream.cs.meta deleted file mode 100644 index 690bef4e1..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3PlayerPrefsStream.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: df45161eabf2549c28f00352d4f970dc -timeCreated: 1499764823 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3ResourcesStream.cs b/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3ResourcesStream.cs deleted file mode 100644 index fcbe196fe..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3ResourcesStream.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.IO; -using UnityEngine; - -namespace ES3Internal -{ - internal class ES3ResourcesStream : MemoryStream - { - // Check that data exists by checking stream is not empty. - public bool Exists{ get{ return this.Length > 0; } } - - // Used when creating - public ES3ResourcesStream(string path) : base(GetData(path)) - { - } - - private static byte[] GetData(string path) - { - var textAsset = Resources.Load(path) as TextAsset; - - // If data doesn't exist in Resources, return an empty byte array. - if(textAsset == null) - return new byte[0]; - - return textAsset.bytes; - } - - protected override void Dispose (bool disposing) - { - base.Dispose(disposing); - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3ResourcesStream.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3ResourcesStream.cs.meta deleted file mode 100644 index 06046cf14..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3ResourcesStream.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: fe24380d3aca84a4d97e668349d86d37 -timeCreated: 1519132301 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3Stream.cs b/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3Stream.cs deleted file mode 100644 index 427fcef00..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3Stream.cs +++ /dev/null @@ -1,118 +0,0 @@ -using System.IO; -using System.IO.Compression; -using UnityEngine; - -namespace ES3Internal -{ - public static class ES3Stream - { - public static Stream CreateStream(ES3Settings settings, ES3FileMode fileMode) - { - bool isWriteStream = (fileMode != ES3FileMode.Read); - Stream stream = null; - - try - { - if (settings.location == ES3.Location.InternalMS) - { - // There's no point in creating an empty MemoryStream if we're only reading from it. - if (!isWriteStream) - return null; - stream = new MemoryStream(settings.bufferSize); - } - else if (settings.location == ES3.Location.File) - { - if (!isWriteStream && !ES3IO.FileExists(settings.FullPath)) - return null; - stream = new ES3FileStream(settings.FullPath, fileMode, settings.bufferSize, false); - } - else if (settings.location == ES3.Location.PlayerPrefs) - { - if (isWriteStream) - stream = new ES3PlayerPrefsStream(settings.FullPath, settings.bufferSize, (fileMode == ES3FileMode.Append)); - else - { - if (!PlayerPrefs.HasKey(settings.FullPath)) - return null; - stream = new ES3PlayerPrefsStream(settings.FullPath); - } - } - else if (settings.location == ES3.Location.Resources) - { - if (!isWriteStream) - { - var resourcesStream = new ES3ResourcesStream(settings.FullPath); - if (resourcesStream.Exists) - stream = resourcesStream; - else - { - resourcesStream.Dispose(); - return null; - } - } - else if (UnityEngine.Application.isEditor) - throw new System.NotSupportedException("Cannot write directly to Resources folder. Try writing to a directory outside of Resources, and then manually move the file there."); - else - throw new System.NotSupportedException("Cannot write to Resources folder at runtime. Use a different save location at runtime instead."); - } - - return CreateStream(stream, settings, fileMode); - } - catch(System.Exception e) - { - if (stream != null) - stream.Dispose(); - throw e; - } - } - - public static Stream CreateStream(Stream stream, ES3Settings settings, ES3FileMode fileMode) - { - try - { - bool isWriteStream = (fileMode != ES3FileMode.Read); - - #if !DISABLE_ENCRYPTION - // Encryption - if(settings.encryptionType != ES3.EncryptionType.None && stream.GetType() != typeof(UnbufferedCryptoStream)) - { - EncryptionAlgorithm alg = null; - if(settings.encryptionType == ES3.EncryptionType.AES) - alg = new AESEncryptionAlgorithm(); - stream = new UnbufferedCryptoStream(stream, !isWriteStream, settings.encryptionPassword, settings.bufferSize, alg); - } - #endif - - // Compression - if (settings.compressionType != ES3.CompressionType.None && stream.GetType() != typeof(GZipStream)) - { - if (settings.compressionType == ES3.CompressionType.Gzip) - stream = isWriteStream ? new GZipStream(stream, CompressionMode.Compress) : new GZipStream(stream, CompressionMode.Decompress); - } - - return stream; - } - catch (System.Exception e) - { - if (stream != null) - stream.Dispose(); - if (e.GetType() == typeof(System.Security.Cryptography.CryptographicException)) - throw new System.Security.Cryptography.CryptographicException("Could not decrypt file. Please ensure that you are using the same password used to encrypt the file."); - else - throw e; - } - } - - public static void CopyTo(Stream source, Stream destination) - { - #if UNITY_2019_1_OR_NEWER - source.CopyTo(destination); - #else - byte[] buffer = new byte[2048]; - int bytesRead; - while ((bytesRead = source.Read(buffer, 0, buffer.Length)) > 0) - destination.Write(buffer, 0, bytesRead); - #endif - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3Stream.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3Stream.cs.meta deleted file mode 100644 index ed9f16cef..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Streams/ES3Stream.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b4ec91ea5d66749aca7d5555b767728a -timeCreated: 1499764822 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types.meta b/Assets/Plugins/Easy Save 3/Scripts/Types.meta deleted file mode 100644 index 40da695cd..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 1b8a01835c8014ce9bef4d4e31eb057b -folderAsset: yes -timeCreated: 1499764821 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types.meta deleted file mode 100644 index 092cfa19f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 1995368ea5d4c45878840cfba12bd7bd -folderAsset: yes -timeCreated: 1499764821 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES32DArrayType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES32DArrayType.cs deleted file mode 100644 index b3cff18c4..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES32DArrayType.cs +++ /dev/null @@ -1,150 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; -using System.Linq; - -namespace ES3Types -{ - public class ES32DArrayType : ES3CollectionType - { - public ES32DArrayType(Type type) : base(type){} - - public override void Write(object obj, ES3Writer writer, ES3.ReferenceMode unityObjectType) - { - var array = (System.Array)obj; - - if(elementType == null) - throw new ArgumentNullException("ES3Type argument cannot be null."); - - //writer.StartWriteCollection(); - - for(int i=0; i < array.GetLength(0); i++) - { - writer.StartWriteCollectionItem(i); - writer.StartWriteCollection(); - for(int j=0; j < array.GetLength(1); j++) - { - writer.StartWriteCollectionItem(j); - writer.Write(array.GetValue(i,j), elementType, unityObjectType); - writer.EndWriteCollectionItem(j); - } - writer.EndWriteCollection(); - writer.EndWriteCollectionItem(i); - } - - //writer.EndWriteCollection(); - } - - public override object Read(ES3Reader reader) - { - return Read(reader); - /*if(reader.StartReadCollection()) - return null; - - // Create a List to store the items as a 1D array, which we can work out the positions of by calculating the lengths of the two dimensions. - var items = new List(); - int length1 = 0; - - // Iterate through each character until we reach the end of the array. - while(true) - { - if(!reader.StartReadCollectionItem()) - break; - - ReadICollection(reader, items, elementType); - length1++; - - if(reader.EndReadCollectionItem()) - break; - } - - int length2 = items.Count / length1; - - var array = new T[length1,length2]; - - for(int i=0; i(); - int length1 = 0; - - // Iterate through each character until we reach the end of the array. - while(true) - { - if(!reader.StartReadCollectionItem()) - break; - - ReadICollection(reader, items, elementType); - length1++; - - if(reader.EndReadCollectionItem()) - break; - } - - int length2 = items.Count / length1; - - var array = ES3Reflection.ArrayCreateInstance(elementType.type, new int[]{length1, length2}); - - for(int i=0; i(ES3Reader reader, object obj) - { - ReadInto(reader, obj); - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var array = (Array)obj; - - if(reader.StartReadCollection()) - throw new NullReferenceException("The Collection we are trying to load is stored as null, which is not allowed when using ReadInto methods."); - - bool iHasBeenRead = false; - - for(int i=0; i < array.GetLength(0); i++) - { - bool jHasBeenRead = false; - - if(!reader.StartReadCollectionItem()) - throw new IndexOutOfRangeException("The collection we are loading is smaller than the collection provided as a parameter."); - - reader.StartReadCollection(); - for(int j=0; j < array.GetLength(1); j++) - { - if(!reader.StartReadCollectionItem()) - throw new IndexOutOfRangeException("The collection we are loading is smaller than the collection provided as a parameter."); - reader.ReadInto(array.GetValue(i,j), elementType); - jHasBeenRead = reader.EndReadCollectionItem(); - } - - if(!jHasBeenRead) - throw new IndexOutOfRangeException("The collection we are loading is larger than the collection provided as a parameter."); - - reader.EndReadCollection(); - - iHasBeenRead = reader.EndReadCollectionItem(); - } - - if(!iHasBeenRead) - throw new IndexOutOfRangeException("The collection we are loading is larger than the collection provided as a parameter."); - - reader.EndReadCollection(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES32DArrayType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES32DArrayType.cs.meta deleted file mode 100644 index 5d924b3d3..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES32DArrayType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 16f7aabe86b814cc8a059954a1c78d25 -timeCreated: 1519132280 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES33DArrayType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES33DArrayType.cs deleted file mode 100644 index a424e12d4..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES33DArrayType.cs +++ /dev/null @@ -1,164 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types - { - public class ES33DArrayType : ES3CollectionType - { - public ES33DArrayType(Type type) : base(type){} - - public override void Write(object obj, ES3Writer writer, ES3.ReferenceMode memberReferenceMode) - { - var array = (System.Array)obj; - - if(elementType == null) - throw new ArgumentNullException("ES3Type argument cannot be null."); - - //writer.StartWriteCollection(); - - for(int i=0; i < array.GetLength(0); i++) - { - writer.StartWriteCollectionItem(i); - writer.StartWriteCollection(); - - for(int j=0; j < array.GetLength(1); j++) - { - writer.StartWriteCollectionItem(j); - writer.StartWriteCollection(); - - for(int k=0; k < array.GetLength(2); k++) - { - writer.StartWriteCollectionItem(k); - writer.Write(array.GetValue(i,j,k), elementType, memberReferenceMode); - writer.EndWriteCollectionItem(k); - } - writer.EndWriteCollection(); - writer.EndWriteCollectionItem(j); - } - writer.EndWriteCollection(); - writer.EndWriteCollectionItem(i); - } - //writer.EndWriteCollection(); - } - - public override object Read(ES3Reader reader) - { - return Read(reader); - } - - public override object Read(ES3Reader reader) - { - if(reader.StartReadCollection()) - return null; - - // Create a List to store the items as a 1D array, which we can work out the positions of by calculating the lengths of the two dimensions. - var items = new List(); - int length1 = 0; - int length2 = 0; - - // Iterate through each sub-array - while(true) - { - if(!reader.StartReadCollectionItem()) - break; - reader.StartReadCollection(); - - length1++; - - while(true) - { - if(!reader.StartReadCollectionItem()) - break; - - ReadICollection(reader, items, elementType); - length2++; - - if(reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - if(reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - - length2 = length2/length1; - int length3 = items.Count / length2 / length1; - - var array = ES3Reflection.ArrayCreateInstance(elementType.type, new int[]{length1,length2,length3}); - - for(int i=0; i(ES3Reader reader, object obj) - { - ReadInto(reader, obj); - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var array = (Array)obj; - - if(reader.StartReadCollection()) - throw new NullReferenceException("The Collection we are trying to load is stored as null, which is not allowed when using ReadInto methods."); - - bool iHasBeenRead = false; - - for(int i=0; i < array.GetLength(0); i++) - { - bool jHasBeenRead = false; - - if(!reader.StartReadCollectionItem()) - throw new IndexOutOfRangeException("The collection we are loading is smaller than the collection provided as a parameter."); - - reader.StartReadCollection(); - - for(int j=0; j < array.GetLength(1); j++) - { - bool kHasBeenRead = false; - - if(!reader.StartReadCollectionItem()) - throw new IndexOutOfRangeException("The collection we are loading is smaller than the collection provided as a parameter."); - - reader.StartReadCollection(); - - for(int k=0; k < array.GetLength(2); k++) - { - if(!reader.StartReadCollectionItem()) - throw new IndexOutOfRangeException("The collection we are loading is smaller than the collection provided as a parameter."); - reader.ReadInto(array.GetValue(i,j,k), elementType); - kHasBeenRead = reader.EndReadCollectionItem(); - } - - if(!kHasBeenRead) - throw new IndexOutOfRangeException("The collection we are loading is larger than the collection provided as a parameter."); - - reader.EndReadCollection(); - - jHasBeenRead = reader.EndReadCollectionItem(); - } - - if(!jHasBeenRead) - throw new IndexOutOfRangeException("The collection we are loading is larger than the collection provided as a parameter."); - - reader.EndReadCollection(); - - iHasBeenRead = reader.EndReadCollectionItem(); - } - - if(!iHasBeenRead) - throw new IndexOutOfRangeException("The collection we are loading is larger than the collection provided as a parameter."); - - reader.EndReadCollection(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES33DArrayType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES33DArrayType.cs.meta deleted file mode 100644 index f87024da6..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES33DArrayType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f60b75065118c4199aeaa2c3c31ecc0f -timeCreated: 1519132301 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ArrayType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ArrayType.cs deleted file mode 100644 index e51da6efb..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ArrayType.cs +++ /dev/null @@ -1,139 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3ArrayType : ES3CollectionType - { - public ES3ArrayType(Type type) : base(type){} - public ES3ArrayType(Type type, ES3Type elementType) : base(type, elementType){} - - public override void Write(object obj, ES3Writer writer, ES3.ReferenceMode memberReferenceMode) - { - var array = (System.Array)obj; - - if(elementType == null) - throw new ArgumentNullException("ES3Type argument cannot be null."); - - //writer.StartWriteCollection(); - - for(int i=0; i(); - if (!ReadICollection(reader, list, elementType)) - return null; - - var array = ES3Reflection.ArrayCreateInstance(elementType.type, list.Count); - int i = 0; - foreach (var item in list) - { - array.SetValue(item, i); - i++; - } - - return array; - - /*var instance = new List(); - - if(reader.StartReadCollection()) - return null; - - // Iterate through each character until we reach the end of the array. - while(true) - { - if(!reader.StartReadCollectionItem()) - break; - instance.Add(reader.Read(elementType)); - - if(reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - - var array = ES3Reflection.ArrayCreateInstance(elementType.type, instance.Count); - int i = 0; - foreach(var item in instance) - { - array.SetValue(item, i); - i++; - } - - return array;*/ - } - - public override object Read(ES3Reader reader) - { - return Read(reader); - /*var list = new List(); - if(!ReadICollection(reader, list, elementType)) - return null; - - var array = ES3Reflection.ArrayCreateInstance(elementType.type, list.Count); - int i = 0; - foreach (var item in list) - { - array.SetValue(item, i); - i++; - } - - return array;*/ - } - - public override void ReadInto(ES3Reader reader, object obj) - { - ReadICollectionInto(reader, (ICollection)obj, elementType); - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var collection = (IList)obj; - - if (collection.Count == 0) - ES3Debug.LogWarning("LoadInto/ReadInto expects a collection containing instances to load data in to, but the collection is empty."); - - if(reader.StartReadCollection()) - throw new NullReferenceException("The Collection we are trying to load is stored as null, which is not allowed when using ReadInto methods."); - - int itemsLoaded = 0; - - // Iterate through each item in the collection and try to load it. - foreach(var item in collection) - { - itemsLoaded++; - - if(!reader.StartReadCollectionItem()) - break; - - reader.ReadInto(item, elementType); - - // If we find a ']', we reached the end of the array. - if(reader.EndReadCollectionItem()) - break; - - // If there's still items to load, but we've reached the end of the collection we're loading into, throw an error. - if(itemsLoaded == collection.Count) - throw new IndexOutOfRangeException("The collection we are loading is longer than the collection provided as a parameter."); - } - - // If we loaded fewer items than the parameter collection, throw index out of range exception. - if(itemsLoaded != collection.Count) - throw new IndexOutOfRangeException("The collection we are loading is shorter than the collection provided as a parameter."); - - reader.EndReadCollection(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ArrayType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ArrayType.cs.meta deleted file mode 100644 index bcdc911a9..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ArrayType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 80139e4c0efc5414caff6bb50527d63d -timeCreated: 1519132289 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs deleted file mode 100644 index ecaa2e53e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public abstract class ES3CollectionType : ES3Type - { - public ES3Type elementType; - - /*protected ES3Reflection.ES3ReflectedMethod readMethod = null; - protected ES3Reflection.ES3ReflectedMethod readIntoMethod = null;*/ - - public abstract object Read(ES3Reader reader); - public abstract void ReadInto(ES3Reader reader, object obj); - public abstract void Write(object obj, ES3Writer writer, ES3.ReferenceMode memberReferenceMode); - - public ES3CollectionType(Type type) : base(type) - { - elementType = ES3TypeMgr.GetOrCreateES3Type(ES3Reflection.GetElementTypes(type)[0], false); - isCollection = true; - - // If the element type is null (i.e. unsupported), make this ES3Type null. - if(elementType == null) - isUnsupported = true; - } - - public ES3CollectionType(Type type, ES3Type elementType) : base(type) - { - this.elementType = elementType; - isCollection = true; - } - - [UnityEngine.Scripting.Preserve] - public override void Write(object obj, ES3Writer writer) - { - Write(obj, writer, ES3.ReferenceMode.ByRefAndValue); - } - - protected virtual bool ReadICollection(ES3Reader reader, ICollection collection, ES3Type elementType) - { - if(reader.StartReadCollection()) - return false; - - // Iterate through each character until we reach the end of the array. - while(true) - { - if(!reader.StartReadCollectionItem()) - break; - collection.Add(reader.Read(elementType)); - - if(reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - - return true; - } - - protected virtual void ReadICollectionInto(ES3Reader reader, ICollection collection, ES3Type elementType) - { - ReadICollectionInto(reader, collection, elementType); - } - - [UnityEngine.Scripting.Preserve] - protected virtual void ReadICollectionInto(ES3Reader reader, ICollection collection, ES3Type elementType) - { - if(reader.StartReadCollection()) - throw new NullReferenceException("The Collection we are trying to load is stored as null, which is not allowed when using ReadInto methods."); - - int itemsLoaded = 0; - - // Iterate through each item in the collection and try to load it. - foreach(var item in collection) - { - itemsLoaded++; - - if(!reader.StartReadCollectionItem()) - break; - - reader.ReadInto(item, elementType); - - // If we find a ']', we reached the end of the array. - if(reader.EndReadCollectionItem()) - break; - - // If there's still items to load, but we've reached the end of the collection we're loading into, throw an error. - if(itemsLoaded == collection.Count) - throw new IndexOutOfRangeException("The collection we are loading is longer than the collection provided as a parameter."); - } - - // If we loaded fewer items than the parameter collection, throw index out of range exception. - if(itemsLoaded != collection.Count) - throw new IndexOutOfRangeException("The collection we are loading is shorter than the collection provided as a parameter."); - - reader.EndReadCollection(); - } - - /* - * Calls the Read method using reflection so we don't need to provide a generic parameter. - */ - /*public virtual object Read(ES3Reader reader) - { - if(readMethod == null) - readMethod = ES3Reflection.GetMethod(this.GetType(), "Read", new Type[]{elementType.type}, new Type[]{typeof(ES3Reader)}); - return readMethod.Invoke(this, new object[]{reader}); - } - - public virtual void ReadInto(ES3Reader reader, object obj) - { - if(readIntoMethod == null) - readIntoMethod = ES3Reflection.GetMethod(this.GetType(), "ReadInto", new Type[]{elementType.type}, new Type[]{typeof(ES3Reader), typeof(object)}); - readIntoMethod.Invoke(this, new object[]{reader, obj}); - }*/ - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs.meta deleted file mode 100644 index d02b40dc5..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3CollectionType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 4758f55361e6f4485afe7dfdd3a3a372 -timeCreated: 1519132284 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3DictionaryType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3DictionaryType.cs deleted file mode 100644 index 104755b46..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3DictionaryType.cs +++ /dev/null @@ -1,142 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3DictionaryType : ES3Type - { - public ES3Type keyType; - public ES3Type valueType; - - protected ES3Reflection.ES3ReflectedMethod readMethod = null; - protected ES3Reflection.ES3ReflectedMethod readIntoMethod = null; - - public ES3DictionaryType(Type type) : base(type) - { - var types = ES3Reflection.GetElementTypes(type); - keyType = ES3TypeMgr.GetOrCreateES3Type(types[0], false); - valueType = ES3TypeMgr.GetOrCreateES3Type(types[1], false); - - // If either the key or value type is unsupported, make this type NULL. - if(keyType == null || valueType == null) - isUnsupported = true;; - - isDictionary = true; - } - - public ES3DictionaryType(Type type, ES3Type keyType, ES3Type valueType) : base(type) - { - this.keyType = keyType; - this.valueType = valueType; - - // If either the key or value type is unsupported, make this type NULL. - if (keyType == null || valueType == null) - isUnsupported = true; ; - - isDictionary = true; - } - - public override void Write(object obj, ES3Writer writer) - { - Write(obj, writer, writer.settings.memberReferenceMode); - } - - public void Write(object obj, ES3Writer writer, ES3.ReferenceMode memberReferenceMode) - { - var dict = (IDictionary)obj; - - //writer.StartWriteDictionary(dict.Count); - - int i=0; - foreach(System.Collections.DictionaryEntry kvp in dict) - { - writer.StartWriteDictionaryKey(i); - writer.Write(kvp.Key, keyType, memberReferenceMode); - writer.EndWriteDictionaryKey(i); - writer.StartWriteDictionaryValue(i); - writer.Write(kvp.Value, valueType, memberReferenceMode); - writer.EndWriteDictionaryValue(i); - i++; - } - - //writer.EndWriteDictionary(); - } - - public override object Read(ES3Reader reader) - { - return Read(reader); - } - - public override void ReadInto(ES3Reader reader, object obj) - { - ReadInto(reader, obj); - } - - /* - * Allows us to call the generic Read method using Reflection so we can define the generic parameter at runtime. - * It also caches the method to improve performance in later calls. - */ - public object Read(ES3Reader reader) - { - if(reader.StartReadDictionary()) - return null; - - var dict = (IDictionary)ES3Reflection.CreateInstance(type); - - // Iterate through each character until we reach the end of the array. - while(true) - { - if(!reader.StartReadDictionaryKey()) - return dict; - var key = reader.Read(keyType); - reader.EndReadDictionaryKey(); - - reader.StartReadDictionaryValue(); - var value = reader.Read(valueType); - - dict.Add(key,value); - - if(reader.EndReadDictionaryValue()) - break; - } - - reader.EndReadDictionary(); - - return dict; - } - - public void ReadInto(ES3Reader reader, object obj) - { - if(reader.StartReadDictionary()) - throw new NullReferenceException("The Dictionary we are trying to load is stored as null, which is not allowed when using ReadInto methods."); - - var dict = (IDictionary)obj; - - // Iterate through each character until we reach the end of the array. - while(true) - { - if(!reader.StartReadDictionaryKey()) - return; - var key = reader.Read(keyType); - - if(!dict.Contains(key)) - throw new KeyNotFoundException("The key \"" + key + "\" in the Dictionary we are loading does not exist in the Dictionary we are loading into"); - var value = dict[key]; - reader.EndReadDictionaryKey(); - - reader.StartReadDictionaryValue(); - - reader.ReadInto(value, valueType); - - if(reader.EndReadDictionaryValue()) - break; - } - - reader.EndReadDictionary(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3DictionaryType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3DictionaryType.cs.meta deleted file mode 100644 index ee845c5ea..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3DictionaryType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 2bc573810521e44bea185a4fa7c415e9 -timeCreated: 1519132282 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3HashSetType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3HashSetType.cs deleted file mode 100644 index ebac2d72a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3HashSetType.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; -using System.Linq; -using System.Reflection; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3HashSetType : ES3CollectionType - { - public ES3HashSetType(Type type) : base(type){} - - public override void Write(object obj, ES3Writer writer, ES3.ReferenceMode memberReferenceMode) - { - if (obj == null) { writer.WriteNull(); return; }; - - var list = (IEnumerable)obj; - - if (elementType == null) - throw new ArgumentNullException("ES3Type argument cannot be null."); - - int count = 0; - foreach (var item in list) - count++; - - //writer.StartWriteCollection(count); - - int i = 0; - foreach (object item in list) - { - writer.StartWriteCollectionItem(i); - writer.Write(item, elementType, memberReferenceMode); - writer.EndWriteCollectionItem(i); - i++; - } - - //writer.EndWriteCollection(); - } - - public override object Read(ES3Reader reader) - { - var val = Read(reader); - if (val == null) - return default(T); - return (T)val; - } - - - public override object Read(ES3Reader reader) - { - /*var method = typeof(ES3CollectionType).GetMethod("ReadICollection", BindingFlags.Instance | BindingFlags.NonPublic).MakeGenericMethod(elementType.type); - if(!(bool)method.Invoke(this, new object[] { reader, list, elementType })) - return null;*/ - - var genericParam = ES3Reflection.GetGenericArguments(type)[0]; - var listType = ES3Reflection.MakeGenericType(typeof(List<>), genericParam); - var list = (IList)ES3Reflection.CreateInstance(listType); - - if (!reader.StartReadCollection()) - { - // Iterate through each character until we reach the end of the array. - while (true) - { - if (!reader.StartReadCollectionItem()) - break; - list.Add(reader.Read(elementType)); - - if (reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - } - - return ES3Reflection.CreateInstance(type, list); - } - - public override void ReadInto(ES3Reader reader, object obj) - { - ReadInto(reader, obj); - } - - public override void ReadInto(ES3Reader reader, object obj) - { - throw new NotImplementedException("Cannot use LoadInto/ReadInto with HashSet because HashSets do not maintain the order of elements"); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3HashSetType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3HashSetType.cs.meta deleted file mode 100644 index 1301c2e44..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3HashSetType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e2a5f03b11de242bf9f3c6766875188b -timeCreated: 1519132282 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs deleted file mode 100644 index 341d3904b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs +++ /dev/null @@ -1,110 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3ListType : ES3CollectionType - { - public ES3ListType(Type type) : base(type){} - public ES3ListType(Type type, ES3Type elementType) : base(type, elementType){} - - public override void Write(object obj, ES3Writer writer, ES3.ReferenceMode memberReferenceMode) - { - if(obj == null){ writer.WriteNull(); return; }; - - var list = (IList)obj; - - if(elementType == null) - throw new ArgumentNullException("ES3Type argument cannot be null."); - - //writer.StartWriteCollection(); - - int i = 0; - foreach(object item in list) - { - writer.StartWriteCollectionItem(i); - writer.Write(item, elementType, memberReferenceMode); - writer.EndWriteCollectionItem(i); - i++; - } - - //writer.EndWriteCollection(); - } - - public override object Read(ES3Reader reader) - { - return Read(reader); - - /*var list = new List(); - if(!ReadICollection(reader, list, elementType)) - return null; - return list;*/ - } - - public override void ReadInto(ES3Reader reader, object obj) - { - ReadICollectionInto(reader, (ICollection)obj, elementType); - } - - public override object Read(ES3Reader reader) - { - var instance = (IList)ES3Reflection.CreateInstance(type); - - if(reader.StartReadCollection()) - return null; - - // Iterate through each character until we reach the end of the array. - while(true) - { - if(!reader.StartReadCollectionItem()) - break; - instance.Add(reader.Read(elementType)); - - if(reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var collection = (IList)obj; - - if(reader.StartReadCollection()) - throw new NullReferenceException("The Collection we are trying to load is stored as null, which is not allowed when using ReadInto methods."); - - int itemsLoaded = 0; - - // Iterate through each item in the collection and try to load it. - foreach(var item in collection) - { - itemsLoaded++; - - if(!reader.StartReadCollectionItem()) - break; - - reader.ReadInto(item, elementType); - - // If we find a ']', we reached the end of the array. - if(reader.EndReadCollectionItem()) - break; - - // If there's still items to load, but we've reached the end of the collection we're loading into, throw an error. - if(itemsLoaded == collection.Count) - throw new IndexOutOfRangeException("The collection we are loading is longer than the collection provided as a parameter."); - } - - // If we loaded fewer items than the parameter collection, throw index out of range exception. - if(itemsLoaded != collection.Count) - throw new IndexOutOfRangeException("The collection we are loading is shorter than the collection provided as a parameter."); - - reader.EndReadCollection(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs.meta deleted file mode 100644 index 628bd825c..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3ListType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3502f1923072c49498bb91827fae42eb -timeCreated: 1519132282 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3QueueType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3QueueType.cs deleted file mode 100644 index e204a53df..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3QueueType.cs +++ /dev/null @@ -1,147 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3QueueType : ES3CollectionType - { - public ES3QueueType(Type type) : base(type){} - - public override void Write(object obj, ES3Writer writer, ES3.ReferenceMode memberReferenceMode) - { - var list = (ICollection)obj; - - if(elementType == null) - throw new ArgumentNullException("ES3Type argument cannot be null."); - - //writer.StartWriteCollection(); - - int i = 0; - foreach(object item in list) - { - writer.StartWriteCollectionItem(i); - writer.Write(item, elementType, memberReferenceMode); - writer.EndWriteCollectionItem(i); - i++; - } - - //writer.EndWriteCollection(); - } - - public override object Read(ES3Reader reader) - { - return Read(reader); - /*if(reader.StartReadCollection()) - return null; - - var queue = new Queue(); - - // Iterate through each character until we reach the end of the array. - while(true) - { - if(!reader.StartReadCollectionItem()) - break; - queue.Enqueue(reader.Read(elementType)); - if(reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - return queue;*/ - } - - public override void ReadInto(ES3Reader reader, object obj) - { - if(reader.StartReadCollection()) - throw new NullReferenceException("The Collection we are trying to load is stored as null, which is not allowed when using ReadInto methods."); - - int itemsLoaded = 0; - - var queue = (Queue)obj; - - // Iterate through each item in the collection and try to load it. - foreach(var item in queue) - { - itemsLoaded++; - - if(!reader.StartReadCollectionItem()) - break; - - reader.ReadInto(item, elementType); - - // If we find a ']', we reached the end of the array. - if(reader.EndReadCollectionItem()) - break; - // If there's still items to load, but we've reached the end of the collection we're loading into, throw an error. - if(itemsLoaded == queue.Count) - throw new IndexOutOfRangeException("The collection we are loading is longer than the collection provided as a parameter."); - } - - // If we loaded fewer items than the parameter collection, throw index out of range exception. - if(itemsLoaded != queue.Count) - throw new IndexOutOfRangeException("The collection we are loading is shorter than the collection provided as a parameter."); - - reader.EndReadCollection(); - } - - public override object Read(ES3Reader reader) - { - var instance = (IList)ES3Reflection.CreateInstance(ES3Reflection.MakeGenericType(typeof(List<>), elementType.type)); - - if(reader.StartReadCollection()) - return null; - - // Iterate through each character until we reach the end of the array. - while(true) - { - if (!reader.StartReadCollectionItem()) - break; - instance.Add(reader.Read(elementType)); - - if (reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - - return ES3Reflection.CreateInstance(type, instance); - } - - public override void ReadInto(ES3Reader reader, object obj) - { - if(reader.StartReadCollection()) - throw new NullReferenceException("The Collection we are trying to load is stored as null, which is not allowed when using ReadInto methods."); - - int itemsLoaded = 0; - - var collection = (ICollection)obj; - - // Iterate through each item in the collection and try to load it. - foreach(var item in collection) - { - itemsLoaded++; - - if(!reader.StartReadCollectionItem()) - break; - - reader.ReadInto(item, elementType); - - // If we find a ']', we reached the end of the array. - if(reader.EndReadCollectionItem()) - break; - // If there's still items to load, but we've reached the end of the collection we're loading into, throw an error. - if(itemsLoaded == collection.Count) - throw new IndexOutOfRangeException("The collection we are loading is longer than the collection provided as a parameter."); - } - - // If we loaded fewer items than the parameter collection, throw index out of range exception. - if(itemsLoaded != collection.Count) - throw new IndexOutOfRangeException("The collection we are loading is shorter than the collection provided as a parameter."); - - reader.EndReadCollection(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3QueueType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3QueueType.cs.meta deleted file mode 100644 index 98238b8ae..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3QueueType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0832bfdeae2dc410db8d4963332335c7 -timeCreated: 1519132279 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3StackType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3StackType.cs deleted file mode 100644 index 17a266883..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3StackType.cs +++ /dev/null @@ -1,147 +0,0 @@ -using System; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3StackType : ES3CollectionType - { - public ES3StackType(Type type) : base(type){} - - public override void Write(object obj, ES3Writer writer, ES3.ReferenceMode memberReferenceMode) - { - var list = (ICollection)obj; - - if(elementType == null) - throw new ArgumentNullException("ES3Type argument cannot be null."); - - //writer.StartWriteCollection(); - - int i = 0; - foreach(object item in list) - { - writer.StartWriteCollectionItem(i); - writer.Write(item, elementType, memberReferenceMode); - writer.EndWriteCollectionItem(i); - i++; - } - - //writer.EndWriteCollection(); - } - - public override object Read(ES3Reader reader) - { - return Read(reader); - /*if(reader.StartReadCollection()) - return null; - - var stack = new Stack(); - - // Iterate through each character until we reach the end of the array. - while(true) - { - if(!reader.StartReadCollectionItem()) - break; - stack.Push(reader.Read(elementType)); - if(reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - return stack;*/ - } - - public override void ReadInto(ES3Reader reader, object obj) - { - if(reader.StartReadCollection()) - throw new NullReferenceException("The Collection we are trying to load is stored as null, which is not allowed when using ReadInto methods."); - - int itemsLoaded = 0; - - var stack = (Stack)obj; - - // Iterate through each item in the collection and try to load it. - foreach(var item in stack) - { - itemsLoaded++; - - if(!reader.StartReadCollectionItem()) - break; - - reader.ReadInto(item, elementType); - - // If we find a ']', we reached the end of the array. - if(reader.EndReadCollectionItem()) - break; - // If there's still items to load, but we've reached the end of the collection we're loading into, throw an error. - if(itemsLoaded == stack.Count) - throw new IndexOutOfRangeException("The collection we are loading is longer than the collection provided as a parameter."); - } - - // If we loaded fewer items than the parameter collection, throw index out of range exception. - if(itemsLoaded != stack.Count) - throw new IndexOutOfRangeException("The collection we are loading is shorter than the collection provided as a parameter."); - - reader.EndReadCollection(); - } - - public override object Read(ES3Reader reader) - { - var instance = (IList)ES3Reflection.CreateInstance(ES3Reflection.MakeGenericType(typeof(List<>), elementType.type)); - - if(reader.StartReadCollection()) - return null; - - // Iterate through each character until we reach the end of the array. - while(true) - { - if(!reader.StartReadCollectionItem()) - break; - instance.Add(reader.Read(elementType)); - - if(reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - - return ES3Reflection.CreateInstance(type, instance); - } - - public override void ReadInto(ES3Reader reader, object obj) - { - if(reader.StartReadCollection()) - throw new NullReferenceException("The Collection we are trying to load is stored as null, which is not allowed when using ReadInto methods."); - - int itemsLoaded = 0; - - var collection = (ICollection)obj; - - // Iterate through each item in the collection and try to load it. - foreach(var item in collection) - { - itemsLoaded++; - - if(!reader.StartReadCollectionItem()) - break; - - reader.ReadInto(item, elementType); - - // If we find a ']', we reached the end of the array. - if(reader.EndReadCollectionItem()) - break; - // If there's still items to load, but we've reached the end of the collection we're loading into, throw an error. - if(itemsLoaded == collection.Count) - throw new IndexOutOfRangeException("The collection we are loading is longer than the collection provided as a parameter."); - } - - // If we loaded fewer items than the parameter collection, throw index out of range exception. - if(itemsLoaded != collection.Count) - throw new IndexOutOfRangeException("The collection we are loading is shorter than the collection provided as a parameter."); - - reader.EndReadCollection(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3StackType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3StackType.cs.meta deleted file mode 100644 index 549bb641f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Collection Types/ES3StackType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 45a74cb7ab3d648208c9f89b7be930a7 -timeCreated: 1519132284 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ComponentType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ComponentType.cs deleted file mode 100644 index acc4534a5..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ComponentType.cs +++ /dev/null @@ -1,137 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public abstract class ES3ComponentType : ES3UnityObjectType - { - public ES3ComponentType(Type type) : base(type) { } - - protected abstract void WriteComponent(object obj, ES3Writer writer); - protected abstract void ReadComponent(ES3Reader reader, object obj); - - protected const string gameObjectPropertyName = "goID"; - - protected override void WriteUnityObject(object obj, ES3Writer writer) - { - var instance = obj as Component; - if (obj != null && instance == null) - throw new ArgumentException("Only types of UnityEngine.Component can be written with this method, but argument given is type of " + obj.GetType()); - - var refMgr = ES3ReferenceMgrBase.Current; - - if (refMgr != null) - { - // Write the reference of the GameObject so we know what one to attach it to. - writer.WriteProperty(gameObjectPropertyName, refMgr.Add(instance.gameObject).ToString(), ES3Type_string.Instance); - } - WriteComponent(instance, writer); - } - - protected override void ReadUnityObject(ES3Reader reader, object obj) - { - ReadComponent(reader, obj); - } - - protected override object ReadUnityObject(ES3Reader reader) - { - throw new NotImplementedException(); - } - - /* - * It's IMPORTANT that we override ReadObject in ES3UnityObjectType rather than use ReadUnityObject because otherwise the first IF statement will never be called, - * and we will never get the reference ID for the Component we're loading, so if we create a new Component we cannot assign it's correct reference ID. - */ - protected override object ReadObject(ES3Reader reader) - { - var refMgr = ES3ReferenceMgrBase.Current; - long id = -1; - UnityEngine.Object instance = null; - - foreach (string propertyName in reader.Properties) - { - if (propertyName == ES3ReferenceMgrBase.referencePropertyName) - { - id = reader.Read_ref(); - instance = refMgr.Get(id, true); - - /*if (instance != null) - break;*/ - } - else if (propertyName == gameObjectPropertyName) - { - long goID = reader.Read_ref(); - var go = (GameObject)refMgr.Get(goID, type); - - if (go == null) - { - go = new GameObject("Easy Save 3 Loaded GameObject"); -#if UNITY_EDITOR - go.AddComponent().SetMessage("This GameObject was created because Easy Save could not find a GameObject in the scene with the same instance ID as the GameObject the Component we are loading is attached to.\nTo prevent this from being created, use the LoadInto methods to tell Easy Save what Component the data should be loaded in to."); -#endif - refMgr.Add(go, goID); - } - instance = GetOrAddComponent(go, type); - refMgr.Add(instance, id); - break; - } - else - { - reader.overridePropertiesName = propertyName; - if (instance == null) - { - var go = new GameObject("Easy Save 3 Loaded GameObject"); -#if UNITY_EDITOR - go.AddComponent().SetMessage("This GameObject was created because Easy Save could not find a GameObject in the scene with the same instance ID as the GameObject the Component we are loading is attached to.\nTo prevent this from being created, use the LoadInto methods to tell Easy Save what Component the data should be loaded in to."); -#endif - instance = GetOrAddComponent(go, type); - refMgr.Add(instance, id); - refMgr.Add(go); - } - break; - } - } - ReadComponent(reader, instance); - return instance; - } - - private static Component GetOrAddComponent(GameObject go, Type type) - { - var c = go.GetComponent(type); - if (c != null) - return c; - return go.AddComponent(type); - - /*if (type == typeof(Transform)) - return go.GetComponent(type); - // Manage types which can only have a single Component attached. - else if (type == typeof(MeshFilter) || type.Name.ToString().Contains("Renderer") || ES3Reflection.AttributeIsDefined(type, typeof(DisallowMultipleComponent))) - return GetOrCreateComponentIfNotExists(go, type); - return go.AddComponent(type);*/ - } - - public static Component CreateComponent(Type type) - { - GameObject go = new GameObject("Easy Save 3 Loaded Component"); -#if UNITY_EDITOR - // If we're running in the Editor, add a description explaining why this object was created. - go.AddComponent().SetMessage("This GameObject was created because Easy Save tried to load a Component with an instance ID which does not exist in this scene.\nTo prevent this from being created, use the LoadInto methods to tell Easy Save what Component the data should be loaded in to.\nThis can also happen if you load a class which references another object, but that object has not yet been loaded. In this case, you should load the object the class references before loading the class."); -#endif - if (type == typeof(Transform)) - return go.GetComponent(type); - return GetOrAddComponent(go, type); - } - - // Creates a Component if one doesn't exist, or returns the existing instance. - /*public static Component GetOrCreateComponentIfNotExists(GameObject go, Type type) - { - Component mf; - if ((mf = go.GetComponent(type)) != null) - return mf; - return go.AddComponent(type); - }*/ - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ComponentType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ComponentType.cs.meta deleted file mode 100644 index c7ba4023f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ComponentType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6d82e3d10b49c4028bca528611e53210 -timeCreated: 1499764822 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ObjectType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ObjectType.cs deleted file mode 100644 index 0e4be414d..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ObjectType.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public abstract class ES3ObjectType : ES3Type - { - public ES3ObjectType(Type type) : base(type) {} - - protected abstract void WriteObject(object obj, ES3Writer writer); - protected abstract object ReadObject(ES3Reader reader); - - protected virtual void ReadObject(ES3Reader reader, object obj) - { - throw new NotSupportedException("ReadInto is not supported for type "+type); - } - - public override void Write(object obj, ES3Writer writer) - { - if (!WriteUsingDerivedType(obj, writer)) - { - var baseType = ES3Reflection.BaseType(obj.GetType()); - if (baseType != typeof(object)) - { - var es3Type = ES3TypeMgr.GetOrCreateES3Type(baseType); - // If it's a Dictionary, we need to write it as a field with a property name. - if (es3Type.isDictionary || es3Type.isCollection) - writer.WriteProperty("_Values", obj, es3Type); - } - - WriteObject(obj, writer); - } - } - - public override object Read(ES3Reader reader) - { - string propertyName; - while(true) - { - propertyName = ReadPropertyName(reader); - - if(propertyName == ES3Type.typeFieldName) - return ES3TypeMgr.GetOrCreateES3Type(reader.ReadType()).Read(reader); - else if(propertyName == null) - return null; - else - { - reader.overridePropertiesName = propertyName; - - return ReadObject(reader); - } - } - } - - public override void ReadInto(ES3Reader reader, object obj) - { - string propertyName; - while(true) - { - propertyName = ReadPropertyName(reader); - - if(propertyName == ES3Type.typeFieldName) - { - ES3TypeMgr.GetOrCreateES3Type(reader.ReadType()).ReadInto(reader, obj); - return; - } - // This is important we return if the enumerator returns null, otherwise we will encounter an endless cycle. - else if (propertyName == null) - return; - else - { - reader.overridePropertiesName = propertyName; - ReadObject(reader, obj); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ObjectType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ObjectType.cs.meta deleted file mode 100644 index fd73df36f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ObjectType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 2becffd8c9d4e4e0db6031d9680eae48 -timeCreated: 1499764821 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3Property.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3Property.cs deleted file mode 100644 index 26e6369d6..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3Property.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.ComponentModel; - -namespace ES3Internal -{ - public class ES3Member - { - public string name; - public Type type; - public bool isProperty; - public ES3Reflection.ES3ReflectedMember reflectedMember; - public bool useReflection = false; - - public ES3Member(string name, Type type, bool isProperty) - { - this.name = name; - this.type = type; - this.isProperty = isProperty; - } - - public ES3Member(ES3Reflection.ES3ReflectedMember reflectedMember) - { - this.reflectedMember = reflectedMember; - this.name = reflectedMember.Name; - this.type = reflectedMember.MemberType; - this.isProperty = reflectedMember.isProperty; - this.useReflection = true; - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3Property.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3Property.cs.meta deleted file mode 100644 index f3f82e009..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3Property.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b987e63c8e10f448c8364eaceddd96e5 -timeCreated: 1519132295 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ScriptableObjectType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ScriptableObjectType.cs deleted file mode 100644 index 52140f7a9..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ScriptableObjectType.cs +++ /dev/null @@ -1,73 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public abstract class ES3ScriptableObjectType : ES3UnityObjectType - { - public ES3ScriptableObjectType(Type type) : base(type) {} - - protected abstract void WriteScriptableObject(object obj, ES3Writer writer); - protected abstract void ReadScriptableObject(ES3Reader reader, object obj); - - protected override void WriteUnityObject(object obj, ES3Writer writer) - { - var instance = obj as ScriptableObject; - if(obj != null && instance == null) - throw new ArgumentException("Only types of UnityEngine.ScriptableObject can be written with this method, but argument given is type of "+obj.GetType()); - - // If this object is in the instance manager, store it's instance ID with it. - var refMgr = ES3ReferenceMgrBase.Current; - if(refMgr != null) - writer.WriteRef(instance); - WriteScriptableObject(instance, writer); - } - - protected override void ReadUnityObject(ES3Reader reader, object obj) - { - ReadScriptableObject(reader, obj); - } - - protected override object ReadUnityObject(ES3Reader reader) - { - throw new NotImplementedException(); - } - - - protected override object ReadObject(ES3Reader reader) - { - var refMgr = ES3ReferenceMgrBase.Current; - long id = -1; - UnityEngine.Object instance = null; - - foreach(string propertyName in reader.Properties) - { - if(propertyName == ES3ReferenceMgrBase.referencePropertyName && refMgr != null) - { - id = reader.Read_ref(); - instance = refMgr.Get(id, type); - - if (instance != null) - break; - } - else - { - reader.overridePropertiesName = propertyName; - if(instance == null) - { - instance = ScriptableObject.CreateInstance(type); - if(refMgr != null) - refMgr.Add(instance, id); - } - break; - } - } - - ReadScriptableObject(reader, instance); - return instance; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ScriptableObjectType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ScriptableObjectType.cs.meta deleted file mode 100644 index f3d9c7be8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3ScriptableObjectType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a26529496f04146959460074ab1a9b3f -timeCreated: 1519132293 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs deleted file mode 100644 index 1e2450595..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3Type.cs +++ /dev/null @@ -1,189 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; -using System.Linq; - -namespace ES3Types -{ - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - [UnityEngine.Scripting.Preserve] - public abstract class ES3Type - { - public const string typeFieldName = "__type"; - - public ES3Member[] members; - public Type type; - public bool isPrimitive = false; - public bool isValueType = false; - public bool isCollection = false; - public bool isDictionary = false; - public bool isES3TypeUnityObject = false; - public bool isReflectedType = false; - public bool isUnsupported = false; - public int priority = 0; - - protected ES3Type(Type type) - { - ES3TypeMgr.Add(type, this); - this.type = type; - this.isValueType = ES3Reflection.IsValueType(type); - } - - public abstract void Write(object obj, ES3Writer writer); - public abstract object Read(ES3Reader reader); - - public virtual void ReadInto(ES3Reader reader, object obj) - { - throw new NotImplementedException("Self-assigning Read is not implemented or supported on this type."); - } - - protected bool WriteUsingDerivedType(object obj, ES3Writer writer) - { - var objType = obj.GetType(); - - if(objType != this.type) - { - writer.WriteType(objType); - ES3TypeMgr.GetOrCreateES3Type(objType).Write(obj, writer); - return true; - } - return false; - } - - protected void ReadUsingDerivedType(ES3Reader reader, object obj) - { - ES3TypeMgr.GetOrCreateES3Type(reader.ReadType()).ReadInto(reader, obj); - } - - internal string ReadPropertyName(ES3Reader reader) - { - if(reader.overridePropertiesName != null) - { - string propertyName = reader.overridePropertiesName; - reader.overridePropertiesName = null; - return propertyName; - } - return reader.ReadPropertyName(); - } - - #region Reflection Methods - - protected void WriteProperties(object obj, ES3Writer writer) - { - if(members == null) - GetMembers(writer.settings.safeReflection); - for(int i=0; i(reader); - foreach (DictionaryEntry kvp in loaded) - dict[kvp.Key] = kvp.Value; - } - else if(baseType.isCollection) - { - var loaded = (IEnumerable)baseType.Read(reader); - - var type = baseType.GetType(); - - if (type == typeof(ES3ListType)) - foreach (var item in loaded) - ((IList)obj).Add(item); - else if (type == typeof(ES3QueueType)) - { - var method = baseType.type.GetMethod("Enqueue"); - foreach (var item in loaded) - method.Invoke(obj, new object[] { item }); - } - else if (type == typeof(ES3StackType)) - { - var method = baseType.type.GetMethod("Push"); - foreach (var item in loaded) - method.Invoke(obj, new object[] { item }); - } - else if (type == typeof(ES3HashSetType)) - { - var method = baseType.type.GetMethod("Add"); - foreach (var item in loaded) - method.Invoke(obj, new object[] { item }); - } - } - } - - if (property == null) - reader.Skip(); - else - { - var type = ES3TypeMgr.GetOrCreateES3Type(property.type); - - if(ES3Reflection.IsAssignableFrom(typeof(ES3DictionaryType), type.GetType())) - property.reflectedMember.SetValue(obj, ((ES3DictionaryType)type).Read(reader)); - else if(ES3Reflection.IsAssignableFrom(typeof(ES3CollectionType), type.GetType())) - property.reflectedMember.SetValue(obj, ((ES3CollectionType)type).Read(reader)); - else - { - object readObj = reader.Read(type); - property.reflectedMember.SetValue(obj, readObj); - } - } - } - return obj; - } - - protected void GetMembers(bool safe) - { - GetMembers(safe, null); - } - - protected void GetMembers(bool safe, string[] memberNames) - { - var serializedMembers = ES3Reflection.GetSerializableMembers(type, safe, memberNames); - members = new ES3Member[serializedMembers.Length]; - for(int i=0; i types = null; - - // We cache the last accessed type as we quite often use the same type multiple times, - // so this improves performance as another lookup is not required. - private static ES3Type lastAccessedType = null; - - public static ES3Type GetOrCreateES3Type(Type type, bool throwException = true) - { - if(types == null) - Init(); - - if (type != typeof(object) && lastAccessedType != null && lastAccessedType.type == type) - return lastAccessedType; - - // If type doesn't exist, create one. - if(types.TryGetValue(type, out lastAccessedType)) - return lastAccessedType; - return (lastAccessedType = CreateES3Type(type, throwException)); - } - - public static ES3Type GetES3Type(Type type) - { - if(types == null) - Init(); - - if(types.TryGetValue(type, out lastAccessedType)) - return lastAccessedType; - return null; - } - - internal static void Add(Type type, ES3Type es3Type) - { - if(types == null) - Init(); - - var existingType = GetES3Type(type); - if (existingType != null && existingType.priority > es3Type.priority) - return; - - lock (_lock) - { - types[type] = es3Type; - } - } - - internal static ES3Type CreateES3Type(Type type, bool throwException = true) - { - ES3Type es3Type; - - if(ES3Reflection.IsEnum(type)) - return new ES3Type_enum(type); - else if(ES3Reflection.TypeIsArray(type)) - { - int rank = ES3Reflection.GetArrayRank(type); - if(rank == 1) - es3Type = new ES3ArrayType(type); - else if(rank == 2) - es3Type = new ES32DArrayType(type); - else if(rank == 3) - es3Type = new ES33DArrayType(type); - else if(throwException) - throw new NotSupportedException("Only arrays with up to three dimensions are supported by Easy Save."); - else - return null; - } - else if(ES3Reflection.IsGenericType(type) && ES3Reflection.ImplementsInterface(type, typeof(IEnumerable))) - { - Type genericType = ES3Reflection.GetGenericTypeDefinition(type); - if(genericType == typeof(List<>)) - es3Type = new ES3ListType(type); - else if(genericType == typeof(Dictionary<,>)) - es3Type = new ES3DictionaryType(type); - else if(genericType == typeof(Queue<>)) - es3Type = new ES3QueueType(type); - else if(genericType == typeof(Stack<>)) - es3Type = new ES3StackType(type); - else if(genericType == typeof(HashSet<>)) - es3Type = new ES3HashSetType(type); - else if(throwException) - throw new NotSupportedException("Generic type \""+type.ToString()+"\" is not supported by Easy Save."); - else - return null; - } - else if(ES3Reflection.IsPrimitive(type)) // ERROR: We should not have to create an ES3Type for a primitive. - { - if(types == null || types.Count == 0) // If the type list is not initialised, it is most likely an initialisation error. - throw new TypeLoadException("ES3Type for primitive could not be found, and the type list is empty. Please contact Easy Save developers at http://www.moodkie.com/contact"); - else // Else it's a different error, possibly an error in the specific ES3Type for that type. - throw new TypeLoadException("ES3Type for primitive could not be found, but the type list has been initialised and is not empty. Please contact Easy Save developers on mail@moodkie.com"); - } - else - { - if(ES3Reflection.IsAssignableFrom(typeof(Component), type)) - es3Type = new ES3ReflectedComponentType(type); - else if(ES3Reflection.IsValueType(type)) - es3Type = new ES3ReflectedValueType(type); - else if(ES3Reflection.IsAssignableFrom(typeof(ScriptableObject), type)) - es3Type = new ES3ReflectedScriptableObjectType(type); - else if(ES3Reflection.HasParameterlessConstructor(type) || ES3Reflection.IsAbstract(type) || ES3Reflection.IsInterface(type)) - es3Type = new ES3ReflectedObjectType(type); - else if(throwException) - throw new NotSupportedException("Type of "+type+" is not supported as it does not have a parameterless constructor. Only value types, Components or ScriptableObjects are supportable without a parameterless constructor. However, you may be able to create an ES3Type script to add support for it."); - else - return null; - } - - if(es3Type.type == null || es3Type.isUnsupported) - { - if(throwException) - throw new NotSupportedException(string.Format("ES3Type.type is null when trying to create an ES3Type for {0}, possibly because the element type is not supported.", type)); - return null; - } - - Add(type, es3Type); - return es3Type; - } - - internal static void Init() - { - lock (_lock) - { - types = new Dictionary(); - // ES3Types add themselves to the types Dictionary. - ES3Reflection.GetInstances(); - - // Check that the type list was initialised correctly. - if (types == null || types.Count == 0) - throw new TypeLoadException("Type list could not be initialised. Please contact Easy Save developers on mail@moodkie.com."); - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs.meta deleted file mode 100644 index 3b697d69a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3TypeMgr.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ed6202a98cbc545a0842c63cf8894b99 -timeCreated: 1499764823 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3UnityObjectType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3UnityObjectType.cs deleted file mode 100644 index 1e7cdb85b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3UnityObjectType.cs +++ /dev/null @@ -1,121 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public abstract class ES3UnityObjectType : ES3ObjectType - { - public ES3UnityObjectType(Type type) : base(type) - { - this.isValueType = false; - isES3TypeUnityObject = true; - } - - protected abstract void WriteUnityObject(object obj, ES3Writer writer); - protected abstract void ReadUnityObject(ES3Reader reader, object obj); - protected abstract object ReadUnityObject(ES3Reader reader); - - protected override void WriteObject(object obj, ES3Writer writer) - { - WriteObject(obj, writer, ES3.ReferenceMode.ByRefAndValue); - } - - public virtual void WriteObject(object obj, ES3Writer writer, ES3.ReferenceMode mode) - { - if(WriteUsingDerivedType(obj, writer, mode)) - return; - - var instance = obj as UnityEngine.Object; - if(obj != null && instance == null) - throw new ArgumentException("Only types of UnityEngine.Object can be written with this method, but argument given is type of "+obj.GetType()); - - // If this object is in the instance manager, store it's instance ID with it. - var refMgr = ES3ReferenceMgrBase.Current; - if(mode != ES3.ReferenceMode.ByValue) - { - if(refMgr == null) - throw new InvalidOperationException("An Easy Save 3 Manager is required to load references. To add one to your scene, exit playmode and go to Assets > Easy Save 3 > Add Manager to Scene"); - writer.WriteRef(instance); - if(mode == ES3.ReferenceMode.ByRef) - return; - } - WriteUnityObject(instance, writer); - } - - protected override void ReadObject(ES3Reader reader, object obj) - { - var refMgr = ES3ReferenceMgrBase.Current; - if (refMgr != null) - { - foreach (string propertyName in reader.Properties) - { - if (propertyName == ES3ReferenceMgrBase.referencePropertyName) - // If the object we're loading into isn't registered with the reference manager, register it. - refMgr.Add((UnityEngine.Object)obj, reader.Read_ref()); - else - { - reader.overridePropertiesName = propertyName; - break; - } - } - } - ReadUnityObject(reader, obj); - } - - protected override object ReadObject(ES3Reader reader) - { - var refMgr = ES3ReferenceMgrBase.Current; - if(refMgr == null) - return ReadUnityObject(reader); - - long id = -1; - UnityEngine.Object instance = null; - - foreach(string propertyName in reader.Properties) - { - if(propertyName == ES3ReferenceMgrBase.referencePropertyName) - { - if(refMgr == null) - throw new InvalidOperationException("An Easy Save 3 Manager is required to load references. To add one to your scene, exit playmode and go to Assets > Easy Save 3 > Add Manager to Scene"); - id = reader.Read_ref(); - instance = refMgr.Get(id, type); - - if(instance != null) - break; - } - else - { - reader.overridePropertiesName = propertyName; - if(instance == null) - return ReadUnityObject(reader); - break; - } - } - - ReadUnityObject(reader, instance); - return instance; - } - - protected bool WriteUsingDerivedType(object obj, ES3Writer writer, ES3.ReferenceMode mode) - { - var objType = obj.GetType(); - - if (objType != this.type) - { - writer.WriteType(objType); - - var es3Type = ES3TypeMgr.GetOrCreateES3Type(objType); - if (es3Type is ES3UnityObjectType) - ((ES3UnityObjectType)es3Type).WriteObject(obj, writer, mode); - else - es3Type.Write(obj, writer); - - return true; - } - return false; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3UnityObjectType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/ES3UnityObjectType.cs.meta deleted file mode 100644 index ac4d02947..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/ES3UnityObjectType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6206e73d6e9414301b5475296e1103a2 -timeCreated: 1519132286 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/NET Types.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/NET Types.meta deleted file mode 100644 index f2de0321b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/NET Types.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 01ada09c8494e744a87f6e4bc52f3235 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/NET Types/ES3Type_Random.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/NET Types/ES3Type_Random.cs deleted file mode 100644 index f56fcdb0b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/NET Types/ES3Type_Random.cs +++ /dev/null @@ -1,64 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("inext", "inextp", "SeedArray")] - public class ES3Type_Random : ES3ObjectType - { - public static ES3Type Instance = null; - - public ES3Type_Random() : base(typeof(System.Random)){ Instance = this; } - - protected override void WriteObject(object obj, ES3Writer writer) - { - var instance = (System.Random)obj; - - writer.WritePrivateField("inext", instance); - writer.WritePrivateField("inextp", instance); - writer.WritePrivateField("SeedArray", instance); - } - - protected override void ReadObject(ES3Reader reader, object obj) - { - var instance = (System.Random)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "inext": - reader.SetPrivateField("inext", reader.Read(), instance); - break; - case "inextp": - reader.SetPrivateField("inextp", reader.Read(), instance); - break; - case "SeedArray": - reader.SetPrivateField("SeedArray", reader.Read(), instance); - break; - default: - reader.Skip(); - break; - } - } - } - - protected override object ReadObject(ES3Reader reader) - { - var instance = new System.Random(); - ReadObject(reader, instance); - return instance; - } - } - - public class ES3Type_RandomArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_RandomArray() : base(typeof(System.Random[]), ES3Type_Random.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/NET Types/ES3Type_Random.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/NET Types/ES3Type_Random.cs.meta deleted file mode 100644 index a207ee352..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/NET Types/ES3Type_Random.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 84232cc4cb5a646249f6ebe5eeee1e97 -timeCreated: 1538210707 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types.meta deleted file mode 100644 index ec25ae607..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 045cb4c329b0141ea8d3acd96dff32c2 -folderAsset: yes -timeCreated: 1499764821 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_DateTime.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_DateTime.cs deleted file mode 100644 index 0dbd8eb0d..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_DateTime.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_DateTime : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_DateTime() : base(typeof(DateTime)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WriteProperty("ticks", ((DateTime)obj).Ticks, ES3Type_long.Instance); - } - - public override object Read(ES3Reader reader) - { - reader.ReadPropertyName(); - return new DateTime(reader.Read(ES3Type_long.Instance)); - } - } - - public class ES3Type_DateTimeArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_DateTimeArray() : base(typeof(DateTime[]), ES3Type_DateTime.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_DateTime.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_DateTime.cs.meta deleted file mode 100644 index ed6ed0a5a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_DateTime.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9c9737ff78c714548af339e220b90303 -timeCreated: 1519132292 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ES3Ref.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ES3Ref.cs deleted file mode 100644 index d7ab56c0f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ES3Ref.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using System.Collections.Generic; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_ES3Ref : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_ES3Ref() : base(typeof(long)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive(((long)obj).ToString()); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)new ES3Ref(reader.Read_ref()); - } - } - - public class ES3Type_ES3RefArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_ES3RefArray() : base(typeof(ES3Ref[]), ES3Type_ES3Ref.Instance) - { - Instance = this; - } - } - - public class ES3Type_ES3RefDictionary : ES3DictionaryType - { - public static ES3Type Instance; - - public ES3Type_ES3RefDictionary() : base(typeof(Dictionary), ES3Type_ES3Ref.Instance, ES3Type_ES3Ref.Instance) - { - Instance = this; - } - } -} - -public class ES3Ref -{ - public long id; - public ES3Ref(long id) - { - this.id = id; - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ES3Ref.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ES3Ref.cs.meta deleted file mode 100644 index a88c0e057..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ES3Ref.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ab1dd0b4209f2c144ad424236e639426 -timeCreated: 1519132294 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_UIntPtr.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_UIntPtr.cs deleted file mode 100644 index 05e8b494c..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_UIntPtr.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_UIntPtr : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_UIntPtr() : base(typeof(UIntPtr)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((ulong)obj); - } - - public override object Read(ES3Reader reader) - { - return (object)reader.Read_ulong(); - } - } - - public class ES3Type_UIntPtrArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_UIntPtrArray() : base(typeof(UIntPtr[]), ES3Type_UIntPtr.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_UIntPtr.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_UIntPtr.cs.meta deleted file mode 100644 index e1a3ccb92..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_UIntPtr.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6fe9eb4dc6fa54989a516115e34602df -timeCreated: 1519132288 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_bool.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_bool.cs deleted file mode 100644 index 3a4dd535f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_bool.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_bool : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_bool() : base(typeof(bool)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((bool)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_bool(); - } - } - - public class ES3Type_boolArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_boolArray() : base(typeof(bool[]), ES3Type_bool.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_bool.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_bool.cs.meta deleted file mode 100644 index 81ea5f7c0..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_bool.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6fa779d8184f649f897074ba540ab1f9 -timeCreated: 1519132288 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byte.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byte.cs deleted file mode 100644 index 00504ff09..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byte.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_byte : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_byte() : base(typeof(byte)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((byte)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_byte(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byte.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byte.cs.meta deleted file mode 100644 index d72b28082..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byte.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0c6f8718240d84f40a9d4b3ac41b3398 -timeCreated: 1519132280 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byteArray.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byteArray.cs deleted file mode 100644 index 6ea34b3ac..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byteArray.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_byteArray : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_byteArray() : base(typeof(byte[])) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((byte[])obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_byteArray(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byteArray.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byteArray.cs.meta deleted file mode 100644 index 614f5dc7d..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_byteArray.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 59bd4a4624c4a4082bb3b8333a399ee2 -timeCreated: 1519132286 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_char.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_char.cs deleted file mode 100644 index 47c7466d7..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_char.cs +++ /dev/null @@ -1,33 +0,0 @@ -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_char : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_char() : base(typeof(char)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((char)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_char(); - } - } - public class ES3Type_charArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_charArray() : base(typeof(char[]), ES3Type_char.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_char.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_char.cs.meta deleted file mode 100644 index 4e5cc821b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_char.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: fdc3981e5018244468c97a2bbcbb610a -timeCreated: 1519132301 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_decimal.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_decimal.cs deleted file mode 100644 index 50e9428c3..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_decimal.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_decimal : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_decimal() : base(typeof(decimal)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((decimal)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_decimal(); - } - } - - public class ES3Type_decimalArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_decimalArray() : base(typeof(decimal[]), ES3Type_decimal.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_decimal.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_decimal.cs.meta deleted file mode 100644 index 78ea5c771..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_decimal.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 030f062403dc345f78476442992e3c9c -timeCreated: 1519132279 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_double.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_double.cs deleted file mode 100644 index 6ca2dd3d2..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_double.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_double : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_double() : base(typeof(double)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((double)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_double(); - } - } - - public class ES3Type_doubleArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_doubleArray() : base(typeof(double[]), ES3Type_double.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_double.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_double.cs.meta deleted file mode 100644 index 5ccb756f1..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_double.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c445261bbbfc24045863aa3c2c097a73 -timeCreated: 1519132296 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_enum.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_enum.cs deleted file mode 100644 index 3ca9eac15..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_enum.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_enum : ES3Type - { - public static ES3Type Instance = null; - private Type underlyingType = null; - - public ES3Type_enum(Type type) : base(type) - { - isPrimitive = true; - Instance = this; - underlyingType = Enum.GetUnderlyingType(type); - } - - public override void Write(object obj, ES3Writer writer) - { - if(underlyingType == typeof(int)) writer.WritePrimitive((int)obj); - else if(underlyingType == typeof(bool)) writer.WritePrimitive((bool)obj); - else if(underlyingType == typeof(byte)) writer.WritePrimitive((byte)obj); - else if(underlyingType == typeof(char)) writer.WritePrimitive((char)obj); - else if(underlyingType == typeof(decimal)) writer.WritePrimitive((decimal)obj); - else if(underlyingType == typeof(double)) writer.WritePrimitive((double)obj); - else if(underlyingType == typeof(float)) writer.WritePrimitive((float)obj); - else if(underlyingType == typeof(long)) writer.WritePrimitive((long)obj); - else if(underlyingType == typeof(sbyte)) writer.WritePrimitive((sbyte)obj); - else if(underlyingType == typeof(short)) writer.WritePrimitive((short)obj); - else if(underlyingType == typeof(uint)) writer.WritePrimitive((uint)obj); - else if(underlyingType == typeof(ulong)) writer.WritePrimitive((ulong)obj); - else if(underlyingType == typeof(ushort)) writer.WritePrimitive((ushort)obj); - else - throw new System.InvalidCastException("The underlying type " + underlyingType + " of Enum "+type+" is not supported"); - - } - - public override object Read(ES3Reader reader) - { - if(underlyingType == typeof(int)) return Enum.ToObject (type, reader.Read_int()); - else if(underlyingType == typeof(bool)) return Enum.ToObject (type, reader.Read_bool()); - else if(underlyingType == typeof(byte)) return Enum.ToObject (type, reader.Read_byte()); - else if(underlyingType == typeof(char)) return Enum.ToObject (type, reader.Read_char()); - else if(underlyingType == typeof(decimal)) return Enum.ToObject (type, reader.Read_decimal()); - else if(underlyingType == typeof(double)) return Enum.ToObject (type, reader.Read_double()); - else if(underlyingType == typeof(float)) return Enum.ToObject (type, reader.Read_float()); - else if(underlyingType == typeof(long)) return Enum.ToObject (type, reader.Read_long()); - else if(underlyingType == typeof(sbyte)) return Enum.ToObject (type, reader.Read_sbyte()); - else if(underlyingType == typeof(short)) return Enum.ToObject (type, reader.Read_short()); - else if(underlyingType == typeof(uint)) return Enum.ToObject (type, reader.Read_uint()); - else if(underlyingType == typeof(ulong)) return Enum.ToObject (type, reader.Read_ulong()); - else if(underlyingType == typeof(ushort)) return Enum.ToObject (type, reader.Read_ushort()); - else - throw new System.InvalidCastException("The underlying type " + underlyingType + " of Enum "+type+" is not supported"); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_enum.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_enum.cs.meta deleted file mode 100644 index 822eee480..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_enum.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0bc176cf7e9c84850b4ead41131e66af -timeCreated: 1519132280 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_float.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_float.cs deleted file mode 100644 index 220485d2b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_float.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_float : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_float() : base(typeof(float)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((float)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_float(); - } - } - - public class ES3Type_floatArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_floatArray() : base(typeof(float[]), ES3Type_float.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_float.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_float.cs.meta deleted file mode 100644 index a27a1f6b1..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_float.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f40643b43129b41ff9143c8a23741391 -timeCreated: 1519132300 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_int.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_int.cs deleted file mode 100644 index 6061fac75..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_int.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_int : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_int() : base(typeof(int)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((int)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_int(); - } - } - - public class ES3Type_intArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_intArray() : base(typeof(int[]), ES3Type_int.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_int.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_int.cs.meta deleted file mode 100644 index 53a2beb35..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_int.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 13efdffd9de75437f8eb6d09e595e70d -timeCreated: 1519132280 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_intptr.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_intptr.cs deleted file mode 100644 index f2bd8dccb..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_intptr.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_IntPtr : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_IntPtr() : base(typeof(IntPtr)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((long)(IntPtr)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)(IntPtr)reader.Read_long(); - } - } - - public class ES3Type_IntPtrArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_IntPtrArray() : base(typeof(IntPtr[]), ES3Type_IntPtr.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_intptr.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_intptr.cs.meta deleted file mode 100644 index 09cb3a153..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_intptr.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8fe212a329d2d46a482270d9a93d704f -timeCreated: 1519132291 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_long.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_long.cs deleted file mode 100644 index df2271aed..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_long.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_long : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_long() : base(typeof(long)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((long)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_long(); - } - } - - public class ES3Type_longArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_longArray() : base(typeof(long[]), ES3Type_long.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_long.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_long.cs.meta deleted file mode 100644 index 792ad5ea5..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_long.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b534e98b9d5dc4219978a5aada0d11b0 -timeCreated: 1519132294 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_sbyte.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_sbyte.cs deleted file mode 100644 index 3e8f21001..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_sbyte.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_sbyte : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_sbyte() : base(typeof(sbyte)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((sbyte)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_sbyte(); - } - } - - public class ES3Type_sbyteArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_sbyteArray() : base(typeof(sbyte[]), ES3Type_sbyte.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_sbyte.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_sbyte.cs.meta deleted file mode 100644 index 383ec7597..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_sbyte.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 5aaea33736cb64165b06b21ccffb4dde -timeCreated: 1519132286 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_short.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_short.cs deleted file mode 100644 index 391c72ae6..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_short.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_short : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_short() : base(typeof(short)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((short)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_short(); - } - } - - public class ES3Type_shortArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_shortArray() : base(typeof(short[]), ES3Type_short.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_short.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_short.cs.meta deleted file mode 100644 index 808874678..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_short.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 62ef5aa170d8444eb9613f6733dace9c -timeCreated: 1519132286 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_string.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_string.cs deleted file mode 100644 index ef8d15952..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_string.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_string : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_string() : base(typeof(string)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((string)obj); - } - - public override object Read(ES3Reader reader) - { - return reader.Read_string(); - } - } - - public class ES3Type_StringArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_StringArray() : base(typeof(string[]), ES3Type_string.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_string.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_string.cs.meta deleted file mode 100644 index 5c5034692..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_string.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 138987e042d4e4283a967a0958ab0a52 -timeCreated: 1519132280 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_uint.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_uint.cs deleted file mode 100644 index 854f5c8a8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_uint.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_uint : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_uint() : base(typeof(uint)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((uint)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_uint(); - } - } - - public class ES3Type_uintArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_uintArray() : base(typeof(uint[]), ES3Type_uint.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_uint.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_uint.cs.meta deleted file mode 100644 index 4c9fcc291..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_uint.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 2c39c4f1168884e94b9e7e6087affd2d -timeCreated: 1519132282 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ulong.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ulong.cs deleted file mode 100644 index d18b69282..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ulong.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_ulong : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_ulong() : base(typeof(ulong)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((ulong)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_ulong(); - } - } - - public class ES3Type_ulongArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_ulongArray() : base(typeof(ulong[]), ES3Type_ulong.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ulong.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ulong.cs.meta deleted file mode 100644 index 2e8f548c4..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ulong.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f25dca3f336094cababceb772c7e390b -timeCreated: 1519132300 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ushort.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ushort.cs deleted file mode 100644 index 11c9e8ed9..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ushort.cs +++ /dev/null @@ -1,37 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_ushort : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_ushort() : base(typeof(ushort)) - { - isPrimitive = true; - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - writer.WritePrimitive((ushort)obj); - } - - public override object Read(ES3Reader reader) - { - return (T)(object)reader.Read_ushort(); - } - } - - public class ES3Type_ushortArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_ushortArray() : base(typeof(ushort[]), ES3Type_ushort.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ushort.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ushort.cs.meta deleted file mode 100644 index 37c6b4ef2..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Primitive Types/ES3Type_ushort.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 33d86db06b1954996a48d38a75c76dd9 -timeCreated: 1519132282 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types.meta deleted file mode 100644 index cdc6e252e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 4082e405acc0345388494ffa52b63839 -folderAsset: yes -timeCreated: 1499764821 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedComponentType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedComponentType.cs deleted file mode 100644 index 4d87a9f43..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedComponentType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - internal class ES3ReflectedComponentType : ES3ComponentType - { - public ES3ReflectedComponentType(Type type) : base(type) - { - isReflectedType = true; - GetMembers(true); - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - WriteProperties(obj, writer); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - ReadProperties(reader, obj); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedComponentType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedComponentType.cs.meta deleted file mode 100644 index 9a624022e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedComponentType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 2b125647af96a4b5494ca82d1da9a9e6 -timeCreated: 1499764821 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedObjectType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedObjectType.cs deleted file mode 100644 index 275a22662..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedObjectType.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - internal class ES3ReflectedObjectType : ES3ObjectType - { - public ES3ReflectedObjectType(Type type) : base(type) - { - isReflectedType = true; - GetMembers(true); - } - - protected override void WriteObject(object obj, ES3Writer writer) - { - WriteProperties(obj, writer); - - } - - protected override object ReadObject(ES3Reader reader) - { - var obj = ES3Reflection.CreateInstance(this.type); - ReadProperties(reader, obj); - return obj; - } - - protected override void ReadObject(ES3Reader reader, object obj) - { - ReadProperties(reader, obj); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedObjectType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedObjectType.cs.meta deleted file mode 100644 index 99d776ed5..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedObjectType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: d239970ac781b4079bda34e2999dc775 -timeCreated: 1519132297 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs deleted file mode 100644 index b53b487cd..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - internal class ES3ReflectedScriptableObjectType : ES3ScriptableObjectType - { - public ES3ReflectedScriptableObjectType(Type type) : base(type) - { - isReflectedType = true; - GetMembers(true); - } - - protected override void WriteScriptableObject(object obj, ES3Writer writer) - { - WriteProperties(obj, writer); - } - - protected override void ReadScriptableObject(ES3Reader reader, object obj) - { - ReadProperties(reader, obj); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs.meta deleted file mode 100644 index 45d74330e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedScriptableObjectType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: dd9e88c6e3735412ab2033c284212528 -timeCreated: 1519132298 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedType.cs deleted file mode 100644 index b195113b4..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedType.cs +++ /dev/null @@ -1,119 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - internal class ES3ReflectedType : ES3Type - { - public ES3ReflectedType(Type type) : base(type) - { - isReflectedType = true; - } - - // Constructs a reflected ES3Type, only serializing members which are in the provided members array. - public ES3ReflectedType(Type type, string[] members) : this(type) - { - GetMembers(false, members); - } - - public override void Write(object obj, ES3Writer writer) - { - // Manage NULL values. - if(obj == null){writer.WriteNull(); return;}; - - UnityEngine.Object unityObj = obj as UnityEngine.Object; - bool isUnityEngineObject = (unityObj != null); - - // If this is a derived type, write the type as a property and use it's specific ES3Type. - var objType = obj.GetType(); - if(objType != this.type) - { - writer.WriteType(objType); - ES3TypeMgr.GetOrCreateES3Type(objType).Write(obj, writer); - return; - } - - if(isUnityEngineObject) - writer.WriteRef(unityObj); - - if(members == null) - GetMembers(writer.settings.safeReflection); - for(int i=0; i(ES3Reader reader) - { - if(members == null) - GetMembers(reader.settings.safeReflection); - - object obj; - string propertyName = reader.ReadPropertyName(); - - // If we're loading a derived type, use it's specific ES3Type. - if(propertyName == ES3Type.typeFieldName) - return ES3TypeMgr.GetOrCreateES3Type(reader.ReadType()).Read(reader); - - // If we're loading a reference, load it. Else, create an instance. - if(propertyName == ES3ReferenceMgrBase.referencePropertyName) - { - long id = reader.Read_ref(); - obj = ES3ReferenceMgrBase.Current.Get(id, type); - if(obj == null) - { - // If an instance isn't already registered for this object, create an instance and register the reference. - obj = ES3Reflection.CreateInstance(this.type); - ES3ReferenceMgrBase.Current.Add((UnityEngine.Object)obj, id); - } - } - else - { - reader.overridePropertiesName = propertyName; - obj = ES3Reflection.CreateInstance(this.type); - } - - // Iterate through each property in the file and try to load it using the appropriate - // ES3Property in the members array. - ReadProperties(reader, obj); - - return obj; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - if(members == null) - GetMembers(reader.settings.safeReflection); - - string propertyName = reader.ReadPropertyName(); - - // If we're loading a derived type, use it's specific ES3Type. - if(propertyName == ES3Type.typeFieldName) - { - ES3TypeMgr.GetOrCreateES3Type(reader.ReadType()).ReadInto(reader, obj); - return; - } - else - reader.overridePropertiesName = propertyName; - - // Iterate through each property in the file and try to load it using the appropriate - // ES3Property in the members array. - ReadProperties(reader, obj); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedType.cs.meta deleted file mode 100644 index 3a91f091e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: d859cda1b74634568a53487bd1651001 -timeCreated: 1499764823 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedUnityObjectType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedUnityObjectType.cs deleted file mode 100644 index 946a2f11a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedUnityObjectType.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - internal class ES3ReflectedUnityObjectType : ES3UnityObjectType - { - public ES3ReflectedUnityObjectType(Type type) : base(type) - { - isReflectedType = true; - GetMembers(true); - } - - protected override void WriteUnityObject(object obj, ES3Writer writer) - { - WriteProperties(obj, writer); - } - - protected override object ReadUnityObject(ES3Reader reader) - { - var obj = ES3Reflection.CreateInstance(this.type); - ReadProperties(reader, obj); - return obj; - } - - protected override void ReadUnityObject(ES3Reader reader, object obj) - { - ReadProperties(reader, obj); - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedUnityObjectType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedUnityObjectType.cs.meta deleted file mode 100644 index c9d58892e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedUnityObjectType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f8c48527c8cb247f1be391e0ca112968 -timeCreated: 1519132301 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedValueType.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedValueType.cs deleted file mode 100644 index 0af9af9b5..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedValueType.cs +++ /dev/null @@ -1,38 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - internal class ES3ReflectedValueType : ES3Type - { - public ES3ReflectedValueType(Type type) : base(type) - { - isReflectedType = true; - GetMembers(true); - } - - public override void Write(object obj, ES3Writer writer) - { - WriteProperties(obj, writer); - } - - public override object Read(ES3Reader reader) - { - var obj = ES3Reflection.CreateInstance(this.type); - - if(obj == null) - throw new NotSupportedException("Cannot create an instance of "+this.type+". However, you may be able to add support for it using a custom ES3Type file. For more information see: http://docs.moodkie.com/easy-save-3/es3-guides/controlling-serialization-using-es3types/"); - // Make sure we return the result of ReadProperties as properties aren't assigned by reference. - return ReadProperties(reader, obj); - } - - public override void ReadInto(ES3Reader reader, object obj) - { - throw new NotSupportedException("Cannot perform self-assigning load on a value type."); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedValueType.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedValueType.cs.meta deleted file mode 100644 index 20999100e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Reflected Types/ES3ReflectedValueType.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f8bc4124377914b60b46b243480f0eb5 -timeCreated: 1519132301 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types.meta deleted file mode 100644 index 738916380..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: a14e00d7328764c16803c1a5f854286b -folderAsset: yes -timeCreated: 1499764821 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types.meta deleted file mode 100644 index 4873446d0..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 96e5384a630b34a90a22b84d95f3dac9 -folderAsset: yes -timeCreated: 1499764821 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider.cs deleted file mode 100644 index fc6253d57..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("center", "size", "enabled", "isTrigger", "contactOffset", "sharedMaterial")] - public class ES3Type_BoxCollider : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_BoxCollider() : base(typeof(UnityEngine.BoxCollider)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.BoxCollider)obj; - - writer.WriteProperty("center", instance.center); - writer.WriteProperty("size", instance.size); - writer.WriteProperty("enabled", instance.enabled); - writer.WriteProperty("isTrigger", instance.isTrigger); - writer.WriteProperty("contactOffset", instance.contactOffset); - writer.WritePropertyByRef("material", instance.sharedMaterial); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.BoxCollider)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "center": - instance.center = reader.Read(); - break; - case "size": - instance.size = reader.Read(); - break; - case "enabled": - instance.enabled = reader.Read(); - break; - case "isTrigger": - instance.isTrigger = reader.Read(); - break; - case "contactOffset": - instance.contactOffset = reader.Read(); - break; - case "material": - instance.sharedMaterial = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider.cs.meta deleted file mode 100644 index a45de6673..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: d36ea4342de4546b198eea1405516979 -timeCreated: 1519132297 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider2D.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider2D.cs deleted file mode 100644 index 2d42dc4e0..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider2D.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("size", "density", "isTrigger", "usedByEffector", "offset", "sharedMaterial", "enabled")] - public class ES3Type_BoxCollider2D : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_BoxCollider2D() : base(typeof(UnityEngine.BoxCollider2D)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.BoxCollider2D)obj; - - writer.WriteProperty("size", instance.size); - if(instance.attachedRigidbody != null && instance.attachedRigidbody.useAutoMass) - writer.WriteProperty("density", instance.density); - writer.WriteProperty("isTrigger", instance.isTrigger); - writer.WriteProperty("usedByEffector", instance.usedByEffector); - writer.WriteProperty("offset", instance.offset); - writer.WritePropertyByRef("sharedMaterial", instance.sharedMaterial); - writer.WriteProperty("enabled", instance.enabled); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.BoxCollider2D)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "size": - instance.size = reader.Read(); - break; - case "density": - instance.density = reader.Read(); - break; - case "isTrigger": - instance.isTrigger = reader.Read(); - break; - case "usedByEffector": - instance.usedByEffector = reader.Read(); - break; - case "offset": - instance.offset = reader.Read(); - break; - case "sharedMaterial": - instance.sharedMaterial = reader.Read(); - break; - case "enabled": - instance.enabled = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider2D.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider2D.cs.meta deleted file mode 100644 index 0795afc69..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_BoxCollider2D.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8ae32677f95cd4f2ba1c34db2a065c9c -timeCreated: 1519132290 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Camera.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Camera.cs deleted file mode 100644 index 3db142bf3..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Camera.cs +++ /dev/null @@ -1,165 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("fieldOfView", "nearClipPlane", "farClipPlane", "renderingPath", "allowHDR", "orthographicSize", "orthographic", "opaqueSortMode", "transparencySortMode", "depth", "aspect", "cullingMask", "eventMask", "backgroundColor", "rect", "pixelRect", "worldToCameraMatrix", "projectionMatrix", "nonJitteredProjectionMatrix", "useJitteredProjectionMatrixForTransparentRendering", "clearFlags", "stereoSeparation", "stereoConvergence", "cameraType", "stereoTargetEye", "targetDisplay", "useOcclusionCulling", "cullingMatrix", "layerCullSpherical", "depthTextureMode", "clearStencilAfterLightingPass", "enabled", "hideFlags")] - public class ES3Type_Camera : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_Camera() : base(typeof(UnityEngine.Camera)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Camera)obj; - - writer.WriteProperty("fieldOfView", instance.fieldOfView); - writer.WriteProperty("nearClipPlane", instance.nearClipPlane); - writer.WriteProperty("farClipPlane", instance.farClipPlane); - writer.WriteProperty("renderingPath", instance.renderingPath); - #if UNITY_5_6_OR_NEWER - writer.WriteProperty("allowHDR", instance.allowHDR); - #endif - writer.WriteProperty("orthographicSize", instance.orthographicSize); - writer.WriteProperty("orthographic", instance.orthographic); - writer.WriteProperty("opaqueSortMode", instance.opaqueSortMode); - writer.WriteProperty("transparencySortMode", instance.transparencySortMode); - writer.WriteProperty("depth", instance.depth); - writer.WriteProperty("aspect", instance.aspect); - writer.WriteProperty("cullingMask", instance.cullingMask); - writer.WriteProperty("eventMask", instance.eventMask); - writer.WriteProperty("backgroundColor", instance.backgroundColor); - writer.WriteProperty("rect", instance.rect); - writer.WriteProperty("pixelRect", instance.pixelRect); - writer.WriteProperty("projectionMatrix", instance.projectionMatrix); - writer.WriteProperty("nonJitteredProjectionMatrix", instance.nonJitteredProjectionMatrix); - writer.WriteProperty("useJitteredProjectionMatrixForTransparentRendering", instance.useJitteredProjectionMatrixForTransparentRendering); - writer.WriteProperty("clearFlags", instance.clearFlags); - writer.WriteProperty("stereoSeparation", instance.stereoSeparation); - writer.WriteProperty("stereoConvergence", instance.stereoConvergence); - writer.WriteProperty("cameraType", instance.cameraType); - writer.WriteProperty("stereoTargetEye", instance.stereoTargetEye); - writer.WriteProperty("targetDisplay", instance.targetDisplay); - writer.WriteProperty("useOcclusionCulling", instance.useOcclusionCulling); - writer.WriteProperty("layerCullSpherical", instance.layerCullSpherical); - writer.WriteProperty("depthTextureMode", instance.depthTextureMode); - writer.WriteProperty("clearStencilAfterLightingPass", instance.clearStencilAfterLightingPass); - writer.WriteProperty("enabled", instance.enabled); - writer.WriteProperty("hideFlags", instance.hideFlags); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.Camera)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "fieldOfView": - instance.fieldOfView = reader.Read(); - break; - case "nearClipPlane": - instance.nearClipPlane = reader.Read(); - break; - case "farClipPlane": - instance.farClipPlane = reader.Read(); - break; - case "renderingPath": - instance.renderingPath = reader.Read(); - break; - #if UNITY_5_6_OR_NEWER - case "allowHDR": - instance.allowHDR = reader.Read(); - break; - #endif - case "orthographicSize": - instance.orthographicSize = reader.Read(); - break; - case "orthographic": - instance.orthographic = reader.Read(); - break; - case "opaqueSortMode": - instance.opaqueSortMode = reader.Read(); - break; - case "transparencySortMode": - instance.transparencySortMode = reader.Read(); - break; - case "depth": - instance.depth = reader.Read(); - break; - case "aspect": - instance.aspect = reader.Read(); - break; - case "cullingMask": - instance.cullingMask = reader.Read(); - break; - case "eventMask": - instance.eventMask = reader.Read(); - break; - case "backgroundColor": - instance.backgroundColor = reader.Read(); - break; - case "rect": - instance.rect = reader.Read(); - break; - case "pixelRect": - instance.pixelRect = reader.Read(); - break; - case "projectionMatrix": - instance.projectionMatrix = reader.Read(); - break; - case "nonJitteredProjectionMatrix": - instance.nonJitteredProjectionMatrix = reader.Read(); - break; - case "useJitteredProjectionMatrixForTransparentRendering": - instance.useJitteredProjectionMatrixForTransparentRendering = reader.Read(); - break; - case "clearFlags": - instance.clearFlags = reader.Read(); - break; - case "stereoSeparation": - instance.stereoSeparation = reader.Read(); - break; - case "stereoConvergence": - instance.stereoConvergence = reader.Read(); - break; - case "cameraType": - instance.cameraType = reader.Read(); - break; - case "stereoTargetEye": - instance.stereoTargetEye = reader.Read(); - break; - case "targetDisplay": - instance.targetDisplay = reader.Read(); - break; - case "useOcclusionCulling": - instance.useOcclusionCulling = reader.Read(); - break; - case "layerCullSpherical": - instance.layerCullSpherical = reader.Read(); - break; - case "depthTextureMode": - instance.depthTextureMode = reader.Read(); - break; - case "clearStencilAfterLightingPass": - instance.clearStencilAfterLightingPass = reader.Read(); - break; - case "enabled": - instance.enabled = reader.Read(); - break; - case "hideFlags": - instance.hideFlags = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Camera.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Camera.cs.meta deleted file mode 100644 index 2d367aa34..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Camera.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c88c1ce73e1f3462ea1aff5df7935e22 -timeCreated: 1499764822 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_CapsuleCollider.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_CapsuleCollider.cs deleted file mode 100644 index be4733ece..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_CapsuleCollider.cs +++ /dev/null @@ -1,69 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("center", "radius", "height", "direction", "enabled", "isTrigger", "contactOffset", "sharedMaterial")] - public class ES3Type_CapsuleCollider : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_CapsuleCollider() : base(typeof(UnityEngine.CapsuleCollider)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.CapsuleCollider)obj; - - writer.WriteProperty("center", instance.center, ES3Type_Vector3.Instance); - writer.WriteProperty("radius", instance.radius, ES3Type_float.Instance); - writer.WriteProperty("height", instance.height, ES3Type_float.Instance); - writer.WriteProperty("direction", instance.direction, ES3Type_int.Instance); - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("isTrigger", instance.isTrigger, ES3Type_bool.Instance); - writer.WriteProperty("contactOffset", instance.contactOffset, ES3Type_float.Instance); - writer.WritePropertyByRef("material", instance.sharedMaterial); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.CapsuleCollider)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - case "center": - instance.center = reader.Read(ES3Type_Vector3.Instance); - break; - case "radius": - instance.radius = reader.Read(ES3Type_float.Instance); - break; - case "height": - instance.height = reader.Read(ES3Type_float.Instance); - break; - case "direction": - instance.direction = reader.Read(ES3Type_int.Instance); - break; - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "isTrigger": - instance.isTrigger = reader.Read(ES3Type_bool.Instance); - break; - case "contactOffset": - instance.contactOffset = reader.Read(ES3Type_float.Instance); - break; - case "material": - instance.sharedMaterial = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_CapsuleCollider.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_CapsuleCollider.cs.meta deleted file mode 100644 index f4c88e0e6..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_CapsuleCollider.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c523bafd506f04c85b160320b0b6d9dd -timeCreated: 1519132296 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_EventSystem.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_EventSystem.cs deleted file mode 100644 index 51a469e9a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_EventSystem.cs +++ /dev/null @@ -1,27 +0,0 @@ -using System; -using UnityEngine; -using UnityEngine.EventSystems; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - public class ES3Type_EventSystem : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_EventSystem() : base(typeof(EventSystem)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - foreach(string propertyName in reader.Properties) - reader.Skip(); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_EventSystem.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_EventSystem.cs.meta deleted file mode 100644 index d90172016..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_EventSystem.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 02df167b6b77741308bfc8110dae71dd -timeCreated: 1519132279 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Image.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Image.cs deleted file mode 100644 index abce89424..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Image.cs +++ /dev/null @@ -1,136 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("sprite", "overrideSprite", "type", "preserveAspect", "fillCenter", "fillMethod", "fillAmount", "fillClockwise", "fillOrigin", "alphaHitTestMinimumThreshold", "useSpriteMesh", "pixelsPerUnitMultiplier", "material", "onCullStateChanged", "maskable", "color", "raycastTarget", "useLegacyMeshGeneration", "useGUILayout", "enabled", "hideFlags")] - public class ES3Type_Image : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_Image() : base(typeof(UnityEngine.UI.Image)){ Instance = this; priority = 1;} - - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.UI.Image)obj; - - writer.WritePropertyByRef("sprite", instance.sprite); - writer.WritePropertyByRef("overrideSprite", instance.overrideSprite); - writer.WriteProperty("type", instance.type); - writer.WriteProperty("preserveAspect", instance.preserveAspect, ES3Type_bool.Instance); - writer.WriteProperty("fillCenter", instance.fillCenter, ES3Type_bool.Instance); - writer.WriteProperty("fillMethod", instance.fillMethod); - writer.WriteProperty("fillAmount", instance.fillAmount, ES3Type_float.Instance); - writer.WriteProperty("fillClockwise", instance.fillClockwise, ES3Type_bool.Instance); - writer.WriteProperty("fillOrigin", instance.fillOrigin, ES3Type_int.Instance); - writer.WriteProperty("alphaHitTestMinimumThreshold", instance.alphaHitTestMinimumThreshold, ES3Type_float.Instance); -#if UNITY_2019_1_OR_NEWER - writer.WriteProperty("useSpriteMesh", instance.useSpriteMesh, ES3Type_bool.Instance); -#endif - // Unity automatically sets the default material if it's set to null. - // This prevents missing reference warnings. - if (instance.material.name.Contains("Default")) - writer.WriteProperty("material", null); - else - writer.WriteProperty("material", instance.material); - writer.WriteProperty("onCullStateChanged", instance.onCullStateChanged); - writer.WriteProperty("maskable", instance.maskable, ES3Type_bool.Instance); - writer.WriteProperty("color", instance.color, ES3Type_Color.Instance); - writer.WriteProperty("raycastTarget", instance.raycastTarget, ES3Type_bool.Instance); - writer.WritePrivateProperty("useLegacyMeshGeneration", instance); - writer.WriteProperty("useGUILayout", instance.useGUILayout, ES3Type_bool.Instance); - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("hideFlags", instance.hideFlags, ES3Type_enum.Instance); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.UI.Image)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "sprite": - instance.sprite = reader.Read(ES3Type_Sprite.Instance); - break; - case "overrideSprite": - instance.overrideSprite = reader.Read(ES3Type_Sprite.Instance); - break; - case "type": - instance.type = reader.Read(); - break; - case "preserveAspect": - instance.preserveAspect = reader.Read(ES3Type_bool.Instance); - break; - case "fillCenter": - instance.fillCenter = reader.Read(ES3Type_bool.Instance); - break; - case "fillMethod": - instance.fillMethod = reader.Read(); - break; - case "fillAmount": - instance.fillAmount = reader.Read(ES3Type_float.Instance); - break; - case "fillClockwise": - instance.fillClockwise = reader.Read(ES3Type_bool.Instance); - break; - case "fillOrigin": - instance.fillOrigin = reader.Read(ES3Type_int.Instance); - break; - case "alphaHitTestMinimumThreshold": - instance.alphaHitTestMinimumThreshold = reader.Read(ES3Type_float.Instance); - break; -#if UNITY_2019_1_OR_NEWER - case "useSpriteMesh": - instance.useSpriteMesh = reader.Read(ES3Type_bool.Instance); - break; -#endif - case "material": - instance.material = reader.Read(ES3Type_Material.Instance); - break; - case "onCullStateChanged": - instance.onCullStateChanged = reader.Read(); - break; - case "maskable": - instance.maskable = reader.Read(ES3Type_bool.Instance); - break; - case "color": - instance.color = reader.Read(ES3Type_Color.Instance); - break; - case "raycastTarget": - instance.raycastTarget = reader.Read(ES3Type_bool.Instance); - break; - case "useLegacyMeshGeneration": - reader.SetPrivateProperty("useLegacyMeshGeneration", reader.Read(), instance); - break; - case "useGUILayout": - instance.useGUILayout = reader.Read(ES3Type_bool.Instance); - break; - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "hideFlags": - instance.hideFlags = reader.Read(ES3Type_enum.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } - - - public class ES3Type_ImageArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_ImageArray() : base(typeof(UnityEngine.UI.Image[]), ES3Type_Image.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Image.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Image.cs.meta deleted file mode 100644 index 0b131786b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Image.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 044e538602955694c90bc8b86d487ac5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshCollider.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshCollider.cs deleted file mode 100644 index 917c439ef..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshCollider.cs +++ /dev/null @@ -1,80 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("sharedMesh", "convex", "inflateMesh", "skinWidth", "enabled", "isTrigger", "contactOffset", "sharedMaterial")] - public class ES3Type_MeshCollider : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_MeshCollider() : base(typeof(UnityEngine.MeshCollider)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.MeshCollider)obj; - - writer.WritePropertyByRef("sharedMesh", instance.sharedMesh); - writer.WriteProperty("convex", instance.convex, ES3Type_bool.Instance); - /*writer.WriteProperty("inflateMesh", instance.inflateMesh, ES3Type_bool.Instance); - writer.WriteProperty("skinWidth", instance.skinWidth, ES3Type_float.Instance);*/ - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("isTrigger", instance.isTrigger, ES3Type_bool.Instance); - writer.WriteProperty("contactOffset", instance.contactOffset, ES3Type_float.Instance); - writer.WriteProperty("material", instance.sharedMaterial); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.MeshCollider)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "sharedMesh": - instance.sharedMesh = reader.Read(ES3Type_Mesh.Instance); - break; - case "convex": - instance.convex = reader.Read(ES3Type_bool.Instance); - break; - /*case "inflateMesh": - instance.inflateMesh = reader.Read(ES3Type_bool.Instance); - break; - case "skinWidth": - instance.skinWidth = reader.Read(ES3Type_float.Instance); - break;*/ - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "isTrigger": - instance.isTrigger = reader.Read(ES3Type_bool.Instance); - break; - case "contactOffset": - instance.contactOffset = reader.Read(ES3Type_float.Instance); - break; - case "material": - instance.sharedMaterial = reader.Read(ES3Type_PhysicMaterial.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } - - public class ES3Type_MeshColliderArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_MeshColliderArray() : base(typeof(UnityEngine.MeshCollider[]), ES3Type_MeshCollider.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshCollider.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshCollider.cs.meta deleted file mode 100644 index dfb148f59..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshCollider.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b7825b483b5804bcb95a1a47cb287500 -timeCreated: 1519132294 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshFilter.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshFilter.cs deleted file mode 100644 index b7a28a2d1..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshFilter.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("sharedMesh")] - public class ES3Type_MeshFilter : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_MeshFilter() : base(typeof(UnityEngine.MeshFilter)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.MeshFilter)obj; - writer.WritePropertyByRef("sharedMesh", instance.sharedMesh); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.MeshFilter)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "sharedMesh": - instance.sharedMesh = reader.Read(ES3Type_Mesh.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } - - public class ES3Type_MeshFilterArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_MeshFilterArray() : base(typeof(UnityEngine.MeshFilter[]), ES3Type_MeshFilter.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshFilter.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshFilter.cs.meta deleted file mode 100644 index 9a22df1c2..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshFilter.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 00364532a712841328836c36da833503 -timeCreated: 1519132279 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshRenderer.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshRenderer.cs deleted file mode 100644 index d8b87a934..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshRenderer.cs +++ /dev/null @@ -1,116 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("additionalVertexStreams", "enabled", "shadowCastingMode", "receiveShadows", "sharedMaterials", "lightmapIndex", "realtimeLightmapIndex", "lightmapScaleOffset", "motionVectorGenerationMode", "realtimeLightmapScaleOffset", "lightProbeUsage", "lightProbeProxyVolumeOverride", "probeAnchor", "reflectionProbeUsage", "sortingLayerName", "sortingLayerID", "sortingOrder")] - public class ES3Type_MeshRenderer : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_MeshRenderer() : base(typeof(UnityEngine.MeshRenderer)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.MeshRenderer)obj; - - writer.WriteProperty("additionalVertexStreams", instance.additionalVertexStreams, ES3Type_Mesh.Instance); - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("shadowCastingMode", instance.shadowCastingMode); - writer.WriteProperty("receiveShadows", instance.receiveShadows, ES3Type_bool.Instance); - writer.WriteProperty("sharedMaterials", instance.sharedMaterials, ES3Type_MaterialArray.Instance); - writer.WriteProperty("lightmapIndex", instance.lightmapIndex, ES3Type_int.Instance); - writer.WriteProperty("realtimeLightmapIndex", instance.realtimeLightmapIndex, ES3Type_int.Instance); - writer.WriteProperty("lightmapScaleOffset", instance.lightmapScaleOffset, ES3Type_Vector4.Instance); - writer.WriteProperty("motionVectorGenerationMode", instance.motionVectorGenerationMode); - writer.WriteProperty("realtimeLightmapScaleOffset", instance.realtimeLightmapScaleOffset, ES3Type_Vector4.Instance); - writer.WriteProperty("lightProbeUsage", instance.lightProbeUsage); - writer.WriteProperty("lightProbeProxyVolumeOverride", instance.lightProbeProxyVolumeOverride); - writer.WriteProperty("probeAnchor", instance.probeAnchor, ES3Type_Transform.Instance); - writer.WriteProperty("reflectionProbeUsage", instance.reflectionProbeUsage); - writer.WriteProperty("sortingLayerName", instance.sortingLayerName, ES3Type_string.Instance); - writer.WriteProperty("sortingLayerID", instance.sortingLayerID, ES3Type_int.Instance); - writer.WriteProperty("sortingOrder", instance.sortingOrder, ES3Type_int.Instance); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.MeshRenderer)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "additionalVertexStreams": - instance.additionalVertexStreams = reader.Read(ES3Type_Mesh.Instance); - break; - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "shadowCastingMode": - instance.shadowCastingMode = reader.Read(); - break; - case "receiveShadows": - instance.receiveShadows = reader.Read(ES3Type_bool.Instance); - break; - case "sharedMaterials": - instance.sharedMaterials = reader.Read(); - break; - case "lightmapIndex": - instance.lightmapIndex = reader.Read(ES3Type_int.Instance); - break; - case "realtimeLightmapIndex": - instance.realtimeLightmapIndex = reader.Read(ES3Type_int.Instance); - break; - case "lightmapScaleOffset": - instance.lightmapScaleOffset = reader.Read(ES3Type_Vector4.Instance); - break; - case "motionVectorGenerationMode": - instance.motionVectorGenerationMode = reader.Read(); - break; - case "realtimeLightmapScaleOffset": - instance.realtimeLightmapScaleOffset = reader.Read(ES3Type_Vector4.Instance); - break; - case "lightProbeUsage": - instance.lightProbeUsage = reader.Read(); - break; - case "lightProbeProxyVolumeOverride": - instance.lightProbeProxyVolumeOverride = reader.Read(ES3Type_GameObject.Instance); - break; - case "probeAnchor": - instance.probeAnchor = reader.Read(ES3Type_Transform.Instance); - break; - case "reflectionProbeUsage": - instance.reflectionProbeUsage = reader.Read(); - break; - case "sortingLayerName": - instance.sortingLayerName = reader.Read(ES3Type_string.Instance); - break; - case "sortingLayerID": - instance.sortingLayerID = reader.Read(ES3Type_int.Instance); - break; - case "sortingOrder": - instance.sortingOrder = reader.Read(ES3Type_int.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } - - public class ES3Type_MeshRendererArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_MeshRendererArray() : base(typeof(UnityEngine.MeshRenderer[]), ES3Type_MeshRenderer.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshRenderer.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshRenderer.cs.meta deleted file mode 100644 index 72771620a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_MeshRenderer.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: d33e88a8388cf4cf1b47495afc6722a7 -timeCreated: 1519132297 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_ParticleSystem.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_ParticleSystem.cs deleted file mode 100644 index e8978f9bf..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_ParticleSystem.cs +++ /dev/null @@ -1,140 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("time", "hideFlags", "collision", "colorBySpeed", "colorOverLifetime", "emission", "externalForces", "forceOverLifetime", "inheritVelocity", - "lights", "limitVelocityOverLifetime", "main", "noise", "rotatonBySpeed", "rotationOverLifetime", "shape", "sizeBySpeed", "sizeOverLifetime", - "subEmitters", "textureSheetAnimation", "trails", "trigger", "useAutoRandomSeed", "velocityOverLifetime", "isPaused", "isPlaying", "isStopped")] - public class ES3Type_ParticleSystem : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_ParticleSystem() : base(typeof(UnityEngine.ParticleSystem)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem)obj; - - writer.WriteProperty("time", instance.time); - writer.WriteProperty("hideFlags", instance.hideFlags); - writer.WriteProperty("collision", instance.collision); - writer.WriteProperty("colorBySpeed", instance.colorBySpeed); - writer.WriteProperty("colorOverLifetime", instance.colorOverLifetime); - writer.WriteProperty("emission", instance.emission); - writer.WriteProperty("externalForces", instance.externalForces); - writer.WriteProperty("forceOverLifetime", instance.forceOverLifetime); - writer.WriteProperty("inheritVelocity", instance.inheritVelocity); - writer.WriteProperty("lights", instance.lights); - writer.WriteProperty("limitVelocityOverLifetime", instance.limitVelocityOverLifetime); - writer.WriteProperty("main", instance.main); - writer.WriteProperty("noise", instance.noise); - writer.WriteProperty("rotationBySpeed", instance.rotationBySpeed); - writer.WriteProperty("rotationOverLifetime", instance.rotationOverLifetime); - writer.WriteProperty("shape", instance.shape); - writer.WriteProperty("sizeBySpeed", instance.sizeBySpeed); - writer.WriteProperty("sizeOverLifetime", instance.collision); - writer.WriteProperty("subEmitters", instance.subEmitters); - writer.WriteProperty("textureSheetAnimation", instance.textureSheetAnimation); - writer.WriteProperty("trails", instance.trails); - writer.WriteProperty("trigger", instance.trigger); - writer.WriteProperty("useAutoRandomSeed", instance.useAutoRandomSeed); - writer.WriteProperty("velocityOverLifetime", instance.velocityOverLifetime); - writer.WriteProperty("isPaused", instance.isPaused); - writer.WriteProperty("isPlaying", instance.isPlaying); - writer.WriteProperty("isStopped", instance.isStopped); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem)obj; - // Pause particle system as some properties require it to not be playing to be set. - instance.Pause(); - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - case "time": - instance.time = reader.Read(); - break; - case "hideFlags": - instance.hideFlags = reader.Read(); - break; - case "collision": - reader.ReadInto(instance.collision, ES3Type_CollisionModule.Instance); - break; - case "colorBySpeed": - reader.ReadInto(instance.colorBySpeed, ES3Type_ColorBySpeedModule.Instance); - break; - case "colorOverLifetime": - reader.ReadInto(instance.colorOverLifetime, ES3Type_ColorOverLifetimeModule.Instance); - break; - case "emission": - reader.ReadInto(instance.emission, ES3Type_EmissionModule.Instance); - break; - case "externalForces": - reader.ReadInto(instance.externalForces, ES3Type_ExternalForcesModule.Instance); - break; - case "forceOverLifetime": - reader.ReadInto(instance.forceOverLifetime, ES3Type_ForceOverLifetimeModule.Instance); - break; - case "inheritVelocity": - reader.ReadInto(instance.inheritVelocity, ES3Type_InheritVelocityModule.Instance); - break; - case "lights": - reader.ReadInto(instance.lights, ES3Type_LightsModule.Instance); - break; - case "limitVelocityOverLifetime": - reader.ReadInto(instance.limitVelocityOverLifetime, ES3Type_LimitVelocityOverLifetimeModule.Instance); - break; - case "main": - reader.ReadInto(instance.main, ES3Type_MainModule.Instance); - break; - case "noise": - reader.ReadInto(instance.noise, ES3Type_NoiseModule.Instance); - break; - case "rotationBySpeed": - reader.ReadInto(instance.rotationBySpeed, ES3Type_RotationBySpeedModule.Instance); - break; - case "rotationOverLifetime": - reader.ReadInto(instance.rotationOverLifetime, ES3Type_RotationOverLifetimeModule.Instance); - break; - case "subEmitters": - reader.ReadInto(instance.subEmitters, ES3Type_SubEmittersModule.Instance); - break; - case "textureSheetAnimation": - reader.ReadInto(instance.textureSheetAnimation, ES3Type_TextureSheetAnimationModule.Instance); - break; - case "trails": - reader.ReadInto(instance.trails, ES3Type_TrailModule.Instance); - break; - case "trigger": - reader.ReadInto(instance.trigger, ES3Type_TriggerModule.Instance); - break; - case "useAutoRandomSeed": - instance.useAutoRandomSeed = reader.Read(ES3Type_bool.Instance); - break; - case "velocityOverLifetime": - reader.ReadInto(instance.velocityOverLifetime, ES3Type_VelocityOverLifetimeModule.Instance); - break; - case "isPaused": - if(reader.Read(ES3Type_bool.Instance)) instance.Pause(); - break; - case "isPlaying": - if(reader.Read(ES3Type_bool.Instance)) instance.Play(); - break; - case "isStopped": - if(reader.Read(ES3Type_bool.Instance)) instance.Stop(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_ParticleSystem.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_ParticleSystem.cs.meta deleted file mode 100644 index 62abfe506..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_ParticleSystem.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9484f3e3b46ec4871977550c93381f25 -timeCreated: 1519132291 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_PolygonCollider2D.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_PolygonCollider2D.cs deleted file mode 100644 index fdc765cbb..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_PolygonCollider2D.cs +++ /dev/null @@ -1,87 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("points", "pathCount", "paths", "density", "isTrigger", "usedByEffector", "offset", "sharedMaterial", "enabled")] - public class ES3Type_PolygonCollider2D : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_PolygonCollider2D() : base(typeof(UnityEngine.PolygonCollider2D)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.PolygonCollider2D)obj; - - writer.WriteProperty("points", instance.points, ES3Type_Vector2Array.Instance); - writer.WriteProperty("pathCount", instance.pathCount, ES3Type_int.Instance); - - for(int i=0; i(ES3Reader reader, object obj) - { - var instance = (UnityEngine.PolygonCollider2D)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "points": - instance.points = reader.Read(ES3Type_Vector2Array.Instance); - break; - case "pathCount": - int pathCount = reader.Read(ES3Type_int.Instance); - for(int i=0; i(ES3Type_Vector2Array.Instance)); - break; - case "density": - instance.density = reader.Read(ES3Type_float.Instance); - break; - case "isTrigger": - instance.isTrigger = reader.Read(ES3Type_bool.Instance); - break; - case "usedByEffector": - instance.usedByEffector = reader.Read(ES3Type_bool.Instance); - break; - case "offset": - instance.offset = reader.Read(ES3Type_Vector2.Instance); - break; - case "sharedMaterial": - instance.sharedMaterial = reader.Read(ES3Type_PhysicsMaterial2D.Instance); - break; - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } - - public class ES3Type_PolygonCollider2DArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_PolygonCollider2DArray() : base(typeof(UnityEngine.PolygonCollider2D[]), ES3Type_PolygonCollider2D.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_PolygonCollider2D.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_PolygonCollider2D.cs.meta deleted file mode 100644 index 21a81430f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_PolygonCollider2D.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ec8749737dd724d6a91ac3a9c241ba17 -timeCreated: 1519132300 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_RawImage.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_RawImage.cs deleted file mode 100644 index 9a6473556..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_RawImage.cs +++ /dev/null @@ -1,96 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("texture", "uvRect", "onCullStateChanged", "maskable", "color", "raycastTarget", "useLegacyMeshGeneration", "material", "useGUILayout", "enabled", "hideFlags")] - public class ES3Type_RawImage : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_RawImage() : base(typeof(UnityEngine.UI.RawImage)){ Instance = this; priority = 1;} - - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.UI.RawImage)obj; - - writer.WritePropertyByRef("texture", instance.texture); - writer.WriteProperty("uvRect", instance.uvRect, ES3Type_Rect.Instance); - writer.WriteProperty("onCullStateChanged", instance.onCullStateChanged); - writer.WriteProperty("maskable", instance.maskable, ES3Type_bool.Instance); - writer.WriteProperty("color", instance.color, ES3Type_Color.Instance); - writer.WriteProperty("raycastTarget", instance.raycastTarget, ES3Type_bool.Instance); - writer.WritePrivateProperty("useLegacyMeshGeneration", instance); - // Unity automatically sets the default material if it's set to null. - // This prevents missing reference warnings. - if (instance.material.name.Contains("Default")) - writer.WriteProperty("material", null); - else - writer.WriteProperty("material", instance.material); - writer.WriteProperty("useGUILayout", instance.useGUILayout, ES3Type_bool.Instance); - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("hideFlags", instance.hideFlags); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.UI.RawImage)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "texture": - instance.texture = reader.Read(ES3Type_Texture.Instance); - break; - case "uvRect": - instance.uvRect = reader.Read(ES3Type_Rect.Instance); - break; - case "onCullStateChanged": - instance.onCullStateChanged = reader.Read(); - break; - case "maskable": - instance.maskable = reader.Read(ES3Type_bool.Instance); - break; - case "color": - instance.color = reader.Read(ES3Type_Color.Instance); - break; - case "raycastTarget": - instance.raycastTarget = reader.Read(ES3Type_bool.Instance); - break; - case "useLegacyMeshGeneration": - reader.SetPrivateProperty("useLegacyMeshGeneration", reader.Read(), instance); - break; - case "material": - instance.material = reader.Read(ES3Type_Material.Instance); - break; - case "useGUILayout": - instance.useGUILayout = reader.Read(ES3Type_bool.Instance); - break; - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "hideFlags": - instance.hideFlags = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } - - - public class ES3Type_RawImageArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_RawImageArray() : base(typeof(UnityEngine.UI.RawImage[]), ES3Type_RawImage.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_RawImage.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_RawImage.cs.meta deleted file mode 100644 index 3d4e161b0..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_RawImage.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d8b1e267b6439604a9854f1876a085b7 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Rigidbody.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Rigidbody.cs deleted file mode 100644 index 1fadf01a7..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Rigidbody.cs +++ /dev/null @@ -1,135 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("velocity", "angularVelocity", "drag", "angularDrag", "mass", "useGravity", "maxDepenetrationVelocity", "isKinematic", "freezeRotation", "constraints", "collisionDetectionMode", "centerOfMass", "inertiaTensorRotation", "inertiaTensor", "detectCollisions", "position", "rotation", "interpolation", "solverIterations", "sleepThreshold", "maxAngularVelocity", "solverVelocityIterations")] - public class ES3Type_Rigidbody : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_Rigidbody() : base(typeof(UnityEngine.Rigidbody)){ Instance = this; priority = 1;} - - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Rigidbody)obj; - - writer.WriteProperty("velocity", instance.linearVelocity, ES3Type_Vector3.Instance); - writer.WriteProperty("angularVelocity", instance.angularVelocity, ES3Type_Vector3.Instance); - writer.WriteProperty("drag", instance.linearDamping, ES3Type_float.Instance); - writer.WriteProperty("angularDrag", instance.angularDamping, ES3Type_float.Instance); - writer.WriteProperty("mass", instance.mass, ES3Type_float.Instance); - writer.WriteProperty("useGravity", instance.useGravity, ES3Type_bool.Instance); - writer.WriteProperty("maxDepenetrationVelocity", instance.maxDepenetrationVelocity, ES3Type_float.Instance); - writer.WriteProperty("isKinematic", instance.isKinematic, ES3Type_bool.Instance); - writer.WriteProperty("freezeRotation", instance.freezeRotation, ES3Type_bool.Instance); - writer.WriteProperty("constraints", instance.constraints); - writer.WriteProperty("collisionDetectionMode", instance.collisionDetectionMode); - writer.WriteProperty("centerOfMass", instance.centerOfMass, ES3Type_Vector3.Instance); - writer.WriteProperty("inertiaTensorRotation", instance.inertiaTensorRotation, ES3Type_Quaternion.Instance); - writer.WriteProperty("inertiaTensor", instance.inertiaTensor, ES3Type_Vector3.Instance); - writer.WriteProperty("detectCollisions", instance.detectCollisions, ES3Type_bool.Instance); - writer.WriteProperty("position", instance.position, ES3Type_Vector3.Instance); - writer.WriteProperty("rotation", instance.rotation, ES3Type_Quaternion.Instance); - writer.WriteProperty("interpolation", instance.interpolation); - writer.WriteProperty("solverIterations", instance.solverIterations, ES3Type_int.Instance); - writer.WriteProperty("sleepThreshold", instance.sleepThreshold, ES3Type_float.Instance); - writer.WriteProperty("maxAngularVelocity", instance.maxAngularVelocity, ES3Type_float.Instance); - writer.WriteProperty("solverVelocityIterations", instance.solverVelocityIterations, ES3Type_int.Instance); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.Rigidbody)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "velocity": - instance.linearVelocity = reader.Read(ES3Type_Vector3.Instance); - break; - case "angularVelocity": - instance.angularVelocity = reader.Read(ES3Type_Vector3.Instance); - break; - case "drag": - instance.linearDamping = reader.Read(ES3Type_float.Instance); - break; - case "angularDrag": - instance.angularDamping = reader.Read(ES3Type_float.Instance); - break; - case "mass": - instance.mass = reader.Read(ES3Type_float.Instance); - break; - case "useGravity": - instance.useGravity = reader.Read(ES3Type_bool.Instance); - break; - case "maxDepenetrationVelocity": - instance.maxDepenetrationVelocity = reader.Read(ES3Type_float.Instance); - break; - case "isKinematic": - instance.isKinematic = reader.Read(ES3Type_bool.Instance); - break; - case "freezeRotation": - instance.freezeRotation = reader.Read(ES3Type_bool.Instance); - break; - case "constraints": - instance.constraints = reader.Read(); - break; - case "collisionDetectionMode": - instance.collisionDetectionMode = reader.Read(); - break; - case "centerOfMass": - instance.centerOfMass = reader.Read(ES3Type_Vector3.Instance); - break; - case "inertiaTensorRotation": - instance.inertiaTensorRotation = reader.Read(ES3Type_Quaternion.Instance); - break; - case "inertiaTensor": - instance.inertiaTensor = reader.Read(ES3Type_Vector3.Instance); - break; - case "detectCollisions": - instance.detectCollisions = reader.Read(ES3Type_bool.Instance); - break; - case "position": - instance.position = reader.Read(ES3Type_Vector3.Instance); - break; - case "rotation": - instance.rotation = reader.Read(ES3Type_Quaternion.Instance); - break; - case "interpolation": - instance.interpolation = reader.Read(); - break; - case "solverIterations": - instance.solverIterations = reader.Read(ES3Type_int.Instance); - break; - case "sleepThreshold": - instance.sleepThreshold = reader.Read(ES3Type_float.Instance); - break; - case "maxAngularVelocity": - instance.maxAngularVelocity = reader.Read(ES3Type_float.Instance); - break; - case "solverVelocityIterations": - instance.solverVelocityIterations = reader.Read(ES3Type_int.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } - - - public class ES3UserType_RigidbodyArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3UserType_RigidbodyArray() : base(typeof(UnityEngine.Rigidbody[]), ES3Type_Rigidbody.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Rigidbody.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Rigidbody.cs.meta deleted file mode 100644 index 471e990f5..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Rigidbody.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 8154830c992ded745b9784a07116b1b6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_SphereCollider.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_SphereCollider.cs deleted file mode 100644 index 978c7fa3d..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_SphereCollider.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("center", "radius", "enabled", "isTrigger", "contactOffset", "sharedMaterial")] - public class ES3Type_SphereCollider : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_SphereCollider() : base(typeof(UnityEngine.SphereCollider)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.SphereCollider)obj; - - writer.WriteProperty("center", instance.center, ES3Type_Vector3.Instance); - writer.WriteProperty("radius", instance.radius, ES3Type_float.Instance); - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("isTrigger", instance.isTrigger, ES3Type_bool.Instance); - writer.WriteProperty("contactOffset", instance.contactOffset, ES3Type_float.Instance); - writer.WritePropertyByRef("material", instance.sharedMaterial); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.SphereCollider)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - case "center": - instance.center = reader.Read(ES3Type_Vector3.Instance); - break; - case "radius": - instance.radius = reader.Read(ES3Type_float.Instance); - break; - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "isTrigger": - instance.isTrigger = reader.Read(ES3Type_bool.Instance); - break; - case "contactOffset": - instance.contactOffset = reader.Read(ES3Type_float.Instance); - break; - case "material": - instance.sharedMaterial = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_SphereCollider.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_SphereCollider.cs.meta deleted file mode 100644 index c3880530b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_SphereCollider.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: bb19da8937a274e63ada528bb6215c6d -timeCreated: 1519132295 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Text.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Text.cs deleted file mode 100644 index d0ecdce37..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Text.cs +++ /dev/null @@ -1,144 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("font", "text", "supportRichText", "resizeTextForBestFit", "resizeTextMinSize", "resizeTextMaxSize", "alignment", "alignByGeometry", "fontSize", "horizontalOverflow", "verticalOverflow", "lineSpacing", "fontStyle", "onCullStateChanged", "maskable", "color", "raycastTarget", "material", "useGUILayout", "enabled", "tag", "name", "hideFlags")] - public class ES3Type_Text : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_Text() : base(typeof(UnityEngine.UI.Text)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.UI.Text)obj; - - //writer.WriteProperty("font", instance.font); - writer.WriteProperty("text", instance.text); - writer.WriteProperty("supportRichText", instance.supportRichText); - writer.WriteProperty("resizeTextForBestFit", instance.resizeTextForBestFit); - writer.WriteProperty("resizeTextMinSize", instance.resizeTextMinSize); - writer.WriteProperty("resizeTextMaxSize", instance.resizeTextMaxSize); - writer.WriteProperty("alignment", instance.alignment); - writer.WriteProperty("alignByGeometry", instance.alignByGeometry); - writer.WriteProperty("fontSize", instance.fontSize); - writer.WriteProperty("horizontalOverflow", instance.horizontalOverflow); - writer.WriteProperty("verticalOverflow", instance.verticalOverflow); - writer.WriteProperty("lineSpacing", instance.lineSpacing); - writer.WriteProperty("fontStyle", instance.fontStyle); - writer.WriteProperty("onCullStateChanged", instance.onCullStateChanged); - writer.WriteProperty("maskable", instance.maskable); - writer.WriteProperty("color", instance.color); - writer.WriteProperty("raycastTarget", instance.raycastTarget); - // Unity automatically sets the default material if it's set to null. - // This prevents missing reference warnings. - if (instance.material.name.Contains("Default")) - writer.WriteProperty("material", null); - else - writer.WriteProperty("material", instance.material); - writer.WriteProperty("useGUILayout", instance.useGUILayout); - writer.WriteProperty("enabled", instance.enabled); - writer.WriteProperty("hideFlags", instance.hideFlags); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.UI.Text)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "m_FontData": - reader.SetPrivateField("m_FontData", reader.Read(), instance); - break; - case "m_LastTrackedFont": - reader.SetPrivateField("m_LastTrackedFont", reader.Read(), instance); - break; - case "m_Text": - reader.SetPrivateField("m_Text", reader.Read(), instance); - break; - case "m_TextCache": - reader.SetPrivateField("m_TextCache", reader.Read(), instance); - break; - case "m_TextCacheForLayout": - reader.SetPrivateField("m_TextCacheForLayout", reader.Read(), instance); - break; - case "m_Material": - reader.SetPrivateField("m_Material", reader.Read(), instance); - break; - case "font": - instance.font = reader.Read(); - break; - case "text": - instance.text = reader.Read(); - break; - case "supportRichText": - instance.supportRichText = reader.Read(); - break; - case "resizeTextForBestFit": - instance.resizeTextForBestFit = reader.Read(); - break; - case "resizeTextMinSize": - instance.resizeTextMinSize = reader.Read(); - break; - case "resizeTextMaxSize": - instance.resizeTextMaxSize = reader.Read(); - break; - case "alignment": - instance.alignment = reader.Read(); - break; - case "alignByGeometry": - instance.alignByGeometry = reader.Read(); - break; - case "fontSize": - instance.fontSize = reader.Read(); - break; - case "horizontalOverflow": - instance.horizontalOverflow = reader.Read(); - break; - case "verticalOverflow": - instance.verticalOverflow = reader.Read(); - break; - case "lineSpacing": - instance.lineSpacing = reader.Read(); - break; - case "fontStyle": - instance.fontStyle = reader.Read(); - break; - case "onCullStateChanged": - instance.onCullStateChanged = reader.Read(); - break; - case "maskable": - instance.maskable = reader.Read(); - break; - case "color": - instance.color = reader.Read(); - break; - case "raycastTarget": - instance.raycastTarget = reader.Read(); - break; - case "material": - instance.material = reader.Read(); - break; - case "useGUILayout": - instance.useGUILayout = reader.Read(); - break; - case "enabled": - instance.enabled = reader.Read(); - break; - case "hideFlags": - instance.hideFlags = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Text.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Text.cs.meta deleted file mode 100644 index 83aa4f43f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Text.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 69268592921476a42b9819cd66b6ea4a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Transform.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Transform.cs deleted file mode 100644 index e179b8939..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Transform.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("localPosition","localRotation","localScale","parent")] - public class ES3Type_Transform : ES3ComponentType - { - public static int countRead = 0; - public static ES3Type Instance = null; - - public ES3Type_Transform() : base(typeof(UnityEngine.Transform)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Transform)obj; - writer.WritePropertyByRef("parent", instance.parent); - writer.WriteProperty("localPosition", instance.localPosition); - writer.WriteProperty("localRotation", instance.localRotation); - writer.WriteProperty("localScale", instance.localScale); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (Transform)obj; - - foreach(string propertyName in reader.Properties) - { - switch (propertyName) - { - case "parent": - instance.SetParent(reader.Read()); - break; - case "localPosition": - instance.localPosition = reader.Read(); - break; - case "localRotation": - instance.localRotation = reader.Read(); - break; - case "localScale": - instance.localScale = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Transform.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Transform.cs.meta deleted file mode 100644 index 92c5277e7..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/Component Types/ES3Type_Transform.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 91cb5bec8da6744608c92304a04462fd -timeCreated: 1519132291 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AnimationCurve.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AnimationCurve.cs deleted file mode 100644 index 853028d20..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AnimationCurve.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("keys", "preWrapMode", "postWrapMode")] - public class ES3Type_AnimationCurve : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_AnimationCurve() : base(typeof(UnityEngine.AnimationCurve)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.AnimationCurve)obj; - - writer.WriteProperty("keys", instance.keys, ES3Type_KeyframeArray.Instance); - writer.WriteProperty("preWrapMode", instance.preWrapMode); - writer.WriteProperty("postWrapMode", instance.postWrapMode); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.AnimationCurve(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.AnimationCurve)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "keys": - instance.keys = reader.Read(); - break; - case "preWrapMode": - instance.preWrapMode = reader.Read(); - break; - case "postWrapMode": - instance.postWrapMode = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AnimationCurve.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AnimationCurve.cs.meta deleted file mode 100644 index 4744a2697..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AnimationCurve.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 5939fcd6cf1ac4167b4320111cb9930e -timeCreated: 1519132286 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AudioClip.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AudioClip.cs deleted file mode 100644 index f2971ae04..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AudioClip.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("name", "samples", "channels", "frequency", "sampleData")] - public class ES3Type_AudioClip : ES3UnityObjectType - { - public static ES3Type Instance = null; - - public ES3Type_AudioClip() : base(typeof(UnityEngine.AudioClip)){ Instance = this; } - - protected override void WriteUnityObject(object obj, ES3Writer writer) - { - var param = (UnityEngine.AudioClip)obj; - float[] samples = new float[param.samples * param.channels]; - param.GetData(samples, 0); - writer.WriteProperty("name", param.name); - writer.WriteProperty("samples", param.samples); - writer.WriteProperty("channels", param.channels); - writer.WriteProperty("frequency", param.frequency); - writer.WriteProperty("sampleData", samples); - } - - protected override void ReadUnityObject(ES3Reader reader, object obj) - { - var clip = (AudioClip)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - case "sampleData": - clip.SetData(reader.Read(ES3Type_floatArray.Instance), 0); - break; - default: - reader.Skip(); - break; - } - } - } - - protected override object ReadUnityObject(ES3Reader reader) - { - string name = ""; - int samples = 0; - int channels = 0; - int frequency = 0; - AudioClip clip = null; - - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - case "name": - name = reader.Read(ES3Type_string.Instance); - break; - case "samples": - samples = reader.Read(ES3Type_int.Instance); - break; - case "channels": - channels = reader.Read(ES3Type_int.Instance); - break; - case "frequency": - frequency = reader.Read(ES3Type_int.Instance); - break; - case "sampleData": - clip = AudioClip.Create(name, samples, channels, frequency, false); - clip.SetData(reader.Read(ES3Type_floatArray.Instance), 0); - break; - default: - reader.Skip(); - break; - } - } - - return clip; - } - } - - public class ES3Type_AudioClipArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_AudioClipArray() : base(typeof(UnityEngine.AudioClip[]), ES3Type_AudioClip.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AudioClip.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AudioClip.cs.meta deleted file mode 100644 index 77d148d86..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_AudioClip.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9b8f97ab775644e1782f7775c54f891a -timeCreated: 1519132292 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_BoneWeight.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_BoneWeight.cs deleted file mode 100644 index ab8b8459f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_BoneWeight.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using UnityEngine; -using System.Collections.Generic; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("boneIndex0", "boneIndex1", "boneIndex2", "boneIndex3", "weight0", "weight1", "weight2", "weight3")] - public class ES3Type_BoneWeight : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_BoneWeight() : base(typeof(BoneWeight)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - BoneWeight casted = (BoneWeight)obj; - - writer.WriteProperty("boneIndex0", casted.boneIndex0, ES3Type_int.Instance); - writer.WriteProperty("boneIndex1", casted.boneIndex1, ES3Type_int.Instance); - writer.WriteProperty("boneIndex2", casted.boneIndex2, ES3Type_int.Instance); - writer.WriteProperty("boneIndex3", casted.boneIndex3, ES3Type_int.Instance); - - writer.WriteProperty("weight0", casted.weight0, ES3Type_float.Instance); - writer.WriteProperty("weight1", casted.weight1, ES3Type_float.Instance); - writer.WriteProperty("weight2", casted.weight2, ES3Type_float.Instance); - writer.WriteProperty("weight3", casted.weight3, ES3Type_float.Instance); - - } - - public override object Read(ES3Reader reader) - { - var obj = new BoneWeight(); - - obj.boneIndex0 = reader.ReadProperty(ES3Type_int.Instance); - obj.boneIndex1 = reader.ReadProperty(ES3Type_int.Instance); - obj.boneIndex2 = reader.ReadProperty(ES3Type_int.Instance); - obj.boneIndex3 = reader.ReadProperty(ES3Type_int.Instance); - - obj.weight0 = reader.ReadProperty(ES3Type_float.Instance); - obj.weight1 = reader.ReadProperty(ES3Type_float.Instance); - obj.weight2 = reader.ReadProperty(ES3Type_float.Instance); - obj.weight3 = reader.ReadProperty(ES3Type_float.Instance); - - return obj; - } - } - - public class ES3Type_BoneWeightArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_BoneWeightArray() : base(typeof(BoneWeight[]), ES3Type_BoneWeight.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_BoneWeight.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_BoneWeight.cs.meta deleted file mode 100644 index 66448fdb4..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_BoneWeight.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 570ee00d71c7c43a5a7e6a68e2c9d96f -timeCreated: 1519132285 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Bounds.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Bounds.cs deleted file mode 100644 index 6cfba1f04..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Bounds.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using UnityEngine; -using System.Collections.Generic; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("center", "size")] - public class ES3Type_Bounds : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Bounds() : base(typeof(Bounds)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - Bounds casted = (Bounds)obj; - - writer.WriteProperty("center", casted.center, ES3Type_Vector3.Instance); - writer.WriteProperty("size", casted.size, ES3Type_Vector3.Instance); - } - - public override object Read(ES3Reader reader) - { - return new Bounds( reader.ReadProperty(ES3Type_Vector3.Instance), - reader.ReadProperty(ES3Type_Vector3.Instance)); - } - } - - public class ES3Type_BoundsArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_BoundsArray() : base(typeof(Bounds[]), ES3Type_Bounds.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Bounds.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Bounds.cs.meta deleted file mode 100644 index c85d95de7..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Bounds.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3a9d8a8b9b10b466786d6d39807aa8e0 -timeCreated: 1519132283 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_CollisionModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_CollisionModule.cs deleted file mode 100644 index 55559451e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_CollisionModule.cs +++ /dev/null @@ -1,117 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "type", "mode", "dampen", "dampenMultiplier", "bounce", "bounceMultiplier", "lifetimeLoss", "lifetimeLossMultiplier", "minKillSpeed", "maxKillSpeed", "collidesWith", "enableDynamicColliders", "maxCollisionShapes", "quality", "voxelSize", "radiusScale", "sendCollisionMessages")] - public class ES3Type_CollisionModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_CollisionModule() : base(typeof(UnityEngine.ParticleSystem.CollisionModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.CollisionModule)obj; - - writer.WriteProperty("enabled", instance.enabled); - writer.WriteProperty("type", instance.type); - writer.WriteProperty("mode", instance.mode); - writer.WriteProperty("dampen", instance.dampen); - writer.WriteProperty("dampenMultiplier", instance.dampenMultiplier); - writer.WriteProperty("bounce", instance.bounce); - writer.WriteProperty("bounceMultiplier", instance.bounceMultiplier); - writer.WriteProperty("lifetimeLoss", instance.lifetimeLoss); - writer.WriteProperty("lifetimeLossMultiplier", instance.lifetimeLossMultiplier); - writer.WriteProperty("minKillSpeed", instance.minKillSpeed); - writer.WriteProperty("maxKillSpeed", instance.maxKillSpeed); - writer.WriteProperty("collidesWith", instance.collidesWith); - writer.WriteProperty("enableDynamicColliders", instance.enableDynamicColliders); - writer.WriteProperty("maxCollisionShapes", instance.maxCollisionShapes); - writer.WriteProperty("quality", instance.quality); - writer.WriteProperty("voxelSize", instance.voxelSize); - writer.WriteProperty("radiusScale", instance.radiusScale); - writer.WriteProperty("sendCollisionMessages", instance.sendCollisionMessages); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.CollisionModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.CollisionModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - case "enabled": - instance.enabled = reader.Read(); - break; - case "type": - instance.type = reader.Read(); - break; - case "mode": - instance.mode = reader.Read(); - break; - case "dampen": - instance.dampen = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "dampenMultiplier": - instance.dampenMultiplier = reader.Read(); - break; - case "bounce": - instance.bounce = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "bounceMultiplier": - instance.bounceMultiplier = reader.Read(); - break; - case "lifetimeLoss": - instance.lifetimeLoss = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "lifetimeLossMultiplier": - instance.lifetimeLossMultiplier = reader.Read(); - break; - case "minKillSpeed": - instance.minKillSpeed = reader.Read(); - break; - case "maxKillSpeed": - instance.maxKillSpeed = reader.Read(); - break; - case "collidesWith": - instance.collidesWith = reader.Read(); - break; - case "enableDynamicColliders": - instance.enableDynamicColliders = reader.Read(); - break; - case "maxCollisionShapes": - instance.maxCollisionShapes = reader.Read(); - break; - case "quality": - instance.quality = reader.Read(); - break; - case "voxelSize": - instance.voxelSize = reader.Read(); - break; - case "radiusScale": - instance.radiusScale = reader.Read(); - break; - case "sendCollisionMessages": - instance.sendCollisionMessages = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_CollisionModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_CollisionModule.cs.meta deleted file mode 100644 index 8474ea016..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_CollisionModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 45f02f0eb77fe4209a290c5928c9ade5 -timeCreated: 1519132284 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color.cs deleted file mode 100644 index e35b0d9fb..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("r", "g", "b", "a")] - public class ES3Type_Color : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Color() : base(typeof(Color)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - Color casted = (Color)obj; - writer.WriteProperty("r", casted.r, ES3Type_float.Instance); - writer.WriteProperty("g", casted.g, ES3Type_float.Instance); - writer.WriteProperty("b", casted.b, ES3Type_float.Instance); - writer.WriteProperty("a", casted.a, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - return new Color( reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance)); - } - } - - public class ES3Type_ColorArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_ColorArray() : base(typeof(Color[]), ES3Type_Color.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color.cs.meta deleted file mode 100644 index 1d0dc8bfc..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b97411847937943ab859b0ab7acfb872 -timeCreated: 1519132295 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color32.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color32.cs deleted file mode 100644 index a5ddd20cd..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color32.cs +++ /dev/null @@ -1,51 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("r", "g", "b", "a")] - public class ES3Type_Color32 : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Color32() : base(typeof(Color32)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - Color32 casted = (Color32)obj; - writer.WriteProperty("r", casted.r, ES3Type_byte.Instance); - writer.WriteProperty("g", casted.g, ES3Type_byte.Instance); - writer.WriteProperty("b", casted.b, ES3Type_byte.Instance); - writer.WriteProperty("a", casted.a, ES3Type_byte.Instance); - } - - public override object Read(ES3Reader reader) - { - return new Color32( reader.ReadProperty(ES3Type_byte.Instance), - reader.ReadProperty(ES3Type_byte.Instance), - reader.ReadProperty(ES3Type_byte.Instance), - reader.ReadProperty(ES3Type_byte.Instance)); - } - - public static bool Equals(Color32 a, Color32 b) - { - if(a.r != b.r || a.g != b.g || a.b != b.b || a.a != b.a) - return false; - return true; - } - } - - public class ES3Type_Color32Array : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_Color32Array() : base(typeof(Color32[]), ES3Type_Color32.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color32.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color32.cs.meta deleted file mode 100644 index 93d9bfc69..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Color32.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3b1b3a09c48c14072a133f5ba4c651e7 -timeCreated: 1519132283 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorBySpeedModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorBySpeedModule.cs deleted file mode 100644 index d65b3a013..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorBySpeedModule.cs +++ /dev/null @@ -1,58 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "color", "range")] - public class ES3Type_ColorBySpeedModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_ColorBySpeedModule() : base(typeof(UnityEngine.ParticleSystem.ColorBySpeedModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.ColorBySpeedModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("color", instance.color, ES3Type_MinMaxGradient.Instance); - writer.WriteProperty("range", instance.range, ES3Type_Vector2.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.ColorBySpeedModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.ColorBySpeedModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "color": - instance.color = reader.Read(ES3Type_MinMaxGradient.Instance); - break; - case "range": - instance.range = reader.Read(ES3Type_Vector2.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorBySpeedModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorBySpeedModule.cs.meta deleted file mode 100644 index 38e51073b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorBySpeedModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: fb109d087368d4849b6e1222c912ec72 -timeCreated: 1519132301 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorOverLifetimeModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorOverLifetimeModule.cs deleted file mode 100644 index 9266d6252..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorOverLifetimeModule.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "color")] - public class ES3Type_ColorOverLifetimeModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_ColorOverLifetimeModule() : base(typeof(UnityEngine.ParticleSystem.ColorOverLifetimeModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.ColorOverLifetimeModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("color", instance.color, ES3Type_MinMaxGradient.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.ColorOverLifetimeModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.ColorOverLifetimeModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "color": - instance.color = reader.Read(ES3Type_MinMaxGradient.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorOverLifetimeModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorOverLifetimeModule.cs.meta deleted file mode 100644 index 39921c112..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ColorOverLifetimeModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 744909a4693a34ff99f9886d8bddc408 -timeCreated: 1519132288 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_EmissionModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_EmissionModule.cs deleted file mode 100644 index ccb027e65..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_EmissionModule.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "rateOverTime", "rateOverTimeMultiplier", "rateOverDistance", "rateOverDistanceMultiplier")] - public class ES3Type_EmissionModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_EmissionModule() : base(typeof(UnityEngine.ParticleSystem.EmissionModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.EmissionModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("rateOverTime", instance.rateOverTime, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("rateOverTimeMultiplier", instance.rateOverTimeMultiplier, ES3Type_float.Instance); - writer.WriteProperty("rateOverDistance", instance.rateOverDistance, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("rateOverDistanceMultiplier", instance.rateOverDistanceMultiplier, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.EmissionModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.EmissionModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "rateOverTime": - instance.rateOverTime = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "rateOverTimeMultiplier": - instance.rateOverTimeMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "rateOverDistance": - instance.rateOverDistance = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "rateOverDistanceMultiplier": - instance.rateOverDistanceMultiplier = reader.Read(ES3Type_float.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_EmissionModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_EmissionModule.cs.meta deleted file mode 100644 index 99fcbece9..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_EmissionModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0601343d0f8fb45d591c1f16dde23330 -timeCreated: 1519132279 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ExternalForcesModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ExternalForcesModule.cs deleted file mode 100644 index 06b774e75..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ExternalForcesModule.cs +++ /dev/null @@ -1,54 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "multiplier")] - public class ES3Type_ExternalForcesModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_ExternalForcesModule() : base(typeof(UnityEngine.ParticleSystem.ExternalForcesModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.ExternalForcesModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("multiplier", instance.multiplier, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.ExternalForcesModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.ExternalForcesModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "multiplier": - instance.multiplier = reader.Read(ES3Type_float.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ExternalForcesModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ExternalForcesModule.cs.meta deleted file mode 100644 index 6c9f78931..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ExternalForcesModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 73b0b581a64c54420b1931059384200c -timeCreated: 1519132288 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Flare.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Flare.cs deleted file mode 100644 index 3cdb7c48c..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Flare.cs +++ /dev/null @@ -1,60 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("hideFlags")] - public class ES3Type_Flare : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Flare() : base(typeof(UnityEngine.Flare)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Flare)obj; - - writer.WriteProperty("hideFlags", instance.hideFlags); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.Flare(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.Flare)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "hideFlags": - instance.hideFlags = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } - - public class ES3Type_FlareArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_FlareArray() : base(typeof(UnityEngine.Flare[]), ES3Type_Flare.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Flare.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Flare.cs.meta deleted file mode 100644 index daf3587b6..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Flare.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 32592ed571b254a1ebc1cda3cc03f861 -timeCreated: 1519132282 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Font.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Font.cs deleted file mode 100644 index 4fc08eca3..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Font.cs +++ /dev/null @@ -1,57 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("material", "name")] - public class ES3Type_Font : ES3UnityObjectType - { - public static ES3Type Instance = null; - - public ES3Type_Font() : base(typeof(UnityEngine.Font)){ Instance = this; } - - protected override void WriteUnityObject(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Font)obj; - - writer.WriteProperty("name", instance.name, ES3Type_string.Instance); - writer.WriteProperty("material", instance.material); - } - - protected override void ReadUnityObject(ES3Reader reader, object obj) - { - var instance = (UnityEngine.Font)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - case "material": - instance.material = reader.Read(ES3Type_Material.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - - protected override object ReadUnityObject(ES3Reader reader) - { - var instance = new UnityEngine.Font(reader.ReadProperty(ES3Type_string.Instance)); - ReadObject(reader, instance); - return instance; - } - } - - public class ES3Type_FontArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_FontArray() : base(typeof(UnityEngine.Font[]), ES3Type_Font.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Font.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Font.cs.meta deleted file mode 100644 index e82c7b778..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Font.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b779410f33269447a8410aa5c60a3366 -timeCreated: 1519132294 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ForceOverLifetimeModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ForceOverLifetimeModule.cs deleted file mode 100644 index 62153921a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ForceOverLifetimeModule.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "x", "y", "z", "xMultiplier", "yMultiplier", "zMultiplier", "space", "randomized")] - public class ES3Type_ForceOverLifetimeModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_ForceOverLifetimeModule() : base(typeof(UnityEngine.ParticleSystem.ForceOverLifetimeModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.ForceOverLifetimeModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("x", instance.x, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("y", instance.y, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("z", instance.z, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("xMultiplier", instance.xMultiplier, ES3Type_float.Instance); - writer.WriteProperty("yMultiplier", instance.yMultiplier, ES3Type_float.Instance); - writer.WriteProperty("zMultiplier", instance.zMultiplier, ES3Type_float.Instance); - writer.WriteProperty("space", instance.space); - writer.WriteProperty("randomized", instance.randomized, ES3Type_bool.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.ForceOverLifetimeModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.ForceOverLifetimeModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "x": - instance.x = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "y": - instance.y = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "z": - instance.z = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "xMultiplier": - instance.xMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "yMultiplier": - instance.yMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "zMultiplier": - instance.zMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "space": - instance.space = reader.Read(); - break; - case "randomized": - instance.randomized = reader.Read(ES3Type_bool.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ForceOverLifetimeModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ForceOverLifetimeModule.cs.meta deleted file mode 100644 index 537835b2b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ForceOverLifetimeModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: fd5844fc025754c5399be113ca40fc39 -timeCreated: 1519132301 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GameObject.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GameObject.cs deleted file mode 100644 index 18c9ce3d4..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GameObject.cs +++ /dev/null @@ -1,279 +0,0 @@ -using System; -using UnityEngine; -using System.Collections.Generic; -using ES3Internal; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("layer", "isStatic", "tag", "name", "hideFlags", "children", "components")] - public class ES3Type_GameObject : ES3UnityObjectType - { - private const string prefabPropertyName = "es3Prefab"; - private const string transformPropertyName = "transformID"; - public static ES3Type Instance = null; - public bool saveChildren = false; - - public ES3Type_GameObject() : base(typeof(UnityEngine.GameObject)) { Instance = this; } - - public override void WriteObject(object obj, ES3Writer writer, ES3.ReferenceMode mode) - { - if (WriteUsingDerivedType(obj, writer)) - return; - var instance = (UnityEngine.GameObject)obj; - - if (mode != ES3.ReferenceMode.ByValue) - { - writer.WriteRef(instance); - - if (mode == ES3.ReferenceMode.ByRef) - return; - - var es3Prefab = instance.GetComponent(); - if (es3Prefab != null) - writer.WriteProperty(prefabPropertyName, es3Prefab, ES3Type_ES3PrefabInternal.Instance); - - // Write the ID of this Transform so we can assign it's ID when we load. - writer.WriteProperty(transformPropertyName, ES3ReferenceMgrBase.Current.Add(instance.transform)); - } - - var es3AutoSave = instance.GetComponent(); - - writer.WriteProperty("layer", instance.layer, ES3Type_int.Instance); - writer.WriteProperty("tag", instance.tag, ES3Type_string.Instance); - writer.WriteProperty("name", instance.name, ES3Type_string.Instance); - writer.WriteProperty("hideFlags", instance.hideFlags); - writer.WriteProperty("active", instance.activeSelf); - - if (saveChildren || (es3AutoSave != null && es3AutoSave.saveChildren)) - writer.WriteProperty("children", GetChildren(instance), ES3.ReferenceMode.ByRefAndValue); - - List components; - - // If there's an ES3AutoSave attached and Components are marked to be saved, save these. - var autoSave = instance.GetComponent(); - if (autoSave != null && autoSave.componentsToSave != null && autoSave.componentsToSave.Count > 0) - components = autoSave.componentsToSave; - // Otherwise, only save explicitly-supported Components, /*or those explicitly marked as Serializable*/. - else - { - components = new List(); - foreach (var component in instance.GetComponents()) - if (component != null && ES3TypeMgr.GetES3Type(component.GetType()) != null) - components.Add(component); - } - - writer.WriteProperty("components", components, ES3.ReferenceMode.ByRefAndValue); - } - - protected override object ReadObject(ES3Reader reader) - { - UnityEngine.Object obj = null; - var refMgr = ES3ReferenceMgrBase.Current; - long id = 0; - - // Read the intial properties regarding the instance we're loading. - while (true) - { - if (refMgr == null) - throw new InvalidOperationException("An Easy Save 3 Manager is required to load references. To add one to your scene, exit playmode and go to Assets > Easy Save 3 > Add Manager to Scene"); - - var propertyName = ReadPropertyName(reader); - - if (propertyName == ES3Type.typeFieldName) - return ES3TypeMgr.GetOrCreateES3Type(reader.ReadType()).Read(reader); - else if (propertyName == ES3ReferenceMgrBase.referencePropertyName) - { - id = reader.Read_ref(); - obj = refMgr.Get(id, true); - } - else if (propertyName == transformPropertyName) - { - // Now load the Transform's ID and assign it to the Transform of our object. - long transformID = reader.Read_ref(); - if (obj == null) - obj = CreateNewGameObject(refMgr, id); - refMgr.Add(((GameObject)obj).transform, transformID); - } - else if (propertyName == prefabPropertyName) - { - if (obj != null || ES3ReferenceMgrBase.Current == null) - { - reader.ReadInto(obj); // ReadInto to apply the prefab references. - } - else - { - obj = reader.Read(ES3Type_ES3PrefabInternal.Instance); - ES3ReferenceMgrBase.Current.Add(obj, id); - } - } - else if (propertyName == null) - { - if (obj == null) - return CreateNewGameObject(refMgr, id); - return obj; - } - else - { - reader.overridePropertiesName = propertyName; - break; - } - } - - if (obj == null) - obj = CreateNewGameObject(refMgr, id); - - ReadInto(reader, obj); - return obj; - } - - protected override void ReadObject(ES3Reader reader, object obj) - { - var instance = (UnityEngine.GameObject)obj; - - foreach (string propertyName in reader.Properties) - { - switch (propertyName) - { - case ES3ReferenceMgrBase.referencePropertyName: - ES3ReferenceMgr.Current.Add(instance, reader.Read_ref()); - break; - case "prefab": - break; - case "layer": - instance.layer = reader.Read(ES3Type_int.Instance); - break; - case "tag": - instance.tag = reader.Read(ES3Type_string.Instance); - break; - case "name": - instance.name = reader.Read(ES3Type_string.Instance); - break; - case "hideFlags": - instance.hideFlags = reader.Read(); - break; - case "active": - instance.SetActive(reader.Read(ES3Type_bool.Instance)); - break; - case "children": - reader.Read(); - break; - case "components": - ReadComponents(reader, instance); - break; - default: - reader.Skip(); - break; - } - } - } - - private void ReadComponents(ES3Reader reader, GameObject go) - { - if (reader.StartReadCollection()) - return; - - var components = new List(go.GetComponents()); - - // Read each Component in Components array - while (true) - { - if (!reader.StartReadCollectionItem()) - break; - - if (reader.StartReadObject()) - return; - - Type type = null; - - string propertyName; - while (true) - { - propertyName = ReadPropertyName(reader); - - if (propertyName == ES3Type.typeFieldName) - type = reader.ReadType(); - else if (propertyName == ES3ReferenceMgrBase.referencePropertyName) - { - if (type == null) - throw new InvalidOperationException("Cannot load Component because no type data has been stored with it, so it's not possible to determine it's type"); - - var componentRef = reader.Read_ref(); - - // Rather than loading by reference, load using the Components list. - var c = components.Find(x => x.GetType() == type); - // If the Component exists in the Component list, load into it and remove it from the list. - if (c != null) - { - if (ES3ReferenceMgrBase.Current != null) - ES3ReferenceMgrBase.Current.Add(c, componentRef); - - ES3TypeMgr.GetOrCreateES3Type(type).ReadInto(reader, c); - components.Remove(c); - } - // Else, create a new Component. - else - ES3TypeMgr.GetOrCreateES3Type(type).Read(reader); - break; - } - else if (propertyName == null) - break; - else - { - reader.overridePropertiesName = propertyName; - ReadObject(reader); - break; - } - } - - reader.EndReadObject(); - - if (reader.EndReadCollectionItem()) - break; - } - - reader.EndReadCollection(); - } - - private GameObject CreateNewGameObject(ES3ReferenceMgrBase refMgr, long id) - { - GameObject go = new GameObject(); - if (id != 0) - refMgr.Add(go, id); - else - refMgr.Add(go); - return go; - } - - /* - * Gets the direct children of this GameObject. - */ - public static List GetChildren(GameObject go) - { - var goTransform = go.transform; - var children = new List(); - - foreach (Transform child in goTransform) - // If a child has an Auto Save component, let it save itself. - //if(child.GetComponent() == null) - children.Add(child.gameObject); - - return children; - } - - // These are not used as we've overridden the ReadObject methods instead. - protected override void WriteUnityObject(object obj, ES3Writer writer) { } - protected override void ReadUnityObject(ES3Reader reader, object obj) { } - protected override object ReadUnityObject(ES3Reader reader) { return null; } - } - - public class ES3Type_GameObjectArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_GameObjectArray() : base(typeof(UnityEngine.GameObject[]), ES3Type_GameObject.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GameObject.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GameObject.cs.meta deleted file mode 100644 index 0f59d3beb..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GameObject.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1ca7947fbcbec457f89b984a9647a9d7 -timeCreated: 1519132281 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Gradient.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Gradient.cs deleted file mode 100644 index 5107de7a4..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Gradient.cs +++ /dev/null @@ -1,55 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("colorKeys", "alphaKeys", "mode")] - public class ES3Type_Gradient : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Gradient() : base(typeof(UnityEngine.Gradient)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Gradient)obj; - writer.WriteProperty("colorKeys", instance.colorKeys, ES3Type_GradientColorKeyArray.Instance); - writer.WriteProperty("alphaKeys", instance.alphaKeys, ES3Type_GradientAlphaKeyArray.Instance); - writer.WriteProperty("mode", instance.mode); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.Gradient(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.Gradient)obj; - instance.SetKeys( - reader.ReadProperty(ES3Type_GradientColorKeyArray.Instance), - reader.ReadProperty(ES3Type_GradientAlphaKeyArray.Instance) - ); - - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - case "mode": - instance.mode = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Gradient.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Gradient.cs.meta deleted file mode 100644 index e400a6e48..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Gradient.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a509023afeeee4a49965009b6ba4bc44 -timeCreated: 1519132293 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientAlphaKey.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientAlphaKey.cs deleted file mode 100644 index 24ce934d2..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientAlphaKey.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("alpha", "time")] - public class ES3Type_GradientAlphaKey : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_GradientAlphaKey() : base(typeof(UnityEngine.GradientAlphaKey)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.GradientAlphaKey)obj; - - writer.WriteProperty("alpha", instance.alpha, ES3Type_float.Instance); - writer.WriteProperty("time", instance.time, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - return new UnityEngine.GradientAlphaKey(reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance)); - } - } - - public class ES3Type_GradientAlphaKeyArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_GradientAlphaKeyArray() : base(typeof(GradientAlphaKey[]), ES3Type_GradientAlphaKey.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientAlphaKey.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientAlphaKey.cs.meta deleted file mode 100644 index 8b69cd886..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientAlphaKey.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 934a57ef826284a56bb97406bcf373fd -timeCreated: 1519132291 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientColorKey.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientColorKey.cs deleted file mode 100644 index 7317e479d..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientColorKey.cs +++ /dev/null @@ -1,41 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("color", "time")] - public class ES3Type_GradientColorKey : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_GradientColorKey() : base(typeof(UnityEngine.GradientColorKey)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.GradientColorKey)obj; - - writer.WriteProperty("color", instance.color, ES3Type_Color.Instance); - writer.WriteProperty("time", instance.time, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - return new UnityEngine.GradientColorKey(reader.ReadProperty(ES3Type_Color.Instance), - reader.ReadProperty(ES3Type_float.Instance)); - } - } - - public class ES3Type_GradientColorKeyArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_GradientColorKeyArray() : base(typeof(GradientColorKey[]), ES3Type_GradientColorKey.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientColorKey.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientColorKey.cs.meta deleted file mode 100644 index b154e9a75..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_GradientColorKey.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9dcbf4e7ca28b4bd5a6eb0a9d256c082 -timeCreated: 1519132292 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_InheritVelocityModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_InheritVelocityModule.cs deleted file mode 100644 index 07bb74367..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_InheritVelocityModule.cs +++ /dev/null @@ -1,62 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "mode", "curve", "curveMultiplier")] - public class ES3Type_InheritVelocityModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_InheritVelocityModule() : base(typeof(UnityEngine.ParticleSystem.InheritVelocityModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.InheritVelocityModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("mode", instance.mode); - writer.WriteProperty("curve", instance.curve, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("curveMultiplier", instance.curveMultiplier, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.InheritVelocityModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.InheritVelocityModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "mode": - instance.mode = reader.Read(); - break; - case "curve": - instance.curve = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "curveMultiplier": - instance.curveMultiplier = reader.Read(ES3Type_float.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_InheritVelocityModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_InheritVelocityModule.cs.meta deleted file mode 100644 index 35f3ffd0b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_InheritVelocityModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c652805edba024e5c885fa799b3a5775 -timeCreated: 1519132296 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Keyframe.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Keyframe.cs deleted file mode 100644 index af39e94f8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Keyframe.cs +++ /dev/null @@ -1,45 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("time", "value", "inTangent", "outTangent")] - public class ES3Type_Keyframe : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Keyframe() : base(typeof(UnityEngine.Keyframe)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Keyframe)obj; - - writer.WriteProperty("time", instance.time, ES3Type_float.Instance); - writer.WriteProperty("value", instance.value, ES3Type_float.Instance); - writer.WriteProperty("inTangent", instance.inTangent, ES3Type_float.Instance); - writer.WriteProperty("outTangent", instance.outTangent, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - return new UnityEngine.Keyframe(reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance)); - } - } - - public class ES3Type_KeyframeArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_KeyframeArray() : base(typeof(Keyframe[]), ES3Type_Keyframe.Instance) - { - Instance = this; - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Keyframe.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Keyframe.cs.meta deleted file mode 100644 index 81154b3f1..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Keyframe.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 63eb0700074954e23aa09edcc4b81016 -timeCreated: 1519132287 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LayerMask.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LayerMask.cs deleted file mode 100644 index e829a2043..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LayerMask.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("colorKeys", "alphaKeys", "mode")] - public class ES3Type_LayerMask : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_LayerMask() : base(typeof(UnityEngine.LayerMask)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.LayerMask)obj; - - writer.WriteProperty("value", instance.value, ES3Type_int.Instance); - } - - public override object Read(ES3Reader reader) - { - LayerMask instance = new LayerMask(); - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - case "value": - instance = reader.Read(ES3Type_int.Instance); - break; - default: - reader.Skip(); - break; - } - } - return instance; - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LayerMask.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LayerMask.cs.meta deleted file mode 100644 index 45f770c56..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LayerMask.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ad28544641a3c495b8ebbf10c51bf359 -timeCreated: 1519132293 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Light.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Light.cs deleted file mode 100644 index b8501fdf2..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Light.cs +++ /dev/null @@ -1,117 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("type", "color", "intensity", "bounceIntensity", "shadows", "shadowStrength", "shadowResolution", "shadowCustomResolution", "shadowBias", "shadowNormalBias", "shadowNearPlane", "range", "spotAngle", "cookieSize", "cookie", "flare", "renderMode", "cullingMask", "areaSize", "lightmappingMode", "enabled", "hideFlags")] - public class ES3Type_Light : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_Light() : base(typeof(UnityEngine.Light)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Light)obj; - - writer.WriteProperty("type", instance.type); - writer.WriteProperty("color", instance.color, ES3Type_Color.Instance); - writer.WriteProperty("intensity", instance.intensity, ES3Type_float.Instance); - writer.WriteProperty("bounceIntensity", instance.bounceIntensity, ES3Type_float.Instance); - writer.WriteProperty("shadows", instance.shadows); - writer.WriteProperty("shadowStrength", instance.shadowStrength, ES3Type_float.Instance); - writer.WriteProperty("shadowResolution", instance.shadowResolution); - writer.WriteProperty("shadowCustomResolution", instance.shadowCustomResolution, ES3Type_int.Instance); - writer.WriteProperty("shadowBias", instance.shadowBias, ES3Type_float.Instance); - writer.WriteProperty("shadowNormalBias", instance.shadowNormalBias, ES3Type_float.Instance); - writer.WriteProperty("shadowNearPlane", instance.shadowNearPlane, ES3Type_float.Instance); - writer.WriteProperty("range", instance.range, ES3Type_float.Instance); - writer.WriteProperty("spotAngle", instance.spotAngle, ES3Type_float.Instance); - writer.WriteProperty("cookieSize", instance.cookieSize, ES3Type_float.Instance); - writer.WriteProperty("cookie", instance.cookie, ES3Type_Texture2D.Instance); - writer.WriteProperty("flare", instance.flare, ES3Type_Texture2D.Instance); - writer.WriteProperty("renderMode", instance.renderMode); - writer.WriteProperty("cullingMask", instance.cullingMask, ES3Type_int.Instance); - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("hideFlags", instance.hideFlags); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.Light)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "type": - instance.type = reader.Read(); - break; - case "color": - instance.color = reader.Read(ES3Type_Color.Instance); - break; - case "intensity": - instance.intensity = reader.Read(ES3Type_float.Instance); - break; - case "bounceIntensity": - instance.bounceIntensity = reader.Read(ES3Type_float.Instance); - break; - case "shadows": - instance.shadows = reader.Read(); - break; - case "shadowStrength": - instance.shadowStrength = reader.Read(ES3Type_float.Instance); - break; - case "shadowResolution": - instance.shadowResolution = reader.Read(); - break; - case "shadowCustomResolution": - instance.shadowCustomResolution = reader.Read(ES3Type_int.Instance); - break; - case "shadowBias": - instance.shadowBias = reader.Read(ES3Type_float.Instance); - break; - case "shadowNormalBias": - instance.shadowNormalBias = reader.Read(ES3Type_float.Instance); - break; - case "shadowNearPlane": - instance.shadowNearPlane = reader.Read(ES3Type_float.Instance); - break; - case "range": - instance.range = reader.Read(ES3Type_float.Instance); - break; - case "spotAngle": - instance.spotAngle = reader.Read(ES3Type_float.Instance); - break; - case "cookieSize": - instance.cookieSize = reader.Read(ES3Type_float.Instance); - break; - case "cookie": - instance.cookie = reader.Read(); - break; - case "flare": - instance.flare = reader.Read(); - break; - case "renderMode": - instance.renderMode = reader.Read(); - break; - case "cullingMask": - instance.cullingMask = reader.Read(ES3Type_int.Instance); - break; - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "hideFlags": - instance.hideFlags = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Light.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Light.cs.meta deleted file mode 100644 index 54c6c1b41..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Light.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ed020448eba3f489fafcf36e1bf3b7e0 -timeCreated: 1519132300 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LightsModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LightsModule.cs deleted file mode 100644 index 4af8af8e8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LightsModule.cs +++ /dev/null @@ -1,94 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "ratio", "useRandomDistribution", "light", "useParticleColor", "sizeAffectsRange", "alphaAffectsIntensity", "range", "rangeMultiplier", "intensity", "intensityMultiplier", "maxLights")] - public class ES3Type_LightsModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_LightsModule() : base(typeof(UnityEngine.ParticleSystem.LightsModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.LightsModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("ratio", instance.ratio, ES3Type_float.Instance); - writer.WriteProperty("useRandomDistribution", instance.useRandomDistribution, ES3Type_bool.Instance); - writer.WritePropertyByRef("light", instance.light); - writer.WriteProperty("useParticleColor", instance.useParticleColor, ES3Type_bool.Instance); - writer.WriteProperty("sizeAffectsRange", instance.sizeAffectsRange, ES3Type_bool.Instance); - writer.WriteProperty("alphaAffectsIntensity", instance.alphaAffectsIntensity, ES3Type_bool.Instance); - writer.WriteProperty("range", instance.range, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("rangeMultiplier", instance.rangeMultiplier, ES3Type_float.Instance); - writer.WriteProperty("intensity", instance.intensity, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("intensityMultiplier", instance.intensityMultiplier, ES3Type_float.Instance); - writer.WriteProperty("maxLights", instance.maxLights, ES3Type_int.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.LightsModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.LightsModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "ratio": - instance.ratio = reader.Read(ES3Type_float.Instance); - break; - case "useRandomDistribution": - instance.useRandomDistribution = reader.Read(ES3Type_bool.Instance); - break; - case "light": - instance.light = reader.Read(ES3Type_Light.Instance); - break; - case "useParticleColor": - instance.useParticleColor = reader.Read(ES3Type_bool.Instance); - break; - case "sizeAffectsRange": - instance.sizeAffectsRange = reader.Read(ES3Type_bool.Instance); - break; - case "alphaAffectsIntensity": - instance.alphaAffectsIntensity = reader.Read(ES3Type_bool.Instance); - break; - case "range": - instance.range = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "rangeMultiplier": - instance.rangeMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "intensity": - instance.intensity = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "intensityMultiplier": - instance.intensityMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "maxLights": - instance.maxLights = reader.Read(ES3Type_int.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LightsModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LightsModule.cs.meta deleted file mode 100644 index c27d8224c..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LightsModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ca49590603e164a87a49d3c66013bede -timeCreated: 1519132296 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LimitVelocityOverLifetimeModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LimitVelocityOverLifetimeModule.cs deleted file mode 100644 index 059a9f676..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LimitVelocityOverLifetimeModule.cs +++ /dev/null @@ -1,94 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "limitX", "limitXMultiplier", "limitY", "limitYMultiplier", "limitZ", "limitZMultiplier", "limit", "limitMultiplier", "dampen", "separateAxes", "space")] - public class ES3Type_LimitVelocityOverLifetimeModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_LimitVelocityOverLifetimeModule() : base(typeof(UnityEngine.ParticleSystem.LimitVelocityOverLifetimeModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.LimitVelocityOverLifetimeModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("limitX", instance.limitX, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("limitXMultiplier", instance.limitXMultiplier, ES3Type_float.Instance); - writer.WriteProperty("limitY", instance.limitY, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("limitYMultiplier", instance.limitYMultiplier, ES3Type_float.Instance); - writer.WriteProperty("limitZ", instance.limitZ, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("limitZMultiplier", instance.limitZMultiplier, ES3Type_float.Instance); - writer.WriteProperty("limit", instance.limit, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("limitMultiplier", instance.limitMultiplier, ES3Type_float.Instance); - writer.WriteProperty("dampen", instance.dampen, ES3Type_float.Instance); - writer.WriteProperty("separateAxes", instance.separateAxes, ES3Type_bool.Instance); - writer.WriteProperty("space", instance.space); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.LimitVelocityOverLifetimeModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.LimitVelocityOverLifetimeModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "limitX": - instance.limitX = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "limitXMultiplier": - instance.limitXMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "limitY": - instance.limitY = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "limitYMultiplier": - instance.limitYMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "limitZ": - instance.limitZ = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "limitZMultiplier": - instance.limitZMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "limit": - instance.limit = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "limitMultiplier": - instance.limitMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "dampen": - instance.dampen = reader.Read(ES3Type_float.Instance); - break; - case "separateAxes": - instance.separateAxes = reader.Read(ES3Type_bool.Instance); - break; - case "space": - instance.space = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LimitVelocityOverLifetimeModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LimitVelocityOverLifetimeModule.cs.meta deleted file mode 100644 index 7dbe48e87..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_LimitVelocityOverLifetimeModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1b26d58c373b9474591275b8c3b33514 -timeCreated: 1519132281 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MainModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MainModule.cs deleted file mode 100644 index 54cfae8a2..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MainModule.cs +++ /dev/null @@ -1,206 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("duration", "loop", "prewarm", "startDelay", "startDelayMultiplier", "startLifetime", "startLifetimeMultiplier", "startSpeed", "startSpeedMultiplier", "startSize3D", "startSize", "startSizeMultiplier", "startSizeX", "startSizeXMultiplier", "startSizeY", "startSizeYMultiplier", "startSizeZ", "startSizeZMultiplier", "startRotation3D", "startRotation", "startRotationMultiplier", "startRotationX", "startRotationXMultiplier", "startRotationY", "startRotationYMultiplier", "startRotationZ", "startRotationZMultiplier", "randomizeRotationDirection", "startColor", "gravityModifier", "gravityModifierMultiplier", "simulationSpace", "customSimulationSpace", "simulationSpeed", "scalingMode", "playOnAwake", "maxParticles")] - public class ES3Type_MainModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_MainModule() : base(typeof(UnityEngine.ParticleSystem.MainModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.MainModule)obj; - - writer.WriteProperty("duration", instance.duration, ES3Type_float.Instance); - writer.WriteProperty("loop", instance.loop, ES3Type_bool.Instance); - writer.WriteProperty("prewarm", instance.prewarm, ES3Type_bool.Instance); - writer.WriteProperty("startDelay", instance.startDelay, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startDelayMultiplier", instance.startDelayMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startLifetime", instance.startLifetime, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startLifetimeMultiplier", instance.startLifetimeMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startSpeed", instance.startSpeed, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startSpeedMultiplier", instance.startSpeedMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startSize3D", instance.startSize3D, ES3Type_bool.Instance); - writer.WriteProperty("startSize", instance.startSize, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startSizeMultiplier", instance.startSizeMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startSizeX", instance.startSizeX, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startSizeXMultiplier", instance.startSizeXMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startSizeY", instance.startSizeY, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startSizeYMultiplier", instance.startSizeYMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startSizeZ", instance.startSizeZ, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startSizeZMultiplier", instance.startSizeZMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startRotation3D", instance.startRotation3D, ES3Type_bool.Instance); - writer.WriteProperty("startRotation", instance.startRotation, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startRotationMultiplier", instance.startRotationMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startRotationX", instance.startRotationX, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startRotationXMultiplier", instance.startRotationXMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startRotationY", instance.startRotationY, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startRotationYMultiplier", instance.startRotationYMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startRotationZ", instance.startRotationZ, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startRotationZMultiplier", instance.startRotationZMultiplier, ES3Type_float.Instance); - #if UNITY_2018_1_OR_NEWER - writer.WriteProperty("flipRotation", instance.flipRotation, ES3Type_float.Instance); - #else - writer.WriteProperty("randomizeRotationDirection", instance.randomizeRotationDirection, ES3Type_float.Instance); - #endif - writer.WriteProperty("startColor", instance.startColor, ES3Type_MinMaxGradient.Instance); - writer.WriteProperty("gravityModifier", instance.gravityModifier, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("gravityModifierMultiplier", instance.gravityModifierMultiplier, ES3Type_float.Instance); - writer.WriteProperty("simulationSpace", instance.simulationSpace); - writer.WritePropertyByRef("customSimulationSpace", instance.customSimulationSpace); - writer.WriteProperty("simulationSpeed", instance.simulationSpeed, ES3Type_float.Instance); - writer.WriteProperty("scalingMode", instance.scalingMode); - writer.WriteProperty("playOnAwake", instance.playOnAwake, ES3Type_bool.Instance); - writer.WriteProperty("maxParticles", instance.maxParticles, ES3Type_int.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.MainModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.MainModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - case "duration": - instance.duration = reader.Read(ES3Type_float.Instance); - break; - case "loop": - instance.loop = reader.Read(ES3Type_bool.Instance); - break; - case "prewarm": - instance.prewarm = reader.Read(ES3Type_bool.Instance); - break; - case "startDelay": - instance.startDelay = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startDelayMultiplier": - instance.startDelayMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startLifetime": - instance.startLifetime = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startLifetimeMultiplier": - instance.startLifetimeMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startSpeed": - instance.startSpeed = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startSpeedMultiplier": - instance.startSpeedMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startSize3D": - instance.startSize3D = reader.Read(ES3Type_bool.Instance); - break; - case "startSize": - instance.startSize = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startSizeMultiplier": - instance.startSizeMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startSizeX": - instance.startSizeX = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startSizeXMultiplier": - instance.startSizeXMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startSizeY": - instance.startSizeY = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startSizeYMultiplier": - instance.startSizeYMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startSizeZ": - instance.startSizeZ = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startSizeZMultiplier": - instance.startSizeZMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startRotation3D": - instance.startRotation3D = reader.Read(ES3Type_bool.Instance); - break; - case "startRotation": - instance.startRotation = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startRotationMultiplier": - instance.startRotationMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startRotationX": - instance.startRotationX = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startRotationXMultiplier": - instance.startRotationXMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startRotationY": - instance.startRotationY = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startRotationYMultiplier": - instance.startRotationYMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startRotationZ": - instance.startRotationZ = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startRotationZMultiplier": - instance.startRotationZMultiplier = reader.Read(ES3Type_float.Instance); - break; - #if UNITY_2018_1_OR_NEWER - case "flipRotation": - instance.flipRotation = reader.Read(ES3Type_float.Instance); - break; - case "randomizeRotationDirection": - instance.flipRotation = reader.Read(ES3Type_float.Instance); - break; - #else - case "randomizeRotationDirection": - instance.randomizeRotationDirection = reader.Read(ES3Type_float.Instance); - break; - #endif - case "startColor": - instance.startColor = reader.Read(ES3Type_MinMaxGradient.Instance); - break; - case "gravityModifier": - instance.gravityModifier = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "gravityModifierMultiplier": - instance.gravityModifierMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "simulationSpace": - instance.simulationSpace = reader.Read(); - break; - case "customSimulationSpace": - instance.customSimulationSpace = reader.Read(ES3Type_Transform.Instance); - break; - case "simulationSpeed": - instance.simulationSpeed = reader.Read(ES3Type_float.Instance); - break; - case "scalingMode": - instance.scalingMode = reader.Read(); - break; - case "playOnAwake": - instance.playOnAwake = reader.Read(ES3Type_bool.Instance); - break; - case "maxParticles": - instance.maxParticles = reader.Read(ES3Type_int.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MainModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MainModule.cs.meta deleted file mode 100644 index 945d29657..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MainModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 55fa2d96d06d64809ad226f1874be169 -timeCreated: 1519132285 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Material.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Material.cs deleted file mode 100644 index bae387c40..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Material.cs +++ /dev/null @@ -1,1199 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("shader", "renderQueue", "shaderKeywords", "globalIlluminationFlags", "properties")] - public class ES3Type_Material : ES3UnityObjectType - { - public static ES3Type Instance = null; - - public ES3Type_Material() : base(typeof(UnityEngine.Material)){ Instance = this; } - - protected override void WriteUnityObject(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Material)obj; - - writer.WriteProperty("name", instance.name); - writer.WriteProperty("shader", instance.shader); - writer.WriteProperty("renderQueue", instance.renderQueue, ES3Type_int.Instance); - writer.WriteProperty("shaderKeywords", instance.shaderKeywords); - writer.WriteProperty("globalIlluminationFlags", instance.globalIlluminationFlags); - if(instance.HasProperty("_Color")) - writer.WriteProperty("_Color", instance.GetColor("_Color")); - if(instance.HasProperty("_SpecColor")) - writer.WriteProperty("_SpecColor", instance.GetColor("_SpecColor")); - if(instance.HasProperty("_Shininess")) - writer.WriteProperty("_Shininess", instance.GetFloat("_Shininess")); - if(instance.HasProperty("_MainTex")) - { - writer.WriteProperty("_MainTex", instance.GetTexture("_MainTex")); - writer.WriteProperty("_MainTex_Scale", instance.GetTextureScale("_MainTex")); - } - if(instance.HasProperty("_MainTex_TextureOffset")) - writer.WriteProperty("_MainTex_TextureOffset", instance.GetTextureOffset("_MainTex_TextureOffset")); - if(instance.HasProperty("_MainTex_TextureScale")) - writer.WriteProperty("_MainTex_TextureScale", instance.GetTextureScale("_MainTex_TextureScale")); - if(instance.HasProperty("_Illum")) - writer.WriteProperty("_Illum", instance.GetTexture("_Illum")); - if(instance.HasProperty("_Illum_TextureOffset")) - writer.WriteProperty("_Illum_TextureOffset", instance.GetTextureOffset("_Illum_TextureOffset")); - if(instance.HasProperty("_Illum_TextureScale")) - writer.WriteProperty("_Illum_TextureScale", instance.GetTextureScale("_Illum_TextureScale")); - if(instance.HasProperty("_BumpMap")) - writer.WriteProperty("_BumpMap", instance.GetTexture("_BumpMap")); - if(instance.HasProperty("_BumpMap_TextureOffset")) - writer.WriteProperty("_BumpMap_TextureOffset", instance.GetTextureOffset("_BumpMap_TextureOffset")); - if(instance.HasProperty("_BumpMap_TextureScale")) - writer.WriteProperty("_BumpMap_TextureScale", instance.GetTextureScale("_BumpMap_TextureScale")); - if(instance.HasProperty("_Emission")) - writer.WriteProperty("_Emission", instance.GetFloat("_Emission")); - if(instance.HasProperty("_Specular")) - writer.WriteProperty("_Specular", instance.GetColor("_Specular")); - if(instance.HasProperty("_MainBump")) - writer.WriteProperty("_MainBump", instance.GetTexture("_MainBump")); - if(instance.HasProperty("_MainBump_TextureOffset")) - writer.WriteProperty("_MainBump_TextureOffset", instance.GetTextureOffset("_MainBump_TextureOffset")); - if(instance.HasProperty("_MainBump_TextureScale")) - writer.WriteProperty("_MainBump_TextureScale", instance.GetTextureScale("_MainBump_TextureScale")); - if(instance.HasProperty("_Mask")) - writer.WriteProperty("_Mask", instance.GetTexture("_Mask")); - if(instance.HasProperty("_Mask_TextureOffset")) - writer.WriteProperty("_Mask_TextureOffset", instance.GetTextureOffset("_Mask_TextureOffset")); - if(instance.HasProperty("_Mask_TextureScale")) - writer.WriteProperty("_Mask_TextureScale", instance.GetTextureScale("_Mask_TextureScale")); - if(instance.HasProperty("_Focus")) - writer.WriteProperty("_Focus", instance.GetFloat("_Focus")); - if(instance.HasProperty("_StencilComp")) - writer.WriteProperty("_StencilComp", instance.GetFloat("_StencilComp")); - if(instance.HasProperty("_Stencil")) - writer.WriteProperty("_Stencil", instance.GetFloat("_Stencil")); - if(instance.HasProperty("_StencilOp")) - writer.WriteProperty("_StencilOp", instance.GetFloat("_StencilOp")); - if(instance.HasProperty("_StencilWriteMask")) - writer.WriteProperty("_StencilWriteMask", instance.GetFloat("_StencilWriteMask")); - if(instance.HasProperty("_StencilReadMask")) - writer.WriteProperty("_StencilReadMask", instance.GetFloat("_StencilReadMask")); - if(instance.HasProperty("_ColorMask")) - writer.WriteProperty("_ColorMask", instance.GetFloat("_ColorMask")); - if(instance.HasProperty("_UseUIAlphaClip")) - writer.WriteProperty("_UseUIAlphaClip", instance.GetFloat("_UseUIAlphaClip")); - if(instance.HasProperty("_SrcBlend")) - writer.WriteProperty("_SrcBlend", instance.GetFloat("_SrcBlend")); - if(instance.HasProperty("_DstBlend")) - writer.WriteProperty("_DstBlend", instance.GetFloat("_DstBlend")); - if(instance.HasProperty("_ReflectColor")) - writer.WriteProperty("_ReflectColor", instance.GetColor("_ReflectColor")); - if(instance.HasProperty("_Cube")) - writer.WriteProperty("_Cube", instance.GetTexture("_Cube")); - if(instance.HasProperty("_Cube_TextureOffset")) - writer.WriteProperty("_Cube_TextureOffset", instance.GetTextureOffset("_Cube_TextureOffset")); - if(instance.HasProperty("_Cube_TextureScale")) - writer.WriteProperty("_Cube_TextureScale", instance.GetTextureScale("_Cube_TextureScale")); - if(instance.HasProperty("_Tint")) - writer.WriteProperty("_Tint", instance.GetColor("_Tint")); - if(instance.HasProperty("_Exposure")) - writer.WriteProperty("_Exposure", instance.GetFloat("_Exposure")); - if(instance.HasProperty("_Rotation")) - writer.WriteProperty("_Rotation", instance.GetFloat("_Rotation")); - if(instance.HasProperty("_Tex")) - writer.WriteProperty("_Tex", instance.GetTexture("_Tex")); - if(instance.HasProperty("_Tex_TextureOffset")) - writer.WriteProperty("_Tex_TextureOffset", instance.GetTextureOffset("_Tex_TextureOffset")); - if(instance.HasProperty("_Tex_TextureScale")) - writer.WriteProperty("_Tex_TextureScale", instance.GetTextureScale("_Tex_TextureScale")); - if(instance.HasProperty("_Control")) - writer.WriteProperty("_Control", instance.GetTexture("_Control")); - if(instance.HasProperty("_Control_TextureOffset")) - writer.WriteProperty("_Control_TextureOffset", instance.GetTextureOffset("_Control_TextureOffset")); - if(instance.HasProperty("_Control_TextureScale")) - writer.WriteProperty("_Control_TextureScale", instance.GetTextureScale("_Control_TextureScale")); - if(instance.HasProperty("_Splat3")) - writer.WriteProperty("_Splat3", instance.GetTexture("_Splat3")); - if(instance.HasProperty("_Splat3_TextureOffset")) - writer.WriteProperty("_Splat3_TextureOffset", instance.GetTextureOffset("_Splat3_TextureOffset")); - if(instance.HasProperty("_Splat3_TextureScale")) - writer.WriteProperty("_Splat3_TextureScale", instance.GetTextureScale("_Splat3_TextureScale")); - if(instance.HasProperty("_Splat2")) - writer.WriteProperty("_Splat2", instance.GetTexture("_Splat2")); - if(instance.HasProperty("_Splat2_TextureOffset")) - writer.WriteProperty("_Splat2_TextureOffset", instance.GetTextureOffset("_Splat2_TextureOffset")); - if(instance.HasProperty("_Splat2_TextureScale")) - writer.WriteProperty("_Splat2_TextureScale", instance.GetTextureScale("_Splat2_TextureScale")); - if(instance.HasProperty("_Splat1")) - writer.WriteProperty("_Splat1", instance.GetTexture("_Splat1")); - if(instance.HasProperty("_Splat1_TextureOffset")) - writer.WriteProperty("_Splat1_TextureOffset", instance.GetTextureOffset("_Splat1_TextureOffset")); - if(instance.HasProperty("_Splat1_TextureScale")) - writer.WriteProperty("_Splat1_TextureScale", instance.GetTextureScale("_Splat1_TextureScale")); - if(instance.HasProperty("_Splat0")) - writer.WriteProperty("_Splat0", instance.GetTexture("_Splat0")); - if(instance.HasProperty("_Splat0_TextureOffset")) - writer.WriteProperty("_Splat0_TextureOffset", instance.GetTextureOffset("_Splat0_TextureOffset")); - if(instance.HasProperty("_Splat0_TextureScale")) - writer.WriteProperty("_Splat0_TextureScale", instance.GetTextureScale("_Splat0_TextureScale")); - if(instance.HasProperty("_Normal3")) - writer.WriteProperty("_Normal3", instance.GetTexture("_Normal3")); - if(instance.HasProperty("_Normal3_TextureOffset")) - writer.WriteProperty("_Normal3_TextureOffset", instance.GetTextureOffset("_Normal3_TextureOffset")); - if(instance.HasProperty("_Normal3_TextureScale")) - writer.WriteProperty("_Normal3_TextureScale", instance.GetTextureScale("_Normal3_TextureScale")); - if(instance.HasProperty("_Normal2")) - writer.WriteProperty("_Normal2", instance.GetTexture("_Normal2")); - if(instance.HasProperty("_Normal2_TextureOffset")) - writer.WriteProperty("_Normal2_TextureOffset", instance.GetTextureOffset("_Normal2_TextureOffset")); - if(instance.HasProperty("_Normal2_TextureScale")) - writer.WriteProperty("_Normal2_TextureScale", instance.GetTextureScale("_Normal2_TextureScale")); - if(instance.HasProperty("_Normal1")) - writer.WriteProperty("_Normal1", instance.GetTexture("_Normal1")); - if(instance.HasProperty("_Normal1_TextureOffset")) - writer.WriteProperty("_Normal1_TextureOffset", instance.GetTextureOffset("_Normal1_TextureOffset")); - if(instance.HasProperty("_Normal1_TextureScale")) - writer.WriteProperty("_Normal1_TextureScale", instance.GetTextureScale("_Normal1_TextureScale")); - if(instance.HasProperty("_Normal0")) - writer.WriteProperty("_Normal0", instance.GetTexture("_Normal0")); - if(instance.HasProperty("_Normal0_TextureOffset")) - writer.WriteProperty("_Normal0_TextureOffset", instance.GetTextureOffset("_Normal0_TextureOffset")); - if(instance.HasProperty("_Normal0_TextureScale")) - writer.WriteProperty("_Normal0_TextureScale", instance.GetTextureScale("_Normal0_TextureScale")); - if(instance.HasProperty("_Cutoff")) - writer.WriteProperty("_Cutoff", instance.GetFloat("_Cutoff")); - if(instance.HasProperty("_BaseLight")) - writer.WriteProperty("_BaseLight", instance.GetFloat("_BaseLight")); - if(instance.HasProperty("_AO")) - writer.WriteProperty("_AO", instance.GetFloat("_AO")); - if(instance.HasProperty("_Occlusion")) - writer.WriteProperty("_Occlusion", instance.GetFloat("_Occlusion")); - if(instance.HasProperty("_TreeInstanceColor")) - writer.WriteProperty("_TreeInstanceColor", instance.GetVector("_TreeInstanceColor")); - if(instance.HasProperty("_TreeInstanceScale")) - writer.WriteProperty("_TreeInstanceScale", instance.GetVector("_TreeInstanceScale")); - if(instance.HasProperty("_SquashAmount")) - writer.WriteProperty("_SquashAmount", instance.GetFloat("_SquashAmount")); - if(instance.HasProperty("_TranslucencyColor")) - writer.WriteProperty("_TranslucencyColor", instance.GetColor("_TranslucencyColor")); - if(instance.HasProperty("_TranslucencyViewDependency")) - writer.WriteProperty("_TranslucencyViewDependency", instance.GetFloat("_TranslucencyViewDependency")); - if(instance.HasProperty("_ShadowStrength")) - writer.WriteProperty("_ShadowStrength", instance.GetFloat("_ShadowStrength")); - if(instance.HasProperty("_ShadowOffsetScale")) - writer.WriteProperty("_ShadowOffsetScale", instance.GetFloat("_ShadowOffsetScale")); - if(instance.HasProperty("_ShadowTex")) - writer.WriteProperty("_ShadowTex", instance.GetTexture("_ShadowTex")); - if(instance.HasProperty("_ShadowTex_TextureOffset")) - writer.WriteProperty("_ShadowTex_TextureOffset", instance.GetTextureOffset("_ShadowTex_TextureOffset")); - if(instance.HasProperty("_ShadowTex_TextureScale")) - writer.WriteProperty("_ShadowTex_TextureScale", instance.GetTextureScale("_ShadowTex_TextureScale")); - if(instance.HasProperty("_BumpSpecMap")) - writer.WriteProperty("_BumpSpecMap", instance.GetTexture("_BumpSpecMap")); - if(instance.HasProperty("_BumpSpecMap_TextureOffset")) - writer.WriteProperty("_BumpSpecMap_TextureOffset", instance.GetTextureOffset("_BumpSpecMap_TextureOffset")); - if(instance.HasProperty("_BumpSpecMap_TextureScale")) - writer.WriteProperty("_BumpSpecMap_TextureScale", instance.GetTextureScale("_BumpSpecMap_TextureScale")); - if(instance.HasProperty("_TranslucencyMap")) - writer.WriteProperty("_TranslucencyMap", instance.GetTexture("_TranslucencyMap")); - if(instance.HasProperty("_TranslucencyMap_TextureOffset")) - writer.WriteProperty("_TranslucencyMap_TextureOffset", instance.GetTextureOffset("_TranslucencyMap_TextureOffset")); - if(instance.HasProperty("_TranslucencyMap_TextureScale")) - writer.WriteProperty("_TranslucencyMap_TextureScale", instance.GetTextureScale("_TranslucencyMap_TextureScale")); - if(instance.HasProperty("_LightMap")) - writer.WriteProperty("_LightMap", instance.GetTexture("_LightMap")); - if(instance.HasProperty("_LightMap_TextureOffset")) - writer.WriteProperty("_LightMap_TextureOffset", instance.GetTextureOffset("_LightMap_TextureOffset")); - if(instance.HasProperty("_LightMap_TextureScale")) - writer.WriteProperty("_LightMap_TextureScale", instance.GetTextureScale("_LightMap_TextureScale")); - if(instance.HasProperty("_DetailTex")) - writer.WriteProperty("_DetailTex", instance.GetTexture("_DetailTex")); - if(instance.HasProperty("_DetailTex_TextureOffset")) - writer.WriteProperty("_DetailTex_TextureOffset", instance.GetTextureOffset("_DetailTex_TextureOffset")); - if(instance.HasProperty("_DetailTex_TextureScale")) - writer.WriteProperty("_DetailTex_TextureScale", instance.GetTextureScale("_DetailTex_TextureScale")); - if(instance.HasProperty("_DetailBump")) - writer.WriteProperty("_DetailBump", instance.GetTexture("_DetailBump")); - if(instance.HasProperty("_DetailBump_TextureOffset")) - writer.WriteProperty("_DetailBump_TextureOffset", instance.GetTextureOffset("_DetailBump_TextureOffset")); - if(instance.HasProperty("_DetailBump_TextureScale")) - writer.WriteProperty("_DetailBump_TextureScale", instance.GetTextureScale("_DetailBump_TextureScale")); - if(instance.HasProperty("_Strength")) - writer.WriteProperty("_Strength", instance.GetFloat("_Strength")); - if(instance.HasProperty("_InvFade")) - writer.WriteProperty("_InvFade", instance.GetFloat("_InvFade")); - if(instance.HasProperty("_EmisColor")) - writer.WriteProperty("_EmisColor", instance.GetColor("_EmisColor")); - if(instance.HasProperty("_Parallax")) - writer.WriteProperty("_Parallax", instance.GetFloat("_Parallax")); - if(instance.HasProperty("_ParallaxMap")) - writer.WriteProperty("_ParallaxMap", instance.GetTexture("_ParallaxMap")); - if(instance.HasProperty("_ParallaxMap_TextureOffset")) - writer.WriteProperty("_ParallaxMap_TextureOffset", instance.GetTextureOffset("_ParallaxMap_TextureOffset")); - if(instance.HasProperty("_ParallaxMap_TextureScale")) - writer.WriteProperty("_ParallaxMap_TextureScale", instance.GetTextureScale("_ParallaxMap_TextureScale")); - if(instance.HasProperty("_DecalTex")) - writer.WriteProperty("_DecalTex", instance.GetTexture("_DecalTex")); - if(instance.HasProperty("_DecalTex_TextureOffset")) - writer.WriteProperty("_DecalTex_TextureOffset", instance.GetTextureOffset("_DecalTex_TextureOffset")); - if(instance.HasProperty("_DecalTex_TextureScale")) - writer.WriteProperty("_DecalTex_TextureScale", instance.GetTextureScale("_DecalTex_TextureScale")); - if(instance.HasProperty("_GlossMap")) - writer.WriteProperty("_GlossMap", instance.GetTexture("_GlossMap")); - if(instance.HasProperty("_GlossMap_TextureOffset")) - writer.WriteProperty("_GlossMap_TextureOffset", instance.GetTextureOffset("_GlossMap_TextureOffset")); - if(instance.HasProperty("_GlossMap_TextureScale")) - writer.WriteProperty("_GlossMap_TextureScale", instance.GetTextureScale("_GlossMap_TextureScale")); - if(instance.HasProperty("_ShadowOffset")) - writer.WriteProperty("_ShadowOffset", instance.GetTexture("_ShadowOffset")); - if(instance.HasProperty("_ShadowOffset_TextureOffset")) - writer.WriteProperty("_ShadowOffset_TextureOffset", instance.GetTextureOffset("_ShadowOffset_TextureOffset")); - if(instance.HasProperty("_ShadowOffset_TextureScale")) - writer.WriteProperty("_ShadowOffset_TextureScale", instance.GetTextureScale("_ShadowOffset_TextureScale")); - if(instance.HasProperty("_SunDisk")) - writer.WriteProperty("_SunDisk", instance.GetFloat("_SunDisk")); - if(instance.HasProperty("_SunSize")) - writer.WriteProperty("_SunSize", instance.GetFloat("_SunSize")); - if(instance.HasProperty("_AtmosphereThickness")) - writer.WriteProperty("_AtmosphereThickness", instance.GetFloat("_AtmosphereThickness")); - if(instance.HasProperty("_SkyTint")) - writer.WriteProperty("_SkyTint", instance.GetColor("_SkyTint")); - if(instance.HasProperty("_GroundColor")) - writer.WriteProperty("_GroundColor", instance.GetColor("_GroundColor")); - if(instance.HasProperty("_WireThickness")) - writer.WriteProperty("_WireThickness", instance.GetFloat("_WireThickness")); - if(instance.HasProperty("_ZWrite")) - writer.WriteProperty("_ZWrite", instance.GetFloat("_ZWrite")); - if(instance.HasProperty("_ZTest")) - writer.WriteProperty("_ZTest", instance.GetFloat("_ZTest")); - if(instance.HasProperty("_Cull")) - writer.WriteProperty("_Cull", instance.GetFloat("_Cull")); - if(instance.HasProperty("_ZBias")) - writer.WriteProperty("_ZBias", instance.GetFloat("_ZBias")); - if(instance.HasProperty("_HueVariation")) - writer.WriteProperty("_HueVariation", instance.GetColor("_HueVariation")); - if(instance.HasProperty("_WindQuality")) - writer.WriteProperty("_WindQuality", instance.GetFloat("_WindQuality")); - if(instance.HasProperty("_DetailMask")) - writer.WriteProperty("_DetailMask", instance.GetTexture("_DetailMask")); - if(instance.HasProperty("_DetailMask_TextureOffset")) - writer.WriteProperty("_DetailMask_TextureOffset", instance.GetTextureOffset("_DetailMask_TextureOffset")); - if(instance.HasProperty("_DetailMask_TextureScale")) - writer.WriteProperty("_DetailMask_TextureScale", instance.GetTextureScale("_DetailMask_TextureScale")); - if(instance.HasProperty("_MetallicTex")) - writer.WriteProperty("_MetallicTex", instance.GetTexture("_MetallicTex")); - if(instance.HasProperty("_MetallicTex_TextureOffset")) - writer.WriteProperty("_MetallicTex_TextureOffset", instance.GetTextureOffset("_MetallicTex_TextureOffset")); - if(instance.HasProperty("_MetallicTex_TextureScale")) - writer.WriteProperty("_MetallicTex_TextureScale", instance.GetTextureScale("_MetallicTex_TextureScale")); - if(instance.HasProperty("_Glossiness")) - writer.WriteProperty("_Glossiness", instance.GetFloat("_Glossiness")); - if(instance.HasProperty("_GlossMapScale")) - writer.WriteProperty("_GlossMapScale", instance.GetFloat("_GlossMapScale")); - if(instance.HasProperty("_SmoothnessTextureChannel")) - writer.WriteProperty("_SmoothnessTextureChannel", instance.GetFloat("_SmoothnessTextureChannel")); - if(instance.HasProperty("_Metallic")) - writer.WriteProperty("_Metallic", instance.GetFloat("_Metallic")); - if(instance.HasProperty("_MetallicGlossMap")) - writer.WriteProperty("_MetallicGlossMap", instance.GetTexture("_MetallicGlossMap")); - if(instance.HasProperty("_MetallicGlossMap_TextureOffset")) - writer.WriteProperty("_MetallicGlossMap_TextureOffset", instance.GetTextureOffset("_MetallicGlossMap_TextureOffset")); - if(instance.HasProperty("_MetallicGlossMap_TextureScale")) - writer.WriteProperty("_MetallicGlossMap_TextureScale", instance.GetTextureScale("_MetallicGlossMap_TextureScale")); - if(instance.HasProperty("_SpecularHighlights")) - writer.WriteProperty("_SpecularHighlights", instance.GetFloat("_SpecularHighlights")); - if(instance.HasProperty("_GlossyReflections")) - writer.WriteProperty("_GlossyReflections", instance.GetFloat("_GlossyReflections")); - if(instance.HasProperty("_BumpScale")) - writer.WriteProperty("_BumpScale", instance.GetFloat("_BumpScale")); - if(instance.HasProperty("_OcclusionStrength")) - writer.WriteProperty("_OcclusionStrength", instance.GetFloat("_OcclusionStrength")); - if(instance.HasProperty("_OcclusionMap")) - writer.WriteProperty("_OcclusionMap", instance.GetTexture("_OcclusionMap")); - if(instance.HasProperty("_OcclusionMap_TextureOffset")) - writer.WriteProperty("_OcclusionMap_TextureOffset", instance.GetTextureOffset("_OcclusionMap_TextureOffset")); - if(instance.HasProperty("_OcclusionMap_TextureScale")) - writer.WriteProperty("_OcclusionMap_TextureScale", instance.GetTextureScale("_OcclusionMap_TextureScale")); - if(instance.HasProperty("_EmissionColor")) - writer.WriteProperty("_EmissionColor", instance.GetColor("_EmissionColor")); - if(instance.HasProperty("_EmissionMap")) - writer.WriteProperty("_EmissionMap", instance.GetTexture("_EmissionMap")); - if(instance.HasProperty("_EmissionMap_TextureOffset")) - writer.WriteProperty("_EmissionMap_TextureOffset", instance.GetTextureOffset("_EmissionMap_TextureOffset")); - if(instance.HasProperty("_EmissionMap_TextureScale")) - writer.WriteProperty("_EmissionMap_TextureScale", instance.GetTextureScale("_EmissionMap_TextureScale")); - if(instance.HasProperty("_DetailAlbedoMap")) - writer.WriteProperty("_DetailAlbedoMap", instance.GetTexture("_DetailAlbedoMap")); - if(instance.HasProperty("_DetailAlbedoMap_TextureOffset")) - writer.WriteProperty("_DetailAlbedoMap_TextureOffset", instance.GetTextureOffset("_DetailAlbedoMap_TextureOffset")); - if(instance.HasProperty("_DetailAlbedoMap_TextureScale")) - writer.WriteProperty("_DetailAlbedoMap_TextureScale", instance.GetTextureScale("_DetailAlbedoMap_TextureScale")); - if(instance.HasProperty("_DetailNormalMapScale")) - writer.WriteProperty("_DetailNormalMapScale", instance.GetFloat("_DetailNormalMapScale")); - if(instance.HasProperty("_DetailNormalMap")) - writer.WriteProperty("_DetailNormalMap", instance.GetTexture("_DetailNormalMap")); - if(instance.HasProperty("_DetailNormalMap_TextureOffset")) - writer.WriteProperty("_DetailNormalMap_TextureOffset", instance.GetTextureOffset("_DetailNormalMap_TextureOffset")); - if(instance.HasProperty("_DetailNormalMap_TextureScale")) - writer.WriteProperty("_DetailNormalMap_TextureScale", instance.GetTextureScale("_DetailNormalMap_TextureScale")); - if(instance.HasProperty("_UVSec")) - writer.WriteProperty("_UVSec", instance.GetFloat("_UVSec")); - if(instance.HasProperty("_Mode")) - writer.WriteProperty("_Mode", instance.GetFloat("_Mode")); - if(instance.HasProperty("_TintColor")) - writer.WriteProperty("_TintColor", instance.GetColor("_TintColor")); - if(instance.HasProperty("_WavingTint")) - writer.WriteProperty("_WavingTint", instance.GetColor("_WavingTint")); - if(instance.HasProperty("_WaveAndDistance")) - writer.WriteProperty("_WaveAndDistance", instance.GetVector("_WaveAndDistance")); - if(instance.HasProperty("_LightTexture0")) - writer.WriteProperty("_LightTexture0", instance.GetTexture("_LightTexture0")); - if(instance.HasProperty("_LightTexture0_TextureOffset")) - writer.WriteProperty("_LightTexture0_TextureOffset", instance.GetTextureOffset("_LightTexture0_TextureOffset")); - if(instance.HasProperty("_LightTexture0_TextureScale")) - writer.WriteProperty("_LightTexture0_TextureScale", instance.GetTextureScale("_LightTexture0_TextureScale")); - if(instance.HasProperty("_LightTextureB0")) - writer.WriteProperty("_LightTextureB0", instance.GetTexture("_LightTextureB0")); - if(instance.HasProperty("_LightTextureB0_TextureOffset")) - writer.WriteProperty("_LightTextureB0_TextureOffset", instance.GetTextureOffset("_LightTextureB0_TextureOffset")); - if(instance.HasProperty("_LightTextureB0_TextureScale")) - writer.WriteProperty("_LightTextureB0_TextureScale", instance.GetTextureScale("_LightTextureB0_TextureScale")); - if(instance.HasProperty("_ShadowMapTexture")) - writer.WriteProperty("_ShadowMapTexture", instance.GetTexture("_ShadowMapTexture")); - if(instance.HasProperty("_ShadowMapTexture_TextureOffset")) - writer.WriteProperty("_ShadowMapTexture_TextureOffset", instance.GetTextureOffset("_ShadowMapTexture_TextureOffset")); - if(instance.HasProperty("_ShadowMapTexture_TextureScale")) - writer.WriteProperty("_ShadowMapTexture_TextureScale", instance.GetTextureScale("_ShadowMapTexture_TextureScale")); - if(instance.HasProperty("_SecondTex")) - writer.WriteProperty("_SecondTex", instance.GetTexture("_SecondTex")); - if(instance.HasProperty("_SecondTex_TextureOffset")) - writer.WriteProperty("_SecondTex_TextureOffset", instance.GetTextureOffset("_SecondTex_TextureOffset")); - if(instance.HasProperty("_SecondTex_TextureScale")) - writer.WriteProperty("_SecondTex_TextureScale", instance.GetTextureScale("_SecondTex_TextureScale")); - if(instance.HasProperty("_ThirdTex")) - writer.WriteProperty("_ThirdTex", instance.GetTexture("_ThirdTex")); - if(instance.HasProperty("_ThirdTex_TextureOffset")) - writer.WriteProperty("_ThirdTex_TextureOffset", instance.GetTextureOffset("_ThirdTex_TextureOffset")); - if(instance.HasProperty("_ThirdTex_TextureScale")) - writer.WriteProperty("_ThirdTex_TextureScale", instance.GetTextureScale("_ThirdTex_TextureScale")); - if(instance.HasProperty("PixelSnap")) - writer.WriteProperty("PixelSnap", instance.GetFloat("PixelSnap")); - if(instance.HasProperty("_RendererColor")) - writer.WriteProperty("_RendererColor", instance.GetColor("_RendererColor")); - if(instance.HasProperty("_Flip")) - writer.WriteProperty("_Flip", instance.GetVector("_Flip")); - if(instance.HasProperty("_AlphaTex")) - writer.WriteProperty("_AlphaTex", instance.GetTexture("_AlphaTex")); - if(instance.HasProperty("_AlphaTex_TextureOffset")) - writer.WriteProperty("_AlphaTex_TextureOffset", instance.GetTextureOffset("_AlphaTex_TextureOffset")); - if(instance.HasProperty("_AlphaTex_TextureScale")) - writer.WriteProperty("_AlphaTex_TextureScale", instance.GetTextureScale("_AlphaTex_TextureScale")); - if(instance.HasProperty("_EnableExternalAlpha")) - writer.WriteProperty("_EnableExternalAlpha", instance.GetFloat("_EnableExternalAlpha")); - if(instance.HasProperty("_Level")) - writer.WriteProperty("_Level", instance.GetFloat("_Level")); - if(instance.HasProperty("_SpecGlossMap")) - writer.WriteProperty("_SpecGlossMap", instance.GetTexture("_SpecGlossMap")); - if(instance.HasProperty("_SpecGlossMap_TextureOffset")) - writer.WriteProperty("_SpecGlossMap_TextureOffset", instance.GetTextureOffset("_SpecGlossMap_TextureOffset")); - if(instance.HasProperty("_SpecGlossMap_TextureScale")) - writer.WriteProperty("_SpecGlossMap_TextureScale", instance.GetTextureScale("_SpecGlossMap_TextureScale")); - if(instance.HasProperty("_FrontTex")) - writer.WriteProperty("_FrontTex", instance.GetTexture("_FrontTex")); - if(instance.HasProperty("_FrontTex_TextureOffset")) - writer.WriteProperty("_FrontTex_TextureOffset", instance.GetTextureOffset("_FrontTex_TextureOffset")); - if(instance.HasProperty("_FrontTex_TextureScale")) - writer.WriteProperty("_FrontTex_TextureScale", instance.GetTextureScale("_FrontTex_TextureScale")); - if(instance.HasProperty("_BackTex")) - writer.WriteProperty("_BackTex", instance.GetTexture("_BackTex")); - if(instance.HasProperty("_BackTex_TextureOffset")) - writer.WriteProperty("_BackTex_TextureOffset", instance.GetTextureOffset("_BackTex_TextureOffset")); - if(instance.HasProperty("_BackTex_TextureScale")) - writer.WriteProperty("_BackTex_TextureScale", instance.GetTextureScale("_BackTex_TextureScale")); - if(instance.HasProperty("_LeftTex")) - writer.WriteProperty("_LeftTex", instance.GetTexture("_LeftTex")); - if(instance.HasProperty("_LeftTex_TextureOffset")) - writer.WriteProperty("_LeftTex_TextureOffset", instance.GetTextureOffset("_LeftTex_TextureOffset")); - if(instance.HasProperty("_LeftTex_TextureScale")) - writer.WriteProperty("_LeftTex_TextureScale", instance.GetTextureScale("_LeftTex_TextureScale")); - if(instance.HasProperty("_RightTex")) - writer.WriteProperty("_RightTex", instance.GetTexture("_RightTex")); - if(instance.HasProperty("_RightTex_TextureOffset")) - writer.WriteProperty("_RightTex_TextureOffset", instance.GetTextureOffset("_RightTex_TextureOffset")); - if(instance.HasProperty("_RightTex_TextureScale")) - writer.WriteProperty("_RightTex_TextureScale", instance.GetTextureScale("_RightTex_TextureScale")); - if(instance.HasProperty("_UpTex")) - writer.WriteProperty("_UpTex", instance.GetTexture("_UpTex")); - if(instance.HasProperty("_UpTex_TextureOffset")) - writer.WriteProperty("_UpTex_TextureOffset", instance.GetTextureOffset("_UpTex_TextureOffset")); - if(instance.HasProperty("_UpTex_TextureScale")) - writer.WriteProperty("_UpTex_TextureScale", instance.GetTextureScale("_UpTex_TextureScale")); - if(instance.HasProperty("_DownTex")) - writer.WriteProperty("_DownTex", instance.GetTexture("_DownTex")); - if(instance.HasProperty("_DownTex_TextureOffset")) - writer.WriteProperty("_DownTex_TextureOffset", instance.GetTextureOffset("_DownTex_TextureOffset")); - if(instance.HasProperty("_DownTex_TextureScale")) - writer.WriteProperty("_DownTex_TextureScale", instance.GetTextureScale("_DownTex_TextureScale")); - if(instance.HasProperty("_Metallic0")) - writer.WriteProperty("_Metallic0", instance.GetFloat("_Metallic0")); - if(instance.HasProperty("_Metallic1")) - writer.WriteProperty("_Metallic1", instance.GetFloat("_Metallic1")); - if(instance.HasProperty("_Metallic2")) - writer.WriteProperty("_Metallic2", instance.GetFloat("_Metallic2")); - if(instance.HasProperty("_Metallic3")) - writer.WriteProperty("_Metallic3", instance.GetFloat("_Metallic3")); - if(instance.HasProperty("_Smoothness0")) - writer.WriteProperty("_Smoothness0", instance.GetFloat("_Smoothness0")); - if(instance.HasProperty("_Smoothness1")) - writer.WriteProperty("_Smoothness1", instance.GetFloat("_Smoothness1")); - if(instance.HasProperty("_Smoothness2")) - writer.WriteProperty("_Smoothness2", instance.GetFloat("_Smoothness2")); - if(instance.HasProperty("_Smoothness3")) - writer.WriteProperty("_Smoothness3", instance.GetFloat("_Smoothness3")); - if(instance.HasProperty("_TexA")) - writer.WriteProperty("_TexA", instance.GetTexture("_TexA")); - if(instance.HasProperty("_TexA_TextureOffset")) - writer.WriteProperty("_TexA_TextureOffset", instance.GetTextureOffset("_TexA_TextureOffset")); - if(instance.HasProperty("_TexA_TextureScale")) - writer.WriteProperty("_TexA_TextureScale", instance.GetTextureScale("_TexA_TextureScale")); - if(instance.HasProperty("_TexB")) - writer.WriteProperty("_TexB", instance.GetTexture("_TexB")); - if(instance.HasProperty("_TexB_TextureOffset")) - writer.WriteProperty("_TexB_TextureOffset", instance.GetTextureOffset("_TexB_TextureOffset")); - if(instance.HasProperty("_TexB_TextureScale")) - writer.WriteProperty("_TexB_TextureScale", instance.GetTextureScale("_TexB_TextureScale")); - if(instance.HasProperty("_value")) - writer.WriteProperty("_value", instance.GetFloat("_value")); - if(instance.HasProperty("_Texel")) - writer.WriteProperty("_Texel", instance.GetFloat("_Texel")); - if(instance.HasProperty("_Detail")) - writer.WriteProperty("_Detail", instance.GetTexture("_Detail")); - if(instance.HasProperty("_Detail_TextureOffset")) - writer.WriteProperty("_Detail_TextureOffset", instance.GetTextureOffset("_Detail_TextureOffset")); - if(instance.HasProperty("_Detail_TextureScale")) - writer.WriteProperty("_Detail_TextureScale", instance.GetTextureScale("_Detail_TextureScale")); - if(instance.HasProperty("_HalfOverCutoff")) - writer.WriteProperty("_HalfOverCutoff", instance.GetFloat("_HalfOverCutoff")); - - } - - protected override object ReadUnityObject(ES3Reader reader) - { - var obj = new Material(Shader.Find("Diffuse")); - ReadUnityObject(reader, obj); - return obj; - } - - protected override void ReadUnityObject(ES3Reader reader, object obj) - { - var instance = (UnityEngine.Material)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - case "name": - instance.name = reader.Read(ES3Type_string.Instance); - break; - case "shader": - instance.shader = reader.Read(ES3Type_Shader.Instance); - break; - case "renderQueue": - instance.renderQueue = reader.Read(ES3Type_int.Instance); - break; - case "shaderKeywords": - instance.shaderKeywords = reader.Read(); - break; - case "globalIlluminationFlags": - instance.globalIlluminationFlags = reader.Read(); - break; - case "_Color": - instance.SetColor("_Color", reader.Read()); - break; - case "_SpecColor": - instance.SetColor("_SpecColor", reader.Read()); - break; - case "_Shininess": - instance.SetFloat("_Shininess", reader.Read()); - break; - case "_MainTex": - instance.SetTexture("_MainTex", reader.Read()); - break; - case "_MainTex_TextureOffset": - instance.SetTextureOffset("_MainTex_TextureOffset", reader.Read()); - break; - case "_MainTex_TextureScale": - instance.SetTextureScale("_MainTex_TextureScale", reader.Read()); - break; - case "_Illum": - instance.SetTexture("_Illum", reader.Read()); - break; - case "_Illum_TextureOffset": - instance.SetTextureOffset("_Illum_TextureOffset", reader.Read()); - break; - case "_Illum_TextureScale": - instance.SetTextureScale("_Illum_TextureScale", reader.Read()); - break; - case "_BumpMap": - instance.SetTexture("_BumpMap", reader.Read()); - break; - case "_BumpMap_TextureOffset": - instance.SetTextureOffset("_BumpMap_TextureOffset", reader.Read()); - break; - case "_BumpMap_TextureScale": - instance.SetTextureScale("_BumpMap_TextureScale", reader.Read()); - break; - case "_Emission": - instance.SetFloat("_Emission", reader.Read()); - break; - case "_Specular": - instance.SetColor("_Specular", reader.Read()); - break; - case "_MainBump": - instance.SetTexture("_MainBump", reader.Read()); - break; - case "_MainBump_TextureOffset": - instance.SetTextureOffset("_MainBump_TextureOffset", reader.Read()); - break; - case "_MainBump_TextureScale": - instance.SetTextureScale("_MainBump_TextureScale", reader.Read()); - break; - case "_Mask": - instance.SetTexture("_Mask", reader.Read()); - break; - case "_Mask_TextureOffset": - instance.SetTextureOffset("_Mask_TextureOffset", reader.Read()); - break; - case "_Mask_TextureScale": - instance.SetTextureScale("_Mask_TextureScale", reader.Read()); - break; - case "_Focus": - instance.SetFloat("_Focus", reader.Read()); - break; - case "_StencilComp": - instance.SetFloat("_StencilComp", reader.Read()); - break; - case "_Stencil": - instance.SetFloat("_Stencil", reader.Read()); - break; - case "_StencilOp": - instance.SetFloat("_StencilOp", reader.Read()); - break; - case "_StencilWriteMask": - instance.SetFloat("_StencilWriteMask", reader.Read()); - break; - case "_StencilReadMask": - instance.SetFloat("_StencilReadMask", reader.Read()); - break; - case "_ColorMask": - instance.SetFloat("_ColorMask", reader.Read()); - break; - case "_UseUIAlphaClip": - instance.SetFloat("_UseUIAlphaClip", reader.Read()); - break; - case "_SrcBlend": - instance.SetFloat("_SrcBlend", reader.Read()); - break; - case "_DstBlend": - instance.SetFloat("_DstBlend", reader.Read()); - break; - case "_ReflectColor": - instance.SetColor("_ReflectColor", reader.Read()); - break; - case "_Cube": - instance.SetTexture("_Cube", reader.Read()); - break; - case "_Cube_TextureOffset": - instance.SetTextureOffset("_Cube_TextureOffset", reader.Read()); - break; - case "_Cube_TextureScale": - instance.SetTextureScale("_Cube_TextureScale", reader.Read()); - break; - case "_Tint": - instance.SetColor("_Tint", reader.Read()); - break; - case "_Exposure": - instance.SetFloat("_Exposure", reader.Read()); - break; - case "_Rotation": - instance.SetFloat("_Rotation", reader.Read()); - break; - case "_Tex": - instance.SetTexture("_Tex", reader.Read()); - break; - case "_Tex_TextureOffset": - instance.SetTextureOffset("_Tex_TextureOffset", reader.Read()); - break; - case "_Tex_TextureScale": - instance.SetTextureScale("_Tex_TextureScale", reader.Read()); - break; - case "_MainTex_Scale": - instance.SetTextureScale("_MainTex", reader.Read()); - break; - case "_Control": - instance.SetTexture("_Control", reader.Read()); - break; - case "_Control_TextureOffset": - instance.SetTextureOffset("_Control_TextureOffset", reader.Read()); - break; - case "_Control_TextureScale": - instance.SetTextureScale("_Control_TextureScale", reader.Read()); - break; - case "_Splat3": - instance.SetTexture("_Splat3", reader.Read()); - break; - case "_Splat3_TextureOffset": - instance.SetTextureOffset("_Splat3_TextureOffset", reader.Read()); - break; - case "_Splat3_TextureScale": - instance.SetTextureScale("_Splat3_TextureScale", reader.Read()); - break; - case "_Splat2": - instance.SetTexture("_Splat2", reader.Read()); - break; - case "_Splat2_TextureOffset": - instance.SetTextureOffset("_Splat2_TextureOffset", reader.Read()); - break; - case "_Splat2_TextureScale": - instance.SetTextureScale("_Splat2_TextureScale", reader.Read()); - break; - case "_Splat1": - instance.SetTexture("_Splat1", reader.Read()); - break; - case "_Splat1_TextureOffset": - instance.SetTextureOffset("_Splat1_TextureOffset", reader.Read()); - break; - case "_Splat1_TextureScale": - instance.SetTextureScale("_Splat1_TextureScale", reader.Read()); - break; - case "_Splat0": - instance.SetTexture("_Splat0", reader.Read()); - break; - case "_Splat0_TextureOffset": - instance.SetTextureOffset("_Splat0_TextureOffset", reader.Read()); - break; - case "_Splat0_TextureScale": - instance.SetTextureScale("_Splat0_TextureScale", reader.Read()); - break; - case "_Normal3": - instance.SetTexture("_Normal3", reader.Read()); - break; - case "_Normal3_TextureOffset": - instance.SetTextureOffset("_Normal3_TextureOffset", reader.Read()); - break; - case "_Normal3_TextureScale": - instance.SetTextureScale("_Normal3_TextureScale", reader.Read()); - break; - case "_Normal2": - instance.SetTexture("_Normal2", reader.Read()); - break; - case "_Normal2_TextureOffset": - instance.SetTextureOffset("_Normal2_TextureOffset", reader.Read()); - break; - case "_Normal2_TextureScale": - instance.SetTextureScale("_Normal2_TextureScale", reader.Read()); - break; - case "_Normal1": - instance.SetTexture("_Normal1", reader.Read()); - break; - case "_Normal1_TextureOffset": - instance.SetTextureOffset("_Normal1_TextureOffset", reader.Read()); - break; - case "_Normal1_TextureScale": - instance.SetTextureScale("_Normal1_TextureScale", reader.Read()); - break; - case "_Normal0": - instance.SetTexture("_Normal0", reader.Read()); - break; - case "_Normal0_TextureOffset": - instance.SetTextureOffset("_Normal0_TextureOffset", reader.Read()); - break; - case "_Normal0_TextureScale": - instance.SetTextureScale("_Normal0_TextureScale", reader.Read()); - break; - case "_Cutoff": - instance.SetFloat("_Cutoff", reader.Read()); - break; - case "_BaseLight": - instance.SetFloat("_BaseLight", reader.Read()); - break; - case "_AO": - instance.SetFloat("_AO", reader.Read()); - break; - case "_Occlusion": - instance.SetFloat("_Occlusion", reader.Read()); - break; - case "_TreeInstanceColor": - instance.SetVector("_TreeInstanceColor", reader.Read()); - break; - case "_TreeInstanceScale": - instance.SetVector("_TreeInstanceScale", reader.Read()); - break; - case "_SquashAmount": - instance.SetFloat("_SquashAmount", reader.Read()); - break; - case "_TranslucencyColor": - instance.SetColor("_TranslucencyColor", reader.Read()); - break; - case "_TranslucencyViewDependency": - instance.SetFloat("_TranslucencyViewDependency", reader.Read()); - break; - case "_ShadowStrength": - instance.SetFloat("_ShadowStrength", reader.Read()); - break; - case "_ShadowOffsetScale": - instance.SetFloat("_ShadowOffsetScale", reader.Read()); - break; - case "_ShadowTex": - instance.SetTexture("_ShadowTex", reader.Read()); - break; - case "_ShadowTex_TextureOffset": - instance.SetTextureOffset("_ShadowTex_TextureOffset", reader.Read()); - break; - case "_ShadowTex_TextureScale": - instance.SetTextureScale("_ShadowTex_TextureScale", reader.Read()); - break; - case "_BumpSpecMap": - instance.SetTexture("_BumpSpecMap", reader.Read()); - break; - case "_BumpSpecMap_TextureOffset": - instance.SetTextureOffset("_BumpSpecMap_TextureOffset", reader.Read()); - break; - case "_BumpSpecMap_TextureScale": - instance.SetTextureScale("_BumpSpecMap_TextureScale", reader.Read()); - break; - case "_TranslucencyMap": - instance.SetTexture("_TranslucencyMap", reader.Read()); - break; - case "_TranslucencyMap_TextureOffset": - instance.SetTextureOffset("_TranslucencyMap_TextureOffset", reader.Read()); - break; - case "_TranslucencyMap_TextureScale": - instance.SetTextureScale("_TranslucencyMap_TextureScale", reader.Read()); - break; - case "_LightMap": - instance.SetTexture("_LightMap", reader.Read()); - break; - case "_LightMap_TextureOffset": - instance.SetTextureOffset("_LightMap_TextureOffset", reader.Read()); - break; - case "_LightMap_TextureScale": - instance.SetTextureScale("_LightMap_TextureScale", reader.Read()); - break; - case "_DetailTex": - instance.SetTexture("_DetailTex", reader.Read()); - break; - case "_DetailTex_TextureOffset": - instance.SetTextureOffset("_DetailTex_TextureOffset", reader.Read()); - break; - case "_DetailTex_TextureScale": - instance.SetTextureScale("_DetailTex_TextureScale", reader.Read()); - break; - case "_DetailBump": - instance.SetTexture("_DetailBump", reader.Read()); - break; - case "_DetailBump_TextureOffset": - instance.SetTextureOffset("_DetailBump_TextureOffset", reader.Read()); - break; - case "_DetailBump_TextureScale": - instance.SetTextureScale("_DetailBump_TextureScale", reader.Read()); - break; - case "_Strength": - instance.SetFloat("_Strength", reader.Read()); - break; - case "_InvFade": - instance.SetFloat("_InvFade", reader.Read()); - break; - case "_EmisColor": - instance.SetColor("_EmisColor", reader.Read()); - break; - case "_Parallax": - instance.SetFloat("_Parallax", reader.Read()); - break; - case "_ParallaxMap": - instance.SetTexture("_ParallaxMap", reader.Read()); - break; - case "_ParallaxMap_TextureOffset": - instance.SetTextureOffset("_ParallaxMap_TextureOffset", reader.Read()); - break; - case "_ParallaxMap_TextureScale": - instance.SetTextureScale("_ParallaxMap_TextureScale", reader.Read()); - break; - case "_DecalTex": - instance.SetTexture("_DecalTex", reader.Read()); - break; - case "_DecalTex_TextureOffset": - instance.SetTextureOffset("_DecalTex_TextureOffset", reader.Read()); - break; - case "_DecalTex_TextureScale": - instance.SetTextureScale("_DecalTex_TextureScale", reader.Read()); - break; - case "_GlossMap": - instance.SetTexture("_GlossMap", reader.Read()); - break; - case "_GlossMap_TextureOffset": - instance.SetTextureOffset("_GlossMap_TextureOffset", reader.Read()); - break; - case "_GlossMap_TextureScale": - instance.SetTextureScale("_GlossMap_TextureScale", reader.Read()); - break; - case "_ShadowOffset": - instance.SetTexture("_ShadowOffset", reader.Read()); - break; - case "_ShadowOffset_TextureOffset": - instance.SetTextureOffset("_ShadowOffset_TextureOffset", reader.Read()); - break; - case "_ShadowOffset_TextureScale": - instance.SetTextureScale("_ShadowOffset_TextureScale", reader.Read()); - break; - case "_SunDisk": - instance.SetFloat("_SunDisk", reader.Read()); - break; - case "_SunSize": - instance.SetFloat("_SunSize", reader.Read()); - break; - case "_AtmosphereThickness": - instance.SetFloat("_AtmosphereThickness", reader.Read()); - break; - case "_SkyTint": - instance.SetColor("_SkyTint", reader.Read()); - break; - case "_GroundColor": - instance.SetColor("_GroundColor", reader.Read()); - break; - case "_WireThickness": - instance.SetFloat("_WireThickness", reader.Read()); - break; - case "_ZWrite": - instance.SetFloat("_ZWrite", reader.Read()); - break; - case "_ZTest": - instance.SetFloat("_ZTest", reader.Read()); - break; - case "_Cull": - instance.SetFloat("_Cull", reader.Read()); - break; - case "_ZBias": - instance.SetFloat("_ZBias", reader.Read()); - break; - case "_HueVariation": - instance.SetColor("_HueVariation", reader.Read()); - break; - case "_WindQuality": - instance.SetFloat("_WindQuality", reader.Read()); - break; - case "_DetailMask": - instance.SetTexture("_DetailMask", reader.Read()); - break; - case "_DetailMask_TextureOffset": - instance.SetTextureOffset("_DetailMask_TextureOffset", reader.Read()); - break; - case "_DetailMask_TextureScale": - instance.SetTextureScale("_DetailMask_TextureScale", reader.Read()); - break; - case "_MetallicTex": - instance.SetTexture("_MetallicTex", reader.Read()); - break; - case "_MetallicTex_TextureOffset": - instance.SetTextureOffset("_MetallicTex_TextureOffset", reader.Read()); - break; - case "_MetallicTex_TextureScale": - instance.SetTextureScale("_MetallicTex_TextureScale", reader.Read()); - break; - case "_Glossiness": - instance.SetFloat("_Glossiness", reader.Read()); - break; - case "_GlossMapScale": - instance.SetFloat("_GlossMapScale", reader.Read()); - break; - case "_SmoothnessTextureChannel": - instance.SetFloat("_SmoothnessTextureChannel", reader.Read()); - break; - case "_Metallic": - instance.SetFloat("_Metallic", reader.Read()); - break; - case "_MetallicGlossMap": - instance.SetTexture("_MetallicGlossMap", reader.Read()); - break; - case "_MetallicGlossMap_TextureOffset": - instance.SetTextureOffset("_MetallicGlossMap_TextureOffset", reader.Read()); - break; - case "_MetallicGlossMap_TextureScale": - instance.SetTextureScale("_MetallicGlossMap_TextureScale", reader.Read()); - break; - case "_SpecularHighlights": - instance.SetFloat("_SpecularHighlights", reader.Read()); - break; - case "_GlossyReflections": - instance.SetFloat("_GlossyReflections", reader.Read()); - break; - case "_BumpScale": - instance.SetFloat("_BumpScale", reader.Read()); - break; - case "_OcclusionStrength": - instance.SetFloat("_OcclusionStrength", reader.Read()); - break; - case "_OcclusionMap": - instance.SetTexture("_OcclusionMap", reader.Read()); - break; - case "_OcclusionMap_TextureOffset": - instance.SetTextureOffset("_OcclusionMap_TextureOffset", reader.Read()); - break; - case "_OcclusionMap_TextureScale": - instance.SetTextureScale("_OcclusionMap_TextureScale", reader.Read()); - break; - case "_EmissionColor": - instance.SetColor("_EmissionColor", reader.Read()); - break; - case "_EmissionMap": - instance.SetTexture("_EmissionMap", reader.Read()); - break; - case "_EmissionMap_TextureOffset": - instance.SetTextureOffset("_EmissionMap_TextureOffset", reader.Read()); - break; - case "_EmissionMap_TextureScale": - instance.SetTextureScale("_EmissionMap_TextureScale", reader.Read()); - break; - case "_DetailAlbedoMap": - instance.SetTexture("_DetailAlbedoMap", reader.Read()); - break; - case "_DetailAlbedoMap_TextureOffset": - instance.SetTextureOffset("_DetailAlbedoMap_TextureOffset", reader.Read()); - break; - case "_DetailAlbedoMap_TextureScale": - instance.SetTextureScale("_DetailAlbedoMap_TextureScale", reader.Read()); - break; - case "_DetailNormalMapScale": - instance.SetFloat("_DetailNormalMapScale", reader.Read()); - break; - case "_DetailNormalMap": - instance.SetTexture("_DetailNormalMap", reader.Read()); - break; - case "_DetailNormalMap_TextureOffset": - instance.SetTextureOffset("_DetailNormalMap_TextureOffset", reader.Read()); - break; - case "_DetailNormalMap_TextureScale": - instance.SetTextureScale("_DetailNormalMap_TextureScale", reader.Read()); - break; - case "_UVSec": - instance.SetFloat("_UVSec", reader.Read()); - break; - case "_Mode": - instance.SetFloat("_Mode", reader.Read()); - break; - case "_TintColor": - instance.SetColor("_TintColor", reader.Read()); - break; - case "_WavingTint": - instance.SetColor("_WavingTint", reader.Read()); - break; - case "_WaveAndDistance": - instance.SetVector("_WaveAndDistance", reader.Read()); - break; - case "_LightTexture0": - instance.SetTexture("_LightTexture0", reader.Read()); - break; - case "_LightTexture0_TextureOffset": - instance.SetTextureOffset("_LightTexture0_TextureOffset", reader.Read()); - break; - case "_LightTexture0_TextureScale": - instance.SetTextureScale("_LightTexture0_TextureScale", reader.Read()); - break; - case "_LightTextureB0": - instance.SetTexture("_LightTextureB0", reader.Read()); - break; - case "_LightTextureB0_TextureOffset": - instance.SetTextureOffset("_LightTextureB0_TextureOffset", reader.Read()); - break; - case "_LightTextureB0_TextureScale": - instance.SetTextureScale("_LightTextureB0_TextureScale", reader.Read()); - break; - case "_ShadowMapTexture": - instance.SetTexture("_ShadowMapTexture", reader.Read()); - break; - case "_ShadowMapTexture_TextureOffset": - instance.SetTextureOffset("_ShadowMapTexture_TextureOffset", reader.Read()); - break; - case "_ShadowMapTexture_TextureScale": - instance.SetTextureScale("_ShadowMapTexture_TextureScale", reader.Read()); - break; - case "_SecondTex": - instance.SetTexture("_SecondTex", reader.Read()); - break; - case "_SecondTex_TextureOffset": - instance.SetTextureOffset("_SecondTex_TextureOffset", reader.Read()); - break; - case "_SecondTex_TextureScale": - instance.SetTextureScale("_SecondTex_TextureScale", reader.Read()); - break; - case "_ThirdTex": - instance.SetTexture("_ThirdTex", reader.Read()); - break; - case "_ThirdTex_TextureOffset": - instance.SetTextureOffset("_ThirdTex_TextureOffset", reader.Read()); - break; - case "_ThirdTex_TextureScale": - instance.SetTextureScale("_ThirdTex_TextureScale", reader.Read()); - break; - case "PixelSnap": - instance.SetFloat("PixelSnap", reader.Read()); - break; - case "_RendererColor": - instance.SetColor("_RendererColor", reader.Read()); - break; - case "_Flip": - instance.SetVector("_Flip", reader.Read()); - break; - case "_AlphaTex": - instance.SetTexture("_AlphaTex", reader.Read()); - break; - case "_AlphaTex_TextureOffset": - instance.SetTextureOffset("_AlphaTex_TextureOffset", reader.Read()); - break; - case "_AlphaTex_TextureScale": - instance.SetTextureScale("_AlphaTex_TextureScale", reader.Read()); - break; - case "_EnableExternalAlpha": - instance.SetFloat("_EnableExternalAlpha", reader.Read()); - break; - case "_Level": - instance.SetFloat("_Level", reader.Read()); - break; - case "_SpecGlossMap": - instance.SetTexture("_SpecGlossMap", reader.Read()); - break; - case "_SpecGlossMap_TextureOffset": - instance.SetTextureOffset("_SpecGlossMap_TextureOffset", reader.Read()); - break; - case "_SpecGlossMap_TextureScale": - instance.SetTextureScale("_SpecGlossMap_TextureScale", reader.Read()); - break; - case "_FrontTex": - instance.SetTexture("_FrontTex", reader.Read()); - break; - case "_FrontTex_TextureOffset": - instance.SetTextureOffset("_FrontTex_TextureOffset", reader.Read()); - break; - case "_FrontTex_TextureScale": - instance.SetTextureScale("_FrontTex_TextureScale", reader.Read()); - break; - case "_BackTex": - instance.SetTexture("_BackTex", reader.Read()); - break; - case "_BackTex_TextureOffset": - instance.SetTextureOffset("_BackTex_TextureOffset", reader.Read()); - break; - case "_BackTex_TextureScale": - instance.SetTextureScale("_BackTex_TextureScale", reader.Read()); - break; - case "_LeftTex": - instance.SetTexture("_LeftTex", reader.Read()); - break; - case "_LeftTex_TextureOffset": - instance.SetTextureOffset("_LeftTex_TextureOffset", reader.Read()); - break; - case "_LeftTex_TextureScale": - instance.SetTextureScale("_LeftTex_TextureScale", reader.Read()); - break; - case "_RightTex": - instance.SetTexture("_RightTex", reader.Read()); - break; - case "_RightTex_TextureOffset": - instance.SetTextureOffset("_RightTex_TextureOffset", reader.Read()); - break; - case "_RightTex_TextureScale": - instance.SetTextureScale("_RightTex_TextureScale", reader.Read()); - break; - case "_UpTex": - instance.SetTexture("_UpTex", reader.Read()); - break; - case "_UpTex_TextureOffset": - instance.SetTextureOffset("_UpTex_TextureOffset", reader.Read()); - break; - case "_UpTex_TextureScale": - instance.SetTextureScale("_UpTex_TextureScale", reader.Read()); - break; - case "_DownTex": - instance.SetTexture("_DownTex", reader.Read()); - break; - case "_DownTex_TextureOffset": - instance.SetTextureOffset("_DownTex_TextureOffset", reader.Read()); - break; - case "_DownTex_TextureScale": - instance.SetTextureScale("_DownTex_TextureScale", reader.Read()); - break; - case "_Metallic0": - instance.SetFloat("_Metallic0", reader.Read()); - break; - case "_Metallic1": - instance.SetFloat("_Metallic1", reader.Read()); - break; - case "_Metallic2": - instance.SetFloat("_Metallic2", reader.Read()); - break; - case "_Metallic3": - instance.SetFloat("_Metallic3", reader.Read()); - break; - case "_Smoothness0": - instance.SetFloat("_Smoothness0", reader.Read()); - break; - case "_Smoothness1": - instance.SetFloat("_Smoothness1", reader.Read()); - break; - case "_Smoothness2": - instance.SetFloat("_Smoothness2", reader.Read()); - break; - case "_Smoothness3": - instance.SetFloat("_Smoothness3", reader.Read()); - break; - case "_TexA": - instance.SetTexture("_TexA", reader.Read()); - break; - case "_TexA_TextureOffset": - instance.SetTextureOffset("_TexA_TextureOffset", reader.Read()); - break; - case "_TexA_TextureScale": - instance.SetTextureScale("_TexA_TextureScale", reader.Read()); - break; - case "_TexB": - instance.SetTexture("_TexB", reader.Read()); - break; - case "_TexB_TextureOffset": - instance.SetTextureOffset("_TexB_TextureOffset", reader.Read()); - break; - case "_TexB_TextureScale": - instance.SetTextureScale("_TexB_TextureScale", reader.Read()); - break; - case "_value": - instance.SetFloat("_value", reader.Read()); - break; - case "_Texel": - instance.SetFloat("_Texel", reader.Read()); - break; - case "_Detail": - instance.SetTexture("_Detail", reader.Read()); - break; - case "_Detail_TextureOffset": - instance.SetTextureOffset("_Detail_TextureOffset", reader.Read()); - break; - case "_Detail_TextureScale": - instance.SetTextureScale("_Detail_TextureScale", reader.Read()); - break; - case "_HalfOverCutoff": - instance.SetFloat("_HalfOverCutoff", reader.Read()); - break; - - default: - reader.Skip(); - break; - } - } - } - } - - public class ES3Type_MaterialArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_MaterialArray() : base(typeof(Material[]), ES3Type_Material.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Material.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Material.cs.meta deleted file mode 100644 index 0240dd422..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Material.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e2fe9704b49ad41cbb997e2b68befc6e -timeCreated: 1519132298 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Matrix4x4.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Matrix4x4.cs deleted file mode 100644 index 6cef1fc95..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Matrix4x4.cs +++ /dev/null @@ -1,47 +0,0 @@ -using System; -using UnityEngine; -using System.Collections.Generic; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("col0", "col1", "col2", "col3")] - public class ES3Type_Matrix4x4 : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Matrix4x4() : base(typeof(Matrix4x4)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - Matrix4x4 casted = (Matrix4x4)obj; - writer.WriteProperty("col0", casted.GetColumn(0), ES3Type_Vector4.Instance); - writer.WriteProperty("col1", casted.GetColumn(1), ES3Type_Vector4.Instance); - writer.WriteProperty("col2", casted.GetColumn(2), ES3Type_Vector4.Instance); - writer.WriteProperty("col3", casted.GetColumn(3), ES3Type_Vector4.Instance); - } - - public override object Read(ES3Reader reader) - { - var matrix = new Matrix4x4(); - matrix.SetColumn(0, reader.ReadProperty(ES3Type_Vector4.Instance)); - matrix.SetColumn(1, reader.ReadProperty(ES3Type_Vector4.Instance)); - matrix.SetColumn(2, reader.ReadProperty(ES3Type_Vector4.Instance)); - matrix.SetColumn(3, reader.ReadProperty(ES3Type_Vector4.Instance)); - return matrix; - } - } - - public class ES3Type_Matrix4x4Array : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_Matrix4x4Array() : base(typeof(Matrix4x4[]), ES3Type_Matrix4x4.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Matrix4x4.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Matrix4x4.cs.meta deleted file mode 100644 index ee057a434..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Matrix4x4.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b08ac351ee185470bb1ccb5150c4082f -timeCreated: 1519132294 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Mesh.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Mesh.cs deleted file mode 100644 index 9c64b1853..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Mesh.cs +++ /dev/null @@ -1,127 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("bounds", "subMeshCount", "boneWeights", "bindposes", "vertices", "normals", "tangents", "uv", "uv2", "uv3", "uv4", "colors32", "triangles", "subMeshes")] - public class ES3Type_Mesh : ES3UnityObjectType - { - public static ES3Type Instance = null; - - public ES3Type_Mesh() : base(typeof(UnityEngine.Mesh)) - { - Instance = this; - } - - protected override void WriteUnityObject(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Mesh)obj; - - if(!instance.isReadable) - { - ES3Internal.ES3Debug.LogWarning("Easy Save cannot save the vertices for this Mesh because it is not marked as readable, so it will be stored by reference. To save the vertex data for this Mesh, check the 'Read/Write Enabled' checkbox in its Import Settings.", instance); - return; - } - - #if UNITY_2017_3 - writer.WriteProperty("indexFormat", instance.indexFormat); - #endif - writer.WriteProperty("vertices", instance.vertices, ES3Type_Vector3Array.Instance); - writer.WriteProperty("triangles", instance.triangles, ES3Type_intArray.Instance); - writer.WriteProperty("bounds", instance.bounds, ES3Type_Bounds.Instance); - writer.WriteProperty("boneWeights", instance.boneWeights, ES3Type_BoneWeightArray.Instance); - writer.WriteProperty("bindposes", instance.bindposes, ES3Type_Matrix4x4Array.Instance); - writer.WriteProperty("normals", instance.normals, ES3Type_Vector3Array.Instance); - writer.WriteProperty("tangents", instance.tangents, ES3Type_Vector4Array.Instance); - writer.WriteProperty("uv", instance.uv, ES3Type_Vector2Array.Instance); - writer.WriteProperty("uv2", instance.uv2, ES3Type_Vector2Array.Instance); - writer.WriteProperty("uv3", instance.uv3, ES3Type_Vector2Array.Instance); - writer.WriteProperty("uv4", instance.uv4, ES3Type_Vector2Array.Instance); - writer.WriteProperty("colors32", instance.colors32, ES3Type_Color32Array.Instance); - writer.WriteProperty("subMeshCount", instance.subMeshCount, ES3Type_int.Instance); - for(int i=0; i(ES3Reader reader) - { - var obj = new Mesh(); - ReadUnityObject(reader, obj); - return obj; - } - - protected override void ReadUnityObject(ES3Reader reader, object obj) - { - var instance = (UnityEngine.Mesh)obj; - if (instance == null) - return; - - if (!instance.isReadable) - ES3Internal.ES3Debug.LogWarning("Easy Save cannot load the vertices for this Mesh because it is not marked as readable, so it will be loaded by reference. To load the vertex data for this Mesh, check the 'Read/Write Enabled' checkbox in its Import Settings.", instance); - - foreach (string propertyName in reader.Properties) - { - // If this Mesh isn't readable, we should skip past all of its properties. - if (!instance.isReadable) - { - reader.Skip(); - continue; - } - - switch (propertyName) - { - #if UNITY_2017_3 - case "indexFormat": - instance.indexFormat = reader.Read(); - break; - #endif - case "bounds": - instance.bounds = reader.Read(ES3Type_Bounds.Instance); - break; - case "boneWeights": - instance.boneWeights = reader.Read(ES3Type_BoneWeightArray.Instance); - break; - case "bindposes": - instance.bindposes = reader.Read(ES3Type_Matrix4x4Array.Instance); - break; - case "vertices": - instance.vertices = reader.Read(ES3Type_Vector3Array.Instance); - break; - case "normals": - instance.normals = reader.Read(ES3Type_Vector3Array.Instance); - break; - case "tangents": - instance.tangents = reader.Read(ES3Type_Vector4Array.Instance); - break; - case "uv": - instance.uv = reader.Read(ES3Type_Vector2Array.Instance); - break; - case "uv2": - instance.uv2 = reader.Read(ES3Type_Vector2Array.Instance); - break; - case "uv3": - instance.uv3 = reader.Read(ES3Type_Vector2Array.Instance); - break; - case "uv4": - instance.uv4 = reader.Read(ES3Type_Vector2Array.Instance); - break; - case "colors32": - instance.colors32 = reader.Read(ES3Type_Color32Array.Instance); - break; - case "triangles": - instance.triangles = reader.Read(ES3Type_intArray.Instance); - break; - case "subMeshCount": - instance.subMeshCount = reader.Read(ES3Type_int.Instance); - for(int i=0; i(ES3Type_intArray.Instance), i); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Mesh.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Mesh.cs.meta deleted file mode 100644 index d4f2333b1..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Mesh.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e39bdb3d7bcae4f1aa682cbc9ff72ce7 -timeCreated: 1519132298 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxCurve.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxCurve.cs deleted file mode 100644 index fdfa78017..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxCurve.cs +++ /dev/null @@ -1,114 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("mode", "curveMultiplier", "curveMax", "curveMin", "constantMax", "constantMin", "constant", "curve")] - public class ES3Type_MinMaxCurve : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_MinMaxCurve() : base(typeof(UnityEngine.ParticleSystem.MinMaxCurve)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.MinMaxCurve)obj; - - writer.WriteProperty("mode", instance.mode); - writer.WriteProperty("curveMultiplier", instance.curveMultiplier, ES3Type_float.Instance); - writer.WriteProperty("curveMax", instance.curveMax, ES3Type_AnimationCurve.Instance); - writer.WriteProperty("curveMin", instance.curveMin, ES3Type_AnimationCurve.Instance); - writer.WriteProperty("constantMax", instance.constantMax, ES3Type_float.Instance); - writer.WriteProperty("constantMin", instance.constantMin, ES3Type_float.Instance); - writer.WriteProperty("constant", instance.constant, ES3Type_float.Instance); - writer.WriteProperty("curve", instance.curve, ES3Type_AnimationCurve.Instance); - } - - [UnityEngine.Scripting.Preserve] - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.MinMaxCurve(); - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "mode": - instance.mode = reader.Read(); - break; - case "curveMultiplier": - instance.curveMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "curveMax": - instance.curveMax = reader.Read(ES3Type_AnimationCurve.Instance); - break; - case "curveMin": - instance.curveMin = reader.Read(ES3Type_AnimationCurve.Instance); - break; - case "constantMax": - instance.constantMax = reader.Read(ES3Type_float.Instance); - break; - case "constantMin": - instance.constantMin = reader.Read(ES3Type_float.Instance); - break; - case "constant": - instance.constant = reader.Read(ES3Type_float.Instance); - break; - case "curve": - instance.curve = reader.Read(ES3Type_AnimationCurve.Instance); - break; - default: - reader.Skip(); - break; - } - } - return instance; - } - - [UnityEngine.Scripting.Preserve] - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.MinMaxCurve)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "mode": - instance.mode = reader.Read(); - break; - case "curveMultiplier": - instance.curveMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "curveMax": - instance.curveMax = reader.Read(ES3Type_AnimationCurve.Instance); - break; - case "curveMin": - instance.curveMin = reader.Read(ES3Type_AnimationCurve.Instance); - break; - case "constantMax": - instance.constantMax = reader.Read(ES3Type_float.Instance); - break; - case "constantMin": - instance.constantMin = reader.Read(ES3Type_float.Instance); - break; - case "constant": - instance.constant = reader.Read(ES3Type_float.Instance); - break; - case "curve": - instance.curve = reader.Read(ES3Type_AnimationCurve.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxCurve.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxCurve.cs.meta deleted file mode 100644 index 6c43b9e56..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxCurve.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b63607ddb964c4897880a99d41c70efd -timeCreated: 1519132294 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxGradient.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxGradient.cs deleted file mode 100644 index 120f006d0..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxGradient.cs +++ /dev/null @@ -1,68 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("mode", "gradientMax", "gradientMin", "colorMax", "colorMin", "color", "gradient")] - public class ES3Type_MinMaxGradient : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_MinMaxGradient() : base(typeof(UnityEngine.ParticleSystem.MinMaxGradient)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.MinMaxGradient)obj; - - writer.WriteProperty("mode", instance.mode); - writer.WriteProperty("gradientMax", instance.gradientMax, ES3Type_Gradient.Instance); - writer.WriteProperty("gradientMin", instance.gradientMin, ES3Type_Gradient.Instance); - writer.WriteProperty("colorMax", instance.colorMax, ES3Type_Color.Instance); - writer.WriteProperty("colorMin", instance.colorMin, ES3Type_Color.Instance); - writer.WriteProperty("color", instance.color, ES3Type_Color.Instance); - writer.WriteProperty("gradient", instance.gradient, ES3Type_Gradient.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.MinMaxGradient(); - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "mode": - instance.mode = reader.Read(); - break; - case "gradientMax": - instance.gradientMax = reader.Read(ES3Type_Gradient.Instance); - break; - case "gradientMin": - instance.gradientMin = reader.Read(ES3Type_Gradient.Instance); - break; - case "colorMax": - instance.colorMax = reader.Read(ES3Type_Color.Instance); - break; - case "colorMin": - instance.colorMin = reader.Read(ES3Type_Color.Instance); - break; - case "color": - instance.color = reader.Read(ES3Type_Color.Instance); - break; - case "gradient": - instance.gradient = reader.Read(ES3Type_Gradient.Instance); - break; - default: - reader.Skip(); - break; - } - } - return instance; - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxGradient.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxGradient.cs.meta deleted file mode 100644 index 72fe49645..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_MinMaxGradient.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c5b12866f2f984f6a822a127d5be1f9c -timeCreated: 1519132296 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_NoiseModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_NoiseModule.cs deleted file mode 100644 index d4e5ca4c8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_NoiseModule.cs +++ /dev/null @@ -1,154 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "separateAxes", "strength", "strengthMultiplier", "strengthX", "strengthXMultiplier", "strengthY", "strengthYMultiplier", "strengthZ", "strengthZMultiplier", "frequency", "damping", "octaveCount", "octaveMultiplier", "octaveScale", "quality", "scrollSpeed", "scrollSpeedMultiplier", "remapEnabled", "remap", "remapMultiplier", "remapX", "remapXMultiplier", "remapY", "remapYMultiplier", "remapZ", "remapZMultiplier")] - public class ES3Type_NoiseModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_NoiseModule() : base(typeof(UnityEngine.ParticleSystem.NoiseModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.NoiseModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("separateAxes", instance.separateAxes, ES3Type_bool.Instance); - writer.WriteProperty("strength", instance.strength, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("strengthMultiplier", instance.strengthMultiplier, ES3Type_float.Instance); - writer.WriteProperty("strengthX", instance.strengthX, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("strengthXMultiplier", instance.strengthXMultiplier, ES3Type_float.Instance); - writer.WriteProperty("strengthY", instance.strengthY, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("strengthYMultiplier", instance.strengthYMultiplier, ES3Type_float.Instance); - writer.WriteProperty("strengthZ", instance.strengthZ, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("strengthZMultiplier", instance.strengthZMultiplier, ES3Type_float.Instance); - writer.WriteProperty("frequency", instance.frequency, ES3Type_float.Instance); - writer.WriteProperty("damping", instance.damping, ES3Type_bool.Instance); - writer.WriteProperty("octaveCount", instance.octaveCount, ES3Type_int.Instance); - writer.WriteProperty("octaveMultiplier", instance.octaveMultiplier, ES3Type_float.Instance); - writer.WriteProperty("octaveScale", instance.octaveScale, ES3Type_float.Instance); - writer.WriteProperty("quality", instance.quality); - writer.WriteProperty("scrollSpeed", instance.scrollSpeed, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("scrollSpeedMultiplier", instance.scrollSpeedMultiplier, ES3Type_float.Instance); - writer.WriteProperty("remapEnabled", instance.remapEnabled, ES3Type_bool.Instance); - writer.WriteProperty("remap", instance.remap, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("remapMultiplier", instance.remapMultiplier, ES3Type_float.Instance); - writer.WriteProperty("remapX", instance.remapX, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("remapXMultiplier", instance.remapXMultiplier, ES3Type_float.Instance); - writer.WriteProperty("remapY", instance.remapY, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("remapYMultiplier", instance.remapYMultiplier, ES3Type_float.Instance); - writer.WriteProperty("remapZ", instance.remapZ, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("remapZMultiplier", instance.remapZMultiplier, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.NoiseModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.NoiseModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "separateAxes": - instance.separateAxes = reader.Read(ES3Type_bool.Instance); - break; - case "strength": - instance.strength = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "strengthMultiplier": - instance.strengthMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "strengthX": - instance.strengthX = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "strengthXMultiplier": - instance.strengthXMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "strengthY": - instance.strengthY = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "strengthYMultiplier": - instance.strengthYMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "strengthZ": - instance.strengthZ = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "strengthZMultiplier": - instance.strengthZMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "frequency": - instance.frequency = reader.Read(ES3Type_float.Instance); - break; - case "damping": - instance.damping = reader.Read(ES3Type_bool.Instance); - break; - case "octaveCount": - instance.octaveCount = reader.Read(ES3Type_int.Instance); - break; - case "octaveMultiplier": - instance.octaveMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "octaveScale": - instance.octaveScale = reader.Read(ES3Type_float.Instance); - break; - case "quality": - instance.quality = reader.Read(); - break; - case "scrollSpeed": - instance.scrollSpeed = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "scrollSpeedMultiplier": - instance.scrollSpeedMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "remapEnabled": - instance.remapEnabled = reader.Read(ES3Type_bool.Instance); - break; - case "remap": - instance.remap = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "remapMultiplier": - instance.remapMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "remapX": - instance.remapX = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "remapXMultiplier": - instance.remapXMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "remapY": - instance.remapY = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "remapYMultiplier": - instance.remapYMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "remapZ": - instance.remapZ = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "remapZMultiplier": - instance.remapZMultiplier = reader.Read(ES3Type_float.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_NoiseModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_NoiseModule.cs.meta deleted file mode 100644 index 8c930461c..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_NoiseModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 95fd95820c7c942ef96f463a52c3d4ae -timeCreated: 1519132291 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicMaterial.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicMaterial.cs deleted file mode 100644 index d5411ef7a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicMaterial.cs +++ /dev/null @@ -1,71 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("dynamicFriction", "staticFriction", "bounciness", "frictionCombine", "bounceCombine")] - public class ES3Type_PhysicMaterial : ES3ObjectType - { - public static ES3Type Instance = null; - - public ES3Type_PhysicMaterial() : base(typeof(UnityEngine.PhysicsMaterial)){ Instance = this; } - - protected override void WriteObject(object obj, ES3Writer writer) - { - var instance = (UnityEngine.PhysicsMaterial)obj; - - writer.WriteProperty("dynamicFriction", instance.dynamicFriction, ES3Type_float.Instance); - writer.WriteProperty("staticFriction", instance.staticFriction, ES3Type_float.Instance); - writer.WriteProperty("bounciness", instance.bounciness, ES3Type_float.Instance); - writer.WriteProperty("frictionCombine", instance.frictionCombine); - writer.WriteProperty("bounceCombine", instance.bounceCombine); - } - - protected override void ReadObject(ES3Reader reader, object obj) - { - var instance = (UnityEngine.PhysicsMaterial)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "dynamicFriction": - instance.dynamicFriction = reader.Read(ES3Type_float.Instance); - break; - case "staticFriction": - instance.staticFriction = reader.Read(ES3Type_float.Instance); - break; - case "bounciness": - instance.bounciness = reader.Read(ES3Type_float.Instance); - break; - case "frictionCombine": - instance.frictionCombine = reader.Read(); - break; - case "bounceCombine": - instance.bounceCombine = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - - protected override object ReadObject(ES3Reader reader) - { - var instance = new UnityEngine.PhysicsMaterial(); - ReadObject(reader, instance); - return instance; - } - } - - public class ES3Type_PhysicMaterialArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_PhysicMaterialArray() : base(typeof(UnityEngine.PhysicsMaterial[]), ES3Type_PhysicMaterial.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicMaterial.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicMaterial.cs.meta deleted file mode 100644 index bbc3c1265..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicMaterial.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f4b8d9e47b0dc49f48c834a160b6fe55 -timeCreated: 1519132300 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicsMaterial2D.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicsMaterial2D.cs deleted file mode 100644 index 0dc2e43fd..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicsMaterial2D.cs +++ /dev/null @@ -1,59 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("bounciness", "friction")] - public class ES3Type_PhysicsMaterial2D : ES3ObjectType - { - public static ES3Type Instance = null; - - public ES3Type_PhysicsMaterial2D() : base(typeof(UnityEngine.PhysicsMaterial2D)){ Instance = this; } - - protected override void WriteObject(object obj, ES3Writer writer) - { - var instance = (UnityEngine.PhysicsMaterial2D)obj; - - writer.WriteProperty("bounciness", instance.bounciness, ES3Type_float.Instance); - writer.WriteProperty("friction", instance.friction, ES3Type_float.Instance); - } - - protected override void ReadObject(ES3Reader reader, object obj) - { - var instance = (UnityEngine.PhysicsMaterial2D)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "bounciness": - instance.bounciness = reader.Read(ES3Type_float.Instance); - break; - case "friction": - instance.friction = reader.Read(ES3Type_float.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - - protected override object ReadObject(ES3Reader reader) - { - var instance = new UnityEngine.PhysicsMaterial2D(); - ReadObject(reader, instance); - return instance; - } - } - - public class ES3Type_PhysicsMaterial2DArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_PhysicsMaterial2DArray() : base(typeof(UnityEngine.PhysicsMaterial2D[]), ES3Type_PhysicsMaterial2D.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicsMaterial2D.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicsMaterial2D.cs.meta deleted file mode 100644 index 765da0f4a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_PhysicsMaterial2D.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 456568556c632458bb73fffbb1be0c84 -timeCreated: 1519132284 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Quaternion.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Quaternion.cs deleted file mode 100644 index f2413d076..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Quaternion.cs +++ /dev/null @@ -1,44 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("x", "y", "z", "w")] - public class ES3Type_Quaternion : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Quaternion() : base(typeof(Quaternion)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var casted = (Quaternion)obj; - writer.WriteProperty("x", casted.x, ES3Type_float.Instance); - writer.WriteProperty("y", casted.y, ES3Type_float.Instance); - writer.WriteProperty("z", casted.z, ES3Type_float.Instance); - writer.WriteProperty("w", casted.w, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - return new Quaternion( reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance)); - } - } - - public class ES3Type_QuaternionArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_QuaternionArray() : base(typeof(Quaternion[]), ES3Type_Quaternion.Instance) - { - Instance = this; - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Quaternion.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Quaternion.cs.meta deleted file mode 100644 index bb4c22a33..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Quaternion.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: d9975ecdd621d46a285708463dde7816 -timeCreated: 1519132297 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Rect.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Rect.cs deleted file mode 100644 index 163958442..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Rect.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("x", "y", "width", "height")] - public class ES3Type_Rect : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Rect() : base(typeof(UnityEngine.Rect)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Rect)obj; - - writer.WriteProperty("x", instance.x, ES3Type_float.Instance); - writer.WriteProperty("y", instance.y, ES3Type_float.Instance); - writer.WriteProperty("width", instance.width, ES3Type_float.Instance); - writer.WriteProperty("height", instance.height, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - return new Rect(reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance)); - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Rect.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Rect.cs.meta deleted file mode 100644 index 1874834c9..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Rect.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: d9b9aa6e5759a4a3e857f90a2de74e5f -timeCreated: 1519132297 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RectTransform.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RectTransform.cs deleted file mode 100644 index 0f9e4be17..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RectTransform.cs +++ /dev/null @@ -1,92 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("anchorMin", "anchorMax", "anchoredPosition", "sizeDelta", "pivot", "offsetMin", "offsetMax", "localPosition", "localRotation", "localScale", "parent", "hideFlags")] - public class ES3Type_RectTransform : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_RectTransform() : base(typeof(UnityEngine.RectTransform)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.RectTransform)obj; - - writer.WriteProperty("anchorMin", instance.anchorMin, ES3Type_Vector2.Instance); - writer.WriteProperty("anchorMax", instance.anchorMax, ES3Type_Vector2.Instance); - writer.WriteProperty("anchoredPosition", instance.anchoredPosition, ES3Type_Vector2.Instance); - writer.WriteProperty("sizeDelta", instance.sizeDelta, ES3Type_Vector2.Instance); - writer.WriteProperty("pivot", instance.pivot, ES3Type_Vector2.Instance); - writer.WriteProperty("offsetMin", instance.offsetMin, ES3Type_Vector2.Instance); - writer.WriteProperty("offsetMax", instance.offsetMax, ES3Type_Vector2.Instance); - writer.WriteProperty("localPosition", instance.localPosition, ES3Type_Vector3.Instance); - writer.WriteProperty("localRotation", instance.localRotation, ES3Type_Quaternion.Instance); - writer.WriteProperty("localScale", instance.localScale, ES3Type_Vector3.Instance); - writer.WritePropertyByRef("parent", instance.parent); - writer.WriteProperty("hideFlags", instance.hideFlags); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - if (obj.GetType() == typeof(UnityEngine.Transform)) - obj = ((Transform)obj).gameObject.AddComponent(); - - var instance = (UnityEngine.RectTransform)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "anchorMin": - instance.anchorMin = reader.Read(ES3Type_Vector2.Instance); - break; - case "anchorMax": - instance.anchorMax = reader.Read(ES3Type_Vector2.Instance); - break; - case "anchoredPosition": - instance.anchoredPosition = reader.Read(ES3Type_Vector2.Instance); - break; - case "sizeDelta": - instance.sizeDelta = reader.Read(ES3Type_Vector2.Instance); - break; - case "pivot": - instance.pivot = reader.Read(ES3Type_Vector2.Instance); - break; - case "offsetMin": - instance.offsetMin = reader.Read(ES3Type_Vector2.Instance); - break; - case "offsetMax": - instance.offsetMax = reader.Read(ES3Type_Vector2.Instance); - break; - case "localPosition": - instance.localPosition = reader.Read(ES3Type_Vector3.Instance); - break; - case "localRotation": - instance.localRotation = reader.Read(ES3Type_Quaternion.Instance); - break; - case "localScale": - instance.localScale = reader.Read(ES3Type_Vector3.Instance); - break; - case "parent": - instance.SetParent(reader.Read(ES3Type_Transform.Instance)); - break; - case "hierarchyCapacity": - instance.hierarchyCapacity = reader.Read(ES3Type_int.Instance); - break; - case "hideFlags": - instance.hideFlags = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RectTransform.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RectTransform.cs.meta deleted file mode 100644 index 2386dc3d5..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RectTransform.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 2f7556a7c1bb04cf5979c7e6e65c5e51 -timeCreated: 1519132282 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RenderTexture.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RenderTexture.cs deleted file mode 100644 index dbdfeee15..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RenderTexture.cs +++ /dev/null @@ -1,169 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("width", "height", "dimension", "graphicsFormat", "useMipMap", "vrUsage", "memorylessMode", "format", "stencilFormat", "autoGenerateMips", "volumeDepth", "antiAliasing", "bindTextureMS", "enableRandomWrite", "useDynamicScale", "isPowerOfTwo", "depth", "descriptor", "masterTextureLimit", "anisotropicFiltering", "wrapMode", "wrapModeU", "wrapModeV", "wrapModeW", "filterMode", "anisoLevel", "mipMapBias", "imageContentsHash", "streamingTextureForceLoadAll", "streamingTextureDiscardUnusedMips", "allowThreadedTextureCreation", "name")] - public class ES3Type_RenderTexture : ES3ObjectType - { - public static ES3Type Instance = null; - - public ES3Type_RenderTexture() : base(typeof(UnityEngine.RenderTexture)) { Instance = this; } - - - protected override void WriteObject(object obj, ES3Writer writer) - { - var instance = (UnityEngine.RenderTexture)obj; - - writer.WriteProperty("descriptor", instance.descriptor); - writer.WriteProperty("antiAliasing", instance.antiAliasing, ES3Type_int.Instance); - writer.WriteProperty("isPowerOfTwo", instance.isPowerOfTwo, ES3Type_bool.Instance); - writer.WriteProperty("masterTextureLimit", UnityEngine.RenderTexture.globalMipmapLimit, ES3Type_int.Instance); - writer.WriteProperty("anisotropicFiltering", UnityEngine.RenderTexture.anisotropicFiltering); - writer.WriteProperty("wrapMode", instance.wrapMode); - writer.WriteProperty("wrapModeU", instance.wrapModeU); - writer.WriteProperty("wrapModeV", instance.wrapModeV); - writer.WriteProperty("wrapModeW", instance.wrapModeW); - writer.WriteProperty("filterMode", instance.filterMode); - writer.WriteProperty("anisoLevel", instance.anisoLevel, ES3Type_int.Instance); - writer.WriteProperty("mipMapBias", instance.mipMapBias, ES3Type_float.Instance); - -#if UNITY_2020_1_OR_NEWER - writer.WriteProperty("streamingTextureForceLoadAll", UnityEngine.RenderTexture.streamingTextureForceLoadAll, ES3Type_bool.Instance); - writer.WriteProperty("streamingTextureDiscardUnusedMips", UnityEngine.RenderTexture.streamingTextureDiscardUnusedMips, ES3Type_bool.Instance); - writer.WriteProperty("allowThreadedTextureCreation", UnityEngine.RenderTexture.allowThreadedTextureCreation, ES3Type_bool.Instance); -#endif - } - - protected override void ReadObject(ES3Reader reader, object obj) - { - var instance = (UnityEngine.RenderTexture)obj; - foreach (string propertyName in reader.Properties) - { - switch (propertyName) - { - case "width": - instance.width = reader.Read(ES3Type_int.Instance); - break; - case "height": - instance.height = reader.Read(ES3Type_int.Instance); - break; - case "dimension": - instance.dimension = reader.Read(); - break; - case "useMipMap": - instance.useMipMap = reader.Read(ES3Type_bool.Instance); - break; - case "memorylessMode": - instance.memorylessMode = reader.Read(); - break; - case "format": - instance.format = reader.Read(); - break; - case "autoGenerateMips": - instance.autoGenerateMips = reader.Read(ES3Type_bool.Instance); - break; - case "volumeDepth": - instance.volumeDepth = reader.Read(ES3Type_int.Instance); - break; - case "antiAliasing": - instance.antiAliasing = reader.Read(ES3Type_int.Instance); - break; - case "enableRandomWrite": - instance.enableRandomWrite = reader.Read(ES3Type_bool.Instance); - break; - case "isPowerOfTwo": - instance.isPowerOfTwo = reader.Read(ES3Type_bool.Instance); - break; - case "depth": - instance.depth = reader.Read(ES3Type_int.Instance); - break; - case "descriptor": - instance.descriptor = reader.Read(); - break; - case "masterTextureLimit": - UnityEngine.RenderTexture.globalMipmapLimit = reader.Read(ES3Type_int.Instance); - break; - case "anisotropicFiltering": - UnityEngine.RenderTexture.anisotropicFiltering = reader.Read(); - break; - case "wrapMode": - instance.wrapMode = reader.Read(); - break; - case "wrapModeU": - instance.wrapModeU = reader.Read(); - break; - case "wrapModeV": - instance.wrapModeV = reader.Read(); - break; - case "wrapModeW": - instance.wrapModeW = reader.Read(); - break; - case "filterMode": - instance.filterMode = reader.Read(); - break; - case "anisoLevel": - instance.anisoLevel = reader.Read(ES3Type_int.Instance); - break; - case "mipMapBias": - instance.mipMapBias = reader.Read(ES3Type_float.Instance); - break; - case "name": - instance.name = reader.Read(ES3Type_string.Instance); - break; - -#if UNITY_2020_1_OR_NEWER - case "vrUsage": - instance.vrUsage = reader.Read(); - break; - case "graphicsFormat": - instance.graphicsFormat = reader.Read(); - break; - case "stencilFormat": - instance.stencilFormat = reader.Read(); - break; - case "bindTextureMS": - instance.bindTextureMS = reader.Read(ES3Type_bool.Instance); - break; - case "useDynamicScale": - instance.useDynamicScale = reader.Read(ES3Type_bool.Instance); - break; - case "streamingTextureForceLoadAll": - UnityEngine.RenderTexture.streamingTextureForceLoadAll = reader.Read(ES3Type_bool.Instance); - break; - case "streamingTextureDiscardUnusedMips": - UnityEngine.RenderTexture.streamingTextureDiscardUnusedMips = reader.Read(ES3Type_bool.Instance); - break; - case "allowThreadedTextureCreation": - UnityEngine.RenderTexture.allowThreadedTextureCreation = reader.Read(ES3Type_bool.Instance); - break; -#endif - - default: - reader.Skip(); - break; - } - } - } - - protected override object ReadObject(ES3Reader reader) - { - var descriptor = reader.ReadProperty(); - var instance = new UnityEngine.RenderTexture(descriptor); - ReadObject(reader, instance); - return instance; - } - } - - - public class ES3Type_RenderTextureArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_RenderTextureArray() : base(typeof(UnityEngine.RenderTexture[]), ES3Type_RenderTexture.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RenderTexture.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RenderTexture.cs.meta deleted file mode 100644 index a0082df47..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RenderTexture.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 589b7cd3ec938964197a399aa93bff00 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationBySpeedModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationBySpeedModule.cs deleted file mode 100644 index 80a976802..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationBySpeedModule.cs +++ /dev/null @@ -1,82 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "x", "xMultiplier", "y", "yMultiplier", "z", "zMultiplier", "separateAxes", "range")] - public class ES3Type_RotationBySpeedModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_RotationBySpeedModule() : base(typeof(UnityEngine.ParticleSystem.RotationBySpeedModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.RotationBySpeedModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("x", instance.x, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("xMultiplier", instance.xMultiplier, ES3Type_float.Instance); - writer.WriteProperty("y", instance.y, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("yMultiplier", instance.yMultiplier, ES3Type_float.Instance); - writer.WriteProperty("z", instance.z, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("zMultiplier", instance.zMultiplier, ES3Type_float.Instance); - writer.WriteProperty("separateAxes", instance.separateAxes, ES3Type_bool.Instance); - writer.WriteProperty("range", instance.range, ES3Type_Vector2.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.RotationBySpeedModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.RotationBySpeedModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "x": - instance.x = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "xMultiplier": - instance.xMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "y": - instance.y = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "yMultiplier": - instance.yMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "z": - instance.z = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "zMultiplier": - instance.zMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "separateAxes": - instance.separateAxes = reader.Read(ES3Type_bool.Instance); - break; - case "range": - instance.range = reader.Read(ES3Type_Vector2.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationBySpeedModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationBySpeedModule.cs.meta deleted file mode 100644 index 1f0bd6449..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationBySpeedModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0a7279e70f63d4a2787489257b5e3ea9 -timeCreated: 1519132280 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationOverLifetimeModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationOverLifetimeModule.cs deleted file mode 100644 index 11c3648a9..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationOverLifetimeModule.cs +++ /dev/null @@ -1,78 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "x", "xMultiplier", "y", "yMultiplier", "z", "zMultiplier", "separateAxes")] - public class ES3Type_RotationOverLifetimeModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_RotationOverLifetimeModule() : base(typeof(UnityEngine.ParticleSystem.RotationOverLifetimeModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.RotationOverLifetimeModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("x", instance.x, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("xMultiplier", instance.xMultiplier, ES3Type_float.Instance); - writer.WriteProperty("y", instance.y, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("yMultiplier", instance.yMultiplier, ES3Type_float.Instance); - writer.WriteProperty("z", instance.z, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("zMultiplier", instance.zMultiplier, ES3Type_float.Instance); - writer.WriteProperty("separateAxes", instance.separateAxes, ES3Type_bool.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.RotationOverLifetimeModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.RotationOverLifetimeModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "x": - instance.x = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "xMultiplier": - instance.xMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "y": - instance.y = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "yMultiplier": - instance.yMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "z": - instance.z = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "zMultiplier": - instance.zMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "separateAxes": - instance.separateAxes = reader.Read(ES3Type_bool.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationOverLifetimeModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationOverLifetimeModule.cs.meta deleted file mode 100644 index 6eeaf0ac5..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_RotationOverLifetimeModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e54d1e36b07864bc2b7f33a6182d124b -timeCreated: 1519132299 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Shader.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Shader.cs deleted file mode 100644 index fe0290726..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Shader.cs +++ /dev/null @@ -1,61 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("name","maximumLOD")] - public class ES3Type_Shader : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Shader() : base(typeof(UnityEngine.Shader)){ Instance = this; } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Shader)obj; - - writer.WriteProperty("name", instance.name, ES3Type_string.Instance); - writer.WriteProperty("maximumLOD", instance.maximumLOD, ES3Type_int.Instance); - } - - public override object Read(ES3Reader reader) - { - Shader obj = Shader.Find(reader.ReadProperty(ES3Type_string.Instance)); - if(obj == null) - obj = Shader.Find("Diffuse"); - ReadInto(reader, obj); - return obj; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.Shader)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - case "name": - instance.name = reader.Read(ES3Type_string.Instance); - break; - case "maximumLOD": - instance.maximumLOD = reader.Read(ES3Type_int.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } - - public class ES3Type_ShaderArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_ShaderArray() : base(typeof(UnityEngine.Shader[]), ES3Type_Shader.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Shader.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Shader.cs.meta deleted file mode 100644 index c980dbf42..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Shader.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 9d42e849fe2364f1b92d805b3fa7f874 -timeCreated: 1519132292 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ShapeModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ShapeModule.cs deleted file mode 100644 index d498cbd93..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ShapeModule.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "shapeType", "randomDirectionAmount", "sphericalDirectionAmount", "alignToDirection", "radius", "angle", "length", "box", "meshShapeType", "mesh", "meshRenderer", "skinnedMeshRenderer", "useMeshMaterialIndex", "meshMaterialIndex", "useMeshColors", "normalOffset", "meshScale", "arc")] - public class ES3Type_ShapeModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_ShapeModule() : base(typeof(UnityEngine.ParticleSystem.ShapeModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.ShapeModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("shapeType", instance.shapeType); - writer.WriteProperty("randomDirectionAmount", instance.randomDirectionAmount, ES3Type_float.Instance); - writer.WriteProperty("sphericalDirectionAmount", instance.sphericalDirectionAmount, ES3Type_float.Instance); - writer.WriteProperty("alignToDirection", instance.alignToDirection, ES3Type_bool.Instance); - writer.WriteProperty("radius", instance.radius, ES3Type_float.Instance); - writer.WriteProperty("angle", instance.angle, ES3Type_float.Instance); - writer.WriteProperty("length", instance.length, ES3Type_float.Instance); - #if UNITY_5 - writer.WriteProperty("box", instance.box, ES3Type_Vector3.Instance); - writer.WriteProperty("meshScale", instance.meshScale, ES3Type_float.Instance); - #else - writer.WriteProperty("scale", instance.scale, ES3Type_Vector3.Instance); - #endif - writer.WriteProperty("meshShapeType", instance.meshShapeType); - writer.WritePropertyByRef("mesh", instance.mesh); - writer.WritePropertyByRef("meshRenderer", instance.meshRenderer); - writer.WritePropertyByRef("skinnedMeshRenderer", instance.skinnedMeshRenderer); - writer.WriteProperty("useMeshMaterialIndex", instance.useMeshMaterialIndex, ES3Type_bool.Instance); - writer.WriteProperty("meshMaterialIndex", instance.meshMaterialIndex, ES3Type_int.Instance); - writer.WriteProperty("useMeshColors", instance.useMeshColors, ES3Type_bool.Instance); - writer.WriteProperty("normalOffset", instance.normalOffset, ES3Type_float.Instance); - writer.WriteProperty("arc", instance.arc, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.ShapeModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.ShapeModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "shapeType": - instance.shapeType = reader.Read(); - break; - case "randomDirectionAmount": - instance.randomDirectionAmount = reader.Read(ES3Type_float.Instance); - break; - case "sphericalDirectionAmount": - instance.sphericalDirectionAmount = reader.Read(ES3Type_float.Instance); - break; - case "alignToDirection": - instance.alignToDirection = reader.Read(ES3Type_bool.Instance); - break; - case "radius": - instance.radius = reader.Read(ES3Type_float.Instance); - break; - case "angle": - instance.angle = reader.Read(ES3Type_float.Instance); - break; - case "length": - instance.length = reader.Read(ES3Type_float.Instance); - break; - #if UNITY_5 - case "box": - instance.box = reader.Read(ES3Type_Vector3.Instance); - break; - case "meshScale": - instance.meshScale = reader.Read(ES3Type_float.Instance); - break; - #else - case "scale": - instance.scale = reader.Read(ES3Type_Vector3.Instance); - break; - #endif - case "meshShapeType": - instance.meshShapeType = reader.Read(); - break; - case "mesh": - instance.mesh = reader.Read(); - break; - case "meshRenderer": - instance.meshRenderer = reader.Read(); - break; - case "skinnedMeshRenderer": - instance.skinnedMeshRenderer = reader.Read(); - break; - case "useMeshMaterialIndex": - instance.useMeshMaterialIndex = reader.Read(ES3Type_bool.Instance); - break; - case "meshMaterialIndex": - instance.meshMaterialIndex = reader.Read(ES3Type_int.Instance); - break; - case "useMeshColors": - instance.useMeshColors = reader.Read(ES3Type_bool.Instance); - break; - case "normalOffset": - instance.normalOffset = reader.Read(ES3Type_float.Instance); - break; - case "arc": - instance.arc = reader.Read(ES3Type_float.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ShapeModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ShapeModule.cs.meta deleted file mode 100644 index a9a4b2138..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_ShapeModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 238b82f3d73ce4b4ebeb3a5c22eff5e9 -timeCreated: 1519132281 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeBySpeedModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeBySpeedModule.cs deleted file mode 100644 index a37aefc5a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeBySpeedModule.cs +++ /dev/null @@ -1,90 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "size", "sizeMultiplier", "x", "xMultiplier", "y", "yMultiplier", "z", "zMultiplier", "separateAxes", "range")] - public class ES3Type_SizeBySpeedModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_SizeBySpeedModule() : base(typeof(UnityEngine.ParticleSystem.SizeBySpeedModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.SizeBySpeedModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("size", instance.size, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("sizeMultiplier", instance.sizeMultiplier, ES3Type_float.Instance); - writer.WriteProperty("x", instance.x, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("xMultiplier", instance.xMultiplier, ES3Type_float.Instance); - writer.WriteProperty("y", instance.y, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("yMultiplier", instance.yMultiplier, ES3Type_float.Instance); - writer.WriteProperty("z", instance.z, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("zMultiplier", instance.zMultiplier, ES3Type_float.Instance); - writer.WriteProperty("separateAxes", instance.separateAxes, ES3Type_bool.Instance); - writer.WriteProperty("range", instance.range, ES3Type_Vector2.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.SizeBySpeedModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.SizeBySpeedModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "size": - instance.size = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "sizeMultiplier": - instance.sizeMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "x": - instance.x = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "xMultiplier": - instance.xMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "y": - instance.y = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "yMultiplier": - instance.yMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "z": - instance.z = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "zMultiplier": - instance.zMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "separateAxes": - instance.separateAxes = reader.Read(ES3Type_bool.Instance); - break; - case "range": - instance.range = reader.Read(ES3Type_Vector2.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeBySpeedModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeBySpeedModule.cs.meta deleted file mode 100644 index 9a3e3e935..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeBySpeedModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 553dbccc70c984444a8e1e4fb140acaa -timeCreated: 1519132285 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeOverLifetimeModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeOverLifetimeModule.cs deleted file mode 100644 index 9fa4e3c0d..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeOverLifetimeModule.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "size", "sizeMultiplier", "x", "xMultiplier", "y", "yMultiplier", "z", "zMultiplier", "separateAxes")] - public class ES3Type_SizeOverLifetimeModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_SizeOverLifetimeModule() : base(typeof(UnityEngine.ParticleSystem.SizeOverLifetimeModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.SizeOverLifetimeModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("size", instance.size, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("sizeMultiplier", instance.sizeMultiplier, ES3Type_float.Instance); - writer.WriteProperty("x", instance.x, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("xMultiplier", instance.xMultiplier, ES3Type_float.Instance); - writer.WriteProperty("y", instance.y, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("yMultiplier", instance.yMultiplier, ES3Type_float.Instance); - writer.WriteProperty("z", instance.z, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("zMultiplier", instance.zMultiplier, ES3Type_float.Instance); - writer.WriteProperty("separateAxes", instance.separateAxes, ES3Type_bool.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.SizeOverLifetimeModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.SizeOverLifetimeModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "size": - instance.size = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "sizeMultiplier": - instance.sizeMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "x": - instance.x = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "xMultiplier": - instance.xMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "y": - instance.y = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "yMultiplier": - instance.yMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "z": - instance.z = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "zMultiplier": - instance.zMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "separateAxes": - instance.separateAxes = reader.Read(ES3Type_bool.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeOverLifetimeModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeOverLifetimeModule.cs.meta deleted file mode 100644 index a1511c27b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SizeOverLifetimeModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 414f41e320e5f4be0a7aa4b39344c5e4 -timeCreated: 1519132284 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SkinnedMeshRenderer.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SkinnedMeshRenderer.cs deleted file mode 100644 index 6c6d3cac0..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SkinnedMeshRenderer.cs +++ /dev/null @@ -1,157 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("bones", "rootBone", "quality", "sharedMesh", "updateWhenOffscreen", "skinnedMotionVectors", "localBounds", "enabled", "shadowCastingMode", "receiveShadows", "sharedMaterials", "lightmapIndex", "realtimeLightmapIndex", "lightmapScaleOffset", "motionVectorGenerationMode", "realtimeLightmapScaleOffset", "lightProbeUsage", "lightProbeProxyVolumeOverride", "probeAnchor", "reflectionProbeUsage", "sortingLayerName", "sortingLayerID", "sortingOrder")] - public class ES3Type_SkinnedMeshRenderer : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_SkinnedMeshRenderer() : base(typeof(UnityEngine.SkinnedMeshRenderer)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.SkinnedMeshRenderer)obj; - - writer.WriteProperty("bones", instance.bones); - writer.WriteProperty("rootBone", instance.rootBone); - writer.WriteProperty("quality", instance.quality); - writer.WriteProperty("sharedMesh", instance.sharedMesh); - writer.WriteProperty("updateWhenOffscreen", instance.updateWhenOffscreen, ES3Type_bool.Instance); - writer.WriteProperty("skinnedMotionVectors", instance.skinnedMotionVectors, ES3Type_bool.Instance); - writer.WriteProperty("localBounds", instance.localBounds, ES3Type_Bounds.Instance); - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("shadowCastingMode", instance.shadowCastingMode); - writer.WriteProperty("receiveShadows", instance.receiveShadows, ES3Type_bool.Instance); - writer.WriteProperty("sharedMaterials", instance.sharedMaterials); - writer.WriteProperty("lightmapIndex", instance.lightmapIndex, ES3Type_int.Instance); - writer.WriteProperty("realtimeLightmapIndex", instance.realtimeLightmapIndex, ES3Type_int.Instance); - writer.WriteProperty("lightmapScaleOffset", instance.lightmapScaleOffset, ES3Type_Vector4.Instance); - writer.WriteProperty("motionVectorGenerationMode", instance.motionVectorGenerationMode); - writer.WriteProperty("realtimeLightmapScaleOffset", instance.realtimeLightmapScaleOffset, ES3Type_Vector4.Instance); - writer.WriteProperty("lightProbeUsage", instance.lightProbeUsage); - writer.WriteProperty("lightProbeProxyVolumeOverride", instance.lightProbeProxyVolumeOverride); - writer.WriteProperty("probeAnchor", instance.probeAnchor); - writer.WriteProperty("reflectionProbeUsage", instance.reflectionProbeUsage); - writer.WriteProperty("sortingLayerName", instance.sortingLayerName, ES3Type_string.Instance); - writer.WriteProperty("sortingLayerID", instance.sortingLayerID, ES3Type_int.Instance); - writer.WriteProperty("sortingOrder", instance.sortingOrder, ES3Type_int.Instance); - - // Get BlendShapeWeights - if (instance.sharedMesh != null) - { - var blendShapeWeights = new float[instance.sharedMesh.blendShapeCount]; - for (int i = 0; i < blendShapeWeights.Length; i++) - blendShapeWeights[i] = instance.GetBlendShapeWeight(i); - writer.WriteProperty("blendShapeWeights", blendShapeWeights, ES3Type_floatArray.Instance); - } - - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.SkinnedMeshRenderer)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - - case "bones": - instance.bones = reader.Read(); - break; - case "rootBone": - instance.rootBone = reader.Read(ES3Type_Transform.Instance); - break; - case "quality": - instance.quality = reader.Read(); - break; - case "sharedMesh": - instance.sharedMesh = reader.Read(ES3Type_Mesh.Instance); - break; - case "updateWhenOffscreen": - instance.updateWhenOffscreen = reader.Read(ES3Type_bool.Instance); - break; - case "skinnedMotionVectors": - instance.skinnedMotionVectors = reader.Read(ES3Type_bool.Instance); - break; - case "localBounds": - instance.localBounds = reader.Read(ES3Type_Bounds.Instance); - break; - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "shadowCastingMode": - instance.shadowCastingMode = reader.Read(); - break; - case "receiveShadows": - instance.receiveShadows = reader.Read(ES3Type_bool.Instance); - break; - case "sharedMaterials": - instance.sharedMaterials = reader.Read(); - break; - case "lightmapIndex": - instance.lightmapIndex = reader.Read(ES3Type_int.Instance); - break; - case "realtimeLightmapIndex": - instance.realtimeLightmapIndex = reader.Read(ES3Type_int.Instance); - break; - case "lightmapScaleOffset": - instance.lightmapScaleOffset = reader.Read(ES3Type_Vector4.Instance); - break; - case "motionVectorGenerationMode": - instance.motionVectorGenerationMode = reader.Read(); - break; - case "realtimeLightmapScaleOffset": - instance.realtimeLightmapScaleOffset = reader.Read(ES3Type_Vector4.Instance); - break; - case "lightProbeUsage": - instance.lightProbeUsage = reader.Read(); - break; - case "lightProbeProxyVolumeOverride": - instance.lightProbeProxyVolumeOverride = reader.Read(ES3Type_GameObject.Instance); - break; - case "probeAnchor": - instance.probeAnchor = reader.Read(ES3Type_Transform.Instance); - break; - case "reflectionProbeUsage": - instance.reflectionProbeUsage = reader.Read(); - break; - case "sortingLayerName": - instance.sortingLayerName = reader.Read(ES3Type_string.Instance); - break; - case "sortingLayerID": - instance.sortingLayerID = reader.Read(ES3Type_int.Instance); - break; - case "sortingOrder": - instance.sortingOrder = reader.Read(ES3Type_int.Instance); - break; - case "blendShapeWeights": - var blendShapeWeights = reader.Read(ES3Type_floatArray.Instance); - if (instance.sharedMesh == null) break; - if (blendShapeWeights.Length != instance.sharedMesh.blendShapeCount) - ES3Internal.ES3Debug.LogError("The number of blend shape weights we are loading does not match the number of blend shapes in this SkinnedMeshRenderer's Mesh"); - for (int i = 0; i < blendShapeWeights.Length; i++) - instance.SetBlendShapeWeight(i, blendShapeWeights[i]); - break; - default: - reader.Skip(); - break; - } - } - } - } - - public class ES3Type_SkinnedMeshRendererArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_SkinnedMeshRendererArray() : base(typeof(UnityEngine.SkinnedMeshRenderer[]), ES3Type_SkinnedMeshRenderer.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SkinnedMeshRenderer.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SkinnedMeshRenderer.cs.meta deleted file mode 100644 index be24b9c7d..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SkinnedMeshRenderer.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c60a9d4280a1740059c9784d75d00ad9 -timeCreated: 1519132296 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Sprite.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Sprite.cs deleted file mode 100644 index d029be9c7..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Sprite.cs +++ /dev/null @@ -1,66 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("texture", "textureRect", "pivot", "pixelsPerUnit", "border")] - public class ES3Type_Sprite : ES3UnityObjectType - { - public static ES3Type Instance = null; - - public ES3Type_Sprite() : base(typeof(UnityEngine.Sprite)){ Instance = this; } - - protected override void WriteUnityObject(object obj, ES3Writer writer) - { - var instance = (UnityEngine.Sprite)obj; - - writer.WriteProperty("texture", instance.texture, ES3Type_Texture2D.Instance); - writer.WriteProperty("textureRect", instance.textureRect, ES3Type_Rect.Instance); - writer.WriteProperty("pivot", instance.pivot, ES3Type_Vector2.Instance); - writer.WriteProperty("pixelsPerUnit", instance.pixelsPerUnit, ES3Type_float.Instance); - writer.WriteProperty("border", instance.border, ES3Type_Vector4.Instance); - } - - protected override void ReadUnityObject(ES3Reader reader, object obj) - { - foreach(string propertyName in reader.Properties) - reader.Skip(); - } - - protected override object ReadUnityObject(ES3Reader reader) - { - Texture2D texture = null; - Rect textureRect = Rect.zero; - Vector2 pivot = Vector2.zero; - float pixelsPerUnit = 0; - Vector4 border = Vector4.zero; - - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - case "texture": - texture = reader.Read(ES3Type_Texture2D.Instance); - break; - case "textureRect": - textureRect = reader.Read(ES3Type_Rect.Instance); - break; - case "pivot": - pivot = reader.Read(ES3Type_Vector2.Instance); - break; - case "pixelsPerUnit": - pixelsPerUnit = reader.Read(ES3Type_float.Instance); - break; - case "border": - border = reader.Read(ES3Type_Vector4.Instance); - break; - default: - reader.Skip(); - break; - } - } - return Sprite.Create(texture, textureRect, pivot, pixelsPerUnit, 0, SpriteMeshType.Tight, border); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Sprite.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Sprite.cs.meta deleted file mode 100644 index 24da62d78..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Sprite.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: dd9947bd586c04b26ae52e608a032be9 -timeCreated: 1519132298 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SpriteRenderer.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SpriteRenderer.cs deleted file mode 100644 index 5b530847e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SpriteRenderer.cs +++ /dev/null @@ -1,126 +0,0 @@ -using System; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("sprite", "color", "flipX", "flipY", "enabled", "shadowCastingMode", "receiveShadows", "sharedMaterials", "lightmapIndex", "realtimeLightmapIndex", "lightmapScaleOffset", "motionVectorGenerationMode", "realtimeLightmapScaleOffset", "lightProbeUsage", "lightProbeProxyVolumeOverride", "probeAnchor", "reflectionProbeUsage", "sortingLayerName", "sortingLayerID", "sortingOrder")] - public class ES3Type_SpriteRenderer : ES3ComponentType - { - public static ES3Type Instance = null; - - public ES3Type_SpriteRenderer() : base(typeof(UnityEngine.SpriteRenderer)) - { - Instance = this; - } - - protected override void WriteComponent(object obj, ES3Writer writer) - { - var instance = (UnityEngine.SpriteRenderer)obj; - - writer.WriteProperty("sprite", instance.sprite); - writer.WriteProperty("color", instance.color, ES3Type_Color.Instance); - writer.WriteProperty("flipX", instance.flipX, ES3Type_bool.Instance); - writer.WriteProperty("flipY", instance.flipY, ES3Type_bool.Instance); - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("shadowCastingMode", instance.shadowCastingMode); - writer.WriteProperty("receiveShadows", instance.receiveShadows, ES3Type_bool.Instance); - writer.WriteProperty("sharedMaterials", instance.sharedMaterials); - writer.WriteProperty("lightmapIndex", instance.lightmapIndex, ES3Type_int.Instance); - writer.WriteProperty("realtimeLightmapIndex", instance.realtimeLightmapIndex, ES3Type_int.Instance); - writer.WriteProperty("lightmapScaleOffset", instance.lightmapScaleOffset, ES3Type_Vector4.Instance); - writer.WriteProperty("motionVectorGenerationMode", instance.motionVectorGenerationMode); - writer.WriteProperty("realtimeLightmapScaleOffset", instance.realtimeLightmapScaleOffset, ES3Type_Vector4.Instance); - writer.WriteProperty("lightProbeUsage", instance.lightProbeUsage); - writer.WriteProperty("lightProbeProxyVolumeOverride", instance.lightProbeProxyVolumeOverride, ES3Type_GameObject.Instance); - writer.WriteProperty("probeAnchor", instance.probeAnchor, ES3Type_Transform.Instance); - writer.WriteProperty("reflectionProbeUsage", instance.reflectionProbeUsage); - writer.WriteProperty("sortingLayerName", instance.sortingLayerName, ES3Type_string.Instance); - writer.WriteProperty("sortingLayerID", instance.sortingLayerID, ES3Type_int.Instance); - writer.WriteProperty("sortingOrder", instance.sortingOrder, ES3Type_int.Instance); - } - - protected override void ReadComponent(ES3Reader reader, object obj) - { - var instance = (UnityEngine.SpriteRenderer)obj; - foreach(string propertyName in reader.Properties) - { - switch(propertyName) - { - case "sprite": - instance.sprite = reader.Read(ES3Type_Sprite.Instance); - break; - case "color": - instance.color = reader.Read(ES3Type_Color.Instance); - break; - case "flipX": - instance.flipX = reader.Read(ES3Type_bool.Instance); - break; - case "flipY": - instance.flipY = reader.Read(ES3Type_bool.Instance); - break; - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "shadowCastingMode": - instance.shadowCastingMode = reader.Read(); - break; - case "receiveShadows": - instance.receiveShadows = reader.Read(ES3Type_bool.Instance); - break; - case "sharedMaterials": - instance.sharedMaterials = reader.Read(); - break; - case "lightmapIndex": - instance.lightmapIndex = reader.Read(ES3Type_int.Instance); - break; - case "realtimeLightmapIndex": - instance.realtimeLightmapIndex = reader.Read(ES3Type_int.Instance); - break; - case "lightmapScaleOffset": - instance.lightmapScaleOffset = reader.Read(ES3Type_Vector4.Instance); - break; - case "motionVectorGenerationMode": - instance.motionVectorGenerationMode = reader.Read(); - break; - case "realtimeLightmapScaleOffset": - instance.realtimeLightmapScaleOffset = reader.Read(ES3Type_Vector4.Instance); - break; - case "lightProbeUsage": - instance.lightProbeUsage = reader.Read(); - break; - case "lightProbeProxyVolumeOverride": - instance.lightProbeProxyVolumeOverride = reader.Read(ES3Type_GameObject.Instance); - break; - case "probeAnchor": - instance.probeAnchor = reader.Read(ES3Type_Transform.Instance); - break; - case "reflectionProbeUsage": - instance.reflectionProbeUsage = reader.Read(); - break; - case "sortingLayerName": - instance.sortingLayerName = reader.Read(ES3Type_string.Instance); - break; - case "sortingLayerID": - instance.sortingLayerID = reader.Read(ES3Type_int.Instance); - break; - case "sortingOrder": - instance.sortingOrder = reader.Read(ES3Type_int.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } - - public class ES3Type_SpriteRendererArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_SpriteRendererArray() : base(typeof(UnityEngine.SpriteRenderer[]), ES3Type_SpriteRenderer.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SpriteRenderer.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SpriteRenderer.cs.meta deleted file mode 100644 index f5cf21ba8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SpriteRenderer.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f9f81f5e14f124e78877586f0b733864 -timeCreated: 1519132301 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SubEmittersModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SubEmittersModule.cs deleted file mode 100644 index 5b5a085e7..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_SubEmittersModule.cs +++ /dev/null @@ -1,86 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("properties", "systems", "types")] - public class ES3Type_SubEmittersModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_SubEmittersModule() : base(typeof(UnityEngine.ParticleSystem.SubEmittersModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.SubEmittersModule)obj; - - var seProperties = new ParticleSystemSubEmitterProperties[instance.subEmittersCount]; - var seSystems = new ParticleSystem[instance.subEmittersCount]; - var seTypes = new ParticleSystemSubEmitterType[instance.subEmittersCount]; - - for(int i=0; i(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.SubEmittersModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.SubEmittersModule)obj; - - ParticleSystemSubEmitterProperties[] seProperties = null; - ParticleSystem[] seSystems = null; - ParticleSystemSubEmitterType[] seTypes = null; - - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "properties": - seProperties = reader.Read(new ES3ArrayType(typeof(ParticleSystemSubEmitterProperties[]))); - break; - case "systems": - seSystems = reader.Read(); - break; - case "types": - seTypes = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - - if(seProperties != null) - { - for(int i=0; i(ES3Reader reader, object obj) - { - if (obj.GetType () == typeof(Texture2D)) - ES3Type_Texture2D.Instance.ReadInto(reader, obj); - else - throw new NotSupportedException ("Textures of type "+obj.GetType()+" are not currently supported."); - } - - public override object Read(ES3Reader reader) - { - return ES3Type_Texture2D.Instance.Read(reader); - } - } - - public class ES3Type_TextureArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_TextureArray() : base(typeof(UnityEngine.Texture[]), ES3Type_Texture.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Texture.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Texture.cs.meta deleted file mode 100644 index 742966849..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Texture.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 615cb2cf345144f858b56b5ff6690a9f -timeCreated: 1536306115 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Texture2D.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Texture2D.cs deleted file mode 100644 index f9104bcd2..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Texture2D.cs +++ /dev/null @@ -1,132 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("filterMode", "anisoLevel", "wrapMode", "mipMapBias", "rawTextureData")] - public class ES3Type_Texture2D : ES3UnityObjectType - { - public static ES3Type Instance = null; - - public ES3Type_Texture2D() : base(typeof(Texture2D)){ Instance = this; } - - protected override void WriteUnityObject(object obj, ES3Writer writer) - { - var instance = (Texture2D)obj; - - if (!IsReadable(instance)) - { - ES3Internal.ES3Debug.LogWarning("Easy Save cannot save the pixels or properties of this Texture because it is not read/write enabled, so Easy Save will store it by reference instead. To save the pixel data, check the 'Read/Write Enabled' checkbox in the Texture's import settings. Clicking this warning will take you to the Texture, assuming it is not generated at runtime.", instance); - return; - } - - writer.WriteProperty("width", instance.width, ES3Type_int.Instance); - writer.WriteProperty("height", instance.height, ES3Type_int.Instance); - writer.WriteProperty("format", instance.format); - writer.WriteProperty("mipmapCount", instance.mipmapCount, ES3Type_int.Instance); - writer.WriteProperty("filterMode", instance.filterMode); - writer.WriteProperty("anisoLevel", instance.anisoLevel, ES3Type_int.Instance); - writer.WriteProperty("wrapMode", instance.wrapMode); - writer.WriteProperty("mipMapBias", instance.mipMapBias, ES3Type_float.Instance); - writer.WriteProperty("rawTextureData", instance.GetRawTextureData(), ES3Type_byteArray.Instance); - } - - protected override void ReadUnityObject(ES3Reader reader, object obj) - { - if (obj == null) - return; - - if (obj.GetType() == typeof(RenderTexture)) - { - ES3Type_RenderTexture.Instance.ReadInto(reader, obj); - return; - } - - var instance = (Texture2D)obj; - - if (!IsReadable(instance)) - ES3Internal.ES3Debug.LogWarning("Easy Save cannot load the properties or pixels for this Texture because it is not read/write enabled, so it will be loaded by reference. To load the properties and pixels for this Texture, check the 'Read/Write Enabled' checkbox in its Import Settings.", instance); - - foreach (string propertyName in reader.Properties) - { - // If this Texture isn't readable, we should skip past all of its properties. - if (!IsReadable(instance)) - { - reader.Skip(); - continue; - } - - switch (propertyName) - { - case "filterMode": - instance.filterMode = reader.Read(); - break; - case "anisoLevel": - instance.anisoLevel = reader.Read(ES3Type_int.Instance); - break; - case "wrapMode": - instance.wrapMode = reader.Read(); - break; - case "mipMapBias": - instance.mipMapBias = reader.Read(ES3Type_float.Instance); - break; - case "rawTextureData": - // LoadRawTextureData requires that the correct width, height, TextureFormat and mipMaps are set before being called. - // If an error occurs here, it's likely that we're using LoadInto to load into a Texture which differs in these values. - // In this case, LoadInto should be avoided and Load should be used instead. - if (!IsReadable(instance)) - { - ES3Internal.ES3Debug.LogWarning("Easy Save cannot load the pixels of this Texture because it is not read/write enabled, so Easy Save will ignore the pixel data. To load the pixel data, check the 'Read/Write Enabled' checkbox in the Texture's import settings. Clicking this warning will take you to the Texture, assuming it is not generated at runtime.", instance); - reader.Skip(); - } - else - { - try - { - instance.LoadRawTextureData(reader.Read(ES3Type_byteArray.Instance)); - instance.Apply(); - } - catch(Exception e) - { - ES3Internal.ES3Debug.LogError("Easy Save encountered an error when trying to load this Texture, please see the end of this messasge for the error. This is most likely because the Texture format of the instance we are loading into is different to the Texture we saved.\n"+e.ToString(), instance); - } - } - break; - default: - reader.Skip(); - break; - } - } - } - - protected override object ReadUnityObject(ES3Reader reader) - { - var instance = new Texture2D( reader.Read(ES3Type_int.Instance), // Property name has already been read in ES3UnityObjectType, so we only need to read the value. - reader.ReadProperty(ES3Type_int.Instance), - reader.ReadProperty(), - (reader.ReadProperty(ES3Type_int.Instance) > 1)); - ReadObject(reader, instance); - return instance; - } - - protected bool IsReadable(Texture2D instance) - { - #if UNITY_2018_3_OR_NEWER - return instance != null && instance.isReadable; - #else - return true; - #endif - } - } - - public class ES3Type_Texture2DArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_Texture2DArray() : base(typeof(Texture2D[]), ES3Type_Texture2D.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Texture2D.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Texture2D.cs.meta deleted file mode 100644 index 03717ba80..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Texture2D.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 86d4ce7d016c24d0489778178716fa3d -timeCreated: 1519132290 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TextureSheetAnimationModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TextureSheetAnimationModule.cs deleted file mode 100644 index 2a4608d74..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TextureSheetAnimationModule.cs +++ /dev/null @@ -1,112 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "numTilesX", "numTilesY", "animation", "useRandomRow", "frameOverTime", "frameOverTimeMultiplier", "startFrame", "startFrameMultiplier", "cycleCount", "rowIndex", "uvChannelMask", "flipU", "flipV")] - public class ES3Type_TextureSheetAnimationModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_TextureSheetAnimationModule() : base(typeof(UnityEngine.ParticleSystem.TextureSheetAnimationModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.TextureSheetAnimationModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("numTilesX", instance.numTilesX, ES3Type_int.Instance); - writer.WriteProperty("numTilesY", instance.numTilesY, ES3Type_int.Instance); - writer.WriteProperty("animation", instance.animation); -#if UNITY_2019_1_OR_NEWER - writer.WriteProperty("useRandomRow", instance.rowMode); -#else - writer.WriteProperty("useRandomRow", instance.useRandomRow, ES3Type_bool.Instance); -#endif - writer.WriteProperty("frameOverTime", instance.frameOverTime, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("frameOverTimeMultiplier", instance.frameOverTimeMultiplier, ES3Type_float.Instance); - writer.WriteProperty("startFrame", instance.startFrame, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("startFrameMultiplier", instance.startFrameMultiplier, ES3Type_float.Instance); - writer.WriteProperty("cycleCount", instance.cycleCount, ES3Type_int.Instance); - writer.WriteProperty("rowIndex", instance.rowIndex, ES3Type_int.Instance); - writer.WriteProperty("uvChannelMask", instance.uvChannelMask); - //writer.WriteProperty("flipU", instance.flipU, ES3Type_float.Instance); - //writer.WriteProperty("flipV", instance.flipV, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.TextureSheetAnimationModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.TextureSheetAnimationModule)obj; - string propertyName; - while ((propertyName = reader.ReadPropertyName()) != null) - { - switch (propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "numTilesX": - instance.numTilesX = reader.Read(ES3Type_int.Instance); - break; - case "numTilesY": - instance.numTilesY = reader.Read(ES3Type_int.Instance); - break; - case "animation": - instance.animation = reader.Read(); - break; -#if UNITY_2019_1_OR_NEWER - case "rowMode": - instance.rowMode = reader.Read(); - break; -#else - case "useRandomRow": - instance.useRandomRow = reader.Read(ES3Type_bool.Instance); - break; -#endif - case "frameOverTime": - instance.frameOverTime = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "frameOverTimeMultiplier": - instance.frameOverTimeMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "startFrame": - instance.startFrame = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "startFrameMultiplier": - instance.startFrameMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "cycleCount": - instance.cycleCount = reader.Read(ES3Type_int.Instance); - break; - case "rowIndex": - instance.rowIndex = reader.Read(ES3Type_int.Instance); - break; - case "uvChannelMask": - instance.uvChannelMask = reader.Read(); - break; - /*case "flipU": - instance.flipU = reader.Read(ES3Type_float.Instance); - break; - case "flipV": - instance.flipV = reader.Read(ES3Type_float.Instance); - break;*/ - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TextureSheetAnimationModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TextureSheetAnimationModule.cs.meta deleted file mode 100644 index 9f5877592..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TextureSheetAnimationModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 059be233c84494c01be9f48a8be8e89e -timeCreated: 1519132279 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TrailModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TrailModule.cs deleted file mode 100644 index 4009e68a3..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TrailModule.cs +++ /dev/null @@ -1,106 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "ratio", "lifetime", "lifetimeMultiplier", "minVertexDistance", "textureMode", "worldSpace", "dieWithParticles", "sizeAffectsWidth", "sizeAffectsLifetime", "inheritParticleColor", "colorOverLifetime", "widthOverTrail", "widthOverTrailMultiplier", "colorOverTrail")] - public class ES3Type_TrailModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_TrailModule() : base(typeof(UnityEngine.ParticleSystem.TrailModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.TrailModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("ratio", instance.ratio, ES3Type_float.Instance); - writer.WriteProperty("lifetime", instance.lifetime, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("lifetimeMultiplier", instance.lifetimeMultiplier, ES3Type_float.Instance); - writer.WriteProperty("minVertexDistance", instance.minVertexDistance, ES3Type_float.Instance); - writer.WriteProperty("textureMode", instance.textureMode); - writer.WriteProperty("worldSpace", instance.worldSpace, ES3Type_bool.Instance); - writer.WriteProperty("dieWithParticles", instance.dieWithParticles, ES3Type_bool.Instance); - writer.WriteProperty("sizeAffectsWidth", instance.sizeAffectsWidth, ES3Type_bool.Instance); - writer.WriteProperty("sizeAffectsLifetime", instance.sizeAffectsLifetime, ES3Type_bool.Instance); - writer.WriteProperty("inheritParticleColor", instance.inheritParticleColor, ES3Type_bool.Instance); - writer.WriteProperty("colorOverLifetime", instance.colorOverLifetime, ES3Type_MinMaxGradient.Instance); - writer.WriteProperty("widthOverTrail", instance.widthOverTrail, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("widthOverTrailMultiplier", instance.widthOverTrailMultiplier, ES3Type_float.Instance); - writer.WriteProperty("colorOverTrail", instance.colorOverTrail, ES3Type_MinMaxGradient.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.TrailModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.TrailModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "ratio": - instance.ratio = reader.Read(ES3Type_float.Instance); - break; - case "lifetime": - instance.lifetime = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "lifetimeMultiplier": - instance.lifetimeMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "minVertexDistance": - instance.minVertexDistance = reader.Read(ES3Type_float.Instance); - break; - case "textureMode": - instance.textureMode = reader.Read(); - break; - case "worldSpace": - instance.worldSpace = reader.Read(ES3Type_bool.Instance); - break; - case "dieWithParticles": - instance.dieWithParticles = reader.Read(ES3Type_bool.Instance); - break; - case "sizeAffectsWidth": - instance.sizeAffectsWidth = reader.Read(ES3Type_bool.Instance); - break; - case "sizeAffectsLifetime": - instance.sizeAffectsLifetime = reader.Read(ES3Type_bool.Instance); - break; - case "inheritParticleColor": - instance.inheritParticleColor = reader.Read(ES3Type_bool.Instance); - break; - case "colorOverLifetime": - instance.colorOverLifetime = reader.Read(ES3Type_MinMaxGradient.Instance); - break; - case "widthOverTrail": - instance.widthOverTrail = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "widthOverTrailMultiplier": - instance.widthOverTrailMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "colorOverTrail": - instance.colorOverTrail = reader.Read(ES3Type_MinMaxGradient.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TrailModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TrailModule.cs.meta deleted file mode 100644 index bdb0464f6..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TrailModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 56ad47761f46a452b84d1efde61de80c -timeCreated: 1519132285 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TriggerModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TriggerModule.cs deleted file mode 100644 index 20a4a5b74..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TriggerModule.cs +++ /dev/null @@ -1,70 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "inside", "outside", "enter", "exit", "radiusScale")] - public class ES3Type_TriggerModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_TriggerModule() : base(typeof(UnityEngine.ParticleSystem.TriggerModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.TriggerModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("inside", instance.inside); - writer.WriteProperty("outside", instance.outside); - writer.WriteProperty("enter", instance.enter); - writer.WriteProperty("exit", instance.exit); - writer.WriteProperty("radiusScale", instance.radiusScale, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.TriggerModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.TriggerModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "inside": - instance.inside = reader.Read(); - break; - case "outside": - instance.outside = reader.Read(); - break; - case "enter": - instance.enter = reader.Read(); - break; - case "exit": - instance.exit = reader.Read(); - break; - case "radiusScale": - instance.radiusScale = reader.Read(ES3Type_float.Instance); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TriggerModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TriggerModule.cs.meta deleted file mode 100644 index 9aed37675..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_TriggerModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 7cf3d6f533d04498fb0601796570f998 -timeCreated: 1519132289 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2.cs deleted file mode 100644 index 3ba779dc1..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2.cs +++ /dev/null @@ -1,40 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("x", "y")] - public class ES3Type_Vector2 : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Vector2() : base(typeof(Vector2)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - Vector2 casted = (Vector2)obj; - writer.WriteProperty("x", casted.x, ES3Type_float.Instance); - writer.WriteProperty("y", casted.y, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - return new Vector2( reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance)); - } - } - - public class ES3Type_Vector2Array : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_Vector2Array() : base(typeof(Vector2[]), ES3Type_Vector2.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2.cs.meta deleted file mode 100644 index 6d94ec370..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6cdccaf6dcab94e45931bf15d2a90640 -timeCreated: 1519132287 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2Int.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2Int.cs deleted file mode 100644 index 79f8e0307..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2Int.cs +++ /dev/null @@ -1,42 +0,0 @@ -#if UNITY_2017_2_OR_NEWER -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("x", "y")] - public class ES3Type_Vector2Int : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Vector2Int() : base(typeof(Vector2Int)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - Vector2Int casted = (Vector2Int)obj; - writer.WriteProperty("x", casted.x, ES3Type_int.Instance); - writer.WriteProperty("y", casted.y, ES3Type_int.Instance); - } - - public override object Read(ES3Reader reader) - { - return new Vector2Int( reader.ReadProperty(ES3Type_int.Instance), - reader.ReadProperty(ES3Type_int.Instance)); - } - } - - public class ES3Type_Vector2IntArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_Vector2IntArray() : base(typeof(Vector2Int[]), ES3Type_Vector2Int.Instance) - { - Instance = this; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2Int.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2Int.cs.meta deleted file mode 100644 index a8cc1433e..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector2Int.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: d4ce5526a479a4cdab37fa9c10dc3964 -timeCreated: 1519132287 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3.cs deleted file mode 100644 index dd4da364c..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3Properties("x", "y", "z")] - public class ES3Type_Vector3 : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Vector3() : base(typeof(Vector3)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - Vector3 casted = (Vector3)obj; - writer.WriteProperty("x", casted.x, ES3Type_float.Instance); - writer.WriteProperty("y", casted.y, ES3Type_float.Instance); - writer.WriteProperty("z", casted.z, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - return new Vector3( reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance)); - } - } - - public class ES3Type_Vector3Array : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_Vector3Array() : base(typeof(Vector3[]), ES3Type_Vector3.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3.cs.meta deleted file mode 100644 index 80e53bb7c..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 65ba0614942de49678702985ca4ca357 -timeCreated: 1519132287 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3Int.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3Int.cs deleted file mode 100644 index 552a81732..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3Int.cs +++ /dev/null @@ -1,44 +0,0 @@ -#if UNITY_2017_2_OR_NEWER -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("x", "y", "z")] - public class ES3Type_Vector3Int : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Vector3Int() : base(typeof(Vector3Int)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - Vector3Int casted = (Vector3Int)obj; - writer.WriteProperty("x", casted.x, ES3Type_int.Instance); - writer.WriteProperty("y", casted.y, ES3Type_int.Instance); - writer.WriteProperty("z", casted.z, ES3Type_int.Instance); - } - - public override object Read(ES3Reader reader) - { - return new Vector3Int( reader.ReadProperty(ES3Type_int.Instance), - reader.ReadProperty(ES3Type_int.Instance), - reader.ReadProperty(ES3Type_int.Instance)); - } - } - - public class ES3Type_Vector3IntArray : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_Vector3IntArray() : base(typeof(Vector3Int[]), ES3Type_Vector3Int.Instance) - { - Instance = this; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3Int.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3Int.cs.meta deleted file mode 100644 index cf4d455b8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector3Int.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 7e3a1d8e6e8144f71a61562fc86b2b2c -timeCreated: 1519132287 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector4.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector4.cs deleted file mode 100644 index 5782c438a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector4.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System; -using UnityEngine; -using System.Collections.Generic; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("x", "y", "z", "w")] - public class ES3Type_Vector4 : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_Vector4() : base(typeof(Vector4)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - Vector4 casted = (Vector4)obj; - writer.WriteProperty("x", casted.x, ES3Type_float.Instance); - writer.WriteProperty("y", casted.y, ES3Type_float.Instance); - writer.WriteProperty("z", casted.z, ES3Type_float.Instance); - writer.WriteProperty("w", casted.w, ES3Type_float.Instance); - } - - public override object Read(ES3Reader reader) - { - return new Vector4( reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance), - reader.ReadProperty(ES3Type_float.Instance)); - } - - public static bool Equals(Vector4 a, Vector4 b) - { - return (Mathf.Approximately(a.x,b.x) && Mathf.Approximately(a.y,b.y) && Mathf.Approximately(a.z,b.z) && Mathf.Approximately(a.w,b.w)); - } - } - - public class ES3Type_Vector4Array : ES3ArrayType - { - public static ES3Type Instance; - - public ES3Type_Vector4Array() : base(typeof(Vector4[]), ES3Type_Vector4.Instance) - { - Instance = this; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector4.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector4.cs.meta deleted file mode 100644 index 8b99b5cf6..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_Vector4.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 970684b89a8e24102a42f02a5ed59a66 -timeCreated: 1519132292 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_VelocityOverLifetimeModule.cs b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_VelocityOverLifetimeModule.cs deleted file mode 100644 index c72cd72be..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_VelocityOverLifetimeModule.cs +++ /dev/null @@ -1,77 +0,0 @@ -using System; -using UnityEngine; - -namespace ES3Types -{ - [UnityEngine.Scripting.Preserve] - [ES3PropertiesAttribute("enabled", "x", "y", "z", "xMultiplier", "yMultiplier", "zMultiplier", "space")] - public class ES3Type_VelocityOverLifetimeModule : ES3Type - { - public static ES3Type Instance = null; - - public ES3Type_VelocityOverLifetimeModule() : base(typeof(UnityEngine.ParticleSystem.VelocityOverLifetimeModule)) - { - Instance = this; - } - - public override void Write(object obj, ES3Writer writer) - { - var instance = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)obj; - - writer.WriteProperty("enabled", instance.enabled, ES3Type_bool.Instance); - writer.WriteProperty("x", instance.x, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("y", instance.y, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("z", instance.z, ES3Type_MinMaxCurve.Instance); - writer.WriteProperty("xMultiplier", instance.xMultiplier, ES3Type_float.Instance); - writer.WriteProperty("yMultiplier", instance.yMultiplier, ES3Type_float.Instance); - writer.WriteProperty("zMultiplier", instance.zMultiplier, ES3Type_float.Instance); - writer.WriteProperty("space", instance.space); - } - - public override object Read(ES3Reader reader) - { - var instance = new UnityEngine.ParticleSystem.VelocityOverLifetimeModule(); - ReadInto(reader, instance); - return instance; - } - - public override void ReadInto(ES3Reader reader, object obj) - { - var instance = (UnityEngine.ParticleSystem.VelocityOverLifetimeModule)obj; - string propertyName; - while((propertyName = reader.ReadPropertyName()) != null) - { - switch(propertyName) - { - case "enabled": - instance.enabled = reader.Read(ES3Type_bool.Instance); - break; - case "x": - instance.x = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "y": - instance.y = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "z": - instance.z = reader.Read(ES3Type_MinMaxCurve.Instance); - break; - case "xMultiplier": - instance.xMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "yMultiplier": - instance.yMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "zMultiplier": - instance.zMultiplier = reader.Read(ES3Type_float.Instance); - break; - case "space": - instance.space = reader.Read(); - break; - default: - reader.Skip(); - break; - } - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_VelocityOverLifetimeModule.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_VelocityOverLifetimeModule.cs.meta deleted file mode 100644 index a344c8be8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Types/Unity Types/ES3Type_VelocityOverLifetimeModule.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a4884364ae36a4916a8bc2bd6e5e9683 -timeCreated: 1519132293 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Web.meta b/Assets/Plugins/Easy Save 3/Scripts/Web.meta deleted file mode 100644 index 454424f35..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Web.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: a31790717a932467d825f30d95c413bb -folderAsset: yes -timeCreated: 1500448038 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Web/ES3Cloud.cs b/Assets/Plugins/Easy Save 3/Scripts/Web/ES3Cloud.cs deleted file mode 100644 index 90c7d385c..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Web/ES3Cloud.cs +++ /dev/null @@ -1,753 +0,0 @@ -#if !DISABLE_WEB -using System.Collections; -using System.Collections.Generic; -using System.Text; -using UnityEngine; -using UnityEngine.Networking; -using System; -using ES3Internal; - -public class ES3Cloud : ES3WebClass -{ - int timeout = 20; - - /// Constructs an new ES3Cloud object with the given URL to an ES3.php file. - /// The URL of the ES3.php file on your server you want to use. - public ES3Cloud(string url, string apiKey) : base(url, apiKey) - { - } - - public ES3Cloud(string url, string apiKey, int timeout) : base(url, apiKey) - { - this.timeout = timeout; - } - - #region Downloaded Data Handling - - /// The encoding to use when encoding and decoding data as strings. - public System.Text.Encoding encoding = System.Text.Encoding.UTF8; - - - private byte[] _data = null; - /// Any downloaded data, if applicable. This may also contain an error message, so you should check the 'ifError' variable before reading data. - public byte[] data - { - get{ return _data; } - } - - /// The downloaded data as text, decoded using the encoding specified by the 'encoding' variable. - public string text - { - get - { - if(data == null) - return null; - return encoding.GetString(data); - } - } - - /// An array of filenames downloaded from the server. This must only be accessed after calling the 'DownloadFilenames' routine. - public string[] filenames - { - get - { - if(data == null || data.Length == 0) - return new string[0]; - return text.Split(';'); - } - - } - - /// A UTC DateTime object representing the date and time a file on the server was last updated. This should only be called after calling the 'DownloadTimestamp' routine. - public DateTime timestamp - { - get - { - if(data == null || data.Length == 0) - return new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc); - - double timestamp; - if(!double.TryParse(text, out timestamp)) - throw new FormatException("Could not convert downloaded data to a timestamp. Data downloaded was: " + text); - - return new DateTime(1970, 1, 1, 0, 0, 0, 0, DateTimeKind.Utc).AddSeconds(timestamp); - } - } - - #endregion - - #region Sync - - /// Synchronises the default file with a file on the server. If the file on the server is newer than the local copy, the local file will be overwritten by the file on the server. Otherwise, the file on the server will be overwritten. - public IEnumerator Sync() - { - return Sync(new ES3Settings(), "", ""); - } - - /// Synchronises a local file with a file on the server. If the file on the server is newer than the local copy, the local file will be overwritten by the file on the server. Otherwise, the file on the server will be overwritten. - /// The relative or absolute path of the local file we want to synchronise. - public IEnumerator Sync(string filePath) - { - return Sync(new ES3Settings(filePath), "", ""); - } - - /// Synchronises a local file with a file on the server. If the file on the server is newer than the local copy, the local file will be overwritten by the file on the server. Otherwise, the file on the server will be overwritten. - /// The relative or absolute path of the local file we want to synchronise. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - public IEnumerator Sync(string filePath, string user) - { - return Sync(new ES3Settings(filePath), user, ""); - } - - /// Synchronises a local file with a file on the server. If the file on the server is newer than the local copy, the local file will be overwritten by the file on the server. Otherwise, the file on the server will be overwritten. - /// The relative or absolute path of the local file we want to synchronise. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - public IEnumerator Sync(string filePath, string user, string password) - { - return Sync(new ES3Settings(filePath), user, password); - } - - /// Synchronises a local file with a file on the server. If the file on the server is newer than the local copy, the local file will be overwritten by the file on the server. Otherwise, the file on the server will be overwritten. - /// The relative or absolute path of the local file we want to synchronise. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - /// The settings we want to use to override the default settings. - public IEnumerator Sync(string filePath, ES3Settings settings) - { - return Sync(new ES3Settings(filePath, settings), "", ""); - } - - /// Synchronises a local file with a file on the server. If the file on the server is newer than the local copy, the local file will be overwritten by the file on the server. Otherwise, the file on the server will be overwritten. - /// The relative or absolute path of the file we want to use. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The settings we want to use to override the default settings. - public IEnumerator Sync(string filePath, string user, ES3Settings settings) - { - return Sync(new ES3Settings(filePath, settings), user, ""); - } - - /// Synchronises a local file with a file on the server. If the file on the server is newer than the local copy, the local file will be overwritten by the file on the server. Otherwise, the file on the server will be overwritten. - /// The relative or absolute path of the local file we want to synchronise. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - /// The settings we want to use to override the default settings. - public IEnumerator Sync(string filePath, string user, string password, ES3Settings settings) - { - return Sync(new ES3Settings(filePath, settings), user, password); - } - - /// Synchronises a local file with a file on the server. If the file on the server is newer than the local copy, the local file will be overwritten by the file on the server. Otherwise, the file on the server will be overwritten. - /// The settings we want to use to override the default settings. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - private IEnumerator Sync(ES3Settings settings, string user, string password) - { - Reset(); - - yield return DownloadFile(settings, user, password, GetFileTimestamp(settings)); - - if(errorCode == 3) - { - // Clear the error. - Reset(); - - // File does not exist on server, or is older than locally stored data, so upload the local file to the server if it exists. - if(ES3.FileExists(settings)) - yield return UploadFile(settings, user, password); - } - - isDone = true; - } - - #endregion - - #region UploadFile - - /// Uploads the default file to the server, overwriting any existing file. - public IEnumerator UploadFile() - { - return UploadFile(new ES3Settings(), "", ""); - } - - /// Uploads a local file to the server, overwriting any existing file. - /// The relative or absolute path of the file we want to use. - public IEnumerator UploadFile(string filePath) - { - return UploadFile(new ES3Settings(filePath), "", ""); - } - - /// Uploads a local file to the server, overwriting any existing file. - /// The relative or absolute path of the file we want to use. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - public IEnumerator UploadFile(string filePath, string user) - { - return UploadFile(new ES3Settings(filePath), user, ""); - } - - /// Uploads a local file to the server, overwriting any existing file. - /// The relative or absolute path of the file we want to use. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - public IEnumerator UploadFile(string filePath, string user, string password) - { - return UploadFile(new ES3Settings(filePath), user, password); - } - - /// Uploads a local file to the server, overwriting any existing file. - /// The relative or absolute path of the file we want to use. - /// The settings we want to use to override the default settings. - public IEnumerator UploadFile(string filePath, ES3Settings settings) - { - return UploadFile(new ES3Settings(filePath, settings), "", ""); - } - - /// Uploads a local file to the server, overwriting any existing file. - /// The relative or absolute path of the file we want to use. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The settings we want to use to override the default settings. - public IEnumerator UploadFile(string filePath, string user, ES3Settings settings) - { - return UploadFile(new ES3Settings(filePath, settings), user, ""); - } - - /// Uploads a local file to the server, overwriting any existing file. - /// The relative or absolute path of the file we want to use. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - /// The settings we want to use to override the default settings. - public IEnumerator UploadFile(string filePath, string user, string password, ES3Settings settings) - { - return UploadFile(new ES3Settings(filePath, settings), user, password); - } - - /// Uploads a local file to the server, overwriting any existing file. - /// An ES3File containing the data we want to upload. - public IEnumerator UploadFile(ES3File es3File) - { - return UploadFile(es3File.GetBytes(), es3File.settings, "", "", DateTimeToUnixTimestamp(DateTime.Now)); - } - - /// Uploads a local file to the server, overwriting any existing file. - /// An ES3File containing the data we want to upload. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - public IEnumerator UploadFile(ES3File es3File, string user) - { - return UploadFile(es3File.GetBytes(), es3File.settings, user, "", DateTimeToUnixTimestamp(DateTime.Now)); - } - - /// Uploads a local file to the server, overwriting any existing file. - /// An ES3File containing the data we want to upload. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - public IEnumerator UploadFile(ES3File es3File, string user, string password) - { - return UploadFile(es3File.GetBytes(), es3File.settings, user, password, DateTimeToUnixTimestamp(DateTime.Now)); - } - - /// Uploads a local file to the server, overwriting any existing file. - /// An ES3File containing the data we want to upload. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - public IEnumerator UploadFile(ES3Settings settings, string user, string password) - { - return UploadFile(ES3.LoadRawBytes(settings), settings, user, password); - } - - private IEnumerator UploadFile(byte[] bytes, ES3Settings settings, string user, string password) - { - return UploadFile(bytes, settings, user, password, DateTimeToUnixTimestamp(ES3.GetTimestamp(settings))); - } - - private IEnumerator UploadFile(byte[] bytes, ES3Settings settings, string user, string password, long fileTimestamp) - { - Reset(); - - var form = CreateWWWForm(); - form.AddField("apiKey", apiKey); - form.AddField("putFile", settings.path); - form.AddField("timestamp", fileTimestamp.ToString()); - form.AddField("user", GetUser(user, password)); - form.AddBinaryData("data", bytes, "data.dat", "multipart/form-data"); - - using(var webRequest = UnityWebRequest.Post(url, form)) - { - webRequest.timeout = timeout; - yield return SendWebRequest(webRequest); - HandleError(webRequest, true); - } - - isDone = true; - } - - #endregion - - #region DownloadFile - - /// Downloads the default file from the server and saves it locally, overwriting the existing local default file. An error is returned if the file does not exist. - public IEnumerator DownloadFile() - { - return DownloadFile(new ES3Settings(), "", "", 0); - } - - /// Downloads a file from the server and saves it locally, overwriting any existing local file. An error is returned if the file does not exist. - /// The relative or absolute path of the file we want to download. - public IEnumerator DownloadFile(string filePath) - { - return DownloadFile(new ES3Settings(filePath), "", "", 0); - } - - /// Downloads a file from the server and saves it locally, overwriting any existing local file. An error is returned if the file does not exist. - /// The relative or absolute path of the file we want to download. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - public IEnumerator DownloadFile(string filePath, string user) - { - return DownloadFile(new ES3Settings(filePath), user, "", 0); - } - - /// Downloads a file from the server and saves it locally, overwriting any existing local file. An error is returned if the file does not exist. - /// The relative or absolute path of the file we want to download. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - public IEnumerator DownloadFile(string filePath, string user, string password) - { - return DownloadFile(new ES3Settings(filePath), user, password, 0); - } - - /// Downloads a file from the server and saves it locally, overwriting any existing local file. An error is returned if the file does not exist. - /// The relative or absolute path of the file we want to download. - /// The settings we want to use to override the default settings. - public IEnumerator DownloadFile(string filePath, ES3Settings settings) - { - return DownloadFile(new ES3Settings(filePath, settings), "", "", 0); - } - - /// Downloads a file from the server and saves it locally, overwriting any existing local file. An error is returned if the file does not exist. - /// The relative or absolute path of the file we want to download. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The settings we want to use to override the default settings. - public IEnumerator DownloadFile(string filePath, string user, ES3Settings settings) - { - return DownloadFile(new ES3Settings(filePath, settings), user, "", 0); - } - - /// Downloads a file from the server and saves it locally, overwriting any existing local file. An error is returned if the file does not exist. - /// The relative or absolute path of the file we want to download. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - /// The settings we want to use to override the default settings. - public IEnumerator DownloadFile(string filePath, string user, string password, ES3Settings settings) - { - return DownloadFile(new ES3Settings(filePath, settings), user, password, 0); - } - - /// Downloads a file from the server and saves it locally, overwriting any existing local file. An error is returned if the file does not exist. - /// The ES3File we want to load our data into. The filename in the settings of the ES3File will be used when downloading. - public IEnumerator DownloadFile(ES3File es3File) - { - return DownloadFile(es3File, "", "", 0); - } - - /// Downloads a file from the server and saves it locally, overwriting any existing local file. An error is returned if the file does not exist. - /// The ES3File we want to load our data into. The filename in the settings of the ES3File will be used when downloading. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - public IEnumerator DownloadFile(ES3File es3File, string user) - { - return DownloadFile(es3File, user, "", 0); - } - - /// Downloads a file from the server and saves it locally, overwriting any existing local file. An error is returned if the file does not exist. - /// The ES3File we want to load our data into. The filename in the settings of the ES3File will be used when downloading. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - public IEnumerator DownloadFile(ES3File es3File, string user, string password) - { - return DownloadFile(es3File, user, password, 0); - } - - private IEnumerator DownloadFile(ES3File es3File, string user, string password, long timestamp) - { - Reset(); - - var form = CreateWWWForm(); - form.AddField("apiKey", apiKey); - form.AddField("getFile", es3File.settings.path); - form.AddField("user", GetUser(user, password)); - if(timestamp > 0) - form.AddField("timestamp", timestamp.ToString()); - - using(var webRequest = UnityWebRequest.Post(url, form)) - { - webRequest.timeout = timeout; - - yield return SendWebRequest(webRequest); - - if(!HandleError(webRequest, false)) - { - if(webRequest.downloadedBytes > 0) - { - es3File.Clear(); - es3File.SaveRaw(webRequest.downloadHandler.data); - } - else - { - error = string.Format("File {0} was not found on the server.", es3File.settings.path); - errorCode = 3; - } - } - } - - isDone = true; - } - - private IEnumerator DownloadFile(ES3Settings settings, string user, string password, long timestamp) - { - Reset(); - - var form = CreateWWWForm(); - form.AddField("apiKey", apiKey); - form.AddField("getFile", settings.path); - form.AddField("user", GetUser(user, password)); - if(timestamp > 0) - form.AddField("timestamp", timestamp.ToString()); - - using(var webRequest = UnityWebRequest.Post(url, form)) - { - webRequest.timeout = timeout; - - yield return SendWebRequest(webRequest); - if(!HandleError(webRequest, false)) - { - if(webRequest.downloadedBytes > 0) - { - ES3.SaveRaw(webRequest.downloadHandler.data, settings); - } - else - { - error = string.Format("File {0} was not found on the server.", settings.path); - errorCode = 3; - } - } - } - - isDone = true; - } - - #endregion - - #region DeleteFile - - /// Deletes the default file from the server. An error is *not* returned if the file does not exist. - public IEnumerator DeleteFile() - { - return DeleteFile(new ES3Settings(), "", ""); - } - - /// Deletes a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - public IEnumerator DeleteFile(string filePath) - { - return DeleteFile(new ES3Settings(filePath), "", ""); - } - - /// Deletes a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - public IEnumerator DeleteFile(string filePath, string user) - { - return DeleteFile(new ES3Settings(filePath), user, ""); - } - - /// Deletes a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - public IEnumerator DeleteFile(string filePath, string user, string password) - { - return DeleteFile(new ES3Settings(filePath), user, password); - } - - /// Deletes a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - /// The settings we want to use to override the default settings. - public IEnumerator DeleteFile(string filePath, ES3Settings settings) - { - return DeleteFile(new ES3Settings(filePath, settings), "", ""); - } - - /// Deletes a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The settings we want to use to override the default settings. - public IEnumerator DeleteFile(string filePath, string user, ES3Settings settings) - { - return DeleteFile(new ES3Settings(filePath, settings), user, ""); - } - - /// Deletes a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - /// The settings we want to use to override the default settings. - public IEnumerator DeleteFile(string filePath, string user, string password, ES3Settings settings) - { - return DeleteFile(new ES3Settings(filePath, settings), user, password); - } - - private IEnumerator DeleteFile(ES3Settings settings, string user, string password) - { - Reset(); - - var form = CreateWWWForm(); - form.AddField("apiKey", apiKey); - form.AddField("deleteFile", settings.path); - form.AddField("user", GetUser(user, password)); - - using(var webRequest = UnityWebRequest.Post(url, form)) - { - webRequest.timeout = timeout; - - yield return SendWebRequest(webRequest); - HandleError(webRequest, true); - } - - isDone = true; - } - - #endregion - - #region RenameFile - - /// Renames a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - public IEnumerator RenameFile(string filePath, string newFilePath) - { - return RenameFile(new ES3Settings(filePath), new ES3Settings(newFilePath), "", ""); - } - - /// Renames a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - public IEnumerator RenameFile(string filePath, string newFilePath, string user) - { - return RenameFile(new ES3Settings(filePath), new ES3Settings(newFilePath), user, ""); - } - - /// Renames a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - public IEnumerator RenameFile(string filePath, string newFilePath, string user, string password) - { - return RenameFile(new ES3Settings(filePath), new ES3Settings(newFilePath), user, password); - } - - /// Renames a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - /// The settings we want to use to override the default settings. - public IEnumerator RenameFile(string filePath, string newFilePath, ES3Settings settings) - { - return RenameFile(new ES3Settings(filePath, settings), new ES3Settings(newFilePath, settings), "", ""); - } - - /// Renames a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The settings we want to use to override the default settings. - public IEnumerator RenameFile(string filePath, string newFilePath, string user, ES3Settings settings) - { - return RenameFile(new ES3Settings(filePath, settings), new ES3Settings(newFilePath, settings), user, ""); - } - - /// Renames a file from the server. An error is *not* returned if the file does not exist. - /// The relative or absolute path of the file we want to delete. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - /// The settings we want to use to override the default settings. - public IEnumerator RenameFile(string filePath, string newFilePath, string user, string password, ES3Settings settings) - { - return RenameFile(new ES3Settings(filePath, settings), new ES3Settings(newFilePath, settings), user, password); - } - - private IEnumerator RenameFile(ES3Settings settings, ES3Settings newSettings, string user, string password) - { - Reset(); - - var form = CreateWWWForm(); - form.AddField("apiKey", apiKey); - form.AddField("renameFile", settings.path); - form.AddField("newFilename", newSettings.path); - form.AddField("user", GetUser(user, password)); - - using(var webRequest = UnityWebRequest.Post(url, form)) - { - webRequest.timeout = timeout; - - yield return SendWebRequest(webRequest); - HandleError(webRequest, true); - } - - isDone = true; - } - - #endregion - - #region DownloadFilenames - - /// Downloads the names of all of the files on the server. Downloaded filenames are stored in the 'filenames' variable of the ES3Cloud object. - /// The unique name of the user we want to find the filenames of. - /// The password of the user we want to find the filenames of. - public IEnumerator DownloadFilenames(string user="", string password="") - { - Reset(); - - var form = CreateWWWForm(); - form.AddField("apiKey", apiKey); - form.AddField("getFilenames", ""); - form.AddField("user", GetUser(user, password)); - - using(var webRequest = UnityWebRequest.Post(url, form)) - { - webRequest.timeout = timeout; - - yield return SendWebRequest(webRequest); - if(!HandleError(webRequest, false)) - _data = webRequest.downloadHandler.data; - } - - isDone = true; - } - - /// Downloads the names of all of the files on the server. Downloaded filenames are stored in the 'filenames' variable of the ES3Cloud object. - /// The unique name of the user we want to find the filenames of. - /// The password of the user we want to find the filenames of. - /// A search pattern containing '%' or '_' wildcards where '%' represents zero, one, or multiple characters, and '_' represents a single character. - public IEnumerator SearchFilenames(string searchPattern, string user="", string password="") - { - Reset(); - - var form = CreateWWWForm(); - form.AddField("apiKey", apiKey); - form.AddField("getFilenames", ""); - form.AddField("user", GetUser(user, password)); - if (!string.IsNullOrEmpty(searchPattern)) - form.AddField("pattern", searchPattern); - - using (var webRequest = UnityWebRequest.Post(url, form)) - { - webRequest.timeout = timeout; - - yield return SendWebRequest(webRequest); - if (!HandleError(webRequest, false)) - _data = webRequest.downloadHandler.data; - } - - isDone = true; - } - - #endregion - - #region DownloadTimestamp - - /// Downloads the timestamp representing when the server file was last updated. The downloaded timestamp is stored in the 'timestamp' variable of the ES3Cloud object. - public IEnumerator DownloadTimestamp() - { - return DownloadTimestamp(new ES3Settings(), "", ""); - } - - /// Downloads the timestamp representing when the server file was last updated. The downloaded timestamp is stored in the 'timestamp' variable of the ES3Cloud object. - /// The relative or absolute path of the file we want to get the timestamp of. - public IEnumerator DownloadTimestamp(string filePath) - { - return DownloadTimestamp(new ES3Settings(filePath), "", ""); - } - - /// Downloads the timestamp representing when the server file was last updated. The downloaded timestamp is stored in the 'timestamp' variable of the ES3Cloud object. - /// The relative or absolute path of the file we want to get the timestamp of. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - public IEnumerator DownloadTimestamp(string filePath, string user) - { - return DownloadTimestamp(new ES3Settings(filePath), user, ""); - } - - /// Downloads the timestamp representing when the server file was last updated. The downloaded timestamp is stored in the 'timestamp' variable of the ES3Cloud object. - /// The relative or absolute path of the file we want to get the timestamp of. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - public IEnumerator DownloadTimestamp(string filePath, string user, string password) - { - return DownloadTimestamp(new ES3Settings(filePath), user, password); - } - - /// Downloads the timestamp representing when the server file was last updated. The downloaded timestamp is stored in the 'timestamp' variable of the ES3Cloud object. - /// The relative or absolute path of the file we want to get the timestamp of. - /// The settings we want to use to override the default settings. - public IEnumerator DownloadTimestamp(string filePath, ES3Settings settings) - { - return DownloadTimestamp(new ES3Settings(filePath, settings), "", ""); - } - - /// Downloads the timestamp representing when the server file was last updated. The downloaded timestamp is stored in the 'timestamp' variable of the ES3Cloud object. - /// The relative or absolute path of the file we want to get the timestamp of. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The settings we want to use to override the default settings. - public IEnumerator DownloadTimestamp(string filePath, string user, ES3Settings settings) - { - return DownloadTimestamp(new ES3Settings(filePath, settings), user, ""); - } - - /// Downloads the timestamp representing when the server file was last updated. The downloaded timestamp is stored in the 'timestamp' variable of the ES3Cloud object. - /// The relative or absolute path of the file we want to get the timestamp of. - /// The unique name of the user this file belongs to, if the file isn't globally accessible. - /// The password of the user this file belongs to. - /// The settings we want to use to override the default settings. - public IEnumerator DownloadTimestamp(string filePath, string user, string password, ES3Settings settings) - { - return DownloadTimestamp(new ES3Settings(filePath, settings), user, password); - } - - private IEnumerator DownloadTimestamp(ES3Settings settings, string user, string password) - { - Reset(); - - var form = CreateWWWForm(); - form.AddField("apiKey", apiKey); - form.AddField("getTimestamp", settings.path); - form.AddField("user", GetUser(user, password)); - - using(var webRequest = UnityWebRequest.Post(url, form)) - { - webRequest.timeout = timeout; - - yield return SendWebRequest(webRequest); - if(!HandleError(webRequest, false)) - _data = webRequest.downloadHandler.data; - } - - isDone = true; - } - - #endregion - - #region Internal Methods - - private long DateTimeToUnixTimestamp(DateTime dt) - { - return Convert.ToInt64((dt.ToUniversalTime() - new DateTime(1970, 1, 1, 0, 0, 0, 0, System.DateTimeKind.Utc)).TotalSeconds); - } - - private long GetFileTimestamp(ES3Settings settings) - { - return DateTimeToUnixTimestamp(ES3.GetTimestamp(settings)); - } - - protected override void Reset() - { - _data = null; - base.Reset(); - } - - #endregion -} - -#endif \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Scripts/Web/ES3Cloud.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Web/ES3Cloud.cs.meta deleted file mode 100644 index 02e505eed..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Web/ES3Cloud.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e639a3698613946f0951d104a492f138 -timeCreated: 1500448165 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Web/ES3WebClass.cs b/Assets/Plugins/Easy Save 3/Scripts/Web/ES3WebClass.cs deleted file mode 100644 index 4c78c4404..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Web/ES3WebClass.cs +++ /dev/null @@ -1,148 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using UnityEngine; -using UnityEngine.Networking; - -namespace ES3Internal -{ - public class ES3WebClass - { - protected string url; - protected string apiKey; - - protected List> formData = new List>(); - protected UnityWebRequest _webRequest = null; - - - public bool isDone = false; - public float uploadProgress - { - get - { - if(_webRequest == null) - return 0; - else - return _webRequest.uploadProgress; - } - } - - public float downloadProgress - { - get - { - if(_webRequest == null) - return 0; - else - return _webRequest.downloadProgress; - } - } - - #region Error Handling - - /// An error message, if an error occurred. - public string error = null; - /// This is set to true if an error occurred while performing an operation. - public bool isError{ get{ return !string.IsNullOrEmpty(error) || errorCode > 0; } } - /// The error code relating to the error, if one occurred. If it's a server error, this will return the HTTP error code. - public long errorCode = 0; - - public static bool IsNetworkError(UnityWebRequest www) - { -#if UNITY_2020_1_OR_NEWER - return www.result == UnityWebRequest.Result.ConnectionError; -#else - return www.isNetworkError; -#endif - } - -#endregion - - protected ES3WebClass(string url, string apiKey) - { - this.url = url; - this.apiKey = apiKey; - } - -#region Other Methods - - /// Adds POST data to any requests sent by this ES3Cloud object. Use this if you are sending data to a custom script on your server. - /// The name of the POST field we want to add. - /// The string value of the POST field we want to add. - public void AddPOSTField(string fieldName, string value) - { - formData.Add(new KeyValuePair(fieldName, value)); - } - -#endregion - -#region Internal Methods - - protected string GetUser(string user, string password) - { - if(string.IsNullOrEmpty(user)) - return ""; - // Final user string is a combination of the username and password, and hashed if encryption is enabled. - if(!string.IsNullOrEmpty(password)) - user += password; - -#if !DISABLE_ENCRYPTION && !DISABLE_HASHING - user = ES3Internal.ES3Hash.SHA1Hash(user); -#endif - return user; - } - - protected WWWForm CreateWWWForm() - { - var form = new WWWForm(); - foreach(var kvp in formData) - form.AddField(kvp.Key, kvp.Value); - return form; - } - - /* Checks if an error occurred and sets relevant details, and returns true if an error did occur */ - protected bool HandleError(UnityWebRequest webRequest, bool errorIfDataIsDownloaded) - { - if(IsNetworkError(webRequest)) - { - errorCode = 1; - error = "Error: " + webRequest.error; - } - else if(webRequest.responseCode >= 400) - { - errorCode = webRequest.responseCode; - if(string.IsNullOrEmpty(webRequest.downloadHandler.text)) - error = string.Format("Server returned {0} error with no message", webRequest.responseCode); - else - error = webRequest.downloadHandler.text; - } - else if(errorIfDataIsDownloaded && webRequest.downloadedBytes > 0) - { - errorCode = 2; - error = "Server error: " + webRequest.downloadHandler.text; - } - else - return false; - return true; - } - - protected IEnumerator SendWebRequest(UnityWebRequest webRequest) - { - _webRequest = webRequest; -#if !UNITY_2017_2_OR_NEWER - yield return webRequest.Send(); -#else - yield return webRequest.SendWebRequest(); -#endif - } - - protected virtual void Reset() - { - error = null; - errorCode = 0; - isDone = false; - } - - -#endregion - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Web/ES3WebClass.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Web/ES3WebClass.cs.meta deleted file mode 100644 index c2900419b..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Web/ES3WebClass.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 338b6919533e14c37afa52e7b0a91a6d -timeCreated: 1502349814 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers.meta b/Assets/Plugins/Easy Save 3/Scripts/Writers.meta deleted file mode 100644 index e86772167..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: f81e45d5acda04835b484a483f4aa7e0 -folderAsset: yes -timeCreated: 1499764821 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Binary.cs b/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Binary.cs deleted file mode 100644 index cadd1e7cc..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Binary.cs +++ /dev/null @@ -1,121 +0,0 @@ -using System.Collections; -using System.Collections.Generic; -using System; - -namespace ES3Internal -{ - internal enum ES3SpecialByte : byte - { - Null = 0, - Bool = 1, - Byte = 2, - Sbyte = 3, - Char = 4, - Decimal = 5, - Double = 6, - Float = 7, - Int = 8, - Uint = 9, - Long = 10, - Ulong = 11, - Short = 12, - Ushort = 13, - String = 14, - ByteArray = 15, - Collection = 128, - Dictionary = 129, - CollectionItem = 130, - Object = 254, - Terminator = 255 - } - - internal static class ES3Binary - { - internal const string ObjectTerminator = "."; - - internal static readonly Dictionary IdToType = new Dictionary() - { - { ES3SpecialByte.Null, null }, - { ES3SpecialByte.Bool, typeof(bool)}, - { ES3SpecialByte.Byte, typeof(byte)}, - { ES3SpecialByte.Sbyte, typeof(sbyte)}, - { ES3SpecialByte.Char, typeof(char)}, - { ES3SpecialByte.Decimal, typeof(decimal)}, - { ES3SpecialByte.Double, typeof(double)}, - { ES3SpecialByte.Float, typeof(float)}, - { ES3SpecialByte.Int, typeof(int)}, - { ES3SpecialByte.Uint, typeof(uint)}, - { ES3SpecialByte.Long, typeof(long)}, - { ES3SpecialByte.Ulong, typeof(ulong)}, - { ES3SpecialByte.Short, typeof(short)}, - { ES3SpecialByte.Ushort, typeof(ushort)}, - { ES3SpecialByte.String, typeof(string)}, - { ES3SpecialByte.ByteArray, typeof(byte[])} - }; - - internal static readonly Dictionary TypeToId = new Dictionary() - { - { typeof(bool), ES3SpecialByte.Bool}, - { typeof(byte), ES3SpecialByte.Byte}, - { typeof(sbyte), ES3SpecialByte.Sbyte}, - { typeof(char), ES3SpecialByte.Char}, - { typeof(decimal), ES3SpecialByte.Decimal}, - { typeof(double), ES3SpecialByte.Double}, - { typeof(float), ES3SpecialByte.Float}, - { typeof(int), ES3SpecialByte.Int}, - { typeof(uint), ES3SpecialByte.Uint}, - { typeof(long), ES3SpecialByte.Long}, - { typeof(ulong), ES3SpecialByte.Ulong}, - { typeof(short), ES3SpecialByte.Short}, - { typeof(ushort), ES3SpecialByte.Ushort}, - { typeof(string), ES3SpecialByte.String}, - { typeof(byte[]), ES3SpecialByte.ByteArray} - }; - - internal static ES3SpecialByte TypeToByte(Type type) - { - ES3SpecialByte b; - if (TypeToId.TryGetValue(type, out b)) - return b; - return ES3SpecialByte.Object; - } - - internal static Type ByteToType(ES3SpecialByte b) - { - return ByteToType((byte)b); - } - - internal static Type ByteToType(byte b) - { - Type type; - if (IdToType.TryGetValue((ES3SpecialByte)b, out type)) - return type; - return typeof(object); - } - - internal static bool IsPrimitive(ES3SpecialByte b) - { - switch(b) - { - case ES3SpecialByte.Bool: - case ES3SpecialByte.Byte: - case ES3SpecialByte.Sbyte: - case ES3SpecialByte.Char: - case ES3SpecialByte.Decimal: - case ES3SpecialByte.Double: - case ES3SpecialByte.Float: - case ES3SpecialByte.Int: - case ES3SpecialByte.Uint: - case ES3SpecialByte.Long: - case ES3SpecialByte.Ulong: - case ES3SpecialByte.Short: - case ES3SpecialByte.Ushort: - case ES3SpecialByte.String: - case ES3SpecialByte.ByteArray: - return true; - default: - return false; - } - } - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Binary.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Binary.cs.meta deleted file mode 100644 index 9019d8b6a..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Binary.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9398c7a61f9679e41af5e48cac61f763 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3BinaryWriter.cs b/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3BinaryWriter.cs deleted file mode 100644 index 3850d284c..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3BinaryWriter.cs +++ /dev/null @@ -1,4 +0,0 @@ -/* - * BinaryWriter is not implemented. - * See this post for more info: https://moodkie.com/forum/viewtopic.php?p=7478#p7478 - */ diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3BinaryWriter.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3BinaryWriter.cs.meta deleted file mode 100644 index 4b787bfe1..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3BinaryWriter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 890d1774e6bacdc43bf99692dfc5360a -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3CacheWriter.cs b/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3CacheWriter.cs deleted file mode 100644 index 537480ab5..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3CacheWriter.cs +++ /dev/null @@ -1,157 +0,0 @@ -using System.Collections.Generic; -using System.Collections; -using System.IO; -using System; -using UnityEngine; -using System.Text; -using System.Globalization; - -namespace ES3Internal -{ - internal class ES3CacheWriter : ES3Writer - { - ES3File es3File; - - internal ES3CacheWriter(ES3Settings settings, bool writeHeaderAndFooter, bool mergeKeys) : base(settings, writeHeaderAndFooter, mergeKeys) - { - es3File = new ES3File(settings); - } - - /* User-facing methods used when writing randomly-accessible Key-Value pairs. */ - #region Write(key, value) Methods - - /// Writes a value to the writer with the given key. - /// The key which uniquely identifies this value. - /// The value we want to write. - public override void Write(string key, object value) - { - es3File.Save(key, (T)value); - } - - internal override void Write(string key, Type type, byte[] value) - { - ES3Debug.LogError("Not implemented"); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public override void Write(Type type, string key, object value) - { - es3File.Save(key, value); - } - - #endregion - - - #region WritePrimitive(value) methods. - - internal override void WritePrimitive(int value) { } - internal override void WritePrimitive(float value) { } - internal override void WritePrimitive(bool value) { } - internal override void WritePrimitive(decimal value) { } - internal override void WritePrimitive(double value) { } - internal override void WritePrimitive(long value) { } - internal override void WritePrimitive(ulong value) { } - internal override void WritePrimitive(uint value) { } - internal override void WritePrimitive(byte value) { } - internal override void WritePrimitive(sbyte value) { } - internal override void WritePrimitive(short value) { } - internal override void WritePrimitive(ushort value) { } - internal override void WritePrimitive(char value) { } - internal override void WritePrimitive(byte[] value) { } - - - internal override void WritePrimitive(string value) - { - } - - internal override void WriteNull() - { - } - - #endregion - - #region Format-specific methods - - private static bool CharacterRequiresEscaping(char c) - { - return false; - } - - private void WriteCommaIfRequired() - { - } - - internal override void WriteRawProperty(string name, byte[] value) - { - } - - internal override void StartWriteFile() - { - } - - internal override void EndWriteFile() - { - } - - internal override void StartWriteProperty(string name) - { - base.StartWriteProperty(name); - } - - internal override void EndWriteProperty(string name) - { - } - - internal override void StartWriteObject(string name) - { - } - - internal override void EndWriteObject(string name) - { - } - - internal override void StartWriteCollection() - { - } - - internal override void EndWriteCollection() - { - } - - internal override void StartWriteCollectionItem(int index) - { - } - - internal override void EndWriteCollectionItem(int index) - { - } - - internal override void StartWriteDictionary() - { - } - - internal override void EndWriteDictionary() - { - } - - internal override void StartWriteDictionaryKey(int index) - { - } - - internal override void EndWriteDictionaryKey(int index) - { - } - - internal override void StartWriteDictionaryValue(int index) - { - } - - internal override void EndWriteDictionaryValue(int index) - { - } - - #endregion - - public override void Dispose(){} - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3CacheWriter.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3CacheWriter.cs.meta deleted file mode 100644 index fe20eeb00..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3CacheWriter.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 52e4ba456dd1422409a95cdc6bf43f6b -timeCreated: 1499764822 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3JSONWriter.cs b/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3JSONWriter.cs deleted file mode 100644 index 9e2fc2bd3..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3JSONWriter.cs +++ /dev/null @@ -1,233 +0,0 @@ -using System.Collections.Generic; -using System.Collections; -using System.IO; -using System; -using UnityEngine; -using System.Text; -using System.Globalization; - -namespace ES3Internal -{ - internal class ES3JSONWriter : ES3Writer - { - internal StreamWriter baseWriter; - - private bool isFirstProperty = true; - - public ES3JSONWriter(Stream stream, ES3Settings settings) : this(stream, settings, true, true){} - - internal ES3JSONWriter(Stream stream, ES3Settings settings, bool writeHeaderAndFooter, bool mergeKeys) : base(settings, writeHeaderAndFooter, mergeKeys) - { - baseWriter = new StreamWriter(stream); - StartWriteFile(); - } - - #region WritePrimitive(value) methods. - - internal override void WritePrimitive(int value) { baseWriter.Write(value); } - internal override void WritePrimitive(float value) { baseWriter.Write(value.ToString("R", CultureInfo.InvariantCulture)); } - internal override void WritePrimitive(bool value) { baseWriter.Write(value ? "true" : "false"); } - internal override void WritePrimitive(decimal value) { baseWriter.Write(value.ToString(CultureInfo.InvariantCulture)); } - internal override void WritePrimitive(double value) { baseWriter.Write(value.ToString("R", CultureInfo.InvariantCulture)); } - internal override void WritePrimitive(long value) { baseWriter.Write(value); } - internal override void WritePrimitive(ulong value) { baseWriter.Write(value); } - internal override void WritePrimitive(uint value) { baseWriter.Write(value); } - internal override void WritePrimitive(byte value) { baseWriter.Write(System.Convert.ToInt32(value)); } - internal override void WritePrimitive(sbyte value) { baseWriter.Write(System.Convert.ToInt32(value)); } - internal override void WritePrimitive(short value) { baseWriter.Write(System.Convert.ToInt32(value)); } - internal override void WritePrimitive(ushort value) { baseWriter.Write(System.Convert.ToInt32(value)); } - internal override void WritePrimitive(char value) { WritePrimitive( value.ToString() ); } - internal override void WritePrimitive(byte[] value) { WritePrimitive( System.Convert.ToBase64String(value) ); } - - - internal override void WritePrimitive(string value) - { - baseWriter.Write("\""); - - // Escape any quotation marks within the string. - for(int i = 0; i keysToDelete = new HashSet(); - - internal bool writeHeaderAndFooter = true; - internal bool overwriteKeys = true; - - protected int serializationDepth = 0; - - #region ES3Writer Abstract Methods - - internal abstract void WriteNull(); - - internal virtual void StartWriteFile() - { - serializationDepth++; - } - - internal virtual void EndWriteFile() - { - serializationDepth--; - } - - internal virtual void StartWriteObject(string name) - { - serializationDepth++; - } - - internal virtual void EndWriteObject(string name) - { - serializationDepth--; - } - - internal virtual void StartWriteProperty(string name) - { - if (name == null) - throw new ArgumentNullException("Key or field name cannot be NULL when saving data."); - ES3Debug.Log(""+name +" (writing property)", null, serializationDepth); - } - - internal virtual void EndWriteProperty(string name) - { - } - - internal virtual void StartWriteCollection() - { - serializationDepth++; - } - - internal virtual void EndWriteCollection() - { - serializationDepth--; - } - - internal abstract void StartWriteCollectionItem(int index); - internal abstract void EndWriteCollectionItem(int index); - - internal abstract void StartWriteDictionary(); - internal abstract void EndWriteDictionary(); - internal abstract void StartWriteDictionaryKey(int index); - internal abstract void EndWriteDictionaryKey(int index); - internal abstract void StartWriteDictionaryValue(int index); - internal abstract void EndWriteDictionaryValue(int index); - - public abstract void Dispose(); - - #endregion - - #region ES3Writer Interface abstract methods - - internal abstract void WriteRawProperty(string name, byte[] bytes); - - internal abstract void WritePrimitive(int value); - internal abstract void WritePrimitive(float value); - internal abstract void WritePrimitive(bool value); - internal abstract void WritePrimitive(decimal value); - internal abstract void WritePrimitive(double value); - internal abstract void WritePrimitive(long value); - internal abstract void WritePrimitive(ulong value); - internal abstract void WritePrimitive(uint value); - internal abstract void WritePrimitive(byte value); - internal abstract void WritePrimitive(sbyte value); - internal abstract void WritePrimitive(short value); - internal abstract void WritePrimitive(ushort value); - internal abstract void WritePrimitive(char value); - internal abstract void WritePrimitive(string value); - internal abstract void WritePrimitive(byte[] value); - - #endregion - - protected ES3Writer(ES3Settings settings, bool writeHeaderAndFooter, bool overwriteKeys) - { - this.settings = settings; - this.writeHeaderAndFooter = writeHeaderAndFooter; - this.overwriteKeys = overwriteKeys; - } - - /* User-facing methods used when writing randomly-accessible Key-Value pairs. */ - #region Write(key, value) Methods - - internal virtual void Write(string key, Type type, byte[] value) - { - StartWriteProperty(key); - StartWriteObject(key); - WriteType(type); - WriteRawProperty("value", value); - EndWriteObject(key); - EndWriteProperty(key); - MarkKeyForDeletion(key); - } - - /// Writes a value to the writer with the given key. - /// The key which uniquely identifies this value. - /// The value we want to write. - public virtual void Write(string key, object value) - { - if(typeof(T) == typeof(object)) - Write(value.GetType(), key, value); - else - Write(typeof(T), key, value); - } - - /// Writes a value to the writer with the given key, using the given type rather than the generic parameter. - /// The key which uniquely identifies this value. - /// The value we want to write. - /// The type we want to use for the header, and to retrieve an ES3Type. - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void Write(Type type, string key, object value) - { - StartWriteProperty(key); - StartWriteObject(key); - WriteType(type); - WriteProperty("value", value, ES3TypeMgr.GetOrCreateES3Type(type), settings.referenceMode); - EndWriteObject(key); - EndWriteProperty(key); - MarkKeyForDeletion(key); - } - - #endregion - - #region Write(value) & Write(value, ES3Type) Methods - - /// Writes a value to the writer. Note that this should only be called within an ES3Type. - /// The value we want to write. - /// Whether we want to write UnityEngine.Object fields and properties by reference, by value, or both. - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void Write(object value, ES3.ReferenceMode memberReferenceMode = ES3.ReferenceMode.ByRef) - { - if(value == null){ WriteNull(); return; } - - var type = ES3TypeMgr.GetOrCreateES3Type(value.GetType()); - Write(value, type, memberReferenceMode); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void Write(object value, ES3Type type, ES3.ReferenceMode memberReferenceMode = ES3.ReferenceMode.ByRef) - { - // Deal with System.Objects - if (type.type == typeof(object)) - { - var valueType = value.GetType(); - type = ES3TypeMgr.GetOrCreateES3Type(valueType); - if (!type.isCollection && !type.isDictionary) - { - StartWriteObject(null); - WriteType(valueType); - - type.Write(value, this); - - EndWriteObject(null); - return; - } - } - - // Note that we have to check UnityEngine.Object types for null by casting it first, otherwise - // it will always return false. - if (value == null || (type.isES3TypeUnityObject && ((UnityEngine.Object)value) == null)) - { - WriteNull(); - return; - } - - if(type == null) - throw new ArgumentNullException("ES3Type argument cannot be null."); - if(type.isUnsupported) - throw new NotSupportedException("Types of "+type.type+" are not supported."); - - if (type.isPrimitive) - type.Write(value, this); - else if (type.isCollection) - { - StartWriteCollection(); - ((ES3CollectionType)type).Write(value, this, memberReferenceMode); - EndWriteCollection(); - } - else if (type.isDictionary) - { - StartWriteDictionary(); - ((ES3DictionaryType)type).Write(value, this, memberReferenceMode); - EndWriteDictionary(); - } - else - { - if (type.type == typeof(GameObject)) - ((ES3Type_GameObject)type).saveChildren = settings.saveChildren; - - StartWriteObject(null); - - if (type.isES3TypeUnityObject) - ((ES3UnityObjectType)type).WriteObject(value, this, memberReferenceMode); - else - type.Write(value, this); - EndWriteObject(null); - } - } - - internal virtual void WriteRef(UnityEngine.Object obj) - { - var refMgr = ES3ReferenceMgrBase.Current; - if (refMgr == null) - throw new InvalidOperationException("An Easy Save 3 Manager is required to save references. To add one to your scene, exit playmode and go to Assets > Easy Save 3 > Add Manager to Scene"); - - // Get the reference ID, if it exists, and store it. - long id = refMgr.Get(obj); - // If reference ID doesn't exist, create reference. - if (id == -1) - id = refMgr.Add(obj); - WriteProperty(ES3ReferenceMgrBase.referencePropertyName, id.ToString()); - } - - #endregion - - /* Writes a property as a name value pair. */ - #region WriteProperty(name, value) methods - - /// Writes a field or property to the writer. Note that this should only be called within an ES3Type. - /// The name of the field or property. - /// The value we want to write. - public virtual void WriteProperty(string name, object value) - { - WriteProperty(name, value, settings.memberReferenceMode); - } - - /// Writes a field or property to the writer. Note that this should only be called within an ES3Type. - /// The name of the field or property. - /// The value we want to write. - /// Whether we want to write the property by reference, by value, or both. - public virtual void WriteProperty(string name, object value, ES3.ReferenceMode memberReferenceMode) - { - if (SerializationDepthLimitExceeded()) - return; - - StartWriteProperty(name); Write(value, memberReferenceMode); EndWriteProperty(name); - } - - /// Writes a field or property to the writer. Note that this should only be called within an ES3Type. - /// The name of the field or property. - /// The value we want to write. - public virtual void WriteProperty(string name, object value) - { - WriteProperty(name, value, ES3TypeMgr.GetOrCreateES3Type(typeof(T)), settings.memberReferenceMode); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void WriteProperty(string name, object value, ES3Type type) - { - WriteProperty(name, value, type, settings.memberReferenceMode); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void WriteProperty(string name, object value, ES3Type type, ES3.ReferenceMode memberReferenceMode) - { - if (SerializationDepthLimitExceeded()) - return; - - StartWriteProperty(name); - Write(value, type, memberReferenceMode); - EndWriteProperty(name); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void WritePropertyByRef(string name, UnityEngine.Object value) - { - if (SerializationDepthLimitExceeded()) - return; - - StartWriteProperty(name); - if(value == null) - { - WriteNull(); - return; }; - StartWriteObject(name); - WriteRef(value); - EndWriteObject(name); - EndWriteProperty(name); - } - - /// Writes a private property to the writer. Note that this should only be called within an ES3Type. - /// The name of the property. - /// The object containing the property we want to write. - public void WritePrivateProperty(string name, object objectContainingProperty) - { - var property = ES3Reflection.GetES3ReflectedProperty(objectContainingProperty.GetType(), name); - if(property.IsNull) - throw new MissingMemberException("A private property named "+ name + " does not exist in the type "+objectContainingProperty.GetType()); - WriteProperty(name, property.GetValue(objectContainingProperty), ES3TypeMgr.GetOrCreateES3Type(property.MemberType)); - } - - /// Writes a private field to the writer. Note that this should only be called within an ES3Type. - /// The name of the field. - /// The object containing the property we want to write. - public void WritePrivateField(string name, object objectContainingField) - { - var field = ES3Reflection.GetES3ReflectedMember(objectContainingField.GetType(), name); - if(field.IsNull) - throw new MissingMemberException("A private field named "+ name + " does not exist in the type "+objectContainingField.GetType()); - WriteProperty(name,field.GetValue(objectContainingField), ES3TypeMgr.GetOrCreateES3Type(field.MemberType)); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void WritePrivateProperty(string name, object objectContainingProperty, ES3Type type) - { - var property = ES3Reflection.GetES3ReflectedProperty(objectContainingProperty.GetType(), name); - if(property.IsNull) - throw new MissingMemberException("A private property named "+ name + " does not exist in the type "+objectContainingProperty.GetType()); - WriteProperty(name, property.GetValue(objectContainingProperty), type); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void WritePrivateField(string name, object objectContainingField, ES3Type type) - { - var field = ES3Reflection.GetES3ReflectedMember(objectContainingField.GetType(), name); - if(field.IsNull) - throw new MissingMemberException("A private field named "+ name + " does not exist in the type "+objectContainingField.GetType()); - WriteProperty(name,field.GetValue(objectContainingField), type); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void WritePrivatePropertyByRef(string name, object objectContainingProperty) - { - var property = ES3Reflection.GetES3ReflectedProperty(objectContainingProperty.GetType(), name); - if(property.IsNull) - throw new MissingMemberException("A private property named "+ name + " does not exist in the type "+objectContainingProperty.GetType()); - WritePropertyByRef(name, (UnityEngine.Object)property.GetValue(objectContainingProperty)); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void WritePrivateFieldByRef(string name, object objectContainingField) - { - var field = ES3Reflection.GetES3ReflectedMember(objectContainingField.GetType(), name); - if(field.IsNull) - throw new MissingMemberException("A private field named "+ name + " does not exist in the type "+objectContainingField.GetType()); - WritePropertyByRef(name, (UnityEngine.Object)field.GetValue(objectContainingField)); - } - - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public void WriteType(Type type) - { - WriteProperty(ES3Type.typeFieldName, ES3Reflection.GetTypeString(type)); - } - - #endregion - - #region Create methods - - /// Creates a new ES3Writer. - /// The relative or absolute path of the file we want to write to. - /// The settings we want to use to override the default settings. - public static ES3Writer Create(string filePath, ES3Settings settings) - { - return Create(new ES3Settings(filePath, settings)); - } - - /// Creates a new ES3Writer. - /// The settings we want to use to override the default settings. - public static ES3Writer Create(ES3Settings settings) - { - return Create(settings, true, true, false); - } - - // Implicit Stream Methods. - internal static ES3Writer Create(ES3Settings settings, bool writeHeaderAndFooter, bool overwriteKeys, bool append) - { - var stream = ES3Stream.CreateStream(settings, (append ? ES3FileMode.Append : ES3FileMode.Write)); - if(stream == null) - return null; - return Create(stream, settings, writeHeaderAndFooter, overwriteKeys); - } - - // Explicit Stream Methods. - - internal static ES3Writer Create(Stream stream, ES3Settings settings, bool writeHeaderAndFooter, bool overwriteKeys) - { - if(stream.GetType() == typeof(MemoryStream)) - { - settings = (ES3Settings)settings.Clone(); - settings.location = ES3.Location.InternalMS; - } - - // Get the baseWriter using the given Stream. - if(settings.format == ES3.Format.JSON) - return new ES3JSONWriter(stream, settings, writeHeaderAndFooter, overwriteKeys); - else - return null; - } - - #endregion - - /* - * Checks whether serialization depth limit has been exceeded - */ - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - protected bool SerializationDepthLimitExceeded() - { - if (serializationDepth > settings.serializationDepthLimit) - { - ES3Debug.LogWarning("Serialization depth limit of " + settings.serializationDepthLimit + " has been exceeded, indicating that there may be a circular reference.\nIf this is not a circular reference, you can increase the depth by going to Window > Easy Save 3 > Settings > Advanced Settings > Serialization Depth Limit"); - return true; - } - return false; - } - - /* - * Marks a key for deletion. - * When merging files, keys marked for deletion will not be included. - */ - [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] - public virtual void MarkKeyForDeletion(string key) - { - keysToDelete.Add(key); - } - - /* - * Merges the contents of the non-temporary file with this ES3Writer, - * ignoring any keys which are marked for deletion. - */ - protected void Merge() - { - using(var reader = ES3Reader.Create(settings)) - { - if(reader == null) - return; - Merge(reader); - } - } - - /* - * Merges the contents of the ES3Reader with this ES3Writer, - * ignoring any keys which are marked for deletion. - */ - protected void Merge(ES3Reader reader) - { - foreach(KeyValuePair kvp in reader.RawEnumerator) - if(!keysToDelete.Contains(kvp.Key)) - Write(kvp.Key, kvp.Value.type.type, kvp.Value.bytes); - } - - /// Stores the contents of the writer and overwrites any existing keys if overwriting is enabled. - public virtual void Save() - { - Save(overwriteKeys); - } - - /// Stores the contents of the writer and overwrites any existing keys if overwriting is enabled. - /// Whether we should overwrite existing keys. - public virtual void Save(bool overwriteKeys) - { - if(overwriteKeys) - Merge(); - EndWriteFile(); - Dispose(); - - // If we're writing to a location which can become corrupted, rename the backup file to the file we want. - // This prevents corrupt data. - if(settings.location == ES3.Location.File || settings.location == ES3.Location.PlayerPrefs) - ES3IO.CommitBackup(settings); - } -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Writer.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Writer.cs.meta deleted file mode 100644 index e0973a9b8..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3Writer.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 09319508912db4c13bd924c6dc89f661 -timeCreated: 1499764821 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3XMLWriter.cs b/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3XMLWriter.cs deleted file mode 100644 index 15561343f..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3XMLWriter.cs +++ /dev/null @@ -1,4 +0,0 @@ -public class ES3XMLWriter -{ - // Not implemented -} diff --git a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3XMLWriter.cs.meta b/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3XMLWriter.cs.meta deleted file mode 100644 index 683160302..000000000 --- a/Assets/Plugins/Easy Save 3/Scripts/Writers/ES3XMLWriter.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3bac03a64f52fa94ea3bdcafecad8788 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Web.meta b/Assets/Plugins/Easy Save 3/Web.meta deleted file mode 100644 index 814186ea9..000000000 --- a/Assets/Plugins/Easy Save 3/Web.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: b6fb14c673b174696ac55b1a7869f3a9 -folderAsset: yes -timeCreated: 1501844154 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Easy Save 3/Web/ES3Cloud.php b/Assets/Plugins/Easy Save 3/Web/ES3Cloud.php deleted file mode 100644 index cba4186df..000000000 --- a/Assets/Plugins/Easy Save 3/Web/ES3Cloud.php +++ /dev/null @@ -1,305 +0,0 @@ - PDO::ERRMODE_EXCEPTION)); -} -catch(PDOException $e) -{ - Error("Could not connect to database.", $e->getMessage(), 501); -} - -if(!isset($_POST["apiKey"])) -{ - echo "ES3Cloud is functioning correctly."; - exit(); -} - -if($_POST["apiKey"] != $api_key) - Error("Incorrect API Key", "Incorrect API Key", 403); - -// ----- GET FILE ----- -if(isset($_POST["getFile"])) -{ - $stmt = $db->prepare("SELECT $fileDataField FROM $tableName WHERE $filenameField = :filename AND $userField = :user AND $lastUpdatedField > :timestamp LIMIT 1"); - $stmt->bindParam(":filename", $_POST["getFile"]); - $postUser = GetPOSTUser(); - $stmt->bindParam(":user", $postUser); - $postTimestamp = GetPOSTTimestamp(); - $stmt->bindParam(":timestamp", $postTimestamp); - $stmt->execute(); - if($stmt->rowCount() > 0) - { - $data = $stmt->fetchColumn(); - // Manually set the content length so WWW.progress works. - header($_SERVER["SERVER_PROTOCOL"] . " 200 OK"); - header("Cache-Control: public"); - header("Content-Type: application/octet-stream"); - header("Content-Transfer-Encoding: Binary"); - header("Content-Length:".strlen($data)); - echo $data; - } -} - -// ----- PUT FILE ----- -else if(isset($_POST["putFile"])) -{ - // Get uploaded data. - $filePath = $_FILES["data"]["tmp_name"]; - - // If file doesn't exist or it contains no data, throw an error. - if(!file_exists($filePath) || filesize($filePath) == 0) - Error("Uploaded file does not exist or is empty.", "Uploaded file does not exist or is empty.", 400); - - $fp = fopen($filePath, 'rb'); - - $stmt = $db->prepare("INSERT INTO $tableName ($filenameField, $fileDataField, $userField, $lastUpdatedField) VALUES (:filename, :data, :user, :timestamp) ON DUPLICATE KEY UPDATE $fileDataField = VALUES($fileDataField), $lastUpdatedField = VALUES($lastUpdatedField)"); - $stmt->bindParam(":filename", $_POST["putFile"]); - $stmt->bindParam(":data", $fp, PDO::PARAM_LOB); - $postUser = GetPOSTUser(); - $stmt->bindParam(":user", $postUser); - $postTimestamp = GetPOSTTimestamp(); - $stmt->bindParam(":timestamp", $postTimestamp); - - $stmt->execute(); -} - -// ----- RENAME FILE ----- -else if(isset($_POST["renameFile"])) -{ - $stmt = $db->prepare("UPDATE $tableName SET $filenameField = :newFilename WHERE $filenameField = :filename AND $userField = :user"); - $stmt->bindParam(":filename", $_POST["renameFile"]); - $stmt->bindParam(":newFilename", $_POST["newFilename"]); - $postUser = GetPOSTUser(); - $stmt->bindParam(":user", $postUser); - $stmt->execute(); -} - -// ----- DELETE FILE ----- -else if(isset($_POST["deleteFile"])) -{ - - $stmt = $db->prepare("DELETE FROM $tableName WHERE $filenameField = :filename AND $userField = :user"); - $stmt->bindParam(":filename", $_POST["deleteFile"]); - $postUser = GetPOSTUser(); - $stmt->bindParam(":user", $postUser); - $stmt->execute(); -} - -// ----- GET FILENAMES WITH PATTERN ----- -else if(isset($_POST["getFilenames"]) && isset($_POST["pattern"])) -{ - echo "Here"; - $stmt = $db->prepare("SELECT $filenameField FROM $tableName WHERE $userField = :user AND $filenameField LIKE :pattern"); - $postUser = GetPOSTUser(); - $stmt->bindParam(":user", $postUser); - $stmt->bindParam(":pattern", $_POST["pattern"]); - $stmt->execute(); - $rows = $stmt->fetchAll(); - foreach($rows as $row) - echo $row[$filenameField] . ";"; -} - -// ----- GET FILENAMES ----- -else if(isset($_POST["getFilenames"])) -{ - $stmt = $db->prepare("SELECT $filenameField FROM $tableName WHERE $userField = :user"); - $postUser = GetPOSTUser(); - $stmt->bindParam(":user", $postUser); - $stmt->execute(); - $rows = $stmt->fetchAll(); - foreach($rows as $row) - echo $row[$filenameField] . ";"; -} - -// ----- GET TIMESTAMP ----- -else if(isset($_POST["getTimestamp"])) -{ - $stmt = $db->prepare("SELECT $lastUpdatedField FROM $tableName WHERE $filenameField = :filename AND $userField = :user LIMIT 1"); - $stmt->bindParam(":filename", $_POST["getTimestamp"]); - $postUser = GetPOSTUser(); - $stmt->bindParam(":user", $postUser); - $stmt->execute(); - if($stmt->rowCount() > 0) - echo $stmt->fetchColumn(); - else - Error("Could not get timestamp as file does not exist.", "Could not get timestamp as file does not exist.", 400); -} - -else - Error("No valid operation was specified", "No valid operation was specified", 400); - -// Close the connection to the database by nullifying the variable. -$db = null; - -function GetPOSTUser() -{ - return isset($_POST["user"]) ? $_POST["user"] : ""; -} - -function GetPOSTTimestamp() -{ - return isset($_POST["timestamp"]) ? $_POST["timestamp"] : 0; -} - -function Error($headerMsg, $msg, $code) -{ - header($headerMsg, true, $code); - print_r($msg); - if(isset($GLOBALS['db'])) - $GLOBALS['db'] = null; - exit(); -} - -// ------- INSTALL METHODS ------- - -function PreInstall() -{ - echo '
-

ES3 Cloud Installation

-

This will install the ES3 Cloud tables on your MySQL database, and add the required ES3Variables.php file to your server.

-

Please enter your database details below:

-

-

- Database Host:
- -
-
- Database User:
- -
-
- Database Password:
- -
-
- Database Name:
- -
-
- -
-

-
'; -} - -function Install($dbHost, $dbUser, $dbPassword, $dbName, $tableName, $filenameField, $fileDataField, $userField, $lastUpdatedField) -{ - try - { - $db = new PDO("mysql:host=$dbHost;dbname=$dbName", $dbUser, $dbPassword, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION, PDO::ATTR_TIMEOUT => 5)); - - $tableExists = $db->query("SELECT * FROM information_schema.tables WHERE table_schema = '$dbName' AND table_name = '$tableName' LIMIT 1;"); - if($tableExists->rowCount() == 0) - { - - // Create the table if it doesn't already exist. - try - { - $createTableQuery = -"CREATE TABLE IF NOT EXISTS `$tableName` ( -`$filenameField` varchar(200) NOT NULL, -`$fileDataField` longblob NOT NULL, -`$userField` varchar(64) NOT NULL, -`$lastUpdatedField` int(11) unsigned NOT NULL DEFAULT '0', -PRIMARY KEY (`$filenameField`,`$userField`) -) ENGINE=InnoDB COLLATE=utf8_unicode_ci CHARSET=utf8;"; - $db->query($createTableQuery); - } - catch (PDOException $e) - { - echo "

Could not create tables on database. Database threw error:

".$e->getMessage()."

-

To manually install the MySQL tables, please run the following SQL code on your database:

-
$createTableQuery
"; - exit(); - } - } - - - try - { - $apiKey = substr(md5(microtime()),rand(0,26),12); - $phpScript = -""; - - // Check that path is writable or file_put_contents is supported. - if(!function_exists("file_put_contents")) - { - ManuallyInstall($phpScript); - exit(); - } - else - { - file_put_contents("ES3Variables.php", $phpScript); - } - } - catch(Exception $e) - { - ManuallyInstall($phpScript); - exit(); - } - - if(!file_exists("ES3Variables.php")) - { - ManuallyInstall($phpScript); - exit(); - } - - echo - " -
-

Successfully installed ES3Cloud

-

IMPORTANT:
Please take note of your API key below. You will need to use it whenever using the API.

-

Your API key can also be found in the ES3Variables.php file which has just been installed.

-

API Key: $apiKey

-
- "; - } - catch(PDOException $e) - { - echo "

Database could not be accessed with these details. The database returned the following error:

" . $e->getMessage() . "

"; - PreInstall(); - exit(); - } -} - -function ManuallyInstall($phpScript) -{ - echo "

Couldn't create PHP file on your server. This could be because file_put_contents is not supported on your server, or you do not have permission to write files to this folder on your server.

-

To manually install the PHP file, please create a file named ES3Variables.php in the same directory as your ES3.php file with the following contents:

-
$phpScript
-

After creating this file, installation will be complete.

"; -} - -?> \ No newline at end of file diff --git a/Assets/Plugins/Easy Save 3/Web/ES3Cloud.php.meta b/Assets/Plugins/Easy Save 3/Web/ES3Cloud.php.meta deleted file mode 100644 index da1459d7a..000000000 --- a/Assets/Plugins/Easy Save 3/Web/ES3Cloud.php.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5b891e253fd1a40e999dd9064b8a0d6f -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor.meta b/Assets/Plugins/Editor.meta deleted file mode 100644 index 3ae8a135d..000000000 --- a/Assets/Plugins/Editor.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8a4098ea57f7247ddbdd2a71783f77da -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow.meta deleted file mode 100644 index d8af18aa1..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: df0c925f0f68849c297e5433922c6466 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4.meta deleted file mode 100644 index 692452bac..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 598c3b9f700e7ca4f9c93439f41810d6 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/EntryPoint.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/EntryPoint.cs deleted file mode 100644 index d686b3511..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/EntryPoint.cs +++ /dev/null @@ -1,32 +0,0 @@ -using JetBrains.RiderFlow.Core.Launchers; -using JetBrains.RiderFlow.Core.ReEditor.Notifications; -using JetBrains.RiderFlow.Core.UI.SearchEverywhere; -using UnityEditor; - -namespace JetBrains.RiderFlow.Since2019_4 -{ - [InitializeOnLoad] - public class DelayedEntryPoint - { - - static DelayedEntryPoint() - { - SearchEverywhereWindow.Settings = new SearchWindowSettings(); - ProgressManagerOwner.ProgressManager = new LogProgressManager(); - EditorApplication.delayCall += OnEnable; - } - - protected static void OnEnable() - { - if (!IsPrimaryUnityProcess()) - return; - - Launcher.Run(); - } - - private static bool IsPrimaryUnityProcess() - { - return true; - } - } -} diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/EntryPoint.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/EntryPoint.cs.meta deleted file mode 100644 index 5d4f0a6d9..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/EntryPoint.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: ba706bdf25b168c4faca400572c420d9 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/JetBrains.Frontend.2019.4.asmdef b/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/JetBrains.Frontend.2019.4.asmdef deleted file mode 100644 index c72b4d198..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/JetBrains.Frontend.2019.4.asmdef +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "JetBrains.Frontend.2019.4", - "rootNamespace": "JetBrains.RiderFlow.Since2019_4", - "references": [ - "GUID:851cac727340a4b85a384cbad297a1aa" - ], - "includePlatforms": [ - "Editor" - ], - "excludePlatforms": [], - "allowUnsafeCode": true, - "overrideReferences": true, - "precompiledReferences": [ - "JetBrains.RiderFlow.Repacked.dll" - ], - "autoReferenced": false, - "defineConstraints": [ - "UNITY_2019_4" - ], - "versionDefines": [], - "noEngineReferences": false -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/JetBrains.Frontend.2019.4.asmdef.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/JetBrains.Frontend.2019.4.asmdef.meta deleted file mode 100644 index 28154164c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/JetBrains.Frontend.2019.4.asmdef.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7542a403831050d4092aa5126bb431c1 -AssemblyDefinitionImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/LogProgressManager.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/LogProgressManager.cs deleted file mode 100644 index 16699f04f..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/LogProgressManager.cs +++ /dev/null @@ -1,23 +0,0 @@ -using JetBrains.RiderFlow.Core.ReEditor.Notifications; - -namespace JetBrains.RiderFlow.Since2019_4 -{ - public class LogProgressManager : IProgressManager - { - public int CreateProgress(string name, string description = null) - { - //nope - return -1; - } - - public void ReportProgress(int id, float progressValue, string description) - { - // nop - } - - public void FinishProgress(int id) - { - // nop - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/LogProgressManager.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/LogProgressManager.cs.meta deleted file mode 100644 index 69422aa4c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/LogProgressManager.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e5d6c33e76c8dc6468113f596b3bf147 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/SearchWindowSettings.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/SearchWindowSettings.cs deleted file mode 100644 index 789bdc0c4..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/SearchWindowSettings.cs +++ /dev/null @@ -1,26 +0,0 @@ -using JetBrains.RiderFlow.Core.UI.SearchEverywhere; -using UnityEngine; - -namespace JetBrains.RiderFlow.Since2019_4 -{ - public class SearchWindowSettings : ISearchWindowSettings - { - private string mySearchValue = ""; - private int myTab = 0; - private Rect myPosition = new Rect(0, 0, 800, 500); - private bool myIsSettignsCached = false; - - public void SaveCache(string searchFieldValue, int chosenTab, Rect position) - { - mySearchValue = searchFieldValue; - myTab = chosenTab; - myPosition = position; - myIsSettignsCached = true; - } - - public Rect GetCachedSize => myPosition; - public string GetCachedSearchQuery => mySearchValue; - public bool IsSettingsCached => myIsSettignsCached; - public int GetCachedTab => myTab; - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/SearchWindowSettings.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/SearchWindowSettings.cs.meta deleted file mode 100644 index 885fa2ab5..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2019.4/SearchWindowSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9b4eed475701e9546a38bca7fb474c3f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2.meta deleted file mode 100644 index 5f252bd14..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f93a9badf02e7ef0cb63322574cfb5db -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/EntryPoint.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/EntryPoint.cs deleted file mode 100644 index 527c788eb..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/EntryPoint.cs +++ /dev/null @@ -1,47 +0,0 @@ -using JetBrains.RiderFlow.Core.Launchers; -using JetBrains.RiderFlow.Core.ReEditor.Notifications; -using JetBrains.RiderFlow.Core.Services.Caches.RecentFiles; -using JetBrains.RiderFlow.Core.UI.SearchEverywhere; -using UnityEditor; - -namespace JetBrains.RiderFlow.Since2020_2 -{ - [InitializeOnLoad] - public class DelayedEntryPoint - { - - static DelayedEntryPoint() - { - SearchEverywhereWindow.Settings = SearchWindowSettings.instance; - RecentFilesCacheController.Cache = RecentFilesCache.instance; - ProgressManagerOwner.ProgressManager = new ProgressManager(); - EditorApplication.delayCall += OnEnable; - } - - protected static void OnEnable() - { - if (!IsPrimaryUnityProcess()) - return; - - Launcher.Run(); - } - - private static bool IsPrimaryUnityProcess() - { - if (AssetDatabase.IsAssetImportWorkerProcess()) - return false; - -#if UNITY_2021_1_OR_NEWER - if (UnityEditor.MPE.ProcessService.level == UnityEditor.MPE.ProcessLevel.Secondary) - return false; -#elif UNITY_2020_2_OR_NEWER - if (UnityEditor.MPE.ProcessService.level == UnityEditor.MPE.ProcessLevel.Slave) - return false; -#elif UNITY_2020_1_OR_NEWER - if (Unity.MPE.ProcessService.level == Unity.MPE.ProcessLevel.UMP_SLAVE) - return false; -#endif - return true; - } - } -} diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/EntryPoint.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/EntryPoint.cs.meta deleted file mode 100644 index 6bd5d2453..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/EntryPoint.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 52b7a14f1e6f67f46ba326d30586cf56 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/JetBrains.Frontend.2020.2.asmdef b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/JetBrains.Frontend.2020.2.asmdef deleted file mode 100644 index df7467054..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/JetBrains.Frontend.2020.2.asmdef +++ /dev/null @@ -1,22 +0,0 @@ -{ - "name": "JetBrains.Frontend.2020.2", - "rootNamespace": "JetBrains.RiderFlow.Since2020_2", - "references": [ - "GUID:851cac727340a4b85a384cbad297a1aa" - ], - "includePlatforms": [ - "Editor" - ], - "excludePlatforms": [], - "allowUnsafeCode": true, - "overrideReferences": true, - "precompiledReferences": [ - "JetBrains.RiderFlow.Repacked.dll" - ], - "autoReferenced": false, - "defineConstraints": [ - "UNITY_2020" - ], - "versionDefines": [], - "noEngineReferences": false -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/JetBrains.Frontend.2020.2.asmdef.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/JetBrains.Frontend.2020.2.asmdef.meta deleted file mode 100644 index 7984f2473..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/JetBrains.Frontend.2020.2.asmdef.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: aee5e8156587628bf980b60dd6c19710 -AssemblyDefinitionImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/ProgressManager.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/ProgressManager.cs deleted file mode 100644 index be7e97cc5..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/ProgressManager.cs +++ /dev/null @@ -1,41 +0,0 @@ -using JetBrains.RiderFlow.Core; -using JetBrains.RiderFlow.Core.ReEditor.Notifications; -using UnityEditor; - -namespace JetBrains.RiderFlow.Since2020_2 -{ - public class ProgressManager : IProgressManager - { - public static readonly ProgressManager Instance = new ProgressManager(); - private int myProgressesCount; - private int myRootProgressId = -1; - - public int CreateProgress(string name, string description = null) - { - var rootProgressId = CreateOrGetRootProgressId(); - var id = Progress.Start(name, description, parentId: rootProgressId); - myProgressesCount++; - return id; - } - - public void ReportProgress(int id, float progressValue, string description) - { - Progress.Report(id, progressValue, description); - } - - public void FinishProgress(int id) - { - Progress.Finish(id); - myProgressesCount--; - if (myProgressesCount != 0) return; - Progress.Finish(myRootProgressId); - } - - private int CreateOrGetRootProgressId() - { - if (myProgressesCount == 0) myRootProgressId = Progress.Start(RiderFlowPaths_Generated.PACKAGE_NAME); - return myRootProgressId; - } - - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/ProgressManager.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/ProgressManager.cs.meta deleted file mode 100644 index e4d214f60..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/ProgressManager.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6738436c61a8af3419c766a0aeb7d0ce -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/RecentFilesCache.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/RecentFilesCache.cs deleted file mode 100644 index d9b4eea73..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/RecentFilesCache.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Collections.Generic; -using JetBrains.RiderFlow.Core.Services.Caches.RecentFiles; -using UnityEditor; -using UnityEngine; - -namespace JetBrains.RiderFlow.Since2020_2 -{ - [FilePath("Library/SearchCache/recentFiles.cache", FilePathAttribute.Location.ProjectFolder)] - public class RecentFilesCache : ScriptableSingleton, IRecentFilePersistentCache - { - private const int ShowRecentFilesCount = 10; - - [SerializeField] - private List recentFilesPaths; - - public RecentFilesCache() - { - recentFilesPaths = new List(); - } - - public void AddRecentFile(string path) - { - if (recentFilesPaths.Contains(path)) recentFilesPaths.Remove(path); - recentFilesPaths.Add(path); - if (recentFilesPaths.Count > ShowRecentFilesCount) recentFilesPaths.RemoveAt(0); - Save(true); - } - - public IEnumerable RecentFiles - { - get - { - VerifyCache(); - return recentFilesPaths.ToArray(); - } - } - - private void VerifyCache() - { - for (var i = 0; i < recentFilesPaths.Count; i++) - { - var guid = AssetDatabase.AssetPathToGUID(recentFilesPaths[i]); - if (guid == string.Empty) - { - recentFilesPaths.RemoveAt(i); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/RecentFilesCache.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/RecentFilesCache.cs.meta deleted file mode 100644 index 2c34ad75a..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/RecentFilesCache.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 0a96b87e525d40d47a36414328ef9452 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/SearchWindowSettings.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/SearchWindowSettings.cs deleted file mode 100644 index d1785881b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/SearchWindowSettings.cs +++ /dev/null @@ -1,38 +0,0 @@ -using JetBrains.RiderFlow.Core.UI.SearchEverywhere; -using UnityEditor; -using UnityEngine; - -namespace JetBrains.RiderFlow.Since2020_2 -{ - [FilePath("Library/SearchCache/searchWindow.cache", FilePathAttribute.Location.ProjectFolder)] - public class SearchWindowSettings : ScriptableSingleton, ISearchWindowSettings - { - public bool IsSettingsCached => isSettingsCached; - [SerializeField] private bool isSettingsCached; - - [SerializeField] private string cachedSearchQuery = ""; - [SerializeField] private int cachedTab; - [SerializeField] private float cacheWidth = 800; - [SerializeField] private float cacheHeight = 500; - [SerializeField] private float cacheX; - [SerializeField] private float cacheY; - - public Rect GetCachedSize => new Rect(cacheX, cacheY, cacheWidth, cacheHeight); - public string GetCachedSearchQuery => cachedSearchQuery ?? ""; - public int GetCachedTab => cachedTab; - - private void SaveCache(string query, int tab, float x, float y, float width, float height) - { - cachedSearchQuery = query; - cachedTab = tab; - cacheX = x; - cacheY = y; - cacheWidth = width; - cacheHeight = height; - isSettingsCached = true; - Save(true); - } - - public void SaveCache(string query, int tab, Rect size) => SaveCache(query, tab, size.x, size.y, size.width, size.height); - } -} diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/SearchWindowSettings.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/SearchWindowSettings.cs.meta deleted file mode 100644 index 0a3e0d936..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2020.2/SearchWindowSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c0fd3e7d4eef4aa498e95391e9c34d45 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2.meta deleted file mode 100644 index f08349a84..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ccc04fa02cd73473e89ea01fcca06a64 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/EntryPoint.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/EntryPoint.cs deleted file mode 100644 index 5b7cbc50a..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/EntryPoint.cs +++ /dev/null @@ -1,98 +0,0 @@ -using JetBrains.Collections.Viewable; -using JetBrains.Lifetimes; -using JetBrains.RiderFlow.Core.Launchers; -using JetBrains.RiderFlow.Core.ReEditor.Notifications; -using JetBrains.RiderFlow.Core.Requirements; -using JetBrains.RiderFlow.Core.Services.Caches.RecentFiles; -using JetBrains.RiderFlow.Core.Threading; -using JetBrains.RiderFlow.Core.UI.SceneIntegration; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.SceneHighlighting; -using JetBrains.RiderFlow.Core.UI.SearchEverywhere; -using JetBrains.RiderFlow.Since2021_2.SceneIntegration; -using UnityEditor; -using UnityEditor.Overlays; -using UnityEngine; - -namespace JetBrains.RiderFlow.Since2021_2 -{ - [InitializeOnLoad] - public class DelayedEntryPoint - { - - static DelayedEntryPoint() - { - SearchEverywhereWindow.Settings = SearchWindowSettings.instance; - RecentFilesCacheController.Cache = RecentFilesCache.instance; - ProgressManagerOwner.ProgressManager = new ProgressManager(); - EditorApplication.delayCall += OnEnable; - SceneIntegrationSettings.IsClassicToolboxEnabled = false; - } - - protected static void OnEnable() - { - if (!IsPrimaryUnityProcess()) - return; - - InstallBackendRequirement.Instance.IsReady.AdviseUntil(Lifetime.Eternal, v => - { - if (v) - { - MainThreadScheduler.Instance.Queue(StartToolbar); - return true; - } - - return false; - }); - - Launcher.Run(); - } - - private static bool IsPrimaryUnityProcess() - { - if (AssetDatabase.IsAssetImportWorkerProcess()) - return false; - -#if UNITY_2021_1_OR_NEWER - if (UnityEditor.MPE.ProcessService.level == UnityEditor.MPE.ProcessLevel.Secondary) - return false; -#elif UNITY_2020_2_OR_NEWER - if (UnityEditor.MPE.ProcessService.level == UnityEditor.MPE.ProcessLevel.Slave) - return false; -#elif UNITY_2020_1_OR_NEWER - if (Unity.MPE.ProcessService.level == Unity.MPE.ProcessLevel.UMP_SLAVE) - return false; -#endif - return true; - } - - private static void StartToolbar() - { - if (SceneView.lastActiveSceneView.TryGetOverlay(RiderFlowToolbarConstants.ToolbarId, out var toolbox)) - { - SceneIntegrationActions.ChangeToolbarDisplay(new VisualElementToolbarDisplay(toolbox)); - - if (!SceneIntegrationSettings.AutoShowToolbox) - return; - - if (toolbox.displayed) - return; - - toolbox.collapsed = false; - toolbox.displayed = true; - toolbox.Undock(); - toolbox.floatingPosition = new Vector2(150, 150); - - UpdateLayout(toolbox); - } - } - - private static void UpdateLayout(Overlay toolbox) - { - var layoutSetter = typeof(Overlay).GetProperty(nameof(Overlay.layout))?.GetSetMethod(true); - if (layoutSetter == null) - return; - - layoutSetter.Invoke(toolbox, new object[] { Layout.HorizontalToolbar }); - } - } -} diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/EntryPoint.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/EntryPoint.cs.meta deleted file mode 100644 index 1b1ec00d8..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/EntryPoint.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: c825e9a7ab098944b93d4330f701fa5b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/JetBrains.Frontend.2021.2.asmdef b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/JetBrains.Frontend.2021.2.asmdef deleted file mode 100644 index f8d69c9ba..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/JetBrains.Frontend.2021.2.asmdef +++ /dev/null @@ -1,23 +0,0 @@ -{ - "name": "JetBrains.Frontend.2021.2", - "rootNamespace": "JetBrains.RiderFlow.Since2021_2", - "references": [ - "GUID:851cac727340a4b85a384cbad297a1aa" - ], - "includePlatforms": [ - "Editor" - ], - "excludePlatforms": [], - "allowUnsafeCode": true, - "overrideReferences": true, - "precompiledReferences": [ - "JetBrains.RiderFlow.Repacked.dll", - "JetBrains.Lifetimes.dll" - ], - "autoReferenced": false, - "defineConstraints": [ - "UNITY_2021_2_OR_NEWER" - ], - "versionDefines": [], - "noEngineReferences": false -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/JetBrains.Frontend.2021.2.asmdef.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/JetBrains.Frontend.2021.2.asmdef.meta deleted file mode 100644 index 3e864d4b3..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/JetBrains.Frontend.2021.2.asmdef.meta +++ /dev/null @@ -1,3 +0,0 @@ -fileFormatVersion: 2 -guid: dd2aa52db3544288be714675c4c5ac1d -timeCreated: 1642602392 \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/ProgressManager.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/ProgressManager.cs deleted file mode 100644 index b7bda75ad..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/ProgressManager.cs +++ /dev/null @@ -1,41 +0,0 @@ -using JetBrains.RiderFlow.Core; -using JetBrains.RiderFlow.Core.ReEditor.Notifications; -using UnityEditor; - -namespace JetBrains.RiderFlow.Since2021_2 -{ - public class ProgressManager : IProgressManager - { - public static readonly ProgressManager Instance = new ProgressManager(); - private int myProgressesCount; - private int myRootProgressId = -1; - - public int CreateProgress(string name, string description = null) - { - var rootProgressId = CreateOrGetRootProgressId(); - var id = Progress.Start(name, description, parentId: rootProgressId); - myProgressesCount++; - return id; - } - - public void ReportProgress(int id, float progressValue, string description) - { - Progress.Report(id, progressValue, description); - } - - public void FinishProgress(int id) - { - Progress.Finish(id); - myProgressesCount--; - if (myProgressesCount != 0) return; - Progress.Finish(myRootProgressId); - } - - private int CreateOrGetRootProgressId() - { - if (myProgressesCount == 0) myRootProgressId = Progress.Start(RiderFlowPaths_Generated.PACKAGE_NAME); - return myRootProgressId; - } - - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/ProgressManager.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/ProgressManager.cs.meta deleted file mode 100644 index 9b0bfcd09..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/ProgressManager.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f0f30bc7b82225049878c699c620dbdd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/RecentFilesCache.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/RecentFilesCache.cs deleted file mode 100644 index 1e79ceabf..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/RecentFilesCache.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Collections.Generic; -using JetBrains.RiderFlow.Core.Services.Caches.RecentFiles; -using UnityEditor; -using UnityEngine; - -namespace JetBrains.RiderFlow.Since2021_2 -{ - [FilePath("Library/SearchCache/recentFiles.cache", FilePathAttribute.Location.ProjectFolder)] - public class RecentFilesCache : ScriptableSingleton, IRecentFilePersistentCache - { - private const int ShowRecentFilesCount = 10; - - [SerializeField] - private List recentFilesPaths; - - public RecentFilesCache() - { - recentFilesPaths = new List(); - } - - public void AddRecentFile(string path) - { - if (recentFilesPaths.Contains(path)) recentFilesPaths.Remove(path); - recentFilesPaths.Add(path); - if (recentFilesPaths.Count > ShowRecentFilesCount) recentFilesPaths.RemoveAt(0); - Save(true); - } - - public IEnumerable RecentFiles - { - get - { - VerifyCache(); - return recentFilesPaths.ToArray(); - } - } - - private void VerifyCache() - { - for (var i = 0; i < recentFilesPaths.Count; i++) - { - var guid = AssetDatabase.AssetPathToGUID(recentFilesPaths[i]); - if (guid == string.Empty) - { - recentFilesPaths.RemoveAt(i); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/RecentFilesCache.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/RecentFilesCache.cs.meta deleted file mode 100644 index 1801a4965..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/RecentFilesCache.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 24316d3b40b88e548859a160a440cb49 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration.meta deleted file mode 100644 index b716b8492..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 36d4c385320935d4a8b177bed2800f1c -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/NewToolbarCompositeAltActionProvider.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/NewToolbarCompositeAltActionProvider.cs deleted file mode 100644 index 1d8b84011..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/NewToolbarCompositeAltActionProvider.cs +++ /dev/null @@ -1,24 +0,0 @@ -using System.Collections.Generic; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.AltActions; -using UnityEditor; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - public class NewToolbarCompositeAltActionProvider : CompositeAltActionProvider - { - public NewToolbarCompositeAltActionProvider(IEnumerable tools) - : base(tools) - { - } - - public override bool IsAvailable() - { - if (SceneView.lastActiveSceneView.TryGetOverlay(RiderFlowToolbarConstants.ToolbarId, out var toolbox)) - { - return toolbox.displayed; - } - - return false; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/NewToolbarCompositeAltActionProvider.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/NewToolbarCompositeAltActionProvider.cs.meta deleted file mode 100644 index b264c95a5..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/NewToolbarCompositeAltActionProvider.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 3e284b993ad730c4b88d0af1a2cab236 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarButton.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarButton.cs deleted file mode 100644 index 8f57dc7b2..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarButton.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.AltActions; -using UnityEditor.Toolbars; -using UnityEngine; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - public class RiderFlowEditorToolbarButton : EditorToolbarButton, IPartialAltActionProvider, IPositionProvider - { - public int NumberOfActions => 1; - - private Action myOnClickHandler; - - public void SetOnClick(Action action) - { - if (myOnClickHandler != null) - clicked -= myOnClickHandler; - - myOnClickHandler = action; - clicked += myOnClickHandler; - } - - public void AltAction(int i) => myOnClickHandler(); - - public bool IsAltActionValid(int i) - { - return i < NumberOfActions; - } - - public Vector2 Position => this.CalculateDropdownPosition(); - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarButton.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarButton.cs.meta deleted file mode 100644 index cf66f3ea7..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarButton.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 70d1b5616b43e934ba9c591d38fdd92b -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarToggle.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarToggle.cs deleted file mode 100644 index 00c29e185..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarToggle.cs +++ /dev/null @@ -1,31 +0,0 @@ -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.AltActions; -using UnityEditor.Toolbars; -using UnityEngine; -using UnityEngine.UIElements; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - public abstract class RiderFlowEditorToolbarToggle : EditorToolbarToggle, IPositionProvider, IPartialAltActionProvider - { - protected RiderFlowEditorToolbarToggle() - { - this.RegisterValueChangedCallback(ValueChanged); - } - - protected abstract void ValueChanged(ChangeEvent evt); - - public Vector2 Position => this.CalculateDropdownPosition(); - public int NumberOfActions => 1; - - public void AltAction(int i) - { - value = true; - } - - public bool IsAltActionValid(int i) - { - return i < NumberOfActions; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarToggle.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarToggle.cs.meta deleted file mode 100644 index b9733bde4..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowEditorToolbarToggle.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: d6f2d4022d627424bbca056329ef283c -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowSceneToolbarRoot.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowSceneToolbarRoot.cs deleted file mode 100644 index a62dd4d5c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowSceneToolbarRoot.cs +++ /dev/null @@ -1,190 +0,0 @@ -using System.Collections.Generic; -using System.Linq; -using JetBrains.Collections.Viewable; -using JetBrains.Core; -using JetBrains.Lifetimes; -using JetBrains.RiderFlow.Core.Launchers; -using JetBrains.RiderFlow.Core.Requirements; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.AltActions; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.BookmarkExplorer; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.CameraExplorer; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.SceneHighlighting; -using UnityEditor; -using UnityEditor.Toolbars; -using UnityEngine; -using UnityEngine.UIElements; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - [EditorToolbarElement("RiderFlow.ToolbarRoot", typeof(SceneView))] - public class RiderFlowSceneToolbarRoot : VisualElement - { - private bool myShowingFindUsages = false; - private LifetimeDefinition myDefinition = new LifetimeDefinition(); - private List myRiderFlowToolbarElements; - - private Signal myParentSet = new Signal(); - private SceneOccurrenceExplorerTool mySceneOccurrenceExplorerTool; - private IList myControls; - - public RiderFlowSceneToolbarRoot() - { - SetRootStyleProperties(); - var startupLabel = new Label("Initializing..."); - Add(startupLabel); - ContainerReadyRequirement.Instance.IsReady.WhenTrue(myDefinition.Lifetime, (b) => - { - Remove(startupLabel); - myRiderFlowToolbarElements = new List() - { - ComponentContainer.GetComponent().MakeVisualElement(myDefinition.Lifetime), - ComponentContainer.GetComponent().MakeVisualElement(), - ComponentContainer.GetComponent().MakeVisualElement(), - ComponentContainer.GetComponent().MakeVisualElement(), - }; - foreach (var toolbarElement in myRiderFlowToolbarElements) - { - Add(toolbarElement); - } - RegisterCallback(OnGeometryChanged); - myParentSet.Advise(myDefinition.Lifetime, SetUpChildElements); - mySceneOccurrenceExplorerTool = ComponentContainer.GetComponent(); - mySceneOccurrenceExplorerTool.Session.Advise(myDefinition.Lifetime, session => - { - if (!myShowingFindUsages) - AddFindUsages(); - }); - - RegisterCallback(OnDestroy); - }); - } - - private void OnEscape(SceneView _) - { - if (Event.current.keyCode == KeyCode.Escape) - { - mySceneOccurrenceExplorerTool.CloseSession(); - RemoveFindUsages(); - SceneView.duringSceneGui -= OnEscape; - } - } - - private void OnDestroy(DetachFromPanelEvent evt) - { - myDefinition.Terminate(); - SceneView.duringSceneGui -= OnEscape; - UnregisterCallback(OnDestroy); - } - - private void OnGeometryChanged(GeometryChangedEvent evt) - { - if (parent != null) - { - UnregisterCallback(OnGeometryChanged); - myParentSet.Fire(); - } - } - - private void SetUpChildElements() - { - - int marginVertical = 0; - int marginHorizontal = 0; - if (HasHorizontalAlignment) - { - style.flexDirection = FlexDirection.Column; - marginVertical = 1; - marginHorizontal = 0; - } - else - { - style.flexDirection = FlexDirection.Row; - marginVertical = 0; - marginHorizontal = 1; - } - - var altActionProvider = - new NewToolbarCompositeAltActionProvider(myRiderFlowToolbarElements.OfType()); - AltActions.SetDefaultActionProvider(altActionProvider); - - SetHorizontalMargin(0, marginHorizontal); - SetVerticalMargin(marginVertical, marginVertical); - foreach (var child in Children().OfType()) - { - child.RefreshPresentation(); - } - } - - private void SetVerticalMargin(int top, int bottom) - { - foreach (var child in Children()) - { - child.style.marginTop = top; - child.style.marginBottom = bottom; - } - } - - private void SetHorizontalMargin(int left, int right) - { - foreach (var child in Children()) - { - child.style.marginLeft = left; - child.style.marginRight = right; - } - } - - private void SetRootStyleProperties() - { - style.flexDirection = FlexDirection.Column; - style.flexWrap = Wrap.Wrap; - style.alignItems = Align.Stretch; - style.alignContent = Align.Stretch; - style.justifyContent = Justify.SpaceAround; - style.marginTop = 0; - style.marginBottom = 0; - style.marginLeft = 0; - style.marginRight = 0; - } - - private void AddFindUsages() - { - if (!mySceneOccurrenceExplorerTool.Session.Value.Lifetime.IsAlive) - return; - myControls = mySceneOccurrenceExplorerTool.MakeVisualElements(myDefinition.Lifetime, HasHorizontalAlignment).ToList(); - myRiderFlowToolbarElements.AddRange(myControls); - foreach (var visualElement in myControls) - { - Add(visualElement); - } - SetUpChildElements(); - SceneView.duringSceneGui += OnEscape; - myShowingFindUsages = true; - } - - private void RemoveFindUsages() - { - foreach (var visualElement in myControls) - { - Remove(visualElement); - } - SetUpChildElements(); - myShowingFindUsages = false; - } - - public bool HasHorizontalAlignment { - get - { - return parent != null && parent.contentContainer.layout.width < - parent.contentContainer.layout.height; - } - } - } - - public interface IRiderFlowToolbarElement - { - IEnumerable GetActiveElements(); - void SetVerticalMargin(int top, int bottom); - void SetHorizontalMargin(int left, int right); - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowSceneToolbarRoot.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowSceneToolbarRoot.cs.meta deleted file mode 100644 index 03bad7a02..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowSceneToolbarRoot.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: b173034054b2c9e4187a6f93a3a9086d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowToolbarConstants.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowToolbarConstants.cs deleted file mode 100644 index bc3bdba90..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowToolbarConstants.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - public static class RiderFlowToolbarConstants - { - public const string ToolbarId = "RiderFlow.SceneToolbar"; - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowToolbarConstants.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowToolbarConstants.cs.meta deleted file mode 100644 index 849e8ca2f..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/RiderFlowToolbarConstants.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6eb298283da56bc4891dc0c6885b7dbb -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceEffectToggle.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceEffectToggle.cs deleted file mode 100644 index 63f891da0..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceEffectToggle.cs +++ /dev/null @@ -1,26 +0,0 @@ -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.SceneHighlighting; -using UnityEngine.UIElements; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - class SceneOccurrenceEffectToggle : RiderFlowEditorToolbarToggle - { - private SceneOccurrenceExplorerTool myTool; - - public SceneOccurrenceEffectToggle(SceneOccurrenceExplorerTool tool) - { - myTool = tool; - name = "EffectToggle"; - icon = myTool.EffectIcon; - tooltip = myTool.EffectTooltip; - rawValue = myTool.OccurrencesHighLighted; - } - - protected override void ValueChanged(ChangeEvent evt) - { - myTool.ToggleSceneHighlight(); - rawValue = (myTool.OccurrencesHighLighted); - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceEffectToggle.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceEffectToggle.cs.meta deleted file mode 100644 index d68a7e5c0..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceEffectToggle.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 4d526e817292b2240accda8ac98e6ef1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceToolExtensions.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceToolExtensions.cs deleted file mode 100644 index 36a4ba8dc..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceToolExtensions.cs +++ /dev/null @@ -1,50 +0,0 @@ -using System.Collections.Generic; -using JetBrains.Lifetimes; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.SceneHighlighting; -using UnityEngine; -using UnityEngine.UIElements; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - public static class SceneOccurrenceToolExtensions - { - public static IEnumerable MakeVisualElements(this SceneOccurrenceExplorerTool tool, Lifetime lifetime, bool isHorizontal) - { - var popupButton = new ShowUsagesExplorerButton(lifetime, tool, isHorizontal); - yield return popupButton; - - var prevButton = new RiderFlowEditorToolbarButton() - { - name = "PrevOccurrence", - icon = tool.PreviousIcon, - tooltip = tool.PreviousTooltip, - }; - prevButton.SetOnClick(() => - { - tool.SelectPrevious(); - popupButton.RefreshPresentation(); - }); - - yield return prevButton; - - var nextButton = new RiderFlowEditorToolbarButton() - { - name = "NextOccurrence", - icon = tool.NextIcon, - tooltip = tool.NextTooltip, - }; - nextButton.SetOnClick(() => - { - tool.SelectNext(); - popupButton.RefreshPresentation(); - }); - yield return nextButton; - - var effectToggle = new SceneOccurrenceEffectToggle(tool); - yield return effectToggle; - } - - - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceToolExtensions.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceToolExtensions.cs.meta deleted file mode 100644 index 7134efaa4..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneOccurrenceToolExtensions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 454e6b5c2e9f1494d9985db35be8b2b2 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneSearchToggle.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneSearchToggle.cs deleted file mode 100644 index ff84644fc..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneSearchToggle.cs +++ /dev/null @@ -1,36 +0,0 @@ -using JetBrains.Lifetimes; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools; -using UnityEngine.UIElements; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - public class SceneSearchToggle : RiderFlowEditorToolbarToggle - { - private readonly SceneSearchPopupTool myTool; - - - public SceneSearchToggle(SceneSearchPopupTool tool, Lifetime lifetime) - { - myTool = tool; - name = "CameraPresetExplorer"; - icon = tool.Icon; - tooltip = tool.ToolTip; - lifetime.OnTermination(() => myTool.CloseWindow()); - } - - protected override void ValueChanged(ChangeEvent evt) - { - if (evt.newValue) - { - var windowPosition = this.CalculateDropdownPosition(); - var window = myTool.OpenSearchPopupAt(windowPosition, this); - window.WindowLifetime.OnTermination(() => - this.SetValueWithoutNotify(false)); - } - else - { - myTool.CloseWindow(); - } - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneSearchToggle.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneSearchToggle.cs.meta deleted file mode 100644 index 8826a133c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneSearchToggle.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e391afb218642f5459038ab9d478dda1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneToolbar.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneToolbar.cs deleted file mode 100644 index 3570a6324..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneToolbar.cs +++ /dev/null @@ -1,12 +0,0 @@ -using UnityEditor; -using UnityEditor.Overlays; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - [Overlay(typeof(SceneView), RiderFlowToolbarConstants.ToolbarId, "RiderFlow Toolbar", true)] - public class SceneToolbar : ToolbarOverlay - { - public SceneToolbar() : base("RiderFlow.ToolbarRoot") - { } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneToolbar.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneToolbar.cs.meta deleted file mode 100644 index 794d2de7c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneToolbar.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 81476eaf8f4485d42ae9e118d256245d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneViewToolsExtensions.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneViewToolsExtensions.cs deleted file mode 100644 index 8223bc79c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneViewToolsExtensions.cs +++ /dev/null @@ -1,85 +0,0 @@ -using JetBrains.Lifetimes; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.BookmarkExplorer; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.CameraExplorer; -using UnityEditor; -using UnityEditor.Toolbars; -using UnityEngine; -using UnityEngine.UIElements; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - public static class SceneViewToolsExtensions - { - public static Vector2 CalculateDropdownPosition(this VisualElement button) - { - var rect = button.worldBound; - var windowPosition = (rect.position) + SceneView.lastActiveSceneView.position.position; - if (button.parent.style.flexDirection == FlexDirection.Column) - { - windowPosition += new Vector2(rect.width, 0); - } - else - { - windowPosition += new Vector2(0, rect.height); - } - - return windowPosition; - } - - public static RiderFlowEditorToolbarButton MakeVisualElement(this CameraPresetCreationTool tool) - { - var button = new RiderFlowEditorToolbarButton() - { - name = "CameraCreation", - icon = tool.Icon, - tooltip = tool.ToolTip - }; - button.SetOnClick(() => - { - var windowPosition = button.CalculateDropdownPosition(); - - CameraPresetCreationTool.OpenCreationWindow(SceneView.lastActiveSceneView, windowPosition); - }); - return button; - } - - public static EditorToolbarButton MakeVisualElement(this CameraPresetExplorerTool tool) - { - var button = new RiderFlowEditorToolbarButton() - { - name = "CameraPresetExplorer", - icon = tool.Icon, - tooltip = tool.ToolTip - }; - button.SetOnClick(() => - { - var windowPosition = button.CalculateDropdownPosition(); - tool.OpenPresetExplorerWindow(SceneView.lastActiveSceneView, windowPosition); - }); - return button; - } - public static RiderFlowEditorToolbarToggle MakeVisualElement(this SceneSearchPopupTool tool, - Lifetime lifetime) - { - var button = new SceneSearchToggle(tool, lifetime); - return button; - } - - public static RiderFlowEditorToolbarButton MakeVisualElement(this BookmarkExplorerTool tool) - { - var button = new RiderFlowEditorToolbarButton() - { - name = "CameraCreation", - icon = tool.Icon, - tooltip = tool.ToolTip - }; - button.SetOnClick(() => - { - var windowPosition = button.CalculateDropdownPosition(); - tool.OpenBookmarkExplorer(SceneView.lastActiveSceneView, windowPosition); - }); - return button; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneViewToolsExtensions.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneViewToolsExtensions.cs.meta deleted file mode 100644 index a85612a96..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/SceneViewToolsExtensions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f22b82a72d669ca4b84d8f8562d1a0d5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/ShowUsagesExplorerButton.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/ShowUsagesExplorerButton.cs deleted file mode 100644 index 1c00fd918..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/ShowUsagesExplorerButton.cs +++ /dev/null @@ -1,80 +0,0 @@ -using JetBrains.Collections.Viewable; -using JetBrains.Lifetimes; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools; -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.SceneHighlighting; -using UnityEngine; -using UnityEngine.UIElements; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - class ShowUsagesExplorerButton : RiderFlowEditorToolbarButton, IPresentationRefreshable - { - private SceneOccurrenceExplorerTool myTool; - private Label myCounter; - private VisualElement myCaption; - - public ShowUsagesExplorerButton(Lifetime lifetime, SceneOccurrenceExplorerTool tool, bool isHorizontal) - { - myTool = tool; - text = isHorizontal ? "Waiting for usages..." : ""; - tooltip = "Explore usages"; - - SetOnClick(() => - { - var windowPosition = this.CalculateDropdownPosition(); - tool.ShowOccurrencesInListView(windowPosition); - }); - myCounter = new Label("") - { - style = - { - display = isHorizontal ? DisplayStyle.Flex : DisplayStyle.None, - unityTextAlign = TextAnchor.MiddleRight - } - }; - Add(myCounter); - - tool.Session.Value.IsCompletedViewable.WhenTrue(lifetime, _ => - { - RefreshPresentation(); - }); - } - - public void RefreshPresentation() - { - if (myCaption == null) - myCaption = ElementAt(1); - - var isHorizontal = parent?.style.flexDirection == FlexDirection.Row; - var content = myTool.GetUsageContentWithIcon(); - text = content.text; - icon = (Texture2D)content.image; - if (isHorizontal) - { - var guiStyle = new GUIStyle("label"); - var width = guiStyle.CalcSize(content).x; - if (myTool.Session.HasValue() && myTool.Session.Value.IsCompleted) - { - foreach (var occurrence in myTool.Session.Value.Occurrences) - { - var pair = SceneOccurrenceExplorerTool.GetUsageContentFor(occurrence); - var occurrenceContent = new GUIContent(pair.Item2.text, pair.Item1); - var newWidth = guiStyle.CalcSize(occurrenceContent).x; - if (width < newWidth) width = newWidth; - } - } - myCaption.style.width = width; - } - - myCounter.text = myTool?.Counter; - myCounter.style.display = isHorizontal ? DisplayStyle.Flex : DisplayStyle.None; - myCaption.style.display = isHorizontal ? DisplayStyle.Flex : DisplayStyle.None; - } - - } - - internal interface IPresentationRefreshable - { - void RefreshPresentation(); - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/ShowUsagesExplorerButton.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/ShowUsagesExplorerButton.cs.meta deleted file mode 100644 index d62cb4151..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/ShowUsagesExplorerButton.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f9674112366768d42bfc0f79967e2388 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/VisualElementToolbarDisplay.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/VisualElementToolbarDisplay.cs deleted file mode 100644 index c596c1bdf..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/VisualElementToolbarDisplay.cs +++ /dev/null @@ -1,27 +0,0 @@ -using JetBrains.RiderFlow.Core.UI.SceneIntegration.Tools.SceneHighlighting; -using UnityEditor.Overlays; - -namespace JetBrains.RiderFlow.Since2021_2.SceneIntegration -{ - public class VisualElementToolbarDisplay : ISceneToolbarDisplay - { - - private Overlay myToolbox; - - public VisualElementToolbarDisplay(Overlay toolbox) - { - myToolbox = toolbox; - } - - public void OpenToolbox() - { - myToolbox.collapsed = false; - myToolbox.displayed = true; - } - - public void CloseToolbox() - { - myToolbox.displayed = false; - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/VisualElementToolbarDisplay.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/VisualElementToolbarDisplay.cs.meta deleted file mode 100644 index 5f08d9b80..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SceneIntegration/VisualElementToolbarDisplay.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 709214f1e351a3b4bbf3ca204631945f -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SearchWindowSettings.cs b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SearchWindowSettings.cs deleted file mode 100644 index 5d4cb7266..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SearchWindowSettings.cs +++ /dev/null @@ -1,38 +0,0 @@ -using JetBrains.RiderFlow.Core.UI.SearchEverywhere; -using UnityEditor; -using UnityEngine; - -namespace JetBrains.RiderFlow.Since2021_2 -{ - [FilePath("Library/SearchCache/searchWindow.cache", FilePathAttribute.Location.ProjectFolder)] - public class SearchWindowSettings : ScriptableSingleton, ISearchWindowSettings - { - public bool IsSettingsCached => isSettingsCached; - [SerializeField] private bool isSettingsCached; - - [SerializeField] private string cachedSearchQuery = ""; - [SerializeField] private int cachedTab; - [SerializeField] private float cacheWidth = 800; - [SerializeField] private float cacheHeight = 500; - [SerializeField] private float cacheX; - [SerializeField] private float cacheY; - - public Rect GetCachedSize => new Rect(cacheX, cacheY, cacheWidth, cacheHeight); - public string GetCachedSearchQuery => cachedSearchQuery ?? ""; - public int GetCachedTab => cachedTab; - - private void SaveCache(string query, int tab, float x, float y, float width, float height) - { - cachedSearchQuery = query; - cachedTab = tab; - cacheX = x; - cacheY = y; - cacheWidth = width; - cacheHeight = height; - isSettingsCached = true; - Save(true); - } - - public void SaveCache(string query, int tab, Rect size) => SaveCache(query, tab, size.x, size.y, size.width, size.height); - } -} diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SearchWindowSettings.cs.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SearchWindowSettings.cs.meta deleted file mode 100644 index 51f16e558..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/2021.2/SearchWindowSettings.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: f6ab96f2f1b12a24db464081576871b3 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/Backend.zip b/Assets/Plugins/Editor/JetBrains.RiderFlow/Backend.zip deleted file mode 100644 index 386e3936c..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/Backend.zip and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/Backend.zip.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/Backend.zip.meta deleted file mode 100644 index 2ea63cf75..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/Backend.zip.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a338d6b72740d784591360ad47233f96 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/EULA.txt b/Assets/Plugins/Editor/JetBrains.RiderFlow/EULA.txt deleted file mode 100644 index cb273ac3c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/EULA.txt +++ /dev/null @@ -1,96 +0,0 @@ -JETBRAINS RIDERFLOW USER AGREEMENT -Version 1.0, effective as of January 22, 2022 -IMPORTANT! READ CAREFULLY: -THIS IS A LEGAL AGREEMENT. BY CLICKING ON THE “I AGREE” (OR SIMILAR) BUTTON THAT IS PRESENTED TO YOU AT THE TIME OF YOUR FIRST USE OF THE JETBRAINS SOFTWARE, SUPPORT, OR PRODUCTS, YOU BECOME A PARTY TO THIS AGREEMENT, YOU DECLARE YOU HAVE THE LEGAL CAPACITY TO ENTER INTO SUCH AGREEMENT, AND YOU CONSENT TO BE BOUND BY ALL THE TERMS AND CONDITIONS SET FORTH BELOW. -1. PARTIES -1.1. “JetBrains” or “we” means JetBrains s.r.o., having its principal place of business at Na Hrebenech II 1718/10, Prague, 14000, Czech Republic, registered in the Commercial Register maintained by the Municipal Court of Prague, Section C, File 86211, ID No.: 265 02 275. -1.3. “User” or “you” means the individual given the right to use a Product in accordance with this Agreement. For the avoidance of doubt, User is a natural person and not a corporation, company, partnership or association, or other entity or organization. -2. DEFINITIONS -2.1. “Affiliate” means, with respect to any party, any entity that directly, or indirectly through one or more intermediaries, controls, is controlled by, or is under common control of such party; “control” for such purposes means the possession, direct or indirect, of the power to direct or affect the direction of the management and policies of a person or entity, whether through the ownership of voting securities, by contract, or otherwise. -2.2. “Agreement” means this JetBrains RiderFlow User Agreement covering use of the Product by individual Users. -2.3. “Bug Fix Update” for a particular Product Version means a software update or release that is specifically identified by JetBrains as a bug fix for that Product Version. -2.7. “JetBrains Website” means any website that is the property of JetBrains, including but not limited to everything hosted under the top-level domains jetbrains.com, jetbrains.net, jetbrains.org, jetbrains.ru, jetbrains.team, intellij.net, kotl.in, and kotlinlang.org. -2.8. “Machine” means a computing device used by a User for running the Product. -2.9. “Personal Data” means any information relating to an identified or identifiable natural person. -2.10. “Privacy Policy” means the JetBrains Privacy Policy available at https://www.jetbrains.com/legal/docs/privacy/privacy.html, which may be updated from time to time. -2.11. “Product” means JetBrains RiderFlow. JetBrains does not develop Products according to Customer’s specifications, nor are Products customized through modification or personalization. -2.12. “Product Version” means a release, update, or upgrade of a particular Product that is not identified by JetBrains as being made for the purpose of fixing software bugs. -3. GRANT OF RIGHTS -3.1. If you comply with the terms of this Agreement, JetBrains grants you the rights set out in this Section 3 to the extent necessary to enable you to effectively use the Product. All other rights remain reserved by JetBrains. -3.2. Unless this Agreement is terminated in accordance with Section 11, and subject to the terms and conditions specified in this Agreement, JetBrains grants you the non-exclusive and non-transferable right to use the Product as stipulated below: -(A) You may: -(i) install and use any version of the Product on any operating system supported by the Product; and -(ii) make one copy of the Product solely for archival, security, and/or backup purposes. -(B) You may not: -(i) rent, lease, reproduce, modify, adapt, create derivative works of, distribute, sell, or transfer the Product; -(ii) provide a third party with access to the Product, or the right to use the Product; -(iii) reverse-engineer, decompile, disassemble, modify, translate, or make any attempt to discover the source code of, the Product; or -(iv) remove or obscure any proprietary or other notices contained in the Product. -3.4. JetBrains has and retains all rights, title, and interest, including all intellectual property rights, in and to the Product, any and all related or underlying technology, and any modifications or derivative works of the Product, including without limitation as they may incorporate Feedback (as defined below). -4. DECOMPILING RESTRICTIONS -The Product may include decompiling functionality that enables reproduction of source code from original binary code. You acknowledge that binary code and source code may be protected by copyright and trademark laws. Before using such Products for decompilation purposes, you agree to make sure that decompilation of binary code is not prohibited by the applicable license agreement or that you have obtained permission to decompile the binary code from the copyright owner. Use of the Products is entirely optional. JetBrains disclaims any liability for use of the Product by User in connection with decompilation or in violation of applicable laws. -5. ACCESS TO PRODUCTS -5.1. All deliveries under this Agreement will be electronic. You must have an Internet connection in order to access your Product and receive any deliveries. You are responsible for downloading and installing the Products. -6. PERSONAL DATA -6.1. In connection with your use of the Product, we and our associated companies will process Personal Data of you as a User, in particular, your contact and identification details, data about usage of our software and services for the following purposes: -6.1.1. To provide you with software, services or information; -6.1.2. To protect us from piracy and unlawful use of our software or services; -6.1.3. To improve our offerings based on usage; -6.1.4. For our internal records and to protect our rights and interests and those of other users; -6.1.5. To promote and market our software and services; and -6.1.6. To fulfil legal duties stipulated by accounting, taxation, and other laws. -You may object to the processing of your Personal Data for the purposes of 6.1.2 through 6.1.5 at any time. More detailed information about Personal Data processing for the above mentioned purposes and about your rights can be found in the Privacy Policy. -6.2. For the above purposes, JetBrains may collect, among other things, your IP address, first name, last name and email address. -6.3. On installation and execution, the Product may send JetBrains certain information, which will not contain any Personal Data, including Product version, Product edition, and information about the operating system and/or environment where the Product is installed, applicable to tools such as ReSharper™, which is a plugin to Visual Studio™. A unique ID, which does not contain any Personal Data, is also used to distinguish instances. The Product can also check for available updates, as well as available updates for plugins or components. -6.4. If you opt in to anonymous data collection through the Product, the Product may electronically send anonymous information to JetBrains related to your usage of the Product features. This information may include, but is not limited to, frameworks, file templates being used in the IDEs, actions invoked, and other interactions with Product features. This information will contain neither source code nor your Personal Data. -6.5. JetBrains is not responsible for any processing of Personal Data accidentally sent to JetBrains by the User. -6.6. You shall keep your Personal Data up-to-date, update the information, or if any inconsistencies arise report such inconsistencies to JetBrains. -7. FEEDBACK -You have no obligation to provide us with ideas, suggestions, or proposals (“Feedback”). However, if you submit Feedback to us, then you grant us a non-exclusive, worldwide, royalty-free license that is sub-licensable and transferable, to make, use, sell, have made, offer to sell, import, reproduce, publicly display, distribute, modify, or publicly perform the Feedback in any manner without any obligation, royalty, or restriction based on intellectual property rights or otherwise. -8. THIRD-PARTY SOFTWARE -The Products include code and libraries licensed to us by third parties, including open source software (“Third-Party Software”). A list of Third-Party Software included in the Product is available in the respective Product documentation and/or at https://www.jetbrains.com/legal/third-party-software. All Third-Party Software is provided to you under the respective terms stipulated in the Product documentation. -9. WARRANTY LIMITATIONS -9.1. THEPRODUCT IS PROVIDED TO YOU ON AN “AS IS” AND “AS AVAILABLE” BASIS. USE OF THE PRODUCT IS AT YOUR OWN RISK. -9.2. JETBRAINS MAKES NO WARRANTY AS TO THE PRODUCTS USE OR PERFORMANCE. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, JETBRAINS (AND ITS AFFILIATES, SHAREHOLDERS, AGENTS, DIRECTORS, AND EMPLOYEES), ITS LICENSORS, SUPPLIERS (INCLUDING THE PROVIDERS OF THIRD PARTY SOFTWARE), AND RESELLERS (COLLECTIVELY HEREUNDER, “JETBRAINS PARTIES”) DISCLAIM ALL WARRANTIES AND CONDITIONS, WHETHER EXPRESS OR IMPLIED (INCLUDING, BUT NOT LIMITED TO, IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT) WITH REGARD TO THE PRODUCT AND THE PROVISION OF OR FAILURE TO PROVIDE SUPPORT SERVICES. -9.3. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, JETBRAINS PARTIES DO NOT REPRESENT OR WARRANT THAT THE PRODUCT: (A) IS ACCURATE, RELIABLE, OR CORRECT; (B) WILL MEET YOUR REQUIREMENTS; (C) WILL BE AVAILABLE AT ANY PARTICULAR TIME OR LOCATION, UNINTERRUPTED, OR SECURE; (D) ARE FREE OF DEFECTS OR ERRORS AND THAT ANY, IF FOUND, WILL BE CORRECTED; AND/OR (E) ARE FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. -9.4. ANY CONTENT OR DATA DOWNLOADED OR OTHERWISE OBTAINED THROUGH THE USE OF THE PRODUCT IS DOWNLOADED AT YOUR OWN RISK; YOU AGREE YOU ARE SOLELY RESPONSIBLE FOR ANY DAMAGE TO YOUR PROPERTY AND/OR LOSS OF DATA THAT RESULTS FROM SUCH DOWNLOAD. -9.5. YOU MAY HAVE OTHER RIGHTS, WHICH MAY NOT BE LIMITED OR EXCLUDED AND WHICH MAY VARY FROM JURISDICTION TO JURISDICTION. THIS DOCUMENT IS NOT INTENDED TO NEGATIVELY AFFECT SUCH RIGHTS. -10. DISCLAIMER OF DAMAGES -10.1. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL JETBRAINS PARTIES BE LIABLE TO YOU, YOUR AFFILIATES, USERS, OR ANYONE ELSE FOR: (A) ANY LOSS OF USE, DATA, GOODWILL, OR PROFITS, WHETHER OR NOT FORESEEABLE; (B) ANY LOSS OR DAMAGES IN CONNECTION WITH TERMINATION OR SUSPENSION OF YOUR ACCESS TO THE PRODUCTS IN ACCORDANCE WITH THIS AGREEMENT; OR (C) ANY SPECIAL, INCIDENTAL, INDIRECT, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES WHATSOEVER (EVEN IF THE RELEVANT JETBRAINS PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF THESE DAMAGES), INCLUDING THOSE (X) RESULTING FROM LOSS OF USE, DATA, OR PROFITS, WHETHER OR NOT THEY ARE FORESEEABLE, (Y) BASED ON ANY THEORY OF LIABILITY, INCLUDING BREACH OF CONTRACT OR WARRANTY, STRICT LIABILITY, NEGLIGENCE, OR OTHER TORTIOUS ACTION, OR (Z) ARISING FROM ANY OTHER CLAIM ARISING OUT OF OR IN CONNECTION WITH YOUR USE OF OR ACCESS TO THE PRODUCT OR SUPPORT. THIS LIMITATION OF LIABILITY SHALL APPLY TO THE FULLEST EXTENT PERMITTED BY LAW IN THE APPLICABLE JURISDICTION. -10.2. THE TOTAL LIABILITY OF THE JETBRAINS PARTIES IN ANY MATTER ARISING OUT OF OR IN RELATION TO THIS AGREEMENT IS LIMITED TO THE GREATER OF (A) TEN (10) US DOLLARS OR (B) THE AGGREGATE AMOUNT PAID OR PAYABLE BY PRODUCT HOLDER OR USER DURING THE THREE-MONTH PERIOD PRECEDING THE EVENT, FOR THE PRODUCT GIVING RISE TO THE LIABILITY. THIS LIMITATION WILL APPLY EVEN IF THE JETBRAINS PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF LIABILITY EXCEEDING SUCH AN AMOUNT AND NOTWITHSTANDING ANY FAILURE OF THE ESSENTIAL PURPOSE OF ANY LIMITED REMEDY. -11. TERM AND TERMINATION -11.1. The term of this Agreement will commence upon acceptance of this Agreement by User as set forth in the preamble above, and it will continue until terminated. -11.2. You may terminate this Agreement at any time. -11.3. JetBrains may terminate this Agreement if: -(A) User has materially breached this Agreement and fails to remedy the breach within thirty (30) days of written notice; -(B) JetBrains is required to do so by law (for example, where the provision of the Product to User is, or becomes, unlawful); or -(C) JetBrains elects to discontinue providing the Product, in whole or in part. -11.4. JetBrains will make reasonable efforts to notify User via its Product website as follows: -(A) Thirty (30) days prior to termination of the Agreement in the event specified in Section 13.3(C); -(B) Three (3) days prior to termination of the Agreement in the event specified in Section 13.1(B). -11.5. Survival. Upon the expiration or termination of this Agreement, Sections 6,7, 910 and 14 of this Agreement survive. Upon the expiration or termination of this Agreement by User under Section 11.2. -12. TEMPORARY SUSPENSION -12.1. JetBrains reserves the right to suspend User’s access to the Product if Your use of Product is in violation of this Agreement or disrupts or imminently threatens the security, integrity, or availability of a Product. -13. EXPORT REGULATIONS -13.1. User must comply with all applicable laws and regulations with regard to economic sanctions, export controls, import regulations, restrictive measures, and trade embargoes (all herein referred to as “Sanctions”), including those of the European Union and United States. User declares and warrants that it is not a person targeted by Sanctions, nor is it otherwise owned or controlled by or acting on behalf of any entity or person targeted by Sanctions. User agrees that it will not download or otherwise export or re-export the Product or any related technical data directly or indirectly to any person targeted by Sanctions or download or otherwise use the Product for any end-use prohibited or restricted by Sanctions. -13.2. User must immediately report any concerns of non-compliance regarding Sanctions to compliance@jetbrains.com, legal@jetbrains.com, or ethics@jetbrains.com, and cooperate with JetBrains in its efforts to verify and ensure compliance with Sanctions. -14. GENERAL -14.1. Entire Agreement. The following documents are part of (‘incorporated into’) this Agreement: the JetBrains Privacy Policy, available at https://www.jetbrains.com/legal/docs/privacy/privacy.html, the Data Processing Addendum (if applicable) at https://www.jetbrains.com/legal/dpa. Together, these documents form the entire agreement and replace any previous agreement between you and us in relation to its subject matter. Except as expressly mentioned, this Agreement does not apply or give rights to anyone else (‘no third-party beneficiaries’). No purchase order, Product Holder terms, or other document that purports to modify or supplement this Agreement will vary the terms of this Agreement unless signed by User and JetBrains. -14.2. Reservation of Rights. JetBrains reserves the right at any time to cease its support of the Product and to alter prices, features, specifications, capabilities, functions, terms of use, release dates, general availability, and other characteristics of the Product. Nothing in this Agreement limits any rights a consumer may have under applicable consumer protection laws. -14.3. Changes to this Agreement. The Agreement can be updated from time to time to reflect changes in the Product and how it is offered to you. -(A) If this happens, we will update the terms on the JetBrains Website and let you know either: -(i) by displaying them to you in the Product; or -(ii) by sending the updated version to your email address. -(B) Any updated Agreement will start (‘be effective’) on the date specified in the updated Agreement. By continuing to use the Product after the effective date, you agree to be bound by the modified Agreement. -(C) We respect that you may not agree to the updated Agreement. If that is the case, you can terminate this Agreement any time up to 30 days after the effective date of the updated Agreement. -14.4. Opportunity to Review. Customer declares that it has had sufficient opportunity to review this Agreement, understand the content of all of its sections, negotiate its terms, and seek independent professional legal advice before entering into it. Consequently, any statutory “form contract” (“adhesion contract”) regulations shall not be applicable to this Agreement. -14.5. Severability. If a particular term of this Agreement is not enforceable, the unenforceability of that term will not affect any other terms of this Agreement. -14.6. Interpretation. Headings and titles are for convenience only and do not affect the interpretation of this Agreement. Terms such as “including” are not exhaustive. -14.7. No Waiver. Our failure to enforce or exercise any part of this Agreement is not a waiver of that section. -14.8. Notice. JetBrains may deliver any notice to User via electronic mail to an email address provided by User, registered mail, personal delivery, or reputable express courier (such as DHL, FedEx, or UPS). Any such notice will be deemed to be effective (i) on the day the notice is sent to User via email, (ii) upon personal delivery, (iii) one (1) day after deposit with an express courier, or (v) five (5) days after deposit in the mail, whichever occurs first. -14.9. Governing Law. This Agreement is governed by the laws of the Czech Republic, without reference to conflict of laws principles and specifically excluding the United Nations Convention on Contracts for the International Sale of Goods. The Parties to the agreement constituted by this Agreement undertake to use best commercial efforts to amicably settle any disputes arising hereunder (“Dispute”). -14.10. Dispute Resolution. Should the parties to this Agreement fail to settle a Dispute amicably, the Dispute will be excluded from the jurisdiction of general courts and the Dispute will be finally decided by the Arbitration Court attached to the Czech Chamber of Commerce and the Agricultural Chamber of the Czech Republic, by three arbitrators in accordance with the Rules of that Arbitration Court, and the language of the proceedings will be English; if you are a consumer, we both agree that any Dispute-related litigation may only be brought in, and shall be subject to the jurisdiction of, any competent court of the Czech Republic, unless provided otherwise by applicable consumer law. Consumer Disputes can also be settled out of court through the Czech Trade Inspection Authority (www.coi.cz) or the European Commission’s online platform for dispute resolution (http://ec.europa.eu/consumers/odr). -14.11. Data Privacy. By accepting this Agreement, User acknowledges that JetBrains will process personal data in accordance with JetBrains’ Privacy Policy (available at https://www.jetbrains.com/company/privacy.html). Unless you have signed an individual data processing addendum with JetBrains, the JetBrains data processing addendum available at https://www.jetbrains.com/legal/dpa applies. -14.12. Force Majeure. Neither party to this Agreement shall be in breach of this Agreement, or otherwise liable to the other, by reason of any delay in performance, or non-performance, of any of its obligations under this Agreement (except payment obligations), arising directly from an act of God, fire, flood, natural disaster, act of terrorism, strike, lock-out, labor dispute, public health emergency, civil commotion, riot, or act of war. -14.13. Children and minors. If you are under 18 years old, then by entering into this Agreement you explicitly stipulate that (i) you have legal capacity to conclude this Agreement or that you have valid consent from a parent or legal guardian to do so and (ii) you understand the JetBrains Privacy Policy. You may not enter into this Agreement if you are under 13 years old. IF YOU DO NOT UNDERSTAND THIS SECTION, DO NOT UNDERSTAND THE JETBRAINS PRIVACY POLICY, OR DO NOT KNOW WHETHER YOU HAVE THE LEGAL CAPACITY TO ACCEPT THESE TERMS, PLEASE ASK YOUR PARENT OR LEGAL GUARDIAN FOR HELP. -For further information, please contact us at legal@jetbrains.com. \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/EULA.txt.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/EULA.txt.meta deleted file mode 100644 index c731f8b5b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/EULA.txt.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cba89df450751204c95a0125822e61f6 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData.meta deleted file mode 100644 index f9acf9d36..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b4bcf51f5a57ae6e8b0064f63853d055 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration.meta deleted file mode 100644 index 625b60753..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ea260ab544d27a0488ac406cb77ded3c -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/backend-log.xml b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/backend-log.xml deleted file mode 100644 index 926d0f62b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/backend-log.xml +++ /dev/null @@ -1,112 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {env.RESHARPER_HOST_LOG_DIR}/{pid}.backend.log - - - false - - - 50M:6 - - - - - - - - - - {env.RESHARPER_HOST_LOG_DIR}/{pid}.backend-protocol.log - - false - 50M:6 - - - - - AttachByMessageBoxListener - - - - - - - - - - - - file_verbose - - - - - - - file_protocol - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/backend-log.xml.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/backend-log.xml.meta deleted file mode 100644 index 8d3ab34b8..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/backend-log.xml.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: dd8170be2715e5745875b8ed92b71d7a -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/frontend-log.xml b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/frontend-log.xml deleted file mode 100644 index c2c4922d5..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/frontend-log.xml +++ /dev/null @@ -1,92 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {env.FRONTEND_LOG_FILE}/{pid}.frontend.log - - - true - - - 50M:6 - - - - - - - - - - {env.FRONTEND_LOG_FILE}/{pid}.frontend-protocol.log - - false - 50M:6 - - - - - AttachByMessageBoxListener - - - - - - - - - - - - file_verbose - - - - - - - file_protocol - - - - - \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/frontend-log.xml.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/frontend-log.xml.meta deleted file mode 100644 index 2394db422..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/LogConfiguration/frontend-log.xml.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5c94be9d6c37beb408ab0d54e8d35249 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources.meta deleted file mode 100644 index 20055070c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 00a91b4158f9a415ca2671c67b291970 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion.meta deleted file mode 100644 index dcf78b649..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bb02f6c68bd058e418436a80814444b6 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin.png deleted file mode 100644 index 07e999d49..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin.png.meta deleted file mode 100644 index bfff0679f..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: afb6974b0f830844fb66eba439d60bf2 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin@2x.png deleted file mode 100644 index 5d39825af..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin@2x.png.meta deleted file mode 100644 index 7b8872dec..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 1fe16206d8d1cc1429e68193c47e0006 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark.png deleted file mode 100644 index e240c17fa..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark.png.meta deleted file mode 100644 index f015c3124..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 0a43e2a1bc4abb744a6395ea2595bb5f -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark@2x.png deleted file mode 100644 index f37ee0ec5..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark@2x.png.meta deleted file mode 100644 index 5db47baa4..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_pin_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: e3b8156b497233f44bff6f1a9140dc41 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin.png deleted file mode 100644 index 04a8f19b6..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin.png.meta deleted file mode 100644 index 65f444bf4..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 61bf8f34c958e5f4c9417a3195af4b3f -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin@2x.png deleted file mode 100644 index 748fcc097..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin@2x.png.meta deleted file mode 100644 index c9d4c01de..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 422567f6c15e85d48bec9d83e4bc5a00 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark.png deleted file mode 100644 index 05d3ede57..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark.png.meta deleted file mode 100644 index d256a7737..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 18c5d84fe2cb91e4f8908b1b19455d89 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark@2x.png deleted file mode 100644 index 895874358..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark@2x.png.meta deleted file mode 100644 index 28ab4c9d7..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Completion/completion_unpin_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 3e49957f4f0bbb443bb40b1c6b61cf20 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages.meta deleted file mode 100644 index be658a06f..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b912f9e0b876df140af3e3faaf41369a -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse.png deleted file mode 100644 index 892a94067..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse.png.meta deleted file mode 100644 index 75dcc226d..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 4ee0077e139d7404d900a774f65595f9 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse@2x.png deleted file mode 100644 index 7eaf4f294..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse@2x.png.meta deleted file mode 100644 index f107f78d5..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 4f3098bfc62f7aa41acbab373e2fbead -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark.png deleted file mode 100644 index 6b6a6b803..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark.png.meta deleted file mode 100644 index c66adff29..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 261443ad3e84bcd4a834ec32c4e9318a -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark@2x.png deleted file mode 100644 index a2c38832e..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark@2x.png.meta deleted file mode 100644 index 3987ceea7..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_collapse_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 1300756b4fb03d24ea560c7b5e751a87 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand.png deleted file mode 100644 index b4cab1646..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand.png.meta deleted file mode 100644 index c847e5aa8..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 12c733a1e1401cc4bb31c0efa55cab2b -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand@2x.png deleted file mode 100644 index f52254d22..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand@2x.png.meta deleted file mode 100644 index 417f04c2b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 25bc57d374dc67f45a7e15c0ed9e8752 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark.png deleted file mode 100644 index 30019b475..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark.png.meta deleted file mode 100644 index 07fdd0ddb..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 3f4399109425916498fae6b42be70449 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark@2x.png deleted file mode 100644 index 2ec5f9c6f..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark@2x.png.meta deleted file mode 100644 index 7e9e8d749..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_expand_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 8af04a0c1be7f2443b87477476c50849 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping.png deleted file mode 100644 index bf4691688..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping.png.meta deleted file mode 100644 index 298ccb30f..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: f777ec47eacd0774b82964ea6b854ea3 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping@2x.png deleted file mode 100644 index eb15cd5b8..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping@2x.png.meta deleted file mode 100644 index e49ffeac9..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 0c2a184cb6fefab4d800b5721bb85907 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark.png deleted file mode 100644 index bd409c092..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark.png.meta deleted file mode 100644 index dfe87f210..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 645f72077813c164f99ba003bf7a41c4 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark@2x.png deleted file mode 100644 index cb7987740..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark@2x.png.meta deleted file mode 100644 index 83958f469..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_grouping_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: dd503e13e60520249952b7b49ac2b3b3 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result.png deleted file mode 100644 index af4005f15..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result.png.meta deleted file mode 100644 index 84a35fe93..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: c21bbe4c2fed8314fba193aea88dc4c4 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result@2x.png deleted file mode 100644 index 3ae037eee..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result@2x.png.meta deleted file mode 100644 index f166bbd4d..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 268318f05c4cede469a6f246b4a7b73c -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark.png deleted file mode 100644 index 6dbb20e95..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark.png.meta deleted file mode 100644 index 3cc157518..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: ab31653dbee29954684c5d1db0fc3b16 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark@2x.png deleted file mode 100644 index c792f0a8b..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark@2x.png.meta deleted file mode 100644 index 971e04ebc..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_next_result_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 1a6cc38df3b86294692077cd5b3d9bdc -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result.png deleted file mode 100644 index 610b3e98a..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result.png.meta deleted file mode 100644 index 63c7eced3..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 2a085fb00d0944b4386f90dfd538c905 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result@2x.png deleted file mode 100644 index 0f74a8f51..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result@2x.png.meta deleted file mode 100644 index 3a741ac43..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: c0847c9a9fe25a74a946dd5ff234703c -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark.png deleted file mode 100644 index e8a92be73..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark.png.meta deleted file mode 100644 index 6e024fd29..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: bbdb2cab7c7a5c1469780f03c49b6b36 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark@2x.png deleted file mode 100644 index e6a4c3c47..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark@2x.png.meta deleted file mode 100644 index 963ff70bf..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_prev_result_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 93a17adb0b7823d41a5d75cd6aa61115 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview.png deleted file mode 100644 index 9d35c707e..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview.png.meta deleted file mode 100644 index 89019d65d..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 39e226d2f5490254ba7f0a4a268eb505 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview@2x.png deleted file mode 100644 index 5823c83a0..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview@2x.png.meta deleted file mode 100644 index 7b87c8eaa..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: a987a5fbc9324984c82163fd45421ac2 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark.png deleted file mode 100644 index 518a579cb..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark.png.meta deleted file mode 100644 index 76a8c8a61..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 5c0b5d0f125edcb4f8e9bccaa61a752e -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark@2x.png deleted file mode 100644 index c7d7e5f4a..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark@2x.png.meta deleted file mode 100644 index e04d5baff..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/FindUsages/find_usages_preview_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: d6668924f6e627842abb098d8ad60bbe -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/HDRPSceneHighlighting.txt b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/HDRPSceneHighlighting.txt deleted file mode 100644 index 9f925fdfa..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/HDRPSceneHighlighting.txt +++ /dev/null @@ -1,213 +0,0 @@ -Shader "Hidden/RiderFlowHDRPSceneHighlighting" -{ - Properties {} - - SubShader - { - Tags - { - "RenderType" = "Opaque" - } - - Pass - { - Tags - { - "LightMode"="MyPass" - } - - HLSLPROGRAM - #pragma vertex VertexMain - #pragma fragment FragmentMain - - #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" - #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Color.hlsl" - #include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl" - #include "Packages/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/RTUpscale.hlsl" - #include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/RenderPass/CustomPass/CustomPassRenderers.hlsl" - #include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/ShaderPass/VertMesh.hlsl" - - struct Attributes - { - uint vertexID : SV_VertexID; - UNITY_VERTEX_INPUT_INSTANCE_ID - }; - - struct Varyings - { - float4 positionCS : SV_POSITION; - float2 texcoord : TEXCOORD0; - UNITY_VERTEX_OUTPUT_STEREO - }; - - - TEXTURE2D(_BaseMap); - SAMPLER(sampler_BaseMap); - - CBUFFER_START(UnityPerMaterial) - float4 _BaseMap_ST; - CBUFFER_END - - - TEXTURE2D(_BaseMap2); - SAMPLER(sampler_BaseMap2); - - CBUFFER_START(UnityPerMaterial) - float4 _BaseMap2_ST; - CBUFFER_END - - PackedVaryingsType VertexMain(AttributesMesh inputMesh) - { - VaryingsType varyingsType; - varyingsType.vmesh = VertMesh(inputMesh); - return PackVaryingsType(varyingsType); - } - - sampler2D _MainTex; - - float4 FragmentMain(Varyings i) : SV_TARGET - { - return float4(1, 0, 0, 1); - } - ENDHLSL - } - - Pass - { - Tags - { - "LightMode"="MyPass" - } - - - HLSLPROGRAM - #pragma vertex VertexMain - #pragma fragment FragmentMain - - #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" - #include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl" - #include "Packages/com.unity.render-pipelines.high-definition/Runtime/PostProcessing/Shaders/RTUpscale.hlsl" - - struct Attributes - { - uint vertexID : SV_VertexID; - UNITY_VERTEX_INPUT_INSTANCE_ID - }; - - struct Varyings - { - float4 positionCS : SV_POSITION; - float2 texcoord : TEXCOORD0; - UNITY_VERTEX_OUTPUT_STEREO - }; - - - TEXTURE2D(_BaseMap); - SAMPLER(sampler_BaseMap); - - CBUFFER_START(UnityPerMaterial) - float4 _BaseMap_ST; - CBUFFER_END - - - TEXTURE2D(_BaseMap2); - SAMPLER(sampler_BaseMap2); - - CBUFFER_START(UnityPerMaterial) - float4 _BaseMap2_ST; - CBUFFER_END - - Varyings VertexMain(Attributes input) - { - Varyings output; - UNITY_SETUP_INSTANCE_ID(input); - UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output); - output.positionCS = GetFullScreenTriangleVertexPosition(input.vertexID); - output.texcoord = GetFullScreenTriangleTexCoord(input.vertexID); - return output; - } - - - float4 FragmentMain(Varyings input) : SV_Target - { - UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input); - - float4 col = SAMPLE_TEXTURE2D(_BaseMap, sampler_BaseMap, input.texcoord); - float4 col2 = SAMPLE_TEXTURE2D(_BaseMap2, sampler_BaseMap2, input.texcoord); - - if (col.x == 0.0f && col.y == 0.0f && col.z == 0.0f && col.w == 0.0f) - { - float d = 0.299 * col2.x + 0.587 * col2.y + 0.184 * col2.z; - return float4(d, d, d, 1); - } - return col2 * float4(1, 0, 0, 1); - } - ENDHLSL - } - - Pass - { - Tags - { - "LightMode"="MyPass" - } - - - HLSLPROGRAM - #pragma vertex VertexMain - #pragma fragment FragmentMain - - #include "Packages/com.unity.render-pipelines.core/ShaderLibrary/Common.hlsl" - #include "Packages/com.unity.render-pipelines.high-definition/Runtime/ShaderLibrary/ShaderVariables.hlsl" - - struct Attributes - { - uint vertexID : SV_VertexID; - UNITY_VERTEX_INPUT_INSTANCE_ID - }; - - struct Varyings - { - float4 positionCS : SV_POSITION; - float2 texcoord : TEXCOORD0; - UNITY_VERTEX_OUTPUT_STEREO - }; - - - TEXTURE2D(_BaseMap); - SAMPLER(sampler_BaseMap); - - CBUFFER_START(UnityPerMaterial) - float4 _BaseMap_ST; - CBUFFER_END - - - TEXTURE2D(_BaseMap2); - SAMPLER(sampler_BaseMap2); - - CBUFFER_START(UnityPerMaterial) - float4 _BaseMap2_ST; - CBUFFER_END - - Varyings VertexMain(Attributes input) - { - Varyings output; - UNITY_SETUP_INSTANCE_ID(input); - UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output); - output.positionCS = GetFullScreenTriangleVertexPosition(input.vertexID); - output.texcoord = GetFullScreenTriangleTexCoord(input.vertexID); - return output; - } - - - half4 FragmentMain(Varyings o) : SV_TARGET - { - UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input); - half4 col = SAMPLE_TEXTURE2D(_BaseMap, sampler_BaseMap, o.texcoord); - return col; - - } - ENDHLSL - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/HDRPSceneHighlighting.txt.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/HDRPSceneHighlighting.txt.meta deleted file mode 100644 index 2357e9701..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/HDRPSceneHighlighting.txt.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 546031a31e824f54fb9bb4780943389d -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons.meta deleted file mode 100644 index aeee7c2f5..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 41fdc72d9ae29420f88d89dec00f8dab -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy.meta deleted file mode 100644 index 38f1128c9..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 028583ecee6d7467295ee9603c2c592c -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource.png deleted file mode 100644 index 9b2b02a14..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource.png.meta deleted file mode 100644 index 0bc6b7490..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource.png.meta +++ /dev/null @@ -1,96 +0,0 @@ -fileFormatVersion: 2 -guid: e811c957499ff4c85917b530b913b55a -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource_dark.png deleted file mode 100644 index 508a6b998..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource_dark.png.meta deleted file mode 100644 index 6e065ffc6..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/EnhancedHierarchy/editSource_dark.png.meta +++ /dev/null @@ -1,96 +0,0 @@ -fileFormatVersion: 2 -guid: 3eb14ec96686745858358433ebd1ee1c -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow.meta deleted file mode 100644 index 087d85b63..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 814cf625661cf42948114f11056c039e -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.png deleted file mode 100644 index e2ee0d72d..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.png.meta deleted file mode 100644 index f6de70ce5..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 40094e70be33f428ba3fa04f6941ce5e -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.svg b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.svg deleted file mode 100644 index 948ef3430..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.svg +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.svg.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.svg.meta deleted file mode 100644 index 1f2de7597..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/collapseall.svg.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: df221c2574f9c4b10a36d2ca5fc06f4b -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.png deleted file mode 100644 index cb52df9bf..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.png.meta deleted file mode 100644 index a5d843323..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 0b0187040960a4ce98a5d2c0a5225dc1 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.svg b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.svg deleted file mode 100644 index d6a220832..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.svg.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.svg.meta deleted file mode 100644 index abd82b583..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/expandall.svg.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d9afde2bb370541418d40f7db3f53ac4 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/groupBy.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/groupBy.png deleted file mode 100644 index bb4ddca2e..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/groupBy.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/groupBy.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/groupBy.png.meta deleted file mode 100644 index 9b4d8e5bd..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/groupBy.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 4a4360fe14ccd4d07a99799507aea350 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.png deleted file mode 100644 index 22c5a243d..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.png.meta deleted file mode 100644 index 90450f275..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: a095102fe435744a48342ac2edda7c7a -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.svg b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.svg deleted file mode 100644 index 63ddf1b4d..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.svg.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.svg.meta deleted file mode 100644 index aef5b02ff..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/nextOccurrence.svg.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4e5e3001a2ff149959fa1366e0aa031a -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previewDetails.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previewDetails.png deleted file mode 100644 index f691a4241..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previewDetails.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previewDetails.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previewDetails.png.meta deleted file mode 100644 index 7b42ceb63..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previewDetails.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 764ae328d19e04bc4ba666e852379e1b -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.png deleted file mode 100644 index e0a308d49..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.png.meta deleted file mode 100644 index 2aaa7fec0..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 6a9fe3c15851a48d6ae03fecefe28bbe -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.svg b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.svg deleted file mode 100644 index 5c8e3e69e..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.svg +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.svg.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.svg.meta deleted file mode 100644 index 7bbf787a8..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/previousOccurrence.svg.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 052b1bb35f86543e7ba2095e8deb8343 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/selectall.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/selectall.png deleted file mode 100644 index f331dc16a..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/selectall.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/selectall.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/selectall.png.meta deleted file mode 100644 index 1f74df684..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/selectall.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 784f467f7ad2248a7a6df9579a84bade -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/splitVertically.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/splitVertically.png deleted file mode 100644 index 9a91a207f..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/splitVertically.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/splitVertically.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/splitVertically.png.meta deleted file mode 100644 index 7a8674ad7..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/splitVertically.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: bb1a3e00b23e943468be7bc631c1c81d -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/unselectall.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/unselectall.png deleted file mode 100644 index ecfb831dd..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/unselectall.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/unselectall.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/unselectall.png.meta deleted file mode 100644 index c0b62a58b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Icons/FindUsagesToolWindow/unselectall.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 30725c92daec246afb7f4f85b3ff5a74 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo.meta deleted file mode 100644 index 3dc95af48..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 950910ac4760a98438bf62331125007c -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo.png deleted file mode 100644 index 2f27ec809..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo.png.meta deleted file mode 100644 index 5f8230500..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 6b203ad9d3f145147b7d8e95a17af641 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo@2x.png deleted file mode 100644 index bda65d7f1..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo@2x.png.meta deleted file mode 100644 index fa8b96b2c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Logo/logo@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: e38f77563021e9e4ba5105bf9a7cb962 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor.meta deleted file mode 100644 index 4d2751a44..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a7c9b5bebfe1e29ac92d8005e6b46b97 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderDark.xml b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderDark.xml deleted file mode 100644 index b9807218d..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderDark.xml +++ /dev/null @@ -1,2723 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderDark.xml.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderDark.xml.meta deleted file mode 100644 index 9f959a050..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderDark.xml.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e7f63e371bc0c0f4bbc3cd509de69e4c -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderLight.xml b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderLight.xml deleted file mode 100644 index 56c816181..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderLight.xml +++ /dev/null @@ -1,2649 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderLight.xml.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderLight.xml.meta deleted file mode 100644 index 938c61226..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/RiderLight.xml.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 88e1716670fdb438ba7cc99a4be45b52 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save.png deleted file mode 100644 index 42eed80aa..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save.png.meta deleted file mode 100644 index 462b5d36c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 4edfaa82dda5d4c45813c218ef70a3a1 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save@2x.png deleted file mode 100644 index 234284371..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save@2x.png.meta deleted file mode 100644 index b05636daa..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 5f313129e383e344a92d3d23b2f834b2 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild.png deleted file mode 100644 index f55934201..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild.png.meta deleted file mode 100644 index 622a0f72e..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 9f98796c39eba7f419e49762a18e8212 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild@2x.png deleted file mode 100644 index b19066c20..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild@2x.png.meta deleted file mode 100644 index 53042d04f..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: b38a98fda25b4c04e87233fc3076728b -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark.png deleted file mode 100644 index 2a758409d..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark.png.meta deleted file mode 100644 index a9f49a1a5..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 0eae4406708ce354bb5f16a48b316d3d -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark@2x.png deleted file mode 100644 index fdf80a9b0..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark@2x.png.meta deleted file mode 100644 index 0f1c9a24c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_and_rebuild_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: faa09671c9522b84984833bb686b8add -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark.png deleted file mode 100644 index 11e1a7664..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark.png.meta deleted file mode 100644 index d48eeb196..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 2328352ff20678445828e9b20d57b9da -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark@2x.png deleted file mode 100644 index 7cfe6e716..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark@2x.png.meta deleted file mode 100644 index 2f6c08e63..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/ReEditor/save_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 26deab4d09dc3184bbfb0863e72198a3 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/RiderFlowResourceMarker.txt b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/RiderFlowResourceMarker.txt deleted file mode 100644 index e69de29bb..000000000 diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/RiderFlowResourceMarker.txt.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/RiderFlowResourceMarker.txt.meta deleted file mode 100644 index a072a5fe8..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/RiderFlowResourceMarker.txt.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2dc76602c204d0c479ec2f116cbba67c -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy.meta deleted file mode 100644 index b76fcd0b8..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2ac25f8a346b12e4ba9c4f1a4af6da71 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark.png deleted file mode 100644 index dffffa469..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark.png.meta deleted file mode 100644 index d66e824ce..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: e1cb39db9c6121f46878c7ca81915951 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark@2x.png deleted file mode 100644 index ee77a59c3..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark@2x.png.meta deleted file mode 100644 index ba8491119..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 34c0ea1285bbcb14aa54c82e8c2c8ee0 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark.png deleted file mode 100644 index 8892224a2..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark.png.meta deleted file mode 100644 index 044a28957..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: db8e9bd43f85d854499028a9f4acf560 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark@2x.png deleted file mode 100644 index 9b21a88f1..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark@2x.png.meta deleted file mode 100644 index 2cec24650..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_bookmark_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 112cc0a5f2d63134e8d4920c53952fd1 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit.png deleted file mode 100644 index 9d70ae8bf..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit.png.meta deleted file mode 100644 index 7ad915f28..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 98908fb66eb83394d8957c99adc8ac23 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit@2x.png deleted file mode 100644 index 5a195f478..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit@2x.png.meta deleted file mode 100644 index d31d28514..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 3b166dc26a7bad343ab7a0cc67da553e -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark.png deleted file mode 100644 index 7e5c784bd..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark.png.meta deleted file mode 100644 index 4de26e6ff..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: eb87a71d742100a4cbf668bfc3d3c870 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark@2x.png deleted file mode 100644 index 87a9844bf..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark@2x.png.meta deleted file mode 100644 index 0821277ef..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHierarchy/scene_hierarchy_edit_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: fffdcd23cf9e40e4d9a71edbf01d442d -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHighlighting.shader b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHighlighting.shader deleted file mode 100644 index cab61096b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHighlighting.shader +++ /dev/null @@ -1,145 +0,0 @@ -Shader "Hidden/SceneHighlighting" -{ - Properties - { - _MainTex ("Main Texture", 2D) = "white" {} - _Cutoff ("Alpha cutoff", Range(0,1)) = 0.01 - } - - SubShader - { - Tags - { - "RenderType" = "Opaque" - } - - // 0 - Pass - { - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - - #include "UnityCG.cginc" - - struct appdata - { - float4 vertex : POSITION; - float2 uv : TEXCOORD0; - }; - - struct v2f - { - float2 uv : TEXCOORD0; - float4 vertex : SV_POSITION; - }; - - v2f vert (appdata v) - { - v2f o; - o.vertex = UnityObjectToClipPos(v.vertex); - o.uv = v.uv; - return o; - } - - fixed4 frag (v2f i) : SV_Target - { - return fixed4(1, 0, 0, 1); - } - ENDCG - } - - // 1 - Pass - { - - ZTest Always - Cull Off - ZWrite Off - Blend SrcAlpha OneMinusSrcAlpha - - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - - #include "UnityCG.cginc" - - struct appdata - { - float4 vertex : POSITION; - float2 uv : TEXCOORD0; - }; - - struct v2f - { - float2 uv : TEXCOORD0; - float4 vertex : SV_POSITION; - }; - - uniform sampler2D _BaseMap; - - uniform sampler2D _BaseMap2; - - v2f vert (appdata v) - { - v2f o; - o.vertex = UnityObjectToClipPos(v.vertex); - o.uv = v.uv; - return o; - } - - fixed4 frag (v2f i) : SV_Target - { - fixed4 col = tex2D(_BaseMap, i.uv); - fixed4 col2 = tex2D(_BaseMap2, i.uv); - - if (col.x == 0.0f && col.y == 0.0f && col.z == 0.0f && col.w == 0.0f) - { - float d = 0.299*col2.x + 0.587*col2.y + 0.184*col2.z; - return float4(d, d, d, 1); - } - return col2 * float4(1, 0, 0, 1); - } - ENDCG - } - - // 2 - Pass - { - CGPROGRAM - #pragma vertex vert - #pragma fragment frag - - #include "UnityCG.cginc" - - struct appdata - { - float4 vertex : POSITION; - float2 uv : TEXCOORD0; - }; - - struct v2f - { - float2 uv : TEXCOORD0; - float4 vertex : SV_POSITION; - }; - - uniform sampler2D _BaseMap; - - v2f vert (appdata v) - { - v2f o; - o.vertex = UnityObjectToClipPos(v.vertex); - o.uv = v.uv; - return o; - } - - fixed4 frag (v2f i) : SV_Target - { - fixed4 col = tex2D(_BaseMap, i.uv); - return col; - } - ENDCG - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHighlighting.shader.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHighlighting.shader.meta deleted file mode 100644 index 17b7af9da..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SceneHighlighting.shader.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 4bc4baad95287934d8c31286a583a836 -ShaderImporter: - externalObjects: {} - defaultTextures: [] - nonModifiableTextures: [] - preprocessorOverride: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search.meta deleted file mode 100644 index c6f4e4075..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a0a4b50a8670ac445b777997f11df63c -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle.png deleted file mode 100644 index 5617d2eb2..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle.png.meta deleted file mode 100644 index e8077af28..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 09e6faeeb6c8b4341a7441568ebca695 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle@2x.png deleted file mode 100644 index e1cb86f27..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle@2x.png.meta deleted file mode 100644 index 49da84085..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 018f11f7df5f21f408fff732b28762df -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark.png deleted file mode 100644 index 8058ee651..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark.png.meta deleted file mode 100644 index 7641502d3..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: f94f9ce6cafe6834f904b4e210618c71 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark@2x.png deleted file mode 100644 index b9f9ed3c0..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark@2x.png.meta deleted file mode 100644 index 61b569695..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/move_handle_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: a726a975bc768ec4b86459a09d4da4ad -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small.png deleted file mode 100644 index df163732d..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small.png.meta deleted file mode 100644 index fe9c112fd..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 75988fc774ba3da4c8a2ab08ebc254a9 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small@2x.png deleted file mode 100644 index e5f91241f..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small@2x.png.meta deleted file mode 100644 index fe714c0d7..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: dcf43ed214365d243a31080a620597ba -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark.png deleted file mode 100644 index 13ee51fae..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark.png.meta deleted file mode 100644 index b56ab46d1..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 0921d25f46c677f40b1d42e656447902 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark@2x.png deleted file mode 100644 index c5c953df4..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark@2x.png.meta deleted file mode 100644 index 26171d05a..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Search/search_small_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: a5d6f57906964004c9eb0ecaed545e14 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere.meta deleted file mode 100644 index 0a8f7efeb..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f0a0f5024c99646269a88d2342c9d2ef -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style.meta deleted file mode 100644 index 8735d0850..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d8ca43e1ed8e64edf918411eb9920ed3 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/Filter.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/Filter.png deleted file mode 100644 index 3330c5c79..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/Filter.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/Filter.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/Filter.png.meta deleted file mode 100644 index c341088ac..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/Filter.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 50fb456fb779e4571b5806e9ba747c04 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/FilterDark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/FilterDark.png deleted file mode 100644 index 7dba99c0b..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/FilterDark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/FilterDark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/FilterDark.png.meta deleted file mode 100644 index ab8bd4421..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/FilterDark.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 52a8a9b1c4ac54ecb8766c1df859f2ee -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3.meta deleted file mode 100644 index f0fe2e222..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e5788299d5690435f95d95ff29c24de8 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/LICENSE b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/LICENSE deleted file mode 100644 index 261eeb9e9..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/LICENSE.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/LICENSE.meta deleted file mode 100644 index 9b4a3c318..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/LICENSE.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0ef63260eded947d59fa30e11161fd3d -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf.meta deleted file mode 100644 index 21c108c03..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: acbc50575013144f886943af5e607411 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold-Italic.ttf b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold-Italic.ttf deleted file mode 100644 index 8a36bccfc..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold-Italic.ttf and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold-Italic.ttf.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold-Italic.ttf.meta deleted file mode 100644 index 32f15a60a..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold-Italic.ttf.meta +++ /dev/null @@ -1,28 +0,0 @@ -fileFormatVersion: 2 -guid: 325c31228e6254448927c78cff1a910a -TrueTypeFontImporter: - externalObjects: {} - serializedVersion: 4 - fontSize: 16 - forceTextureCase: -2 - characterSpacing: 0 - characterPadding: 1 - includeFontData: 1 - fontName: JetBrains Mono - fontNames: - - JetBrains Mono - fallbackFontReferences: - - {fileID: 12800000, guid: a37a5b50c3655cc40a4cca22c1945b51, type: 3} - - {fileID: 12800000, guid: e44851f0d78a90f43af8d54e2b7c474e, type: 3} - - {fileID: 12800000, guid: 37c25d52502e0d7429571c7744b0695f, type: 3} - - {fileID: 12800000, guid: 4555b765ac1b07740a854705567b2e8a, type: 3} - - {fileID: 12800000, guid: 88b9d498abd2cc545bdec04e6830df05, type: 3} - - {fileID: 12800000, guid: be1b039b6acdd2e48bb2a2d973ce7a4e, type: 3} - customCharacters: - fontRenderingMode: 0 - ascentCalculationMode: 1 - useLegacyBoundsCalculation: 0 - shouldRoundAdvanceValue: 1 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold.ttf b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold.ttf deleted file mode 100644 index 5dc6ec245..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold.ttf and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold.ttf.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold.ttf.meta deleted file mode 100644 index b0c7345d9..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Bold.ttf.meta +++ /dev/null @@ -1,25 +0,0 @@ -fileFormatVersion: 2 -guid: d32bbbc747ff946d4a5e1a1b1b7064fc -TrueTypeFontImporter: - externalObjects: {} - serializedVersion: 4 - fontSize: 16 - forceTextureCase: -2 - characterSpacing: 0 - characterPadding: 1 - includeFontData: 1 - fontName: JetBrains Mono - fontNames: - - JetBrains Mono - fallbackFontReferences: - - {fileID: 12800000, guid: 37c25d52502e0d7429571c7744b0695f, type: 3} - - {fileID: 12800000, guid: 0dac8c33f9a968c40a368dcb9a103b30, type: 3} - - {fileID: 12800000, guid: 0cd7a4985e97ebf4dac7280a35326d63, type: 3} - customCharacters: - fontRenderingMode: 0 - ascentCalculationMode: 1 - useLegacyBoundsCalculation: 0 - shouldRoundAdvanceValue: 1 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold-Italic.ttf b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold-Italic.ttf deleted file mode 100644 index ff89d25d3..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold-Italic.ttf and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold-Italic.ttf.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold-Italic.ttf.meta deleted file mode 100644 index 0c6e93c6b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold-Italic.ttf.meta +++ /dev/null @@ -1,29 +0,0 @@ -fileFormatVersion: 2 -guid: de1d956d35b5644b9be551a23a65f7b7 -TrueTypeFontImporter: - externalObjects: {} - serializedVersion: 4 - fontSize: 16 - forceTextureCase: -2 - characterSpacing: 0 - characterPadding: 1 - includeFontData: 1 - fontName: JetBrains Mono - fontNames: - - JetBrains Mono - fallbackFontReferences: - - {fileID: 12800000, guid: a37a5b50c3655cc40a4cca22c1945b51, type: 3} - - {fileID: 12800000, guid: 37c25d52502e0d7429571c7744b0695f, type: 3} - - {fileID: 12800000, guid: 0dac8c33f9a968c40a368dcb9a103b30, type: 3} - - {fileID: 12800000, guid: 4555b765ac1b07740a854705567b2e8a, type: 3} - - {fileID: 12800000, guid: 0cd7a4985e97ebf4dac7280a35326d63, type: 3} - - {fileID: 12800000, guid: 88b9d498abd2cc545bdec04e6830df05, type: 3} - - {fileID: 12800000, guid: be1b039b6acdd2e48bb2a2d973ce7a4e, type: 3} - customCharacters: - fontRenderingMode: 0 - ascentCalculationMode: 1 - useLegacyBoundsCalculation: 0 - shouldRoundAdvanceValue: 1 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold.ttf b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold.ttf deleted file mode 100644 index bba598e00..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold.ttf and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold.ttf.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold.ttf.meta deleted file mode 100644 index 41580e990..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-ExtraBold.ttf.meta +++ /dev/null @@ -1,29 +0,0 @@ -fileFormatVersion: 2 -guid: de43557d9d5a14862b3299c376ffda19 -TrueTypeFontImporter: - externalObjects: {} - serializedVersion: 4 - fontSize: 16 - forceTextureCase: -2 - characterSpacing: 0 - characterPadding: 1 - includeFontData: 1 - fontName: JetBrains Mono - fontNames: - - JetBrains Mono - fallbackFontReferences: - - {fileID: 12800000, guid: a37a5b50c3655cc40a4cca22c1945b51, type: 3} - - {fileID: 12800000, guid: e44851f0d78a90f43af8d54e2b7c474e, type: 3} - - {fileID: 12800000, guid: 37c25d52502e0d7429571c7744b0695f, type: 3} - - {fileID: 12800000, guid: 4555b765ac1b07740a854705567b2e8a, type: 3} - - {fileID: 12800000, guid: 0cd7a4985e97ebf4dac7280a35326d63, type: 3} - - {fileID: 12800000, guid: 88b9d498abd2cc545bdec04e6830df05, type: 3} - - {fileID: 12800000, guid: be1b039b6acdd2e48bb2a2d973ce7a4e, type: 3} - customCharacters: - fontRenderingMode: 0 - ascentCalculationMode: 1 - useLegacyBoundsCalculation: 0 - shouldRoundAdvanceValue: 1 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Italic.ttf b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Italic.ttf deleted file mode 100644 index 44e1f4a7f..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Italic.ttf and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Italic.ttf.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Italic.ttf.meta deleted file mode 100644 index ad1eb4b67..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Italic.ttf.meta +++ /dev/null @@ -1,28 +0,0 @@ -fileFormatVersion: 2 -guid: 24dddb1acd1bd437da6865224d31b9cd -TrueTypeFontImporter: - externalObjects: {} - serializedVersion: 4 - fontSize: 16 - forceTextureCase: -2 - characterSpacing: 0 - characterPadding: 1 - includeFontData: 1 - fontName: JetBrains Mono - fontNames: - - JetBrains Mono - fallbackFontReferences: - - {fileID: 12800000, guid: a37a5b50c3655cc40a4cca22c1945b51, type: 3} - - {fileID: 12800000, guid: 37c25d52502e0d7429571c7744b0695f, type: 3} - - {fileID: 12800000, guid: 0dac8c33f9a968c40a368dcb9a103b30, type: 3} - - {fileID: 12800000, guid: 4555b765ac1b07740a854705567b2e8a, type: 3} - - {fileID: 12800000, guid: 0cd7a4985e97ebf4dac7280a35326d63, type: 3} - - {fileID: 12800000, guid: 88b9d498abd2cc545bdec04e6830df05, type: 3} - customCharacters: - fontRenderingMode: 0 - ascentCalculationMode: 1 - useLegacyBoundsCalculation: 0 - shouldRoundAdvanceValue: 1 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium-Italic.ttf b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium-Italic.ttf deleted file mode 100644 index 6da1d1753..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium-Italic.ttf and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium-Italic.ttf.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium-Italic.ttf.meta deleted file mode 100644 index 9288ba554..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium-Italic.ttf.meta +++ /dev/null @@ -1,26 +0,0 @@ -fileFormatVersion: 2 -guid: e1934b578f94846d9a6289b4f4e803de -TrueTypeFontImporter: - externalObjects: {} - serializedVersion: 4 - fontSize: 16 - forceTextureCase: -2 - characterSpacing: 0 - characterPadding: 1 - includeFontData: 1 - fontName: JetBrains Mono - fontNames: - - JetBrains Mono - fallbackFontReferences: - - {fileID: 12800000, guid: 37c25d52502e0d7429571c7744b0695f, type: 3} - - {fileID: 12800000, guid: 0dac8c33f9a968c40a368dcb9a103b30, type: 3} - - {fileID: 12800000, guid: 4555b765ac1b07740a854705567b2e8a, type: 3} - - {fileID: 12800000, guid: 0cd7a4985e97ebf4dac7280a35326d63, type: 3} - customCharacters: - fontRenderingMode: 0 - ascentCalculationMode: 1 - useLegacyBoundsCalculation: 0 - shouldRoundAdvanceValue: 1 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium.ttf b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium.ttf deleted file mode 100644 index 017b81fb0..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium.ttf and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium.ttf.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium.ttf.meta deleted file mode 100644 index e7dca7df4..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Medium.ttf.meta +++ /dev/null @@ -1,27 +0,0 @@ -fileFormatVersion: 2 -guid: afd458b2cc9da446db7eceb347895769 -TrueTypeFontImporter: - externalObjects: {} - serializedVersion: 4 - fontSize: 16 - forceTextureCase: -2 - characterSpacing: 0 - characterPadding: 1 - includeFontData: 1 - fontName: JetBrains Mono - fontNames: - - JetBrains Mono - fallbackFontReferences: - - {fileID: 12800000, guid: 37c25d52502e0d7429571c7744b0695f, type: 3} - - {fileID: 12800000, guid: 0dac8c33f9a968c40a368dcb9a103b30, type: 3} - - {fileID: 12800000, guid: 4555b765ac1b07740a854705567b2e8a, type: 3} - - {fileID: 12800000, guid: 0cd7a4985e97ebf4dac7280a35326d63, type: 3} - - {fileID: 12800000, guid: 88b9d498abd2cc545bdec04e6830df05, type: 3} - customCharacters: - fontRenderingMode: 0 - ascentCalculationMode: 1 - useLegacyBoundsCalculation: 0 - shouldRoundAdvanceValue: 1 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Regular.ttf b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Regular.ttf deleted file mode 100644 index 7db854fd9..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Regular.ttf and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Regular.ttf.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Regular.ttf.meta deleted file mode 100644 index 2c77d1fdd..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/JetBrainsMono-1.0.3/ttf/JetBrainsMono-Regular.ttf.meta +++ /dev/null @@ -1,24 +0,0 @@ -fileFormatVersion: 2 -guid: 55e83da4bf01e49678dcbb447249e4d2 -TrueTypeFontImporter: - externalObjects: {} - serializedVersion: 4 - fontSize: 16 - forceTextureCase: -2 - characterSpacing: 0 - characterPadding: 1 - includeFontData: 1 - fontName: JetBrains Mono - fontNames: - - JetBrains Mono - fallbackFontReferences: - - {fileID: 12800000, guid: 0dac8c33f9a968c40a368dcb9a103b30, type: 3} - - {fileID: 12800000, guid: 0cd7a4985e97ebf4dac7280a35326d63, type: 3} - customCharacters: - fontRenderingMode: 0 - ascentCalculationMode: 1 - useLegacyBoundsCalculation: 0 - shouldRoundAdvanceValue: 1 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchEverywhereWindowGUISkin.guiskin b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchEverywhereWindowGUISkin.guiskin deleted file mode 100644 index 6d9e466cd..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchEverywhereWindowGUISkin.guiskin +++ /dev/null @@ -1,1626 +0,0 @@ -%YAML 1.1 -%TAG !u! tag:unity3d.com,2011: ---- !u!114 &11400000 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 0} - m_Enabled: 1 - m_EditorHideFlags: 1 - m_Script: {fileID: 12001, guid: 0000000000000000e000000000000000, type: 0} - m_Name: SearchEverywhereWindowGUISkin - m_EditorClassIdentifier: - m_Font: {fileID: 12800000, guid: 37c25d52502e0d7429571c7744b0695f, type: 3} - m_box: - m_Name: box - m_Normal: - m_Background: {fileID: 11001, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.79999995, g: 0.79999995, b: 0.79999995, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 6 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 1 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_button: - m_Name: button - m_Normal: - m_Background: {fileID: 11006, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_Hover: - m_Background: {fileID: 11003, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Active: - m_Background: {fileID: 11002, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnNormal: - m_Background: {fileID: 11005, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9019608, g: 0.9019608, b: 0.9019608, a: 1} - m_OnHover: - m_Background: {fileID: 11004, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnActive: - m_Background: {fileID: 11002, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 4 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 6 - m_Right: 6 - m_Top: 3 - m_Bottom: 3 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_toggle: - m_Name: toggle - m_Normal: - m_Background: {fileID: 11018, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.89112896, g: 0.89112896, b: 0.89112896, a: 1} - m_Hover: - m_Background: {fileID: 11014, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Active: - m_Background: {fileID: 11013, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 11016, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.8901961, g: 0.8901961, b: 0.8901961, a: 1} - m_OnHover: - m_Background: {fileID: 11015, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnActive: - m_Background: {fileID: 11017, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 14 - m_Right: 0 - m_Top: 14 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 15 - m_Right: 0 - m_Top: 3 - m_Bottom: 0 - m_Overflow: - m_Left: -1 - m_Right: 0 - m_Top: -4 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_label: - m_Name: label - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 3 - m_Bottom: 3 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 1 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_textField: - m_Name: textfield - m_Normal: - m_Background: {fileID: 11024, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.79999995, g: 0.79999995, b: 0.79999995, a: 1} - m_Hover: - m_Background: {fileID: 11026, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9, g: 0.9, b: 0.9, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 11026, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnNormal: - m_Background: {fileID: 11025, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 3 - m_Right: 3 - m_Top: 3 - m_Bottom: 3 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 3 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_textArea: - m_Name: textarea - m_Normal: - m_Background: {fileID: 11024, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.9019608, g: 0.9019608, b: 0.9019608, a: 1} - m_Hover: - m_Background: {fileID: 11026, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0.79999995, g: 0.79999995, b: 0.79999995, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 11025, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 3 - m_Right: 3 - m_Top: 3 - m_Bottom: 3 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 1 - m_RichText: 0 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_window: - m_Name: window - m_Normal: - m_Background: {fileID: 11023, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 11022, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 1, g: 1, b: 1, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 8 - m_Right: 8 - m_Top: 18 - m_Bottom: 8 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 10 - m_Right: 10 - m_Top: 20 - m_Bottom: 10 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 1 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: -18} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalSlider: - m_Name: horizontalslider - m_Normal: - m_Background: {fileID: 11009, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 3 - m_Right: 3 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: -1 - m_Right: -1 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: -2 - m_Bottom: -3 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 12 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalSliderThumb: - m_Name: horizontalsliderthumb - m_Normal: - m_Background: {fileID: 11011, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 11012, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 11010, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 4 - m_Right: 4 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 7 - m_Right: 7 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: -1 - m_Right: -1 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 12 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalSlider: - m_Name: verticalslider - m_Normal: - m_Background: {fileID: 11021, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 3 - m_Bottom: 3 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: -1 - m_Bottom: -1 - m_Overflow: - m_Left: -2 - m_Right: -3 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 0 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 12 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 1 - m_verticalSliderThumb: - m_Name: verticalsliderthumb - m_Normal: - m_Background: {fileID: 11011, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 11012, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 11010, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 7 - m_Bottom: 7 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: -1 - m_Bottom: -1 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 12 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 1 - m_horizontalScrollbar: - m_Name: horizontalscrollbar - m_Normal: - m_Background: {fileID: 11008, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 9 - m_Right: 9 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 4 - m_Right: 4 - m_Top: 1 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 15 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalScrollbarThumb: - m_Name: horizontalscrollbarthumb - m_Normal: - m_Background: {fileID: 11007, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 6 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 6 - m_Right: 6 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: -1 - m_Bottom: 1 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 13 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalScrollbarLeftButton: - m_Name: horizontalscrollbarleftbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_horizontalScrollbarRightButton: - m_Name: horizontalscrollbarrightbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalScrollbar: - m_Name: verticalscrollbar - m_Normal: - m_Background: {fileID: 10906, guid: 0000000000000000f000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 9 - m_Bottom: 9 - m_Margin: - m_Left: 1 - m_Right: 4 - m_Top: 4 - m_Bottom: 4 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 1 - m_Bottom: 1 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 15 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalScrollbarThumb: - m_Name: verticalscrollbarthumb - m_Normal: - m_Background: {fileID: 11019, guid: 0000000000000000e000000000000000, type: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 6 - m_Right: 6 - m_Top: 6 - m_Bottom: 6 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 6 - m_Bottom: 6 - m_Overflow: - m_Left: -1 - m_Right: -1 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 2 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 15 - m_FixedHeight: 0 - m_StretchWidth: 0 - m_StretchHeight: 1 - m_verticalScrollbarUpButton: - m_Name: verticalscrollbarupbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_verticalScrollbarDownButton: - m_Name: verticalscrollbardownbutton - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_ScrollView: - m_Name: scrollview - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 1 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_CustomStyles: - - m_Name: TabLeft - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 0 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - - m_Name: TabRight - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 0 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - - m_Name: TabMid - m_Normal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 0 - m_FontStyle: 0 - m_Alignment: 0 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 0 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - - m_Name: Tab - m_Normal: - m_Background: {fileID: 2800000, guid: c3e480edf1436fd439059985bb49b083, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Hover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Active: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Focused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnNormal: - m_Background: {fileID: 2800000, guid: d130833fc1a41684f80d85c7575d02ef, type: 3} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnHover: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnActive: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_OnFocused: - m_Background: {fileID: 0} - m_ScaledBackgrounds: [] - m_TextColor: {r: 0, g: 0, b: 0, a: 1} - m_Border: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Margin: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Padding: - m_Left: 0 - m_Right: 0 - m_Top: 13 - m_Bottom: 10 - m_Overflow: - m_Left: 0 - m_Right: 0 - m_Top: 0 - m_Bottom: 0 - m_Font: {fileID: 0} - m_FontSize: 12 - m_FontStyle: 1 - m_Alignment: 4 - m_WordWrap: 0 - m_RichText: 1 - m_TextClipping: 0 - m_ImagePosition: 0 - m_ContentOffset: {x: 0, y: 0} - m_FixedWidth: 0 - m_FixedHeight: 0 - m_StretchWidth: 1 - m_StretchHeight: 0 - m_Settings: - m_DoubleClickSelectsWord: 1 - m_TripleClickSelectsLine: 1 - m_CursorColor: {r: 1, g: 1, b: 1, a: 1} - m_CursorFlashSpeed: -1 - m_SelectionColor: {r: 1, g: 0.38403907, b: 0, a: 0.7} diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchEverywhereWindowGUISkin.guiskin.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchEverywhereWindowGUISkin.guiskin.meta deleted file mode 100644 index a347367b1..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchEverywhereWindowGUISkin.guiskin.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4a638fdd17df54cbe99725c74b189704 -NativeFormatImporter: - externalObjects: {} - mainObjectFileID: 11400000 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchIcon.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchIcon.png deleted file mode 100644 index 76cae55bf..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchIcon.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchIcon.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchIcon.png.meta deleted file mode 100644 index 9186a0b03..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/SearchIcon.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 736b529cf4e9b42988b039ac378da76d -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: 1 - mipBias: -100 - wrapU: 1 - wrapV: 1 - wrapW: -1 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 2 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter.svg b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter.svg deleted file mode 100644 index cd271ae58..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter.svg.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter.svg.meta deleted file mode 100644 index 72958d79d..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter.svg.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6b20b0e61838b4c35934f17dbbab2460 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter_dark.svg b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter_dark.svg deleted file mode 100644 index 774f88627..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter_dark.svg +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter_dark.svg.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter_dark.svg.meta deleted file mode 100644 index 00c94162b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/filter_dark.svg.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f62b11c00e01a4482a7f54e03b801654 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.png deleted file mode 100644 index c32dd3e18..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.png.meta deleted file mode 100644 index 7c027fe9b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: a0fb900cf4cc946149c2901d86bbc084 -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.svg b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.svg deleted file mode 100644 index 63b01b1c5..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.svg.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.svg.meta deleted file mode 100644 index 97f47cf80..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft.svg.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 677703fa7362a4df3850e3f8c0f5ec9c -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeftDark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeftDark.png deleted file mode 100644 index 4a7f3e9c4..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeftDark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeftDark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeftDark.png.meta deleted file mode 100644 index 99b862675..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeftDark.png.meta +++ /dev/null @@ -1,88 +0,0 @@ -fileFormatVersion: 2 -guid: 5af56e09b6b5049be86e447ae8cae82f -TextureImporter: - fileIDToRecycleName: {} - externalObjects: {} - serializedVersion: 9 - mipmaps: - mipMapMode: 0 - enableMipMap: 1 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: -1 - aniso: -1 - mipBias: -100 - wrapU: -1 - wrapV: -1 - wrapW: -1 - nPOTScale: 1 - lightmap: 0 - compressionQuality: 50 - spriteMode: 0 - spriteExtrude: 1 - spriteMeshType: 1 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 0 - spriteTessellationDetail: -1 - textureType: 0 - textureShape: 1 - singleChannelComponent: 0 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - platformSettings: - - serializedVersion: 2 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: - vertices: [] - indices: - edges: [] - weights: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft_dark.svg b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft_dark.svg deleted file mode 100644 index 2ca227e20..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft_dark.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft_dark.svg.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft_dark.svg.meta deleted file mode 100644 index 882e4770a..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhere/Style/moveToBottomLeft_dark.svg.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d228168378c2b4514a32a72869c469e4 -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew.meta deleted file mode 100644 index 114423bfc..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 91c43eccdd6fed64ebb905ba79d19fe6 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser.png deleted file mode 100644 index 244798236..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser.png.meta deleted file mode 100644 index 3a2a7a042..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 1e36929eeb9b9784b9054ae23ad28273 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser@2x.png deleted file mode 100644 index 20b11885d..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser@2x.png.meta deleted file mode 100644 index 16fe4e0d3..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 4d9ce25e74e57a84e922ac940018e672 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark.png deleted file mode 100644 index 9fd5ac091..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark.png.meta deleted file mode 100644 index 3840dc198..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: f72db01d665645f47b013d2c17e31f1c -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark@2x.png deleted file mode 100644 index 9223f36d3..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark@2x.png.meta deleted file mode 100644 index 196b8552f..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_browser_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 394d800be80a50a429f1817f2290359f -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter.png deleted file mode 100644 index 5c653a9b1..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter.png.meta deleted file mode 100644 index 409c542e6..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 20b68b581802f1c43891188b06991687 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter@2x.png deleted file mode 100644 index b0324ac4e..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter@2x.png.meta deleted file mode 100644 index 5dfe02302..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 5265bb96fd0cbae4d9babde99c660eae -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark.png deleted file mode 100644 index 9c0421af2..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark.png.meta deleted file mode 100644 index d4d43eb54..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 663a18cc0f114df41931b1ab20d41a26 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark@2x.png deleted file mode 100644 index 5ea853cd8..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark@2x.png.meta deleted file mode 100644 index 53116b637..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/SearchEverywhereNew/search_everywhere_filter_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: af8aeaa0bbc8a71418b32d68bc838b26 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar.meta deleted file mode 100644 index 8bba07d99..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 44b577b0008694d498d28d77dd24b0a7 -folderAsset: yes -DefaultImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool.png deleted file mode 100644 index 39a6d287b..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool.png.meta deleted file mode 100644 index cca7ec3f9..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: c279f55b3cc6ea240b07bd7a10f137bd -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool@2x.png deleted file mode 100644 index 7f39ef7c2..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool@2x.png.meta deleted file mode 100644 index 47ab4f520..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: ec21b0dc77400554a8d0663ff7d933b5 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark.png deleted file mode 100644 index e74401544..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark.png.meta deleted file mode 100644 index 28469c940..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: df75f491d97418d4db8720b7af095f0a -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark@2x.png deleted file mode 100644 index 4815586b0..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark@2x.png.meta deleted file mode 100644 index 28dc9a16b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_bookmark_tool_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: d198ef83f2dd4bb46aaaa4aaf34b388c -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool.png deleted file mode 100644 index 830c9c4ac..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool.png.meta deleted file mode 100644 index 2127b07bb..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 3dbf66e767536a648b1aef295efc5709 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool@2x.png deleted file mode 100644 index e73267d04..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool@2x.png.meta deleted file mode 100644 index 02f7c5a6e..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 23ab0f5d81c4baa4caae87f0341137fe -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark.png deleted file mode 100644 index e84de8cd0..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark.png.meta deleted file mode 100644 index 047681883..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: bda2ddb416acd1c42a293ff30fdf0dc5 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark@2x.png deleted file mode 100644 index e41d40966..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark@2x.png.meta deleted file mode 100644 index e00306ef9..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_tool_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: e5bdcef8910e4764cbce3995edb8f72a -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool.png deleted file mode 100644 index eb851e564..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool.png.meta deleted file mode 100644 index ac017a93e..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: ae5eda9dcb22c184dbd59012ad96f460 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool@2x.png deleted file mode 100644 index 0e2897c96..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool@2x.png.meta deleted file mode 100644 index cd542ae71..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: a1e2df0c0a9cb404b856168e02c0eb27 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark.png deleted file mode 100644 index c5abda941..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark.png.meta deleted file mode 100644 index 970d48b17..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 982e6a3cf24e16f4ea363f4d0abe8e49 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark@2x.png deleted file mode 100644 index 48770626b..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark@2x.png.meta deleted file mode 100644 index 9d54b75af..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_camera_viewer_tool_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: e980921817e3da54dbf918c522450f08 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result.png deleted file mode 100644 index 08fa17506..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result.png.meta deleted file mode 100644 index 6cb00d679..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 5a8f357899991fd46958ad7aaf2fb00a -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result@2x.png deleted file mode 100644 index 5b571c533..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result@2x.png.meta deleted file mode 100644 index 704215e52..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: f1647ffd218ae094785f3c44ea70592a -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark.png deleted file mode 100644 index 7342336e6..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark.png.meta deleted file mode 100644 index 41e2f556f..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: e2c9a59c17635794dacf13eb356b16e3 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark@2x.png deleted file mode 100644 index f011471e1..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark@2x.png.meta deleted file mode 100644 index a3fb9327a..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_next_result_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: f06a32ae2bd7dfa49b0f6a69676fb777 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result.png deleted file mode 100644 index 1acb4422d..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result.png.meta deleted file mode 100644 index 06c97c53c..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 07857bd3e9e2ca24591562ea69fa0d34 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result@2x.png deleted file mode 100644 index 7f61da554..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result@2x.png.meta deleted file mode 100644 index 5107e4245..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: f6b1bd44f641dc941865fc8681f30ba2 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark.png deleted file mode 100644 index fa2466da8..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark.png.meta deleted file mode 100644 index 9a1902fa6..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 182a2ef17bcec8b4f962d6490cc2587c -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark@2x.png deleted file mode 100644 index 5b8d3cdd7..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark@2x.png.meta deleted file mode 100644 index 123b2c597..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_prev_result_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 7372dff7ee609a84695a328dd90425b4 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect.png deleted file mode 100644 index 4a2b069bf..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect.png.meta deleted file mode 100644 index 310d032f2..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 44359b7f3c5d24f498d179d372a70475 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect@2x.png deleted file mode 100644 index aea6c5c00..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect@2x.png.meta deleted file mode 100644 index 4e0cef105..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: aa8a9096338f00542b0b117301fda088 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark.png deleted file mode 100644 index fd4f71037..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark.png.meta deleted file mode 100644 index 61971284e..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 42fb4678b3f127049b79296d87ec760c -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark@2x.png deleted file mode 100644 index 002026601..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark@2x.png.meta deleted file mode 100644 index 0724fe948..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_scene_effect_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: b830937e8f4aea94eb88389c395ad74a -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool.png deleted file mode 100644 index b86d764c7..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool.png.meta deleted file mode 100644 index 204a11c87..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: d9b7731b506e0d547a81a4943c8ce7ec -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool@2x.png deleted file mode 100644 index c05365b1f..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool@2x.png.meta deleted file mode 100644 index 3df0442d3..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 0a9bc1ac7c90bda42b874533daa5e86d -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark.png deleted file mode 100644 index 11ea9f49a..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark.png.meta deleted file mode 100644 index f77b63e4e..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: cd3e20a90b522ec4db2f3579e943e7c9 -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 100 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark@2x.png b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark@2x.png deleted file mode 100644 index e2ae9af0c..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark@2x.png and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark@2x.png.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark@2x.png.meta deleted file mode 100644 index dcd217ccf..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/Toolbar/toolbar_search_tool_dark@2x.png.meta +++ /dev/null @@ -1,108 +0,0 @@ -fileFormatVersion: 2 -guid: 50b5f7d794158ab4595b17c287829bec -TextureImporter: - internalIDToNameTable: [] - externalObjects: {} - serializedVersion: 11 - mipmaps: - mipMapMode: 0 - enableMipMap: 0 - sRGBTexture: 1 - linearTexture: 0 - fadeOut: 0 - borderMipMap: 0 - mipMapsPreserveCoverage: 0 - alphaTestReferenceValue: 0.5 - mipMapFadeDistanceStart: 1 - mipMapFadeDistanceEnd: 3 - bumpmap: - convertToNormalMap: 0 - externalNormalMap: 0 - heightScale: 0.25 - normalMapFilter: 0 - isReadable: 0 - streamingMipmaps: 0 - streamingMipmapsPriority: 0 - vTOnly: 0 - grayScaleToAlpha: 0 - generateCubemap: 6 - cubemapConvolution: 0 - seamlessCubemap: 0 - textureFormat: 1 - maxTextureSize: 2048 - textureSettings: - serializedVersion: 2 - filterMode: 2 - aniso: 1 - mipBias: 0 - wrapU: 1 - wrapV: 1 - wrapW: 0 - nPOTScale: 0 - lightmap: 0 - compressionQuality: 50 - spriteMode: 1 - spriteExtrude: 1 - spriteMeshType: 0 - alignment: 0 - spritePivot: {x: 0.5, y: 0.5} - spritePixelsToUnits: 200 - spriteBorder: {x: 0, y: 0, z: 0, w: 0} - spriteGenerateFallbackPhysicsShape: 1 - alphaUsage: 1 - alphaIsTransparency: 1 - spriteTessellationDetail: -1 - textureType: 8 - textureShape: 1 - singleChannelComponent: 0 - flipbookRows: 1 - flipbookColumns: 1 - maxTextureSizeSet: 0 - compressionQualitySet: 0 - textureFormatSet: 0 - ignorePngGamma: 0 - applyGammaDecoding: 0 - platformSettings: - - serializedVersion: 3 - buildTarget: DefaultTexturePlatform - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - - serializedVersion: 3 - buildTarget: Standalone - maxTextureSize: 2048 - resizeAlgorithm: 0 - textureFormat: -1 - textureCompression: 1 - compressionQuality: 50 - crunchedCompression: 0 - allowsAlphaSplitting: 0 - overridden: 0 - androidETC2FallbackOverride: 0 - forceMaximumCompressionQuality_BC6H_BC7: 0 - spriteSheet: - serializedVersion: 2 - sprites: [] - outline: [] - physicsShape: [] - bones: [] - spriteID: 5e97eb03825dee720800000000000000 - internalID: 0 - vertices: [] - indices: - edges: [] - weights: [] - secondaryTextures: [] - spritePackingTag: - pSDRemoveMatte: 0 - pSDShowRemoveMatteOption: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/URPSceneHighlighting.txt b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/URPSceneHighlighting.txt deleted file mode 100644 index 3813b851b..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/URPSceneHighlighting.txt +++ /dev/null @@ -1,176 +0,0 @@ -Shader "Hidden/RiderFlowURPSceneHighlighting" -{ - Properties - { - } - - SubShader - { - Tags - { - "RenderType" = "Opaque" - } - - Pass - { - Tags - { - "LightMode"="MyPass" - } - - HLSLPROGRAM - #pragma vertex VertexMain - #pragma fragment FragmentMain - - #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" - - struct VertexInput { - float4 position : POSITION; - float2 uv : TEXCOORD0; - }; - - struct VertexOut { - float4 position : SV_POSITION; - float2 uv : TEXCOORD0; - }; - - VertexOut VertexMain(VertexInput input) - { - VertexOut vertexOut; - vertexOut.position = TransformObjectToHClip(input.position.xyz); - return vertexOut; - } - - sampler2D _MainTex; - - float4 FragmentMain(VertexOut i) : SV_TARGET - { - return float4(1, 0, 0, 1); - } - ENDHLSL - } - - Pass - { - Tags - { - "LightMode"="MyPass" - } - - - HLSLPROGRAM - - #pragma vertex VertexMain - #pragma fragment FragmentMain - - #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" - - struct VertexInput { - float4 position : POSITION; - float2 uv : TEXCOORD0; - }; - - struct VertexOut { - float4 position : SV_POSITION; - float2 uv : TEXCOORD0; - }; - - - TEXTURE2D(_BaseMap); - SAMPLER(sampler_BaseMap); - - CBUFFER_START(UnityPerMaterial) - float4 _BaseMap_ST; - CBUFFER_END - - - TEXTURE2D(_BaseMap2); - SAMPLER(sampler_BaseMap2); - - CBUFFER_START(UnityPerMaterial) - float4 _BaseMap2_ST; - CBUFFER_END - - VertexOut VertexMain(VertexInput input) { - VertexOut vertexOut; - vertexOut.position = TransformObjectToHClip(input.position.xyz); - vertexOut.uv = TRANSFORM_TEX(input.uv, _BaseMap); - return vertexOut; - } - - - float4 FragmentMain(VertexOut o) : SV_TARGET{ - - float4 col = SAMPLE_TEXTURE2D(_BaseMap, sampler_BaseMap, o.uv); - float4 col2 = SAMPLE_TEXTURE2D(_BaseMap2, sampler_BaseMap2, o.uv); - - if (col.x == 0.0f && col.y == 0.0f && col.z == 0.0f && col.w == 0.0f) - { - float d = 0.299*col2.x + 0.587*col2.y + 0.184*col2.z; - return float4(d, d, d, 1); - } - return col2 * float4(1, 0, 0, 1); - } - - ENDHLSL - } - - Pass - { - Tags - { - "LightMode"="MyPass" - } - - - HLSLPROGRAM - - #pragma vertex VertexMain - #pragma fragment FragmentMain - - #include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" - - struct VertexInput { - float4 position : POSITION; - float2 uv : TEXCOORD0; - }; - - struct VertexOut { - float4 position : SV_POSITION; - float2 uv : TEXCOORD0; - }; - - - TEXTURE2D(_BaseMap); - SAMPLER(sampler_BaseMap); - - CBUFFER_START(UnityPerMaterial) - float4 _BaseMap_ST; - CBUFFER_END - - - TEXTURE2D(_BaseMap2); - SAMPLER(sampler_BaseMap2); - - CBUFFER_START(UnityPerMaterial) - float4 _BaseMap2_ST; - CBUFFER_END - - VertexOut VertexMain(VertexInput input) { - VertexOut vertexOut; - vertexOut.position = TransformObjectToHClip(input.position.xyz); - vertexOut.uv = TRANSFORM_TEX(input.uv, _BaseMap); - return vertexOut; - } - - - half4 FragmentMain(VertexOut o) : SV_TARGET{ - - half4 col = SAMPLE_TEXTURE2D(_BaseMap, sampler_BaseMap, o.uv); - return col; - } - - ENDHLSL - } - } -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/URPSceneHighlighting.txt.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/URPSceneHighlighting.txt.meta deleted file mode 100644 index e1a7ee9e4..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/InstallationData/Resources/URPSceneHighlighting.txt.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c288e484f416c674b93b7124eb6e319d -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.Lifetimes.dll b/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.Lifetimes.dll deleted file mode 100644 index 530d4e146..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.Lifetimes.dll and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.Lifetimes.dll.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.Lifetimes.dll.meta deleted file mode 100644 index e7e31389e..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.Lifetimes.dll.meta +++ /dev/null @@ -1,69 +0,0 @@ -fileFormatVersion: 2 -guid: 314918d4992591c4aa3279bb63d9995c -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 1 - validateReferences: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: - Exclude Editor: 0 - Exclude Linux64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RdFramework.dll b/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RdFramework.dll deleted file mode 100644 index faeca737a..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RdFramework.dll and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RdFramework.dll.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RdFramework.dll.meta deleted file mode 100644 index 89969bf1d..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RdFramework.dll.meta +++ /dev/null @@ -1,69 +0,0 @@ -fileFormatVersion: 2 -guid: 3f4dc5a8786d51e4790cd130d363be05 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 1 - validateReferences: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: - Exclude Editor: 0 - Exclude Linux64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Models.dll b/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Models.dll deleted file mode 100644 index ed380a4e1..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Models.dll and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Models.dll.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Models.dll.meta deleted file mode 100644 index 323b65fdd..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Models.dll.meta +++ /dev/null @@ -1,69 +0,0 @@ -fileFormatVersion: 2 -guid: 3e00b18c52ff5934da39f176639cfc96 -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 1 - validateReferences: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: - Exclude Editor: 0 - Exclude Linux64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Repacked.dll b/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Repacked.dll deleted file mode 100644 index 97908a72d..000000000 Binary files a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Repacked.dll and /dev/null differ diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Repacked.dll.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Repacked.dll.meta deleted file mode 100644 index 27f65f8ae..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/JetBrains.RiderFlow.Repacked.dll.meta +++ /dev/null @@ -1,69 +0,0 @@ -fileFormatVersion: 2 -guid: a30a0b5144013484fbf70f91d239b60e -PluginImporter: - externalObjects: {} - serializedVersion: 2 - iconMap: {} - executionOrder: {} - defineConstraints: [] - isPreloaded: 0 - isOverridable: 0 - isExplicitlyReferenced: 1 - validateReferences: 0 - platformData: - - first: - Any: - second: - enabled: 0 - settings: - Exclude Editor: 0 - Exclude Linux64: 1 - Exclude OSXUniversal: 1 - Exclude Win: 1 - Exclude Win64: 1 - - first: - Any: - second: - enabled: 0 - settings: {} - - first: - Editor: Editor - second: - enabled: 1 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - - first: - Standalone: Linux64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Standalone: OSXUniversal - second: - enabled: 0 - settings: - CPU: None - - first: - Standalone: Win - second: - enabled: 0 - settings: - CPU: x86 - - first: - Standalone: Win64 - second: - enabled: 0 - settings: - CPU: x86_64 - - first: - Windows Store Apps: WindowsStoreApps - second: - enabled: 0 - settings: - CPU: AnyCPU - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/build.txt b/Assets/Plugins/Editor/JetBrains.RiderFlow/build.txt deleted file mode 100644 index 220c842b9..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/build.txt +++ /dev/null @@ -1 +0,0 @@ -2022.1.0.149 \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/build.txt.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/build.txt.meta deleted file mode 100644 index 4e05322a7..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/build.txt.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b7406f257ad4dc14f8a7bf5a5209d266 -TextScriptImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/package.json b/Assets/Plugins/Editor/JetBrains.RiderFlow/package.json deleted file mode 100644 index 482d347ea..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/package.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "name": "com.jetbrains.riderflow", - "displayName": "JetBrains RiderFlow", - "description": "The JetBrains RiderFlow package provides Search, Navigation and Refactoring features.", - "version": "2022.1.0-149", - "unity": "2019.4", - "keywords": [ - "jetbrains", - "rider", - "RiderFlow" - ], - "category": "Editor" -} \ No newline at end of file diff --git a/Assets/Plugins/Editor/JetBrains.RiderFlow/package.json.meta b/Assets/Plugins/Editor/JetBrains.RiderFlow/package.json.meta deleted file mode 100644 index 16565b203..000000000 --- a/Assets/Plugins/Editor/JetBrains.RiderFlow/package.json.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fd143edccc183dcc8a52c44fca8a5d93 -PackageManifestImporter: - externalObjects: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker.meta b/Assets/Plugins/PlayMaker.meta deleted file mode 100644 index 10e91e87c..000000000 --- a/Assets/Plugins/PlayMaker.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: c8d1cf7123a68d44f9a3dc9bd83ceafd -folderAsset: yes -timeCreated: 1517993733 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/Metro.meta b/Assets/Plugins/PlayMaker/Metro.meta deleted file mode 100644 index 6ea1ba1d3..000000000 --- a/Assets/Plugins/PlayMaker/Metro.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: ec058ede9f53227498b05a5837ff8e33 -folderAsset: yes -timeCreated: 1517993733 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll b/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll deleted file mode 100644 index 02c79e0bb..000000000 Binary files a/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll and /dev/null differ diff --git a/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll.mdb b/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll.mdb deleted file mode 100644 index 768cf35cc..000000000 Binary files a/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll.mdb and /dev/null differ diff --git a/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll.mdb.meta b/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll.mdb.meta deleted file mode 100644 index 762aacbf7..000000000 --- a/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll.mdb.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 881662afaa6d6134ea9984063201e118 -timeCreated: 1517993734 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll.meta b/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll.meta deleted file mode 100644 index f8596c673..000000000 --- a/Assets/Plugins/PlayMaker/Metro/PlayMaker.dll.meta +++ /dev/null @@ -1,72 +0,0 @@ -fileFormatVersion: 2 -guid: fd7aabeb995f6a64aa68d02891fc2294 -PluginImporter: - serializedVersion: 1 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - platformData: - Android: - enabled: 0 - settings: - CPU: AnyCPU - Any: - enabled: 0 - settings: {} - Editor: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - Linux: - enabled: 0 - settings: - CPU: x86 - Linux64: - enabled: 0 - settings: - CPU: x86_64 - OSXIntel: - enabled: 0 - settings: - CPU: AnyCPU - OSXIntel64: - enabled: 0 - settings: - CPU: AnyCPU - WP8: - enabled: 0 - settings: - CPU: AnyCPU - DontProcess: False - PlaceholderPath: - Win: - enabled: 0 - settings: - CPU: AnyCPU - Win64: - enabled: 0 - settings: - CPU: AnyCPU - WindowsStoreApps: - enabled: 1 - settings: - CPU: AnyCPU - DontProcess: False - PlaceholderPath: Assets/Plugins/PlayMaker/PlayMaker.dll - SDK: AnySDK - ScriptingBackend: DotNet - iOS: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - tvOS: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/Metro/PlayMaker.pri b/Assets/Plugins/PlayMaker/Metro/PlayMaker.pri deleted file mode 100644 index f15d32002..000000000 Binary files a/Assets/Plugins/PlayMaker/Metro/PlayMaker.pri and /dev/null differ diff --git a/Assets/Plugins/PlayMaker/Metro/PlayMaker.pri.meta b/Assets/Plugins/PlayMaker/Metro/PlayMaker.pri.meta deleted file mode 100644 index cb080d3c3..000000000 --- a/Assets/Plugins/PlayMaker/Metro/PlayMaker.pri.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 405d0b1aea2ef054dacb6ad18cbe9b4b -timeCreated: 1517993734 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/PlayMaker.dll b/Assets/Plugins/PlayMaker/PlayMaker.dll deleted file mode 100644 index a9400ef87..000000000 Binary files a/Assets/Plugins/PlayMaker/PlayMaker.dll and /dev/null differ diff --git a/Assets/Plugins/PlayMaker/PlayMaker.dll.mdb b/Assets/Plugins/PlayMaker/PlayMaker.dll.mdb deleted file mode 100644 index c1d4f884c..000000000 Binary files a/Assets/Plugins/PlayMaker/PlayMaker.dll.mdb and /dev/null differ diff --git a/Assets/Plugins/PlayMaker/PlayMaker.dll.mdb.meta b/Assets/Plugins/PlayMaker/PlayMaker.dll.mdb.meta deleted file mode 100644 index 52b393dc8..000000000 --- a/Assets/Plugins/PlayMaker/PlayMaker.dll.mdb.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8947321615145f64c96e04f5e0eed46b -timeCreated: 1517993733 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/PlayMaker.dll.meta b/Assets/Plugins/PlayMaker/PlayMaker.dll.meta deleted file mode 100644 index c92c92729..000000000 --- a/Assets/Plugins/PlayMaker/PlayMaker.dll.meta +++ /dev/null @@ -1,96 +0,0 @@ -fileFormatVersion: 2 -guid: e743331561ef77147ae48cda9bcb8209 -PluginImporter: - serializedVersion: 1 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - platformData: - Android: - enabled: 1 - settings: - CPU: AnyCPU - Any: - enabled: 0 - settings: {} - BlackBerry: - enabled: 1 - settings: {} - Editor: - enabled: 1 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - Linux: - enabled: 1 - settings: - CPU: x86 - Linux64: - enabled: 1 - settings: - CPU: x86_64 - LinuxUniversal: - enabled: 1 - settings: {} - OSXIntel: - enabled: 1 - settings: - CPU: AnyCPU - OSXIntel64: - enabled: 1 - settings: - CPU: AnyCPU - OSXUniversal: - enabled: 1 - settings: {} - PS4: - enabled: 1 - settings: {} - WP8: - enabled: 0 - settings: - CPU: AnyCPU - DontProcess: False - PlaceholderPath: - Web: - enabled: 1 - settings: {} - WebStreamed: - enabled: 1 - settings: {} - Win: - enabled: 1 - settings: - CPU: AnyCPU - Win64: - enabled: 1 - settings: - CPU: AnyCPU - WindowsStoreApps: - enabled: 0 - settings: - CPU: AnyCPU - DontProcess: False - PlaceholderPath: - SDK: AnySDK - ScriptingBackend: AnyScriptingBackend - XboxOne: - enabled: 1 - settings: {} - iOS: - enabled: 1 - settings: - CompileFlags: - FrameworkDependencies: - tvOS: - enabled: 1 - settings: - CompileFlags: - FrameworkDependencies: - Switch: - enabled: 1 - settings: {} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/WP8.meta b/Assets/Plugins/PlayMaker/WP8.meta deleted file mode 100644 index 4df2974f7..000000000 --- a/Assets/Plugins/PlayMaker/WP8.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: a38444d44b4a92d4d9140d27e8dc9018 -folderAsset: yes -timeCreated: 1517993733 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll b/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll deleted file mode 100644 index 1fa444e6c..000000000 Binary files a/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll and /dev/null differ diff --git a/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll.mdb b/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll.mdb deleted file mode 100644 index c7001ac56..000000000 Binary files a/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll.mdb and /dev/null differ diff --git a/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll.mdb.meta b/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll.mdb.meta deleted file mode 100644 index f86f12f31..000000000 --- a/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll.mdb.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c23ab214516ef56459b3bd90d9b1fec0 -timeCreated: 1517993734 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll.meta b/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll.meta deleted file mode 100644 index 664f8e3ce..000000000 --- a/Assets/Plugins/PlayMaker/WP8/PlayMaker.dll.meta +++ /dev/null @@ -1,68 +0,0 @@ -fileFormatVersion: 2 -guid: de72a6d2da64d114d95e3c5a01cfaec5 -timeCreated: 1428085126 -licenseType: Pro -PluginImporter: - serializedVersion: 1 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - platformData: - Android: - enabled: 0 - settings: - CPU: AnyCPU - Any: - enabled: 0 - settings: {} - Editor: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - Linux: - enabled: 0 - settings: - CPU: x86 - Linux64: - enabled: 0 - settings: - CPU: x86_64 - OSXIntel: - enabled: 0 - settings: - CPU: AnyCPU - OSXIntel64: - enabled: 0 - settings: - CPU: AnyCPU - WP8: - enabled: 1 - settings: - CPU: AnyCPU - DontProcess: False - PlaceholderPath: - Win: - enabled: 0 - settings: - CPU: AnyCPU - Win64: - enabled: 0 - settings: - CPU: AnyCPU - WindowsStoreApps: - enabled: 0 - settings: - CPU: AnyCPU - DontProcess: False - PlaceholderPath: - SDK: AnySDK - iOS: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/WebGL.meta b/Assets/Plugins/PlayMaker/WebGL.meta deleted file mode 100644 index 2b0a79709..000000000 --- a/Assets/Plugins/PlayMaker/WebGL.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 9ab282980d3378d448c01ffa4d5307bd -folderAsset: yes -timeCreated: 1517993733 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll b/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll deleted file mode 100644 index 925e0f906..000000000 Binary files a/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll and /dev/null differ diff --git a/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll.mdb b/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll.mdb deleted file mode 100644 index 6012c81b7..000000000 Binary files a/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll.mdb and /dev/null differ diff --git a/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll.mdb.meta b/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll.mdb.meta deleted file mode 100644 index 0d925482d..000000000 --- a/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll.mdb.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 586f10b880b6b5b4798aa26aa284bad9 -timeCreated: 1517993734 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll.meta b/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll.meta deleted file mode 100644 index 52ac208f3..000000000 --- a/Assets/Plugins/PlayMaker/WebGL/PlayMaker.dll.meta +++ /dev/null @@ -1,77 +0,0 @@ -fileFormatVersion: 2 -guid: 9754d4abda502c6458053d5ed8e4fc5a -timeCreated: 1428085133 -licenseType: Pro -PluginImporter: - serializedVersion: 1 - iconMap: {} - executionOrder: {} - isPreloaded: 0 - platformData: - Android: - enabled: 0 - settings: - CPU: AnyCPU - Any: - enabled: 0 - settings: {} - Editor: - enabled: 0 - settings: - CPU: AnyCPU - DefaultValueInitialized: true - OS: AnyOS - Linux: - enabled: 0 - settings: - CPU: x86 - Linux64: - enabled: 0 - settings: - CPU: x86_64 - OSXIntel: - enabled: 0 - settings: - CPU: AnyCPU - OSXIntel64: - enabled: 0 - settings: - CPU: AnyCPU - WP8: - enabled: 0 - settings: - CPU: AnyCPU - DontProcess: False - PlaceholderPath: - WebGL: - enabled: 1 - settings: {} - Win: - enabled: 0 - settings: - CPU: AnyCPU - Win64: - enabled: 0 - settings: - CPU: AnyCPU - WindowsStoreApps: - enabled: 1 - settings: - CPU: AnyCPU - DontProcess: False - PlaceholderPath: - SDK: AnySDK - ScriptingBackend: Il2Cpp - iOS: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - tvOS: - enabled: 0 - settings: - CompileFlags: - FrameworkDependencies: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/Scripts/Debug/SROptions.cs b/Assets/Scripts/Debug/SROptions.cs index ee72d8c58..ae905ff02 100644 --- a/Assets/Scripts/Debug/SROptions.cs +++ b/Assets/Scripts/Debug/SROptions.cs @@ -1,7 +1,6 @@ using System.Collections; using System.Collections.Generic; using Beyond; -using ES3Types; using Invector.vCharacterController; using Invector.vMelee; using PixelCrushers; diff --git a/Assets/Scripts/Effects/HiddenObject.cs b/Assets/Scripts/Effects/HiddenObject.cs index 0ac18d9e3..d1f442819 100644 --- a/Assets/Scripts/Effects/HiddenObject.cs +++ b/Assets/Scripts/Effects/HiddenObject.cs @@ -11,6 +11,9 @@ namespace Beyond public Collider m_actionCollider; private bool alreadyUsed = false; + [Tooltip("If true, collider will be disabled insted of enabled")] + [SerializeField] + private bool m_reverseAction = false; // Start is called before the first frame update private void Start() @@ -35,7 +38,7 @@ namespace Beyond return; } if (m_actionCollider) - m_actionCollider.enabled = enabled; + m_actionCollider.enabled = !m_reverseAction; } public void MarkAsAlreadyUsed() diff --git a/Assets/Scripts/Utils/BarkManager.cs b/Assets/Scripts/Utils/BarkManager.cs index eeac18685..2a59f5850 100644 --- a/Assets/Scripts/Utils/BarkManager.cs +++ b/Assets/Scripts/Utils/BarkManager.cs @@ -1,7 +1,6 @@ using System; using System.Collections; using System.Collections.Generic; -using HutongGames.PlayMaker.Actions; using PixelCrushers; using PixelCrushers.DialogueSystem; using Sirenix.OdinInspector; diff --git a/Assets/Scripts/Video/VideoCutsceneTrigger.cs b/Assets/Scripts/Video/VideoCutsceneTrigger.cs index 19b24974c..3fe897d85 100644 --- a/Assets/Scripts/Video/VideoCutsceneTrigger.cs +++ b/Assets/Scripts/Video/VideoCutsceneTrigger.cs @@ -1,7 +1,6 @@ using System; using System.Collections; using System.Collections.Generic; -using HutongGames.PlayMaker.Actions; //using OccaSoftware.Altos; using PixelCrushers; using Sirenix.OdinInspector; diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional.meta deleted file mode 100644 index 61e17eeb3..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 6bae468f3e7bd9248ae6423fe49ee229 -folderAsset: yes -timeCreated: 1432628381 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator.meta deleted file mode 100644 index 8bc46dd1b..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 9369f8973b311469a923968150989808 -folderAsset: yes -timeCreated: 1432628700 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions.meta deleted file mode 100644 index a1a0ee5b2..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: f311814f8d58d43e78fad70d4a486609 -folderAsset: yes -timeCreated: 1432628700 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions/Utils.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions/Utils.meta deleted file mode 100644 index a3a512a1b..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions/Utils.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 7b64c9dc5f2574287849eb4ff174710b -folderAsset: yes -timeCreated: 1432628700 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions/Utils/AnimatorFollow.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions/Utils/AnimatorFollow.cs deleted file mode 100644 index bc890e090..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions/Utils/AnimatorFollow.cs +++ /dev/null @@ -1,123 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("Animator")] - [Tooltip("Follow a target")] - [HelpUrl("https://hutonggames.fogbugz.com/default.asp?W1033")] - public class AnimatorFollow : FsmStateAction - { - [RequiredField] - //[CheckForComponent(typeof(PlayMakerAnimatorProxy))] - [CheckForComponent(typeof(Animator))] - [Tooltip("The GameObject. An Animator component and a PlayMakerAnimatorProxy component are required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The Game Object to target.")] - public FsmGameObject target; - - [Tooltip("The minimum distance to follow.")] - public FsmFloat minimumDistance; - - [Tooltip("The damping for following up.")] - public FsmFloat speedDampTime; - - [Tooltip("The damping for turning.")] - public FsmFloat directionDampTime; - - GameObject _go; - PlayMakerAnimatorMoveProxy _animatorProxy; - Animator avatar; - CharacterController controller; - - public override void Reset() - { - gameObject = null; - target = null; - speedDampTime = 0.25f; - directionDampTime = 0.25f; - minimumDistance = 1f; - } - - - public override void OnEnter() - { - _go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (_go==null) - { - Finish(); - return; - } - - _animatorProxy = _go.GetComponent(); - if (_animatorProxy!=null) - { - _animatorProxy.OnAnimatorMoveEvent += OnAnimatorMoveEvent; - } - - avatar = _go.GetComponent(); - controller = _go.GetComponent(); - - avatar.speed = 1 + UnityEngine.Random.Range(-0.4f, 0.4f); - } - - public override void OnUpdate() - { - GameObject _target = target.Value; - - float _speedDampTime = speedDampTime.Value; - float _directionDampTime = directionDampTime.Value; - float _minimumDistance = minimumDistance.Value; - - if (avatar && _target) - { - if(Vector3.Distance(_target.transform.position,avatar.rootPosition) > _minimumDistance) - { - avatar.SetFloat("Speed",1,_speedDampTime, Time.deltaTime); - - Vector3 currentDir = avatar.rootRotation * Vector3.forward; - Vector3 wantedDir = (_target.transform.position - avatar.rootPosition).normalized; - - if(Vector3.Dot(currentDir,wantedDir) > 0) - { - avatar.SetFloat("Direction",Vector3.Cross(currentDir,wantedDir).y,_directionDampTime, Time.deltaTime); - } - else - { - avatar.SetFloat("Direction", Vector3.Cross(currentDir,wantedDir).y > 0 ? 1 : -1, _directionDampTime, Time.deltaTime); - } - } - else - { - avatar.SetFloat("Speed",0,_speedDampTime, Time.deltaTime); - } - - if (_animatorProxy==null) - { - OnAnimatorMoveEvent(); - } - } - } - - public override void OnExit() - { - if (_animatorProxy!=null) - { - _animatorProxy.OnAnimatorMoveEvent -= OnAnimatorMoveEvent; - } - } - - public void OnAnimatorMoveEvent() - { - controller.Move(avatar.deltaPosition); - _go.transform.rotation = avatar.rootRotation; - } - - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions/Utils/AnimatorFollow.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions/Utils/AnimatorFollow.cs.meta deleted file mode 100644 index ed74c99b6..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Actions/Utils/AnimatorFollow.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: f90de0fcabf394e2a8d5a69c9a96f433 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts.meta deleted file mode 100644 index 56b5ef07f..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 25a3d76e6b1ad4ad392589e66f18233b -folderAsset: yes -timeCreated: 1432628700 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorIKProxy.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorIKProxy.cs deleted file mode 100644 index ffb0f523f..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorIKProxy.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; -using System; -using System.Collections; -using System.Collections.Generic; - -[RequireComponent(typeof(Animator))] -[RequireComponent(typeof(PlayMakerFSM))] -public class PlayMakerAnimatorIKProxy : MonoBehaviour -{ - - public event Action OnAnimatorIKEvent; - - private Animator _animator; - - void OnAnimatorIK(int layerIndex) - { - if( OnAnimatorIKEvent != null ) - { - OnAnimatorIKEvent(layerIndex); - } - } -} diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorIKProxy.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorIKProxy.cs.meta deleted file mode 100644 index 24e00a4b5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorIKProxy.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: f621e30ba44f748a090282d791177b09 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorMoveProxy.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorMoveProxy.cs deleted file mode 100644 index 364c442a2..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorMoveProxy.cs +++ /dev/null @@ -1,39 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; -using System; -using System.Collections; -using System.Collections.Generic; - -[RequireComponent(typeof(Animator))] -[RequireComponent(typeof(PlayMakerFSM))] -public class PlayMakerAnimatorMoveProxy : MonoBehaviour { - - public bool applyRootMotion; - - public event Action OnAnimatorMoveEvent; - -// private Animator _animator; - -// private Vector3 gravityVelocity; - - void Start() - { - // _animator = gameObject.GetComponent(); - } - - void Update() { - - //gravityVelocity += Physics.gravity * Time.deltaTime; - - } - - void OnAnimatorMove() - { - if( OnAnimatorMoveEvent != null ) - { - OnAnimatorMoveEvent(); - } - } - -} diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorMoveProxy.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorMoveProxy.cs.meta deleted file mode 100644 index 7cc75acce..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorMoveProxy.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: b088675ba28024f149a0d5ea54ac4435 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorStateSynchronization.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorStateSynchronization.cs deleted file mode 100644 index e1ccabdde..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorStateSynchronization.cs +++ /dev/null @@ -1,180 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. -/* - inspired by Paul Hayes asset: https://github.com/paulhayes/AnimatorStateMachineUtil - -This script will monitor an animator Component and will switch the fsm target states to reflect the Animator current state - -Fsm state name convention allows you to not mention the layer, so you can have two possibility in your fsm - -"Base.xxx" or just "xxx". and the layer name will be injected under the hood based on the LayerIndex public variable of this script. -*/ - -using System; - -using System.Collections; -using System.Collections.Generic; - -using System.Reflection; - -using UnityEngine; - -using HutongGames.PlayMaker; - - -public class PlayMakerAnimatorStateSynchronization : MonoBehaviour -{ - public int LayerIndex = 0; - - public PlayMakerFSM Fsm; - - public bool EveryFrame = true; - - public bool debug = false; - - - Animator animator; - int lastState; - int lastTransition; - - Dictionary fsmStateLUT; - - void Start() - { - animator = this.GetComponent(); - - if (Fsm!=null) - { - string layerName = animator.GetLayerName(LayerIndex); - fsmStateLUT = new Dictionary(); - - foreach (FsmState state in Fsm.Fsm.States) - { - string fsmStateName = state.Name; - - RegisterHash(state.Name,state); - - if (!fsmStateName.StartsWith(layerName+".")) - { - RegisterHash(layerName+"."+state.Name,state); - } - } - - } - } - - void RegisterHash(string key,FsmState state) - { - int hash = Animator.StringToHash(key); - fsmStateLUT.Add(hash,state); - - if ( debug) Debug.Log ("registered "+key+" ->"+hash ); - } - - void Update() - { - if (EveryFrame) - { - Synchronize(); - } - } - - public void Synchronize() - { - if (animator==null || Fsm==null) - { - return; - } - - bool hasSwitchedState = false; - - if ( animator.IsInTransition(LayerIndex)) - { - AnimatorTransitionInfo _transitionInfo = animator.GetAnimatorTransitionInfo(LayerIndex); - int _currentTransition = _transitionInfo.nameHash; - int _currentTransitionUserName = animator.GetAnimatorTransitionInfo(LayerIndex).userNameHash; - - if (lastTransition != _currentTransition) - { - if (debug) Debug.Log("is in transition"); - - // look for a username based transition - if ( fsmStateLUT.ContainsKey(_currentTransitionUserName) ) - { - FsmState _fsmState = fsmStateLUT[_currentTransitionUserName]; - if (Fsm.Fsm.ActiveState!=_fsmState) - { - SwitchState(Fsm.Fsm,_fsmState); - // Only in 1.8 - //Fsm.Fsm.SwitchState(_fsmState); - hasSwitchedState = true; - } - } - - // set state - if (!hasSwitchedState && fsmStateLUT.ContainsKey(_currentTransition) ) - { - FsmState _fsmState = fsmStateLUT[_currentTransition]; - if (Fsm.Fsm.ActiveState!=_fsmState) - { - SwitchState(Fsm.Fsm,_fsmState); - // Only in 1.8 - //Fsm.Fsm.SwitchState(_fsmState); - hasSwitchedState = true; - } - } - - - if (!hasSwitchedState && debug) Debug.LogWarning("Fsm is missing animator transition name or username for hash:"+_currentTransition); - - // record change - lastTransition = _currentTransition; - } - - } - - // if we have not succeeded with any potential transitions, we look for states - if (!hasSwitchedState) - { -#if UNITY_5 - int _currentState = animator.GetCurrentAnimatorStateInfo(LayerIndex).fullPathHash; -#else - int _currentState = animator.GetCurrentAnimatorStateInfo(LayerIndex).nameHash; -#endif - if (lastState != _currentState) - { - if (debug) Debug.Log("Net state switch"); - // set state - if ( fsmStateLUT.ContainsKey(_currentState) ) - { - FsmState _fsmState = fsmStateLUT[_currentState]; - if (Fsm.Fsm.ActiveState!=_fsmState) - { - SwitchState(Fsm.Fsm,_fsmState); - // Only in 1.8 - //Fsm.Fsm.SwitchState(_fsmState); - } - }else{ - if (debug) Debug.LogWarning("Fsm is missing animator state hash:"+_currentState); - } - - // record change - lastState = _currentState; - } - } - - } - - void SwitchState(Fsm fsm, FsmState state) - { - MethodInfo switchState = fsm.GetType().GetMethod("SwitchState", BindingFlags.NonPublic | BindingFlags.Instance); - if (switchState!=null) - { - switchState.Invoke(fsm , new object[] { state }); - } - } - -} - - - - diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorStateSynchronization.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorStateSynchronization.cs.meta deleted file mode 100644 index f564304b8..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker Animator/Scripts/PlayMakerAnimatorStateSynchronization.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: d51fd2da84f8d47e58694281c639df1f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding.meta deleted file mode 100644 index dc39ed2c4..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 61e389aa701d09042bcb7e05b1c4f146 -folderAsset: yes -timeCreated: 1432628594 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent.meta deleted file mode 100644 index 48fba569d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: c27b195fa2d0bfb4ea020934c3328eb4 -folderAsset: yes -timeCreated: 1432628595 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentActivateCurrentOffMeshLink.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentActivateCurrentOffMeshLink.cs deleted file mode 100644 index 1872affa1..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentActivateCurrentOffMeshLink.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Enables or disables the current link of a NavMesh Agent. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentActivateCurrentOffMeshLink : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Flag to Enables or disables the current link of the NavMesh Agent.")] - [UIHint(UIHint.FsmFloat)] - public FsmBool activate; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - activate = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoActivateCurrentOffMeshLink(); - - Finish(); - } - - void DoActivateCurrentOffMeshLink() - { - if (activate == null || _agent == null) - { - return; - } - - _agent.ActivateCurrentOffMeshLink(activate.Value); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentActivateCurrentOffMeshLink.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentActivateCurrentOffMeshLink.cs.meta deleted file mode 100644 index 7fc5322e8..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentActivateCurrentOffMeshLink.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 3bd785ec5db144f439247efd8245027c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentCompleteOffMeshLink.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentCompleteOffMeshLink.cs deleted file mode 100644 index 348268216..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentCompleteOffMeshLink.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Terminate current OffMeshLink of a NavMesh Agent. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentCompleteOffMeshLink : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoCompleteOffMeshLink(); - - Finish(); - } - - void DoCompleteOffMeshLink() - { - if (_agent == null) - { - return; - } - - _agent.CompleteOffMeshLink(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentCompleteOffMeshLink.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentCompleteOffMeshLink.cs.meta deleted file mode 100644 index fb6936aa9..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentCompleteOffMeshLink.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: e676927f777f4478591b010b1fbacf08 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentFindClosestEdge.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentFindClosestEdge.cs deleted file mode 100644 index f0fedee52..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentFindClosestEdge.cs +++ /dev/null @@ -1,119 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Locate the closest NavMesh edge. \nYou can dispatch events if nearest edge found or not. \nYou can then store information about the location (navMeshHit). \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentFindClosestEdge : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [ActionSection("Result")] - - [Tooltip("True if a nearest edge is found.")] - public FsmBool nearestEdgeFound; - - [Tooltip("Trigger event if a nearest edge is found.")] - public FsmEvent nearestEdgeFoundEvent; - - [Tooltip("Trigger event if a nearest edge is NOT found.")] - public FsmEvent nearestEdgeNotFoundEvent; - - - [ActionSection("Hit information (of the found edge)")] - - [Tooltip("Position of hit")] - public FsmVector3 position; - - [Tooltip("Normal at the point of hit")] - public FsmVector3 normal; - - [Tooltip("Distance to the point of hit")] - public FsmFloat distance; - - [Tooltip("Mask specifying NavMeshLayers at point of hit.")] - public FsmInt mask; - - [Tooltip("Flag when hit")] - public FsmBool hit; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value; - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - - nearestEdgeFound = new FsmBool { UseVariable = true }; - nearestEdgeFoundEvent = null; - nearestEdgeNotFoundEvent = null; - - position = new FsmVector3 { UseVariable = true}; - normal = new FsmVector3 { UseVariable = true}; - distance = new FsmFloat { UseVariable = true}; - mask = new FsmInt { UseVariable = true}; - hit = new FsmBool { UseVariable = true}; - - } - - public override void OnEnter() - { - _getAgent(); - - DoFindClosestEdge(); - - Finish(); - } - - void DoFindClosestEdge() - { - if (_agent == null) - { - return; - } - - UnityEngine.AI.NavMeshHit _NavMeshHit; - - bool _nearestEdgeFound = _agent.FindClosestEdge(out _NavMeshHit); - nearestEdgeFound.Value = _nearestEdgeFound; - - position.Value = _NavMeshHit.position; - normal.Value = _NavMeshHit.normal; - distance.Value = _NavMeshHit.distance; - mask.Value = _NavMeshHit.mask; - hit.Value = _NavMeshHit.hit; - - if (_nearestEdgeFound) - { - if ( ! FsmEvent.IsNullOrEmpty(nearestEdgeFoundEvent) ){ - Fsm.Event(nearestEdgeFoundEvent); - } - }else - { - if (! FsmEvent.IsNullOrEmpty(nearestEdgeNotFoundEvent) ){ - Fsm.Event(nearestEdgeNotFoundEvent); - } - } - - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentFindClosestEdge.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentFindClosestEdge.cs.meta deleted file mode 100644 index 5f3dd671e..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentFindClosestEdge.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: b3e66d8ff7d9c4c3dbf6c61a219e42e2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentMove.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentMove.cs deleted file mode 100644 index 0b4c366a8..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentMove.cs +++ /dev/null @@ -1,58 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Apply relative movement to current path position of a navMesh Agent. \nIf the agent has a path it will be adjusted. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentMove : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("The relative move vector.")] - public FsmVector3 offset; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - offset = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoMove(); - - Finish(); - } - - void DoMove() - { - if (_agent == null) - { - return; - } - - _agent.Move(offset.Value); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentMove.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentMove.cs.meta deleted file mode 100644 index 1c18b85c2..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentMove.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 9d1c4b9d53218406da8d6235840ed61d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentRayCast.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentRayCast.cs deleted file mode 100644 index ea6d30e00..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentRayCast.cs +++ /dev/null @@ -1,135 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Trace movement towards a target postion in the NavMesh, without moving the agent. \n" + - "You can dispatch events If terminated before reaching the target position or not. \n" + - "You can then store information about the location (navMeshHit). \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentRayCast : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The desired end position of movement.")] - [UIHint(UIHint.FsmVector3)] - public FsmVector3 targetPosition; - - [ActionSection("Result")] - - [Tooltip("true If terminated before reaching target position.")] - [UIHint(UIHint.Variable)] - public FsmBool reachedBeforeTargetPosition; - - [Tooltip("Trigger event if sample reached before the target position.")] - public FsmEvent reachedBeforeTargetPositionEvent; - - [Tooltip("Trigger event if sample reached after the target position.")] - public FsmEvent reachedAfterTargetPositionEvent; - - - [ActionSection("Hit information of the sample")] - - [Tooltip("Position of hit")] - [UIHint(UIHint.Variable)] - public FsmVector3 position; - - [Tooltip("Normal at the point of hit")] - [UIHint(UIHint.Variable)] - public FsmVector3 normal; - - [Tooltip("Distance to the point of hit")] - [UIHint(UIHint.Variable)] - public FsmFloat distance; - - [Tooltip("Mask specifying NavMeshLayers at point of hit.")] - [UIHint(UIHint.Variable)] - public FsmInt mask; - - [Tooltip("Flag when hit")] - [UIHint(UIHint.Variable)] - public FsmBool hit; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - - targetPosition = null; - - reachedBeforeTargetPosition = null; - reachedBeforeTargetPositionEvent = null; - reachedAfterTargetPositionEvent = null; - - position = null; - normal = null; - distance = null; - mask = null; - hit = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoRaycast(); - - Finish(); - } - - void DoRaycast() - { - if (_agent == null) - { - return; - } - - UnityEngine.AI.NavMeshHit _NavMeshHit; - bool _reachedBeforeTargetPosition = _agent.Raycast(targetPosition.Value,out _NavMeshHit); - reachedBeforeTargetPosition.Value = _reachedBeforeTargetPosition; - - position.Value = _NavMeshHit.position; - normal.Value = _NavMeshHit.normal; - distance.Value = _NavMeshHit.distance; - mask.Value = _NavMeshHit.mask; - hit.Value = _NavMeshHit.hit; - - if (_reachedBeforeTargetPosition) - { - if ( ! FsmEvent.IsNullOrEmpty(reachedBeforeTargetPositionEvent) ){ - Fsm.Event(reachedBeforeTargetPositionEvent); - } - }else - { - if (! FsmEvent.IsNullOrEmpty(reachedAfterTargetPositionEvent) ){ - Fsm.Event(reachedAfterTargetPositionEvent); - } - } - - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentRayCast.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentRayCast.cs.meta deleted file mode 100644 index 370b78542..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentRayCast.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 9fb68e5159f0b46239643ac022166c06 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResetPath.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResetPath.cs deleted file mode 100644 index 91a12f631..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResetPath.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Clears the current path of a NavMesh Agent. \n" + - "NOTE: that the agent will not start looking for a new path until SetDestination is called. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentResetPath : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoResetPath(); - - Finish(); - } - - void DoResetPath() - { - if (_agent == null) - { - return; - } - - _agent.ResetPath(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResetPath.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResetPath.cs.meta deleted file mode 100644 index 8fa6f18bc..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResetPath.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 4a1c1396a39bf44369e8e5bc17305280 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResume.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResume.cs deleted file mode 100644 index 575c46684..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResume.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Resumes the movement along the current path of a navMesh Agent. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentResume : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoResume(); - - Finish(); - } - - void DoResume() - { - if (_agent == null) - { - return; - } - - _agent.Resume(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResume.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResume.cs.meta deleted file mode 100644 index 4496d3f62..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentResume.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: d0bff10e583c6410097fdcdc20ac7475 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSamplePathPosition.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSamplePathPosition.cs deleted file mode 100644 index 5dd5b5433..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSamplePathPosition.cs +++ /dev/null @@ -1,133 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Sample a position along the current path. \nYou can dispatch events If terminated before reaching position at maxDistance or not. \nYou can then store information about the location (navMeshHit). \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentSamplePathPosition : FsmStateAction - { - - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("The mask specifying which NavMesh layers can be passed when tracing the path.")] - public FsmInt passableMask; - - [Tooltip("Terminate scanning the path at this distance.")] - public FsmFloat maxDistance; - - [ActionSection("Result")] - - [Tooltip("True If terminated before reaching position at maxDistance.")] - [UIHint(UIHint.Variable)] - public FsmBool reachedBeforeMaxDistance; - - [Tooltip("Trigger event if sample reached before the maxDistance.")] - public FsmEvent reachedBeforeMaxDistanceEvent; - - [Tooltip("Trigger event if sample reached after the maxDistance.")] - public FsmEvent reachedAfterMaxDistanceEvent; - - - [ActionSection("Hit information of the sample")] - - [Tooltip("Position of hit")] - [UIHint(UIHint.Variable)] - public FsmVector3 position; - - [Tooltip("Normal at the point of hit")] - [UIHint(UIHint.Variable)] - public FsmVector3 normal; - - [Tooltip("Distance to the point of hit")] - [UIHint(UIHint.Variable)] - public FsmFloat distance; - - [Tooltip("Mask specifying NavMeshLayers at point of hit.")] - [UIHint(UIHint.Variable)] - public FsmInt mask; - - [Tooltip("Flag when hit")] - [UIHint(UIHint.Variable)] - public FsmBool hit; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - - passableMask = -1; // so that by default mask is "everything" - - reachedBeforeMaxDistance = null; - reachedBeforeMaxDistanceEvent = null; - reachedAfterMaxDistanceEvent = null; - - position = null; - normal = null; - distance = null; - mask = null; - hit = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSamplePath(); - - Finish(); - } - - void DoSamplePath() - { - if (_agent == null) - { - return; - } - - UnityEngine.AI.NavMeshHit _NavMeshHit; - bool _reachedBeforeMaxDistance = _agent.SamplePathPosition(passableMask.Value,maxDistance.Value,out _NavMeshHit); - reachedBeforeMaxDistance.Value = _reachedBeforeMaxDistance; - - position.Value = _NavMeshHit.position; - normal.Value = _NavMeshHit.normal; - distance.Value = _NavMeshHit.distance; - mask.Value = _NavMeshHit.mask; - hit.Value = _NavMeshHit.hit; - - if (_reachedBeforeMaxDistance) - { - if ( ! FsmEvent.IsNullOrEmpty(reachedBeforeMaxDistanceEvent) ){ - Fsm.Event(reachedBeforeMaxDistanceEvent); - } - }else - { - if (! FsmEvent.IsNullOrEmpty(reachedAfterMaxDistanceEvent) ){ - Fsm.Event(reachedAfterMaxDistanceEvent); - } - } - - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSamplePathPosition.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSamplePathPosition.cs.meta deleted file mode 100644 index 1efec268f..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSamplePathPosition.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 9d8554d5582eb44e591887f9e5cff7fd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSetPath.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSetPath.cs deleted file mode 100644 index 12a037b5a..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSetPath.cs +++ /dev/null @@ -1,98 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Assign path to NavMesh Agent. Uses FsmNavMeshPath component. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentSetPath : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The Game Object holding the path. NOTE: The Game Object must have a FsmNavMeshPath component attached.")] - [CheckForComponent(typeof(FsmNavMeshPath))] - public FsmOwnerDefault path; - - [Tooltip("True if succesfully assigned.")] - public FsmBool pathAssigned; - - [Tooltip("Trigger event if path assigned.")] - public FsmEvent pathAssignedEvent; - - [Tooltip("Trigger event if path not assigned.")] - public FsmEvent pathNotAssignedEvent; - - private UnityEngine.AI.NavMeshAgent _agent; - private FsmNavMeshPath _pathProxy; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - private void _getPathProxy() - { - GameObject go = path.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : path.GameObject.Value; - if (go == null) - { - return; - } - - _pathProxy = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - path = null; - - } - - public override void OnEnter() - { - _getAgent(); - _getPathProxy(); - - DoSetPath(); - - Finish(); - } - - void DoSetPath() - { - if (_pathProxy == null || _agent == null) - { - return; - } - - - bool _ok = _agent.SetPath(_pathProxy.path); - - pathAssigned.Value = _ok; - - if (_ok) - { - if ( ! FsmEvent.IsNullOrEmpty(pathAssignedEvent) ){ - Fsm.Event(pathAssignedEvent); - } - }else - { - if (! FsmEvent.IsNullOrEmpty(pathNotAssignedEvent) ){ - Fsm.Event(pathNotAssignedEvent); - } - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSetPath.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSetPath.cs.meta deleted file mode 100644 index 9eb1d29b9..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentSetPath.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 05e82b2b3bef640aca7642b65bff0070 -timeCreated: 1429684766 -licenseType: Store -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentStop.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentStop.cs deleted file mode 100644 index 4afc149c7..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentStop.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Stop movement of the agent along the current path. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentStop : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoStop(); - - Finish(); - } - - void DoStop() - { - if (_agent == null) - { - return; - } - - _agent.Stop(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentStop.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentStop.cs.meta deleted file mode 100644 index e687ca147..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentStop.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 4f039c005593c4185bd75964f292b622 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentWarp.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentWarp.cs deleted file mode 100644 index b846bec46..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentWarp.cs +++ /dev/null @@ -1,82 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Warps agent to the provided position. Send events base on result: Returns true if successful, otherwise returns false \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class AgentWarp : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("New position to warp the agent to.")] - public FsmVector3 newPosition; - - [ActionSection("Result")] - - [Tooltip("True if successful, otherwise returns false")] - [UIHint(UIHint.Variable)] - public FsmBool success; - - [Tooltip("Trigger this event Warp to new position is successful")] - public FsmEvent successEvent; - - [Tooltip("Trigger this event when Warp to new position failed")] - public FsmEvent failureEvent; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - newPosition = null; - success = null; - successEvent= null; - failureEvent = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoWarp(); - - Finish(); - } - - void DoWarp() - { - if (_agent == null) - { - return; - } - - bool ok =_agent.Warp(newPosition.Value); - success.Value = ok; - if (ok) - { - Fsm.Event(successEvent); - }else{ - Fsm.Event(failureEvent); - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentWarp.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentWarp.cs.meta deleted file mode 100644 index 23da2ce9a..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/AgentWarp.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: e6d197ac7e8b546f38b1907e5a002c8d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor.meta deleted file mode 100644 index fc608980a..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: f91ba78ce6522114a97c1b4e517e4dc8 -folderAsset: yes -timeCreated: 1432628595 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/AgentSamplePathPositionCustomEditor.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/AgentSamplePathPositionCustomEditor.cs deleted file mode 100644 index f482a7896..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/AgentSamplePathPositionCustomEditor.cs +++ /dev/null @@ -1,92 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -using HutongGames.PlayMaker; -using UnityEditor; -using UnityEngine; -using System; -using System.Collections.Generic; - -namespace HutongGames.PlayMakerEditor -{ - - [CustomActionEditor(typeof(AgentSamplePathPosition))] - public class AgentSamplePathPositionCustomEditor : CustomActionEditor - { - - private PlayMakerNavMeshAreaMaskField _maskField; - - - public override bool OnGUI() - { - - AgentSamplePathPosition _target = (AgentSamplePathPosition)target; - - bool edited = false; - - EditField("gameObject"); - - edited = EditMaskField(_target); - - EditField("maxDistance"); - - EditField("reachedBeforeMaxDistance"); - EditField("reachedBeforeMaxDistanceEvent"); - EditField("reachedAfterMaxDistanceEvent"); - - EditField("position"); - EditField("normal"); - EditField("distance"); - EditField("mask"); - EditField("hit"); - - - return GUI.changed || edited; - } - - bool EditMaskField(AgentSamplePathPosition _target) - { - bool edited = false; - - if (_target.passableMask ==null) - { - _target.passableMask = new FsmInt(); - _target.passableMask.Value = -1; - } - - if (_target.passableMask.UseVariable) - { - EditField("passableMask"); - - }else{ - - GUILayout.BeginHorizontal(); - - LayerMask _mask = _target.passableMask.Value; - - if (_maskField==null) - { - _maskField = new PlayMakerNavMeshAreaMaskField(); - } - LayerMask _newMask = _maskField.AreaMaskField("Passable Mask",_mask,true); - - - if (_newMask!=_mask) - { - edited = true; - _target.passableMask.Value = _newMask.value; - } - - if (PlayMakerEditor.FsmEditorGUILayout.MiniButtonPadded(PlayMakerEditor.FsmEditorContent.VariableButton)) - { - _target.passableMask.UseVariable = true; - } - GUILayout.EndHorizontal(); - } - - return edited; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/AgentSamplePathPositionCustomEditor.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/AgentSamplePathPositionCustomEditor.cs.meta deleted file mode 100644 index 49e061c33..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/AgentSamplePathPositionCustomEditor.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 82230866e5192421ab3097a9d06e8de4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/SetAgentAreaMaskCustomEditor.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/SetAgentAreaMaskCustomEditor.cs deleted file mode 100644 index 2d15745db..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/SetAgentAreaMaskCustomEditor.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -using HutongGames.PlayMaker; -using UnityEditor; -using UnityEngine; -using System; -using System.Collections.Generic; - -namespace HutongGames.PlayMakerEditor -{ - - [CustomActionEditor(typeof(SetAgentAreaMask))] - public class SetAgentAreaMaskCustomEditor : CustomActionEditor - { - - private PlayMakerNavMeshAreaMaskField _maskField; - - public override bool OnGUI() - { - - SetAgentAreaMask _target = (SetAgentAreaMask)target; - - bool edited = false; - - - - EditField("gameObject"); - - if (_target.NavMeshAreaMask ==null) - { - _target.NavMeshAreaMask = new FsmInt(); - _target.NavMeshAreaMask.Value = -1; - } - - LayerMask _mask = _target.NavMeshAreaMask.Value; - - if (_maskField==null) - { - _maskField = new PlayMakerNavMeshAreaMaskField(); - } - LayerMask _newMask = _maskField.AreaMaskField("Area Mask",_mask,true); - - if (_newMask!=_mask) - { - edited = true; - _target.NavMeshAreaMask.Value = _newMask.value; - } - - return GUI.changed || edited; - } - - } -} diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/SetAgentAreaMaskCustomEditor.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/SetAgentAreaMaskCustomEditor.cs.meta deleted file mode 100644 index 1358d8ad3..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/Editor/SetAgentAreaMaskCustomEditor.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 29d990077e31a4bca972982a9307d03f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoBraking.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoBraking.cs deleted file mode 100644 index 3b32d28c8..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoBraking.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the flag of NavMesh Agent avoids overshooting the destination point. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentAutoBraking : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store flag of the agent that avoids overshooting the destination point.")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - [Tooltip("Runs every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetAutoBraking(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetAutoBraking(); - } - - void DoGetAutoBraking() - { - if (storeResult == null || _agent == null) - { - return; - } - - storeResult.Value = _agent.autoBraking; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoBraking.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoBraking.cs.meta deleted file mode 100644 index 0ec8e23a5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoBraking.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: a3e0261a147f3420cbc7aadb1d87e0af -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoRepath.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoRepath.cs deleted file mode 100644 index 8b407f54d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoRepath.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the flag of NavMesh Agent if it attempts to acquire a new path if the existing path becomes invalid. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentAutoRepath : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store flag of the agent if it attempts to acquire a new path if the existing path becomes invalid.")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetAutoRepath(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetAutoRepath(); - } - - void DoGetAutoRepath() - { - if (storeResult == null || _agent == null) - { - return; - } - - storeResult.Value = _agent.autoRepath; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoRepath.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoRepath.cs.meta deleted file mode 100644 index c3b6bac90..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoRepath.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: b2a2ceb5e16a244ca9641476108efa53 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoTraverseOffMeshLink.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoTraverseOffMeshLink.cs deleted file mode 100644 index 31495898b..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoTraverseOffMeshLink.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Get flag to automate movement onto and off of OffMeshLinks. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentAutoTraverseOffMeshLink : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Store the flag for automatic movement onto and off of OffMeshLinks")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetAutoTraverseOffMeshLink(); - - Finish(); - } - - void DoGetAutoTraverseOffMeshLink() - { - if (storeResult == null || _agent==null) - { - return; - } - - storeResult.Value = _agent.autoTraverseOffMeshLink; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoTraverseOffMeshLink.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoTraverseOffMeshLink.cs.meta deleted file mode 100644 index 7061eb67d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAutoTraverseOffMeshLink.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 3689c11dfcfd5406cb7eb16abf205b78 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAvoidancePriority.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAvoidancePriority.cs deleted file mode 100644 index 92d669c1f..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAvoidancePriority.cs +++ /dev/null @@ -1,65 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the avoidance priority level.\n" + - "When the agent is performing avoidance, agents of lower priority are ignored.\n" + - "The valid range is from 0 to 99 where: Most important = 0. Least important = 99. Default = 50\n" + - "NOTE: The Game Object must have a NavMeshAgent.")] - public class GetAgentAvoidancePriority : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("the avoidance priority level. Most important = 0. Least important = 99. Default = 50")] - [UIHint(UIHint.Variable)] - public FsmFloat avoidancePriority; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - avoidancePriority = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetAvoidancePriority(); - - } - - void DoGetAvoidancePriority() - { - - if (_agent == null) - { - return; - } - - if (avoidancePriority!=null){ - avoidancePriority.Value = _agent.avoidancePriority; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAvoidancePriority.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAvoidancePriority.cs.meta deleted file mode 100644 index 47a254dfc..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentAvoidancePriority.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ca334e7a1af5544929fa452163834a70 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentBaseOffset.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentBaseOffset.cs deleted file mode 100644 index 39e55af15..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentBaseOffset.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the relative vertical displacement of the owning GameObject. \n" + - "NOTE: The Game Object must have a NavMeshAgent.")] - public class GetAgentBaseOffset : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("the relative vertical displacement of the owning GameObject")] - [UIHint(UIHint.Variable)] - public FsmFloat baseOffset; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - baseOffset = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetBaseOffset(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetBaseOffset(); - } - - void DoGetBaseOffset() - { - - if (_agent == null) - { - return; - } - - if (baseOffset!=null){ - baseOffset.Value = _agent.baseOffset; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentBaseOffset.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentBaseOffset.cs.meta deleted file mode 100644 index 795fb67fd..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentBaseOffset.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 621a04a23b60f4e758e2923f501c5811 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkData.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkData.cs deleted file mode 100644 index 32dc8f55b..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkData.cs +++ /dev/null @@ -1,191 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the current offMeshLink data of a NavMesh Agent. \nNOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentCurrentOffMeshLinkData : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [ActionSection("Result")] - - [Tooltip("Link start world position")] - [UIHint(UIHint.Variable)] - public FsmVector3 startPos; - - [Tooltip("Link start GameObject representing the link start position")] - [UIHint(UIHint.Variable)] - public FsmGameObject startGameObject; - - [Tooltip("Link end world position")] - [UIHint(UIHint.Variable)] - public FsmVector3 endPos; - - [Tooltip("Link end GameObject representing the link end position")] - [UIHint(UIHint.Variable)] - public FsmGameObject endGameObject; - - [Tooltip("Is Link activated")] - [UIHint(UIHint.Variable)] - public FsmBool activated; - - [Tooltip("Is Link valid")] - [UIHint(UIHint.Variable)] - public FsmBool valid; - - [Tooltip("Is Link occupied")] - [UIHint(UIHint.Variable)] - public FsmBool occupied; - - [Tooltip("LinkTypeSpecifier: range: manual, dropDown, jumpAcross")] - [UIHint(UIHint.Variable)] - public FsmString OffMeshlinkType; - - [Tooltip("The pathfinding cost for the link")] - [UIHint(UIHint.Variable)] - public FsmFloat costOverride; - - [Tooltip("Can link be traversed in both directions")] - [UIHint(UIHint.Variable)] - public FsmBool biDirectional; - - [Tooltip("Is Link automatically updating endpoints")] - [UIHint(UIHint.Variable)] - public FsmBool autoUpdatePositions; - - [Tooltip("The area for this OffMeshLink component")] - [UIHint(UIHint.Variable)] - public FsmInt navmeshArea; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - startPos = new FsmVector3 { UseVariable = true}; - startGameObject = new FsmGameObject { UseVariable = true}; - endPos = new FsmVector3 { UseVariable = true}; - endGameObject = new FsmGameObject { UseVariable = true}; - activated = new FsmBool { UseVariable = true}; - valid = new FsmBool { UseVariable = true}; - occupied = new FsmBool { UseVariable = true}; - OffMeshlinkType = new FsmString { UseVariable = true}; - biDirectional = new FsmBool { UseVariable = true}; - autoUpdatePositions = new FsmBool { UseVariable = true}; - navmeshArea = new FsmInt { UseVariable = true}; - costOverride = new FsmFloat { UseVariable = true}; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetOffMeshLinkData(); - - Finish(); - } - - void DoGetOffMeshLinkData() - { - if (_agent == null) - { - return; - } - - if (!_agent.isOnOffMeshLink) - { - return; - } - - UnityEngine.AI.OffMeshLinkData link = new UnityEngine.AI.OffMeshLinkData(); - - link = _agent.currentOffMeshLinkData; - if(!startPos.IsNone) - { - startPos.Value = link.startPos; - } - - if(!endPos.IsNone) - { - endPos.Value = link.endPos; - } - - if(!activated.IsNone) - { - activated.Value = link.activated; - } - - if(!valid.IsNone) - { - valid.Value = link.valid; - } - - if(!OffMeshlinkType.IsNone) - { - switch(link.linkType) - { - case UnityEngine.AI.OffMeshLinkType.LinkTypeManual: - OffMeshlinkType.Value = "manual"; - break; - case UnityEngine.AI.OffMeshLinkType.LinkTypeDropDown: - OffMeshlinkType.Value = "dropDown"; - break; - case UnityEngine.AI.OffMeshLinkType.LinkTypeJumpAcross: - OffMeshlinkType.Value = "jumpAcross"; - break; - } - } - - if(!costOverride.IsNone) - { - costOverride.Value = link.offMeshLink.costOverride; - } - - if(!occupied.IsNone) - { - occupied.Value = link.offMeshLink.occupied; - } - - if(!autoUpdatePositions.IsNone) - { - autoUpdatePositions.Value = link.offMeshLink.autoUpdatePositions; - } - - if(!navmeshArea.IsNone) - { - navmeshArea.Value = link.offMeshLink.area; - } - - if(!startGameObject.IsNone) - { - startGameObject.Value = link.offMeshLink.startTransform.gameObject; - } - - if(!endGameObject.IsNone) - { - endGameObject.Value = link.offMeshLink.endTransform.gameObject; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkData.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkData.cs.meta deleted file mode 100644 index 103b79b9c..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkData.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 51b0b7cba82694c9786cb0de0375919a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkGameObject.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkGameObject.cs deleted file mode 100644 index 54d33fa5d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkGameObject.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the reference to the game object of current OffMeshLink of a NavMeshAgent. \n" + - "NOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentCurrentOffMeshLinkGameObject : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The GameObject with the current OffMeshLink component attached")] - [UIHint(UIHint.Variable)] - public FsmGameObject storeOffMeshLinkGameObject; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeOffMeshLinkGameObject = new FsmGameObject { UseVariable = true}; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetCurrentOffMeshLinkGameObject(); - - Finish(); - } - - void DoGetCurrentOffMeshLinkGameObject() - { - if (_agent == null) - { - return; - } - - if (!_agent.isOnOffMeshLink) - { - return; - } - - UnityEngine.AI.OffMeshLink comp = _agent.currentOffMeshLinkData.offMeshLink;// .GetCurrentOffMeshLinkGameObject(); - if (comp!=null){ - storeOffMeshLinkGameObject.Value = comp.gameObject; - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkGameObject.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkGameObject.cs.meta deleted file mode 100644 index eafbfaa11..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentCurrentOffMeshLinkGameObject.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 1172ae6929e9e4d87a3b3c98e38813a7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDesiredVelocity.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDesiredVelocity.cs deleted file mode 100644 index fcb8f2af5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDesiredVelocity.cs +++ /dev/null @@ -1,72 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the desired velocity of the agent including any potential contribution from avoidance. \n" + - "NOTE: The Game Object must have a NavMeshAgent.")] - public class GetAgentDesiredVelocity : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("the relative vertical displacement of the owning GameObject")] - [UIHint(UIHint.Variable)] - public FsmVector3 desiredVelocity; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - desiredVelocity = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetDesiredVelocity(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetDesiredVelocity(); - } - - void DoGetDesiredVelocity() - { - - if (_agent == null) - { - return; - } - - desiredVelocity.Value = _agent.desiredVelocity; - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDesiredVelocity.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDesiredVelocity.cs.meta deleted file mode 100644 index 8d901fbf0..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDesiredVelocity.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: e90de9f603e7a4f93bd6b12a0806c29c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDestination.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDestination.cs deleted file mode 100644 index 9f7288e98..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDestination.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the destination of a NavMesh Agent. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentDestination : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store the destination of the navMesh Agent.")] - [UIHint(UIHint.Variable)] - public FsmVector3 storeResult; - - [Tooltip("Runs every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetDestination(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetDestination(); - } - - void DoGetDestination() - { - if (storeResult == null || _agent == null) - { - return; - } - - storeResult.Value = _agent.destination; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDestination.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDestination.cs.meta deleted file mode 100644 index 4d2c7d520..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentDestination.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: a432230ce3f39456c97c3f39d336a2cf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHasPath.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHasPath.cs deleted file mode 100644 index 9711985b6..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHasPath.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the flag a NavMesh Agent if it currently has a path. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentHasPath : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store flag of the agent if it currently has a path.")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetHasPath(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetHasPath(); - } - - void DoGetHasPath() - { - if (storeResult == null || _agent == null) - { - return; - } - - storeResult.Value = _agent.hasPath; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHasPath.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHasPath.cs.meta deleted file mode 100644 index 510e1af3d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHasPath.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 8a720f82d27bc481ab20c0068f6e7d8b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHeight.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHeight.cs deleted file mode 100644 index 22a82be18..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHeight.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the height of a NavMesh Agent. \nNOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentHeight : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Store the agent height.")] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetHeight(); - - Finish(); - } - - void DoGetHeight() - { - if (storeResult == null || _agent==null) - { - return; - } - - storeResult.Value = _agent.height; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHeight.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHeight.cs.meta deleted file mode 100644 index c82674c12..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentHeight.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: e904c4bf5491c442e8f7ab0bffa7393e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsOnOffMeshLink.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsOnOffMeshLink.cs deleted file mode 100644 index a4e62c112..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsOnOffMeshLink.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets if agent currently positioned on an OffMeshLink. \n" + - "NOTE: The Game Object must have a NavMeshAgent.")] - public class GetAgentIsOnOffMeshLink : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store flag if agent currently positioned on an OffMeshLink.")] - public FsmBool isOnOffMeshLink; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - isOnOffMeshLink = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetIsOnOffMeshLink(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetIsOnOffMeshLink(); - } - - void DoGetIsOnOffMeshLink() - { - - if (isOnOffMeshLink == null || _agent == null) - { - return; - } - - isOnOffMeshLink.Value = _agent.isOnOffMeshLink; - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsOnOffMeshLink.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsOnOffMeshLink.cs.meta deleted file mode 100644 index aee18141d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsOnOffMeshLink.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 9ef35204266fe4d598a28f020243a42b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsPathStale.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsPathStale.cs deleted file mode 100644 index baf4242ad..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsPathStale.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the flag a NavMesh Agent if the current path stale. \nWhen true, the path may no longer be valid or optimal. \nThis flag will be set : \n--if there are any changes to the walkableMask, \n--if any off-mesh link is enabled or disabled, \n--or if the costs for the NavMeshLayers have been changed. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentIsPathStale : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store flag of the agent if the current path stale.")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - [Tooltip("Runs every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetIsPathStale(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetIsPathStale(); - } - - void DoGetIsPathStale() - { - if (storeResult == null || _agent == null) - { - return; - } - - storeResult.Value = _agent.isPathStale; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsPathStale.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsPathStale.cs.meta deleted file mode 100644 index 4d520c1d4..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentIsPathStale.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 70e3901c909134a02afa63609767854f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentLayerCost.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentLayerCost.cs deleted file mode 100644 index d304919d4..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentLayerCost.cs +++ /dev/null @@ -1,98 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the cost for path calculation when crossing area of a particular type.. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentAreaCost : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("The Area index.")] - public FsmInt area; - - [Tooltip("OR the Area name.")] - public FsmString orAreaName; - - [ActionSection("Result")] - - [Tooltip("Store the Area Cost")] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - area = null; - orAreaName = null; - storeResult = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetLayerCost(); - - Finish(); - } - - void DoGetLayerCost() - { - if (_agent == null) - { - return; - } - - int areaId = area.Value; - if (orAreaName.Value!=""){ - - areaId = UnityEngine.AI.NavMesh.GetAreaFromName(orAreaName.Value); - } - - storeResult.Value = _agent.GetAreaCost(areaId); - } - - public override string ErrorCheck() - { - if (orAreaName.Value!="") - { - int areaId = UnityEngine.AI.NavMesh.GetAreaFromName(orAreaName.Value); - if (areaId==-1){ - return "Layer Name '"+orAreaName.Value+"' doesn't exists"; - }else if(area.Value != 0){ - if (areaId == area.Value){ - return "Area reference redundancy. Use 'Area' OR 'Area Name', not both at the same time.."; - }else{ - return "Area conflict, area name '"+orAreaName.Value+"' will be used"; - } - - } - } - - return ""; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentLayerCost.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentLayerCost.cs.meta deleted file mode 100644 index 513b9d704..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentLayerCost.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 1864e9d8f1f5149c2a714b817d5840d5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAcceleration.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAcceleration.cs deleted file mode 100644 index 764f11ad1..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAcceleration.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the maximum acceleration of a NavMesh Agent. \n" + - "NOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentMaximumAcceleration: FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Store the agent maximum acceleration")] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetAcceleration(); - - Finish(); - } - - void DoGetAcceleration() - { - if (storeResult == null || _agent==null) - { - return; - } - - storeResult.Value = _agent.acceleration; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAcceleration.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAcceleration.cs.meta deleted file mode 100644 index 2788fd09c..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAcceleration.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 54490b27c84514a05b0a52a972dad21a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAngularSpeed.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAngularSpeed.cs deleted file mode 100644 index 82c5f8d8f..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAngularSpeed.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the Maximum rotation speed in (deg/s) of a NavMesh Agent. \n" + - "WARNING, this is the maximum speed, not the current velocity. \n" + - "NOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentMaximumAngularSpeed : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Store the agent Maximum rotation speed in (deg/s).")] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetAngularSpeed(); - - Finish(); - } - - void DoGetAngularSpeed() - { - if (storeResult == null || _agent==null) - { - return; - } - - storeResult.Value = _agent.angularSpeed; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAngularSpeed.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAngularSpeed.cs.meta deleted file mode 100644 index 17aafc792..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumAngularSpeed.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ecd7872910d1a4269b0274df82f50fc1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumSpeed.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumSpeed.cs deleted file mode 100644 index 7b5a99187..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumSpeed.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the maximum movement speed of a NavMesh Agent. \n" + - "WARNING, this is the maximum speed possible for the agent, not the actual current speed ( use getAgentVelocity for this). \n" + - "NOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentMaximumSpeed : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Store the agent maximum movement speed")] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetSpeed(); - - Finish(); - } - - void DoGetSpeed() - { - if (storeResult == null || _agent==null) - { - return; - } - - storeResult.Value = _agent.speed; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumSpeed.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumSpeed.cs.meta deleted file mode 100644 index 5de0a8aa1..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentMaximumSpeed.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: c57fbf12d285043848b21e5eeb8d1bcb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextOffMeshLinkData.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextOffMeshLinkData.cs deleted file mode 100644 index b80b3716f..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextOffMeshLinkData.cs +++ /dev/null @@ -1,191 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the next offMeshLink data of a NavMesh Agent on the current path. In the case that the current path does not contain an OffMeshLink the OffMeshLinkData is marked as invalid. \nNOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentNextOffMeshLinkData : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [ActionSection("Result")] - - [Tooltip("Link start world position")] - [UIHint(UIHint.Variable)] - public FsmVector3 startPos; - - [Tooltip("Link start GameObject representing the link start position")] - [UIHint(UIHint.Variable)] - public FsmGameObject startGameObject; - - [Tooltip("Link end world position")] - [UIHint(UIHint.Variable)] - public FsmVector3 endPos; - - [Tooltip("Link end GameObject representing the link end position")] - [UIHint(UIHint.Variable)] - public FsmGameObject endGameObject; - - [Tooltip("Is Link activated")] - [UIHint(UIHint.Variable)] - public FsmBool activated; - - [Tooltip("Is Link valid")] - [UIHint(UIHint.Variable)] - public FsmBool valid; - - [Tooltip("Is Link occupied")] - [UIHint(UIHint.Variable)] - public FsmBool occupied; - - [Tooltip("LinkTypeSpecifier: range: manual, dropDown, jumpAcross")] - [UIHint(UIHint.Variable)] - public FsmString OffMeshlinkType; - - [Tooltip("The pathfinding cost for the link")] - [UIHint(UIHint.Variable)] - public FsmFloat costOverride; - - [Tooltip("Can link be traversed in both directions")] - [UIHint(UIHint.Variable)] - public FsmBool biDirectional; - - [Tooltip("Is Link automatically updating endpoints")] - [UIHint(UIHint.Variable)] - public FsmBool autoUpdatePositions; - - [Tooltip("The Area for this OffMeshLink component")] - [UIHint(UIHint.Variable)] - public FsmInt navmeshArea; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - startPos = new FsmVector3 { UseVariable = true}; - startGameObject = new FsmGameObject { UseVariable = true}; - endPos = new FsmVector3 { UseVariable = true}; - endGameObject = new FsmGameObject { UseVariable = true}; - activated = new FsmBool { UseVariable = true}; - valid = new FsmBool { UseVariable = true}; - occupied = new FsmBool { UseVariable = true}; - OffMeshlinkType = new FsmString { UseVariable = true}; - biDirectional = new FsmBool { UseVariable = true}; - autoUpdatePositions = new FsmBool { UseVariable = true}; - navmeshArea = new FsmInt { UseVariable = true}; - costOverride = new FsmFloat { UseVariable = true}; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetOffMeshLinkData(); - - Finish(); - } - - void DoGetOffMeshLinkData() - { - if (_agent == null) - { - return; - } - - if (!_agent.isOnOffMeshLink) - { - return; - } - - UnityEngine.AI.OffMeshLinkData link = new UnityEngine.AI.OffMeshLinkData(); - - link = _agent.nextOffMeshLinkData; - if(!startPos.IsNone) - { - startPos.Value = link.startPos; - } - - if(!endPos.IsNone) - { - endPos.Value = link.endPos; - } - - if(!activated.IsNone) - { - activated.Value = link.activated; - } - - if(!valid.IsNone) - { - valid.Value = link.valid; - } - - if(!OffMeshlinkType.IsNone) - { - switch(link.linkType) - { - case UnityEngine.AI.OffMeshLinkType.LinkTypeManual: - OffMeshlinkType.Value = "manual"; - break; - case UnityEngine.AI.OffMeshLinkType.LinkTypeDropDown: - OffMeshlinkType.Value = "dropDown"; - break; - case UnityEngine.AI.OffMeshLinkType.LinkTypeJumpAcross: - OffMeshlinkType.Value = "jumpAcross"; - break; - } - } - - if(!costOverride.IsNone) - { - costOverride.Value = link.offMeshLink.costOverride; - } - - if(!occupied.IsNone) - { - occupied.Value = link.offMeshLink.occupied; - } - - if(!autoUpdatePositions.IsNone) - { - autoUpdatePositions.Value = link.offMeshLink.autoUpdatePositions; - } - - if(!navmeshArea.IsNone) - { - navmeshArea.Value = link.offMeshLink.area; - } - - if(!startGameObject.IsNone) - { - startGameObject.Value = link.offMeshLink.startTransform.gameObject; - } - - if(!endGameObject.IsNone) - { - endGameObject.Value = link.offMeshLink.endTransform.gameObject; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextOffMeshLinkData.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextOffMeshLinkData.cs.meta deleted file mode 100644 index e6e5052d1..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextOffMeshLinkData.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 52cb4f78820e84f328eda0879ddc958a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextPosition.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextPosition.cs deleted file mode 100644 index 75aa84b14..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextPosition.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the next position on the current path of a NavMesh Agent. \n" + - "NOTE: The Game Object must have a NavMeshAgent.")] - public class GetAgentNextPosition : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("The next position on the current path of the navMesh Agent.")] - [UIHint(UIHint.Variable)] - public FsmVector3 nextPosition; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - nextPosition = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetNextPosition(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetNextPosition(); - } - - void DoGetNextPosition() - { - - if (_agent == null) - { - return; - } - - if (nextPosition!=null){ - nextPosition.Value = _agent.nextPosition; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextPosition.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextPosition.cs.meta deleted file mode 100644 index 58528139e..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentNextPosition.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: a6cc63783d8ea492da3ec93b309aba5d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentObstacleAvoidanceType.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentObstacleAvoidanceType.cs deleted file mode 100644 index 6de2b957f..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentObstacleAvoidanceType.cs +++ /dev/null @@ -1,99 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the level of quality of avoidance of a NavMesh Agent. \n" + - "Store as a string or as an int: Range: no:(0), low:(1), medium:(2), good(3), high(4). \n" + - "NOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentObstacleAvoidanceType : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Store the agent level of quality of avoidance. Range: no,low,medium,good,high")] - [UIHint(UIHint.Variable)] - public FsmString storeQualityAsString; - - [Tooltip("Store the agent level of quality of avoidance. Range: no:(0), low:(1), medium:(2), good(3), high(4)")] - [UIHint(UIHint.Variable)] - public FsmInt storeQualityAsInt; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeQualityAsString = null; - storeQualityAsInt = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetbstacleAvoidanceType(); - - Finish(); - } - - void DoGetbstacleAvoidanceType() - { - if (_agent==null) - { - return; - } - - string levelAsString = ""; - int levelAsInt = 0; - - - switch(_agent.obstacleAvoidanceType) - { - case UnityEngine.AI.ObstacleAvoidanceType.NoObstacleAvoidance: - levelAsString = "no"; - levelAsInt = 0; - break; - case UnityEngine.AI.ObstacleAvoidanceType.LowQualityObstacleAvoidance: - levelAsString = "low"; - levelAsInt = 1; - break; - case UnityEngine.AI.ObstacleAvoidanceType.MedQualityObstacleAvoidance: - levelAsString = "medium"; - levelAsInt = 2; - break; - case UnityEngine.AI.ObstacleAvoidanceType.GoodQualityObstacleAvoidance: - levelAsString = "good"; - levelAsInt = 3; - break; - case UnityEngine.AI.ObstacleAvoidanceType.HighQualityObstacleAvoidance: - levelAsString = "high"; - levelAsInt = 4; - break; - } - - if (storeQualityAsString!=null){ - storeQualityAsString.Value = levelAsString; - } - if (storeQualityAsInt!=null){ - storeQualityAsInt.Value = levelAsInt; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentObstacleAvoidanceType.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentObstacleAvoidanceType.cs.meta deleted file mode 100644 index df2f92d2b..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentObstacleAvoidanceType.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 9510fda7019254b07bc7798decea0452 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathPending.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathPending.cs deleted file mode 100644 index 911d4285e..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathPending.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the flag a NavMesh Agent if a path is being computed, but not yet ready. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentPathPending : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store flag of the agent if a path is being computed, but not yet ready. ")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetPathPending(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetPathPending(); - } - - void DoGetPathPending() - { - if (storeResult == null || _agent == null) - { - return; - } - - storeResult.Value = _agent.pathPending; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathPending.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathPending.cs.meta deleted file mode 100644 index eeb772381..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathPending.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 191a48c57d24843d8ac68244838b247c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathStatus.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathStatus.cs deleted file mode 100644 index 6cbf79456..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathStatus.cs +++ /dev/null @@ -1,112 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the path status or an Agent and dispatch events. \n" + - "NOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentPathStatus : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("The path terminates at the destination.")] - public FsmEvent pathCompleteEvent; // pathStatus - - [Tooltip("The path cannot reach the destination.")] - public FsmEvent pathPartialEvent; // pathStatus - - [Tooltip("The path is invalid.")] - public FsmEvent pathInvalidEvent; // pathStatus - - [Tooltip("Path is being computed, but not yet ready. ")] - public FsmEvent pathPendingEvent; // pathPending flag - - [Tooltip("The agent does not currently have a path.")] - public FsmEvent pathUndefinedEvent; // hasPath flag - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - pathCompleteEvent = null; - pathPartialEvent = null; - pathInvalidEvent = null; - pathPendingEvent = null; - pathUndefinedEvent= null; - - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetPathStatus(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetPathStatus(); - } - - void DoGetPathStatus() - { - if (_agent ==null) - { - return; - } - - if (! _agent.hasPath && pathUndefinedEvent!=null){ - Fsm.Event(pathUndefinedEvent); - Finish(); - } - - if (! _agent.pathPending && pathPendingEvent!=null){ - Fsm.Event(pathPendingEvent); - Finish(); - } - - if(_agent.pathStatus == UnityEngine.AI.NavMeshPathStatus.PathComplete && pathCompleteEvent!=null){ - Fsm.Event(pathCompleteEvent); - Finish(); - } - - if(_agent.pathStatus == UnityEngine.AI.NavMeshPathStatus.PathPartial && pathPartialEvent!=null){ - Fsm.Event(pathPartialEvent); - Finish(); - } - - if(_agent.pathStatus == UnityEngine.AI.NavMeshPathStatus.PathInvalid && pathInvalidEvent!=null){ - Fsm.Event(pathInvalidEvent); - Finish(); - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathStatus.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathStatus.cs.meta deleted file mode 100644 index b435276a9..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentPathStatus.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 57c863e3ede9a477d897e3ac739376f3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRadius.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRadius.cs deleted file mode 100644 index 55d8cf54e..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRadius.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the radius of a NavMesh Agent. \n" + - "NOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentRadius : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Store the agent radius.")] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetRadius(); - - Finish(); - } - - void DoGetRadius() - { - if (storeResult == null || _agent==null) - { - return; - } - - storeResult.Value = _agent.radius; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRadius.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRadius.cs.meta deleted file mode 100644 index d73f2a273..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRadius.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 8e10d7b737fa348e392852f6e1ba12ff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRemainingDistance.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRemainingDistance.cs deleted file mode 100644 index 2b26c339b..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRemainingDistance.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the remaining distance on the current path of a NavMesh Agent. Can also send an event when arrived. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentRemainingDistance : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Store the remaining distance on the current path.")] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - [Tooltip("When remaining distance is 0, sends event.")] - public FsmEvent arrivedEvent; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - arrivedEvent = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetRemainingDistance(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetRemainingDistance(); - } - - - void DoGetRemainingDistance() - { - if (storeResult == null || _agent == null) - { - return; - } - - storeResult.Value = _agent.remainingDistance; - - if (_agent.remainingDistance==0 && arrivedEvent!=null){ - Fsm.Event(arrivedEvent); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRemainingDistance.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRemainingDistance.cs.meta deleted file mode 100644 index b5b5d50f6..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentRemainingDistance.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 7540705809e7c4a1d95c489d4378bccb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentSteeringTarget.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentSteeringTarget.cs deleted file mode 100644 index e2ad45efe..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentSteeringTarget.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the current steering target - usually the next corner or end point of the current path. (Read Only) \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentSteeringTarget : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Store the steering target.")] - [UIHint(UIHint.Variable)] - public FsmVector3 storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetSteeringTarget(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetSteeringTarget(); - } - - - void DoGetSteeringTarget() - { - if (storeResult == null || _agent == null) - { - return; - } - - storeResult.Value = _agent.steeringTarget; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentSteeringTarget.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentSteeringTarget.cs.meta deleted file mode 100644 index ddc2a59f5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentSteeringTarget.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 3b2dd39fb85c24785a4e6652f3b7fecf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentStoppingDistance.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentStoppingDistance.cs deleted file mode 100644 index 8b6a0255c..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentStoppingDistance.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the stopping distance from the destination position of a NavMesh Agente. \nNOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentStoppingDistance : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store the stopping distance from the target position")] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetStoppingDistance(); - - Finish(); - } - - void DoGetStoppingDistance() - { - if (storeResult == null || _agent ==null) - { - return; - } - - storeResult.Value = _agent.stoppingDistance; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentStoppingDistance.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentStoppingDistance.cs.meta deleted file mode 100644 index fdec3a200..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentStoppingDistance.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 83609c7a34bf0404981a22b708e3f614 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdatePosition.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdatePosition.cs deleted file mode 100644 index e195df594..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdatePosition.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the flag a NavMesh Agent if it should update the transform position. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentUpdatePosition : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store flag of the agent if it should update the position.")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - void DoGetUpdatePosition() - { - if (storeResult == null || _agent == null) - { - return; - } - - storeResult.Value = _agent.updatePosition; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdatePosition.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdatePosition.cs.meta deleted file mode 100644 index 64cc7d335..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdatePosition.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 2c2110d14c9954f08b6764c5fd7b936b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdateRotation.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdateRotation.cs deleted file mode 100644 index 32cab96de..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdateRotation.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the flag a NavMesh Agent if it should update the transform rotation. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class GetAgentUpdateRotation : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store flag of the agent if it should update the rotation.")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetUpdateRotation(); - } - - void DoGetUpdateRotation() - { - if (storeResult == null || _agent == null) - { - return; - } - - storeResult.Value = _agent.updateRotation; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdateRotation.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdateRotation.cs.meta deleted file mode 100644 index d914d4cfe..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentUpdateRotation.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 3ec037392593742ad8d674cf3bde7189 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentVelocity.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentVelocity.cs deleted file mode 100644 index 98623bafa..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentVelocity.cs +++ /dev/null @@ -1,94 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the velocity of a NavMesh Agent and stores it in a float Variable ( the magnitude) or in a vector3 directly. \n" + - "NOTE: The Game Object must have a NavMeshAgent.")] - public class GetAgentVelocity : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("The current velocity of the navMesh Agent.")] - [UIHint(UIHint.Variable)] - public FsmVector3 velocity; - - [Tooltip("The current velocity magnitude of the navMesh Agent.")] - [UIHint(UIHint.Variable)] - public FsmFloat velocityMagnitude; - - [Tooltip("The current squared velocity magnitude of the navMesh Agent. NOTE: Faster than getting the actual magnitude")] - [UIHint(UIHint.Variable)] - public FsmFloat velocitySqrMagnitude; - - // we could also design something that gives the velocity ranging from 0 to 1, 1 being the maximum speed of the agent, - // which could give us good starting points for switching animation or know easily when an agent is at full speed. - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - velocity = null; - velocityMagnitude = null; - velocitySqrMagnitude = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetVelocity(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetVelocity(); - } - - void DoGetVelocity() - { - - if (_agent == null) - { - return; - } - - if (velocity!=null){ - velocity.Value = _agent.velocity; - } - - if (velocityMagnitude !=null){ - velocityMagnitude.Value = _agent.velocity.magnitude; - } - - if (velocitySqrMagnitude !=null){ - velocitySqrMagnitude.Value = _agent.velocity.sqrMagnitude; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentVelocity.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentVelocity.cs.meta deleted file mode 100644 index 21b171fe5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentVelocity.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 0bab4d6222347459f94a4f8442ab465d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentWalkableMask.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentWalkableMask.cs deleted file mode 100644 index dc4ca07ef..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentWalkableMask.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Gets the area mask of a NavMesh Agent. \n" + - "NOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class GetAgentAreaMask : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Store the walkable mask")] - [UIHint(UIHint.Variable)] - public FsmInt storeResult; - - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoGetWalkableMask(); - - Finish(); - } - - void DoGetWalkableMask() - { - if (storeResult.IsNone || _agent == null) - { - return; - } - - storeResult.Value = _agent.areaMask; - - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentWalkableMask.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentWalkableMask.cs.meta deleted file mode 100644 index 66eaf1ad0..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/GetAgentWalkableMask.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 45b6d26783fd34a7da25f7b5f8e62a1a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAreaMask.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAreaMask.cs deleted file mode 100644 index 3e21e916e..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAreaMask.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Specifies which NavMesh areas are passable. \n" + - "Changing AreaMask will make the path stale (see isPathStale). \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentAreaMask : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("Pick the walkable NavMesh areas")] - public FsmInt NavMeshAreaMask; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - NavMeshAreaMask = UnityEngine.AI.NavMesh.AllAreas; // so that by default mask is "everything" - } - - public override void OnEnter() - { - _getAgent(); - - DoSetAreaMask(); - - Finish(); - } - - void DoSetAreaMask() - { - if ( _agent == null) - { - return; - } - - _agent.areaMask = NavMeshAreaMask.Value; - - } - } -} - diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAreaMask.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAreaMask.cs.meta deleted file mode 100644 index d5d6e955a..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAreaMask.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: be47b22853bfa4f539a55a49af9b1b6a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoBraking.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoBraking.cs deleted file mode 100644 index 7c5fa55b8..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoBraking.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the flag for the agent to brake automatically to avoid overshooting the destination point\n" + - "If the agent needs to land close to the destination point then it will typically need to brake to avoid overshooting or endless 'orbiting around the target zone." + - "If this property is set to true, the agent will brake automatically as it nears the destination." + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentAutoBraking : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Flag to brake automatically to avoid overshooting the destination point")] - public FsmBool autoBraking; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - autoBraking = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetAutoBraking(); - - Finish(); - } - - void DoSetAutoBraking() - { - if (autoBraking == null || _agent == null) - { - return; - } - - _agent.autoBraking = autoBraking.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoBraking.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoBraking.cs.meta deleted file mode 100644 index 85d4a72ce..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoBraking.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 4df08b4d7e9104dfc936653578e531c7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoRepath.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoRepath.cs deleted file mode 100644 index 5622c1b11..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoRepath.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the flag to attempt to acquire a new path \n" + - "if the existing path of a NavMesh Agent becomes invalid \n" + - "or if the agent reaches the end of a partial and stale path. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentAutoRepath : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Flag to attempt to acquire a new path if the existing path of a NavMesh Agent becomes invalid or if the agent reaches the end of a partial and stale path.")] - public FsmBool autoRepath; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - autoRepath = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetAutoRepath(); - - Finish(); - } - - void DoSetAutoRepath() - { - if (autoRepath == null || _agent == null) - { - return; - } - - _agent.autoRepath = autoRepath.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoRepath.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoRepath.cs.meta deleted file mode 100644 index b7c902b27..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoRepath.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 1c0a54a69c86348b8965e789f2142b8f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoTraverseOffMeshLink.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoTraverseOffMeshLink.cs deleted file mode 100644 index 403686601..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoTraverseOffMeshLink.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set flag to automate movement onto and off of OffMeshLinks. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentAutoTraverseOffMeshLink : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("flag for automatic movement onto and off of OffMeshLinks")] - public FsmBool autoTraverseOffMeshLink; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - autoTraverseOffMeshLink = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetAutoTraverseOffMeshLink(); - - Finish(); - } - - void DoSetAutoTraverseOffMeshLink() - { - if (autoTraverseOffMeshLink == null || _agent == null) - { - return; - } - - _agent.autoTraverseOffMeshLink = autoTraverseOffMeshLink.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoTraverseOffMeshLink.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoTraverseOffMeshLink.cs.meta deleted file mode 100644 index 469846671..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAutoTraverseOffMeshLink.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: cde4d2878a81f40dda11e93e62b2951d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAvoidancePriority.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAvoidancePriority.cs deleted file mode 100644 index 71492e9b5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAvoidancePriority.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the avoidance priority level a NavMesh Agent.\n" + - "When the agent is performing avoidance, agents of lower priority are ignored.\n" + - "The valid range is from 0 to 99 where: Most important = 0. Least important = 99. Default = 50. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentAvoidancePriority : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The avoidance priority of the navMesh Agent.")] - public FsmInt avoidancePriority; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - avoidancePriority = 50; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetAvoidancePriority(); - - Finish(); - } - - void DoSetAvoidancePriority() - { - if (avoidancePriority == null || _agent == null) - { - return; - } - - _agent.avoidancePriority = avoidancePriority.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAvoidancePriority.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAvoidancePriority.cs.meta deleted file mode 100644 index 3650cdd12..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentAvoidancePriority.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 3d7397dfc3e644ecab01814b4bb931e4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestination.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestination.cs deleted file mode 100644 index 48f93ec37..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestination.cs +++ /dev/null @@ -1,77 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the destination of a NavMesh Agent. \n" + - "An Event can be triggered when the new path calculation is finished (pathPending flag). \n" + - "NOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class SetAgentDestination : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Set the destination to navigate towards.")] - public FsmVector3 destination; - - [Tooltip("Trigger event when path is computed (pathPending flag)")] - public FsmEvent pathPendingDoneEvent; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - destination = null; - pathPendingDoneEvent = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoSetDestination(); - - if (pathPendingDoneEvent == null) - { - Finish(); - } - } - - public override void OnUpdate() - { - if (_agent.pathPending == false){ - Fsm.Event(pathPendingDoneEvent); - Finish(); - } - } - - void DoSetDestination() - { - if (destination == null || _agent == null) - { - return; - } - - _agent.SetDestination(destination.Value); - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestination.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestination.cs.meta deleted file mode 100644 index 4151027f4..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestination.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 9597efd6bb83d4a73abc1407ee9ce292 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestinationAsGameObject.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestinationAsGameObject.cs deleted file mode 100644 index 1bbe8c6c7..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestinationAsGameObject.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the destination of a NavMesh Agent to a gameObject. \nNOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class SetAgentDestinationAsGameObject : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Set the destination to navigate towards.")] - public FsmGameObject destination; - - [RequiredField] - [Tooltip("Define the gameObject minimum movement distance to retrigger path computation.")] - public FsmFloat triggerThreshold; - - private UnityEngine.AI.NavMeshAgent _agent; - - private Vector3 lastPosition; - - private float lastDistance; - - private float squareDistance; - - GameObject _lastGo; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - destination = null; - triggerThreshold = 1; - - } - - public override void OnEnter() - { - // force refresh - _lastGo = null; - - _getAgent(); - - DoSetDestination(); - - } - - public override void OnUpdate() - { - DoSetDestination(); - } - - void DoSetDestination() - { - if (destination.Value == null || _agent == null) - { - return; - } - - bool forceUpdate = false; - if (_lastGo != destination.Value) - { - forceUpdate = true; - _lastGo = destination.Value; - } - - if (lastDistance!= triggerThreshold.Value){ - lastDistance = triggerThreshold.Value; - squareDistance = lastDistance*lastDistance; - } - - Vector3 newPosition = destination.Value.transform.position; - Vector3 deltaPosition = newPosition-lastPosition; - if (deltaPosition.sqrMagnitude>squareDistance || forceUpdate) - { - _agent.SetDestination(newPosition); - lastPosition = destination.Value.transform.position; - } - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestinationAsGameObject.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestinationAsGameObject.cs.meta deleted file mode 100644 index b5e0b8ac5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentDestinationAsGameObject.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 3791cec970d2d4e10b96ff7a394ed4ad -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentHeight.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentHeight.cs deleted file mode 100644 index 2811d8c7d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentHeight.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the height a NavMesh Agent. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentHeight : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The height of the navMesh Agent.")] - public FsmFloat height; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - height = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetHeight(); - - Finish(); - } - - void DoSetHeight() - { - if (height == null || _agent == null) - { - return; - } - - _agent.height = height.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentHeight.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentHeight.cs.meta deleted file mode 100644 index c79f2b3c5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentHeight.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: b44055f29141d426ea6ed84362e4ffcc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentLayerCost.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentLayerCost.cs deleted file mode 100644 index 0b0db26df..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentLayerCost.cs +++ /dev/null @@ -1,94 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Sets the cost for traversing over geometry of the layer type. \n " + - "Cost should be between 1 and infinite. A cost of 3 means that walking 1 meter feels as walking 3 meter when cost is 1. So a higher value means 'more expensive'." + - "\nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentLayerCost : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("The Area index.")] - public FsmInt area; - - [Tooltip("OR the Area name.")] - public FsmString orAreaName; - - [Tooltip("The Layer Cost. A cost of 3 means that walking 1 meter feels as walking 3 meter when cost is 1")] - public FsmFloat cost; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - area = null; - orAreaName = new FsmString(){UseVariable=true}; - cost = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoSetLayerCost(); - - Finish(); - } - - void DoSetLayerCost() - { - if (_agent == null) - { - return; - } - - int areaId = area.Value; - if (orAreaName.Value!=""){ - areaId = UnityEngine.AI.NavMesh.GetAreaFromName(orAreaName.Value); - } - - _agent.SetAreaCost(areaId,cost.Value); - - } - - public override string ErrorCheck() - { - if (orAreaName.Value!="") - { - int areaId = UnityEngine.AI.NavMesh.GetAreaFromName(orAreaName.Value); - if (areaId==-1){ - return "Layer Name '"+orAreaName.Value+"' doesn't exists"; - }else if(area.Value != 0){ - if (areaId == area.Value){ - return "Area reference redundancy. Use 'Area' OR 'Area Name', not both at the same time.."; - }else{ - return "Area conflict, area name '"+orAreaName.Value+"' will be used"; - } - - } - } - - return ""; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentLayerCost.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentLayerCost.cs.meta deleted file mode 100644 index a73aa1e32..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentLayerCost.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 60f8165ad63534c8a87a74132ead69e4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAcceleration.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAcceleration.cs deleted file mode 100644 index d99e4bf32..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAcceleration.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the maximum acceleration of a NavMesh Agent. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentMaximumAcceleration : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The maximum acceleration of the navMesh Agent.")] - public FsmFloat maximumAcceleration; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - maximumAcceleration = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetMaximumAcceleration(); - - Finish(); - } - - void DoSetMaximumAcceleration() - { - if (maximumAcceleration == null || _agent == null) - { - return; - } - - _agent.acceleration = maximumAcceleration.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAcceleration.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAcceleration.cs.meta deleted file mode 100644 index 129ed8ac1..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAcceleration.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 6158ad331dbd74210afbe067c4c1a8ee -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAngularSpeed.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAngularSpeed.cs deleted file mode 100644 index 08a05fc0d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAngularSpeed.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the maximum rotation speed in (deg/s) of a NavMesh Agent. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentMaximumAngularSpeed : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The maximum rotation speed in (deg/s) of the navMesh Agent.")] - public FsmFloat maximumAngularSpeed; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - maximumAngularSpeed = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetMaximumAngularSpeed(); - - Finish(); - } - - void DoSetMaximumAngularSpeed() - { - if (maximumAngularSpeed == null || _agent == null) - { - return; - } - - _agent.angularSpeed = maximumAngularSpeed.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAngularSpeed.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAngularSpeed.cs.meta deleted file mode 100644 index 65bf38e2a..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumAngularSpeed.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 5540f93436dee46f687b4d9995bcecdd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumSpeed.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumSpeed.cs deleted file mode 100644 index 04c3f8e05..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumSpeed.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the maximum movement speed of a NavMesh Agent. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentMaximumSpeed : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The maximum movement speed of the navMesh Agent.")] - public FsmFloat maximumSpeed; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - maximumSpeed = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetMaximumSpeed(); - - Finish(); - } - - void DoSetMaximumSpeed() - { - if (maximumSpeed == null || _agent == null) - { - return; - } - - _agent.speed = maximumSpeed.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumSpeed.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumSpeed.cs.meta deleted file mode 100644 index a453cc3fb..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentMaximumSpeed.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 08c6e177eac5e46a1a3b1b9dcb320526 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentObstacleAvoidanceType.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentObstacleAvoidanceType.cs deleted file mode 100644 index 34fffd416..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentObstacleAvoidanceType.cs +++ /dev/null @@ -1,119 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. -// -// TODO: ERROR CHECK to warn the user if he has set too many of the available options - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the agent obstacle avoidance type of a NavMesh Agent. \nUse either a string or an int: range: no:(0), low:(1), medium:(2), good(3), high(4). \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentObstacleAvoidanceType : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [Tooltip("The agent level of quality of avoidance")] - public UnityEngine.AI.ObstacleAvoidanceType quality; - - [Tooltip("OR The agent level of quality of avoidance as a string. Range: no, low, medium, good, high]")] - [UIHint(UIHint.Variable)] - public FsmString orQualityFromString; - - [Tooltip("OR The agent level of quality of avoidance as an int. Range: no:(0), low:(1), medium:(2), good(3), high(4))]")] - [UIHint(UIHint.Variable)] - public FsmInt orQualityFromInt; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - quality = UnityEngine.AI.ObstacleAvoidanceType.NoObstacleAvoidance; - orQualityFromString = null; - orQualityFromInt = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetObstacleAvoidanceType(); - - Finish(); - } - - void DoSetObstacleAvoidanceType() - { - if (_agent == null) - { - return; - } - - UnityEngine.AI.ObstacleAvoidanceType oat = quality; - - - if (! orQualityFromInt.IsNone) - { - switch( orQualityFromInt.Value) - { - case 0: - oat = UnityEngine.AI.ObstacleAvoidanceType.NoObstacleAvoidance; - break; - case 1: - oat = UnityEngine.AI.ObstacleAvoidanceType.LowQualityObstacleAvoidance; - break; - case 2: - oat = UnityEngine.AI.ObstacleAvoidanceType.MedQualityObstacleAvoidance; - break; - case 3: - oat = UnityEngine.AI.ObstacleAvoidanceType.GoodQualityObstacleAvoidance; - break; - case 4: - oat = UnityEngine.AI.ObstacleAvoidanceType.HighQualityObstacleAvoidance; - break; - } - }else if (!orQualityFromString.IsNone){ - - switch( orQualityFromString.Value ) - { - case "no": - oat = UnityEngine.AI.ObstacleAvoidanceType.NoObstacleAvoidance; - break; - case "low": - oat = UnityEngine.AI.ObstacleAvoidanceType.LowQualityObstacleAvoidance; - break; - case "medium": - oat = UnityEngine.AI.ObstacleAvoidanceType.MedQualityObstacleAvoidance; - break; - case "good": - oat = UnityEngine.AI.ObstacleAvoidanceType.GoodQualityObstacleAvoidance; - break; - case "high": - oat = UnityEngine.AI.ObstacleAvoidanceType.HighQualityObstacleAvoidance; - break; - } - } - - _agent.obstacleAvoidanceType = oat; - - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentObstacleAvoidanceType.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentObstacleAvoidanceType.cs.meta deleted file mode 100644 index a48a47cd4..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentObstacleAvoidanceType.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 7fc0ed8d1133445e2ad304aa0271e823 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentPath.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentPath.cs deleted file mode 100644 index 40f302243..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentPath.cs +++ /dev/null @@ -1,98 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Assign path to NavMesh Agent. Uses FsmNavMeshPath component. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentPath : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The Game Object holding the path. NOTE: The Game Object must have a FsmNavMeshPath component attached.")] - [CheckForComponent(typeof(FsmNavMeshPath))] - public FsmOwnerDefault path; - - [Tooltip("True if succesfully assigned.")] - public FsmBool pathAssigned; - - [Tooltip("Trigger event if path assigned.")] - public FsmEvent pathAssignedEvent; - - [Tooltip("Trigger event if path not assigned.")] - public FsmEvent pathNotAssignedEvent; - - private UnityEngine.AI.NavMeshAgent _agent; - private FsmNavMeshPath _pathProxy; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - private void _getPathProxy() - { - GameObject go = path.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : path.GameObject.Value; - if (go == null) - { - return; - } - - _pathProxy = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - path = null; - - } - - public override void OnEnter() - { - _getAgent(); - _getPathProxy(); - - DoSetPath(); - - Finish(); - } - - void DoSetPath() - { - if (_pathProxy == null || _agent == null) - { - return; - } - - - bool _ok = _agent.SetPath(_pathProxy.path); - - pathAssigned.Value = _ok; - - if (_ok) - { - if ( ! FsmEvent.IsNullOrEmpty(pathAssignedEvent) ){ - Fsm.Event(pathAssignedEvent); - } - }else - { - if (! FsmEvent.IsNullOrEmpty(pathNotAssignedEvent) ){ - Fsm.Event(pathNotAssignedEvent); - } - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentPath.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentPath.cs.meta deleted file mode 100644 index 1ae1014ff..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentPath.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: c17b026e170c84b8daafda67c1a78ee9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentRadius.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentRadius.cs deleted file mode 100644 index 77385648b..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentRadius.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the radius a NavMesh Agent. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentRadius : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The radius of the navMesh Agent.")] - public FsmFloat radius; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - radius = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetRadius(); - - Finish(); - } - - void DoSetRadius() - { - if (radius == null || _agent == null) - { - return; - } - - _agent.radius = radius.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentRadius.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentRadius.cs.meta deleted file mode 100644 index 4cad84a7c..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentRadius.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 5a3c2d4db7f734423a627bfdcb45f816 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentStoppingDistance.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentStoppingDistance.cs deleted file mode 100644 index e08951c6d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentStoppingDistance.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Sets the Stopping distance from the destination position of a NavMesh Agent. " + - "\nNOTE: The Game Object must have a NavMeshAgentcomponent attached.")] - public class SetAgentStoppingDistance : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The Stopping distance from the destination position")] - public FsmFloat stoppingDistance; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - stoppingDistance = null; - } - - public override void OnEnter() - { - _getAgent(); - - DoSetStoppingDistance(); - - Finish(); - } - - - void DoSetStoppingDistance() - { - if (stoppingDistance == null || _agent == null) - { - return; - } - - _agent.stoppingDistance = stoppingDistance.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentStoppingDistance.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentStoppingDistance.cs.meta deleted file mode 100644 index 311b26b60..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentStoppingDistance.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: f8eed9467a7404b84b15e7962d7bb331 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdatePosition.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdatePosition.cs deleted file mode 100644 index ea2b43836..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdatePosition.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the flag for a NavMesh Agent to update the transform position. \nNOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentUpdatePosition : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Should the Agent update the transform position")] - public FsmBool updatePosition; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - updatePosition = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetUpdatePosition(); - - Finish(); - } - - void DoSetUpdatePosition() - { - if (updatePosition == null || _agent == null) - { - return; - } - - _agent.updatePosition = updatePosition.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdatePosition.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdatePosition.cs.meta deleted file mode 100644 index 14d7d7937..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdatePosition.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: cd86f0de0dc1945088b981ea9db70042 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdateRotation.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdateRotation.cs deleted file mode 100644 index e817f8854..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdateRotation.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Set the flag for a NavMesh Agent to update the transform rotation. \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class SetAgentUpdateRotation : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Should the Agent update the transform rotation")] - public FsmBool updateRotation; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - updateRotation = null; - - } - - public override void OnEnter() - { - _getAgent(); - - DoSetUpdateRotation(); - - Finish(); - } - - void DoSetUpdateRotation() - { - if (updateRotation == null || _agent == null) - { - return; - } - - _agent.updateRotation = updateRotation.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdateRotation.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdateRotation.cs.meta deleted file mode 100644 index 0bc2e6e08..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/SetAgentUpdateRotation.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 26519bc191a724438926ccafa6123985 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/WatchAgentIsOnOffMeshLink.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/WatchAgentIsOnOffMeshLink.cs deleted file mode 100644 index 64654d5e8..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/WatchAgentIsOnOffMeshLink.cs +++ /dev/null @@ -1,105 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMeshAgent)] - [Tooltip("Watch the agent entering and leaving OffMeshLinks. Use this to send an event on change, or store a bool that can be used in other operations. \n" + - "NOTE: The Game Object must have a NavMeshAgent.")] - public class WatchAgentIsOnOffMeshLink : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have a NavMeshAgent component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.NavMeshAgent))] - public FsmOwnerDefault gameObject; - - [ActionSection("Result")] - - - [Tooltip("Store flag if agent currently positioned on an OffMeshLink.")] - [UIHint(UIHint.Variable)] - public FsmBool isOnOffMeshLink; - - [Tooltip("Trigger this event when isOnOffMeshLink switches to true. Essentially triggers when agent enters an offmeshlink")] - public FsmEvent isOnOffMeshLinkEvent; - - [Tooltip("Trigger this event when isOnOffMeshLink switches to false. Essentially triggers when agent leaves an offmeshlink")] - public FsmEvent isNotOnOffMeshLinkEvent; - - bool previousValue; - - private UnityEngine.AI.NavMeshAgent _agent; - - private void _getAgent() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _agent = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - isOnOffMeshLink = null; - isOnOffMeshLinkEvent = null; - isNotOnOffMeshLinkEvent = null; - } - - public override void OnEnter() - { - _getAgent(); - - if ( _agent == null) - { - return; - } - - previousValue = _agent.isOnOffMeshLink; - } - - public override void OnUpdate() - { - DoWatchIsOnOffMeshLink(); - } - - void DoWatchIsOnOffMeshLink() - { - - if ( _agent == null) - { - return; - } - - if (!isOnOffMeshLink.IsNone) - { - isOnOffMeshLink.Value = _agent.isOnOffMeshLink; - } - - if (previousValue != _agent.isOnOffMeshLink) - { - previousValue = _agent.isOnOffMeshLink; - - if(_agent.isOnOffMeshLink && isOnOffMeshLinkEvent != null) - { - Fsm.Event(isOnOffMeshLinkEvent); - return; - } - - if(!_agent.isOnOffMeshLink && isNotOnOffMeshLinkEvent != null) - { - Fsm.Event(isNotOnOffMeshLinkEvent); - return; - } - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/WatchAgentIsOnOffMeshLink.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/WatchAgentIsOnOffMeshLink.cs.meta deleted file mode 100644 index 42e7cd268..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Agent/WatchAgentIsOnOffMeshLink.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 607e5246a187f4febb6dc6f334e42073 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Changelog.md b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Changelog.md deleted file mode 100644 index b4b3d6d79..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Changelog.md +++ /dev/null @@ -1,11 +0,0 @@ -#PathFinding Change log - -###1.0.1 - -**Fix:** Fixed *SetAgentDestinationAsGameObject.cs* to refresh onEnter and force update of destination when coming back to the state. - -###1.0.0 -**Note:** Initial Public Release - -**New:** Github Repository as a [SubModule](https://github.com/jeanfabre/PlayMaker--Unity--PathFinding_U5-SubModule-), and as a regular dedicated [Unity Project Repository](https://github.com/jeanfabre/PlayMaker--Unity--PathFinding_U5) for packaging ( on [the U5 Ecosystem Repository](https://github.com/PlayMakerEcosystem/PlayMakerCustomActions_U5)) and samples -**New:** Refactored all area related actions from *Layer* to *Area* ( *layer* within PathFinding is now obsolete, *Area* is the very same, but just a different name). See [Unity Doc on Areas](http://docs.unity3d.com/Manual/nav-AreasAndCosts.html) diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Changelog.md.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Changelog.md.meta deleted file mode 100644 index c4dbb9172..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/Changelog.md.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 25beae65ad38b4a00adf4879cb00dc8e -timeCreated: 1429859898 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh.meta deleted file mode 100644 index d25d35902..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 001735772a05658468c76c46d78ae34f -folderAsset: yes -timeCreated: 1432628594 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor.meta deleted file mode 100644 index 4c6ed162f..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 943b8b1e9ade4ae44aa7c211f7deac5b -folderAsset: yes -timeCreated: 1432628595 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshFindClosestEdgeCustomEditor.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshFindClosestEdgeCustomEditor.cs deleted file mode 100644 index 4a4fa3b42..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshFindClosestEdgeCustomEditor.cs +++ /dev/null @@ -1,90 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -using HutongGames.PlayMaker; -using UnityEditor; -using UnityEngine; -using System; -using System.Collections.Generic; - -namespace HutongGames.PlayMakerEditor -{ - - [CustomActionEditor(typeof(NavMeshFindClosestEdge))] - public class NavMeshFindClosestEdgeCustomEditor : CustomActionEditor - { - - private PlayMakerNavMeshAreaMaskField _maskField; - - - public override bool OnGUI() - { - - NavMeshRaycast _target = (NavMeshRaycast)target; - - bool edited = false; - - EditField("sourcePosition"); - - edited = EditMaskField(_target); - - EditField("nearestEdgeFound"); - EditField("nearestEdgeFoundEvent"); - EditField("nearestEdgeNotFoundEvent"); - - EditField("position"); - EditField("normal"); - EditField("distance"); - EditField("mask"); - EditField("hit"); - - - return GUI.changed || edited; - } - - bool EditMaskField(NavMeshRaycast _target) - { - bool edited = false; - - if (_target.passableMask ==null) - { - _target.passableMask = new FsmInt(); - _target.passableMask.Value = -1; - } - - if (_target.passableMask.UseVariable) - { - EditField("passableMask"); - - }else{ - - GUILayout.BeginHorizontal(); - - LayerMask _mask = _target.passableMask.Value; - - if (_maskField==null) - { - _maskField = new PlayMakerNavMeshAreaMaskField(); - } - LayerMask _newMask = _maskField.AreaMaskField("Passable Mask",_mask,true); - - - if (_newMask!=_mask) - { - edited = true; - _target.passableMask.Value = _newMask.value; - } - - if (PlayMakerEditor.FsmEditorGUILayout.MiniButtonPadded(PlayMakerEditor.FsmEditorContent.VariableButton)) - { - _target.passableMask.UseVariable = true; - } - GUILayout.EndHorizontal(); - } - - return edited; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshFindClosestEdgeCustomEditor.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshFindClosestEdgeCustomEditor.cs.meta deleted file mode 100644 index 281e8c356..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshFindClosestEdgeCustomEditor.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 0f346828a8ffa456eabb1b540da66e4b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshRaycastCustomEditor.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshRaycastCustomEditor.cs deleted file mode 100644 index 2b3a77dc7..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshRaycastCustomEditor.cs +++ /dev/null @@ -1,91 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -using HutongGames.PlayMaker; -using UnityEditor; -using UnityEngine; -using System; -using System.Collections.Generic; - -namespace HutongGames.PlayMakerEditor -{ - - [CustomActionEditor(typeof(NavMeshRaycast))] - public class NavMeshRaycastCustomEditor : CustomActionEditor - { - - private PlayMakerNavMeshAreaMaskField _maskField; - - - public override bool OnGUI() - { - - NavMeshRaycast _target = (NavMeshRaycast)target; - - bool edited = false; - - EditField("sourcePosition"); - EditField("targetPosition"); - - edited = EditMaskField(_target); - - EditField("reachedBeforeTargetPosition"); - EditField("reachedBeforeTargetPositionEvent"); - EditField("reachedAfterTargetPositionEvent"); - - EditField("position"); - EditField("normal"); - EditField("distance"); - EditField("mask"); - EditField("hit"); - - - return GUI.changed || edited; - } - - bool EditMaskField(NavMeshRaycast _target) - { - bool edited = false; - - if (_target.passableMask ==null) - { - _target.passableMask = new FsmInt(); - _target.passableMask.Value = -1; - } - - if (_target.passableMask.UseVariable) - { - EditField("passableMask"); - - }else{ - - GUILayout.BeginHorizontal(); - - LayerMask _mask = _target.passableMask.Value; - - if (_maskField==null) - { - _maskField = new PlayMakerNavMeshAreaMaskField(); - } - LayerMask _newMask = _maskField.AreaMaskField("Passable Mask",_mask,true); - - - if (_newMask!=_mask) - { - edited = true; - _target.passableMask.Value = _newMask.value; - } - - if (PlayMakerEditor.FsmEditorGUILayout.MiniButtonPadded(PlayMakerEditor.FsmEditorContent.VariableButton)) - { - _target.passableMask.UseVariable = true; - } - GUILayout.EndHorizontal(); - } - - return edited; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshRaycastCustomEditor.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshRaycastCustomEditor.cs.meta deleted file mode 100644 index 4fe95450d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshRaycastCustomEditor.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ef80eb7dcc3f041f3a83f25fba59813d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshSamplePositionCustomEditor.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshSamplePositionCustomEditor.cs deleted file mode 100644 index b343c73c4..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshSamplePositionCustomEditor.cs +++ /dev/null @@ -1,92 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -using HutongGames.PlayMaker; -using UnityEditor; -using UnityEngine; -using System; -using System.Collections.Generic; - -namespace HutongGames.PlayMakerEditor -{ - - [CustomActionEditor(typeof(NavMeshSamplePosition))] - public class NavMeshSamplePositionCustomEditor : CustomActionEditor - { - - private PlayMakerNavMeshAreaMaskField _maskField; - - - public override bool OnGUI() - { - - NavMeshSamplePosition _target = (NavMeshSamplePosition)target; - - bool edited = false; - - EditField("sourcePosition"); - - edited = EditMaskField(_target); - - EditField("maxDistance"); - - EditField("nearestPointFound"); - EditField("nearestPointFoundEvent"); - EditField("nearestPointNotFoundEvent"); - - EditField("position"); - EditField("normal"); - EditField("distance"); - EditField("mask"); - EditField("hit"); - - - return GUI.changed || edited; - } - - bool EditMaskField(NavMeshSamplePosition _target) - { - bool edited = false; - - if (_target.allowedMask ==null) - { - _target.allowedMask = new FsmInt(); - _target.allowedMask.Value = -1; - } - - if (_target.allowedMask.UseVariable) - { - EditField("allowedMask"); - - }else{ - - GUILayout.BeginHorizontal(); - - LayerMask _mask = _target.allowedMask.Value; - - if (_maskField==null) - { - _maskField = new PlayMakerNavMeshAreaMaskField(); - } - LayerMask _newMask = _maskField.AreaMaskField("Allowed Mask",_mask,true); - - if (_newMask!=_mask) - { - edited = true; - _target.allowedMask.Value = _newMask.value; - } - - if (PlayMakerEditor.FsmEditorGUILayout.MiniButtonPadded(PlayMakerEditor.FsmEditorContent.VariableButton)) - { - _target.allowedMask.UseVariable = true; - } - GUILayout.EndHorizontal(); - } - - return edited; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshSamplePositionCustomEditor.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshSamplePositionCustomEditor.cs.meta deleted file mode 100644 index d83193bd6..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/Editor/NavMeshSamplePositionCustomEditor.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 74acb8748f31e47f186d386765c94acd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/FsmNavMeshPath.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/FsmNavMeshPath.cs deleted file mode 100644 index 8c33d59fa..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/FsmNavMeshPath.cs +++ /dev/null @@ -1,58 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. -// -// TODO: implement FsmNavMeshPath properly in NavMeshCalculatePath and NaMeshCalculatePathBetweenGameObject. -// this is currently very much under progress, not sure if this is the right way to go about this. maybe too advanced and should be left to user to implement this? - -using UnityEngine; -using System.Collections; - -public class FsmNavMeshPath : MonoBehaviour { - - //Corner points of path - public Vector3[] corners; - /* - { - get { - if (path== null) - { - return null; - } - return path.corners; - } - } - */ - - public UnityEngine.AI.NavMeshPathStatus status - { - get - { - if (path== null) - { - return UnityEngine.AI.NavMeshPathStatus.PathInvalid; - } - return path.status; - } - } - - public UnityEngine.AI.NavMeshPath path; - - // Use this for initialization - void Start () { - - } - - void ClearCorners() - { - path.ClearCorners(); - } - - public string GetStatusString() - { - if (path ==null){ - return "n/a"; - }else{ - return path.status.ToString(); - } - } - -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/FsmNavMeshPath.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/FsmNavMeshPath.cs.meta deleted file mode 100644 index e7eceb636..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/FsmNavMeshPath.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 0d7dfa8a4eb4e4091bd6831dacecc9fd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePath.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePath.cs deleted file mode 100644 index 2c876fc7a..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePath.cs +++ /dev/null @@ -1,115 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Calculate a path between two points and store the resulting path.")] - public class NavMeshCalculatePath : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The mask specifying which NavMesh layers can be passed when calculating the path.")] - [UIHint(UIHint.FsmInt)] - public FsmInt passableMask; - - [RequiredField] - [Tooltip("The initial position of the path requested.")] - [UIHint(UIHint.FsmVector3)] - public FsmVector3 sourcePosition; - - [RequiredField] - [Tooltip("The final position of the path requested.")] - [UIHint(UIHint.FsmVector3)] - public FsmVector3 targetPosition; - - [ActionSection("Result")] - - [RequiredField] - [Tooltip("The Fsm NavMeshPath proxy component to hold the resulting path")] - [UIHint(UIHint.Variable)] - [CheckForComponent(typeof(FsmNavMeshPath))] - public FsmOwnerDefault calculatedPath; - - - [Tooltip("True If a resulting path is found.")] - [UIHint(UIHint.Variable)] - public FsmBool resultingPathFound; - - [Tooltip("Trigger event if resulting path found.")] - public FsmEvent resultingPathFoundEvent; - - [Tooltip("Trigger event if no path could be found.")] - public FsmEvent resultingPathNotFoundEvent; - - - private FsmNavMeshPath _NavMeshPathProxy; - - private void _getNavMeshPathProxy() - { - GameObject go = calculatedPath.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : calculatedPath.GameObject.Value; - if (go == null) - { - return; - } - - _NavMeshPathProxy = go.GetComponent(); - } - - - public override void Reset() - { - calculatedPath = null; - - passableMask = -1; // so that by default mask is "everything" - sourcePosition = null; - targetPosition = null; - resultingPathFound = null; - resultingPathFoundEvent = null; - resultingPathNotFoundEvent = null; - } - - public override void OnEnter() - { - DoCalculatePath(); - - Finish(); - } - - void DoCalculatePath() - { - - _getNavMeshPathProxy(); - if (_NavMeshPathProxy ==null) - { - return; - } - - - UnityEngine.AI.NavMeshPath _path = new UnityEngine.AI.NavMeshPath(); - - bool _found = UnityEngine.AI.NavMesh.CalculatePath(sourcePosition.Value,targetPosition.Value,passableMask.Value,_path); - - _NavMeshPathProxy.path = _path; - - resultingPathFound.Value = _found; - - if (_found) - { - if ( ! FsmEvent.IsNullOrEmpty(resultingPathFoundEvent) ){ - Fsm.Event(resultingPathFoundEvent); - } - }else - { - if (! FsmEvent.IsNullOrEmpty(resultingPathNotFoundEvent) ){ - Fsm.Event(resultingPathNotFoundEvent); - } - } - - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePath.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePath.cs.meta deleted file mode 100644 index 0d7cd15a1..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePath.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 9d8f5eb05dbed4f5788b2ba34bd77297 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePathBetweenGameObjects.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePathBetweenGameObjects.cs deleted file mode 100644 index ddcd84192..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePathBetweenGameObjects.cs +++ /dev/null @@ -1,124 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. -// TODO: implement FsmNavMeshPath properly. -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Calculate a path between two GameObjects and store the resulting path.")] - public class NavMeshCalculatePathBetweenGameObjects : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The mask specifying which NavMesh layers can be passed when calculating the path.")] - public FsmInt passableMask; - - [RequiredField] - [Tooltip("The initial position of the path requested.")] - public FsmOwnerDefault sourceGameObject; - - [RequiredField] - [Tooltip("The final position of the path requested.")] - public FsmGameObject targetGameObject; - - [ActionSection("Result")] - - - [RequiredField] - [Tooltip("The Fsm NavMeshPath proxy component to hold the resulting path")] - [UIHint(UIHint.Variable)] - [CheckForComponent(typeof(FsmNavMeshPath))] - public FsmOwnerDefault calculatedPath; - - - [Tooltip("True If a resulting path is found.")] - [UIHint(UIHint.Variable)] - public FsmBool resultingPathFound; - - [Tooltip("Trigger event if resulting path found.")] - public FsmEvent resultingPathFoundEvent; - - [Tooltip("Trigger event if no path could be found.")] - public FsmEvent resultingPathNotFoundEvent; - - - - private FsmNavMeshPath _NavMeshPathProxy; - - private void _getNavMeshPathProxy() - { - GameObject go = calculatedPath.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : calculatedPath.GameObject.Value; - if (go == null) - { - return; - } - - _NavMeshPathProxy = go.GetComponent(); - } - - public override void Reset() - { - calculatedPath = null; - - passableMask = -1; // so that by default mask is "everything" - sourceGameObject = null; - targetGameObject = null; - resultingPathFound = null; - resultingPathFoundEvent = null; - resultingPathNotFoundEvent = null; - } - - public override void OnEnter() - { - DoCalculatePath(); - - Finish(); - } - - void DoCalculatePath() - { - - GameObject _sourceGameObject = Fsm.GetOwnerDefaultTarget(sourceGameObject); - if (_sourceGameObject == null) - { - return; - } - GameObject _targetGameObject = targetGameObject.Value; - if (_targetGameObject == null) - { - return; - } - - - _getNavMeshPathProxy(); - if (_NavMeshPathProxy ==null) - { - return; - } - - UnityEngine.AI.NavMeshPath _path = new UnityEngine.AI.NavMeshPath(); - - bool _found = UnityEngine.AI.NavMesh.CalculatePath(_sourceGameObject.transform.position,_targetGameObject.transform.position,passableMask.Value,_path); - - _NavMeshPathProxy.path = _path; - - resultingPathFound.Value = _found; - - if (_found) - { - if ( ! FsmEvent.IsNullOrEmpty(resultingPathFoundEvent) ){ - Fsm.Event(resultingPathFoundEvent); - } - }else - { - if (! FsmEvent.IsNullOrEmpty(resultingPathNotFoundEvent) ){ - Fsm.Event(resultingPathNotFoundEvent); - } - } - - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePathBetweenGameObjects.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePathBetweenGameObjects.cs.meta deleted file mode 100644 index 5b1388043..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshCalculatePathBetweenGameObjects.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 09e885d97c22e4c80a390f818065d16d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshFindClosestEdge.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshFindClosestEdge.cs deleted file mode 100644 index 49d8303e3..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshFindClosestEdge.cs +++ /dev/null @@ -1,110 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - - - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Locate the closest NavMesh edge from a point close to the NavMesh. \nYou can dispatch events If terminated before reaching the target position or not. \nYou can then store information about the location (navMeshHit).")] - public class NavMeshFindClosestEdge : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The origin of the distance query.")] - public FsmVector3 sourcePosition; - - [RequiredField] - [Tooltip("The mask specifying which NavMesh layers can be passed when finding the nearest edge.")] - public FsmInt passableMask; - - [ActionSection("Result")] - - [Tooltip("True if a nearest edge is found.")] - [UIHint(UIHint.Variable)] - public FsmBool nearestEdgeFound; - - [Tooltip("Trigger event if a nearest edge is found.")] - public FsmEvent nearestEdgeFoundEvent; - - [Tooltip("Trigger event if a nearest edge is NOT found.")] - public FsmEvent nearestEdgeNotFoundEvent; - - [ActionSection("Hit information (of the found edge)")] - - [Tooltip("Position of hit")] - [UIHint(UIHint.Variable)] - public FsmVector3 position; - - [Tooltip("Normal at the point of hit")] - [UIHint(UIHint.Variable)] - public FsmVector3 normal; - - [Tooltip("Distance to the point of hit")] - [UIHint(UIHint.Variable)] - public FsmFloat distance; - - [Tooltip("Mask specifying NavMeshLayers at point of hit.")] - [UIHint(UIHint.Variable)] - public FsmInt mask; - - [Tooltip("Flag when hit")] - [UIHint(UIHint.Variable)] - public FsmBool hit; - - - public override void Reset() - { - sourcePosition = null; - - passableMask = -1; // so that by default mask is "everything" - - nearestEdgeFound = null; - nearestEdgeFoundEvent = null; - nearestEdgeNotFoundEvent = null; - - position = null; - normal = null; - distance = null; - mask = null; - hit = null; - - } - - public override void OnEnter() - { - DoGetDistancetoEdge(); - - Finish(); - } - - void DoGetDistancetoEdge() - { - UnityEngine.AI.NavMeshHit _NavMeshHit; - bool _nearestEdgeFound = UnityEngine.AI.NavMesh.FindClosestEdge(sourcePosition.Value,out _NavMeshHit,passableMask.Value); - nearestEdgeFound.Value = _nearestEdgeFound; - - position.Value = _NavMeshHit.position; - normal.Value = _NavMeshHit.normal; - distance.Value = _NavMeshHit.distance; - mask.Value = _NavMeshHit.mask; - hit.Value = _NavMeshHit.hit; - - if (_nearestEdgeFound) - { - if ( ! FsmEvent.IsNullOrEmpty(nearestEdgeFoundEvent) ){ - Fsm.Event(nearestEdgeFoundEvent); - } - }else - { - if (! FsmEvent.IsNullOrEmpty(nearestEdgeNotFoundEvent) ){ - Fsm.Event(nearestEdgeNotFoundEvent); - } - } - - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshFindClosestEdge.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshFindClosestEdge.cs.meta deleted file mode 100644 index 9cf22a1d5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshFindClosestEdge.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 89c9d8b9cf09f49c4b48477cc0e59e11 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetAreaCost.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetAreaCost.cs deleted file mode 100644 index b9de009c9..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetAreaCost.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - - - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Gets the cost for path finding over geometry of the area type.\n" + - "The value applies to all agents unless you the value has been customized per agent by calling NavMeshAgentSetAreaCost.")] - public class NavMeshGetAreaCost : FsmStateAction - { - [ActionSection("Set up")] - - [Tooltip("The Area index.")] - public FsmInt area; - - [Tooltip("OR the layer name.")] - public FsmString orAreaName; - - [ActionSection("Result")] - - [Tooltip("Store the Layer Cost")] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - private UnityEngine.AI.NavMeshAgent _agent; - - public override void Reset() - { - area = null; - orAreaName = new FsmString(){UseVariable=true}; - storeResult = null; - } - - public override void OnEnter() - { - DoGetAreaCost(); - - Finish(); - } - - void DoGetAreaCost() - { - int areaId = area.Value; - if (orAreaName.Value!=""){ - - areaId = UnityEngine.AI.NavMesh.GetAreaFromName(orAreaName.Value); - } - - storeResult.Value = UnityEngine.AI.NavMesh.GetAreaCost(areaId); - } - - public override string ErrorCheck() - { - if (orAreaName.Value!="") - { - int areaId = UnityEngine.AI.NavMesh.GetAreaFromName(orAreaName.Value); - if (areaId==-1){ - return "Layer Name '"+orAreaName.Value+"' doesn't exists"; - }else if(area.Value != 0){ - if (areaId == area.Value){ - return "Area reference redundancy. Use 'Area' OR 'Area Name', not both at the same time.."; - }else{ - return "Area conflict, area name '"+orAreaName.Value+"' will be used"; - } - - } - } - - return ""; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetAreaCost.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetAreaCost.cs.meta deleted file mode 100644 index c77e7afba..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetAreaCost.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 734f39780c9b84f3eb951b19b716e4c6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetLayerFromName.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetLayerFromName.cs deleted file mode 100644 index 2ead132c7..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetLayerFromName.cs +++ /dev/null @@ -1,41 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - - - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Gets the area index for a named area.")] - public class NavMeshGetLayerFromName : FsmStateAction - { - [Tooltip("The area Name")] - public FsmString areaName; - - [ActionSection("Result")] - - [Tooltip("Store the area Index for this area Name")] - [UIHint(UIHint.Variable)] - public FsmInt areaIndex; - - - public override void Reset() - { - areaName = null; - areaIndex = null; - } - - public override void OnEnter() - { - DoGetAreaFromName(); - - Finish(); - } - - void DoGetAreaFromName() - { - areaIndex.Value = UnityEngine.AI.NavMesh.GetAreaFromName(areaName.Value); - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetLayerFromName.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetLayerFromName.cs.meta deleted file mode 100644 index 575f3beb9..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshGetLayerFromName.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 25c321b72450b472c8be8f4a483e97f0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshRayCast.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshRayCast.cs deleted file mode 100644 index 800a0160d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshRayCast.cs +++ /dev/null @@ -1,119 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - - - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Trace a ray between two points on the NavMesh. \n" + - "You can dispatch events If terminated before reaching the target position or not. \nYou can then store information about the location (navMeshHit). \n" + - "NOTE: The Game Object must have a NavMeshAgent component attached.")] - public class NavMeshRaycast : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The origin of the ray.")] - public FsmVector3 sourcePosition; - - [RequiredField] - [Tooltip("The end of the ray.")] - public FsmVector3 targetPosition; - - [RequiredField] - [Tooltip("The mask specifying which NavMesh layers can be passed when tracing the ray.")] - public FsmInt passableMask; - - - [ActionSection("Result")] - - [Tooltip("true If terminated before reaching target position.")] - [UIHint(UIHint.Variable)] - public FsmBool reachedBeforeTargetPosition; - - [Tooltip("Trigger event if sample reached before the target position.")] - public FsmEvent reachedBeforeTargetPositionEvent; - - [Tooltip("Trigger event if sample reached after the target position.")] - public FsmEvent reachedAfterTargetPositionEvent; - - - [ActionSection("Hit information of the sample")] - - [Tooltip("Position of hit")] - [UIHint(UIHint.Variable)] - public FsmVector3 position; - - [Tooltip("Normal at the point of hit")] - [UIHint(UIHint.Variable)] - public FsmVector3 normal; - - [Tooltip("Distance to the point of hit")] - [UIHint(UIHint.Variable)] - public FsmFloat distance; - - [Tooltip("Mask specifying NavMeshLayers at point of hit.")] - [UIHint(UIHint.Variable)] - public FsmInt mask; - - [Tooltip("Flag when hit")] - [UIHint(UIHint.Variable)] - public FsmBool hit; - - - public override void Reset() - { - sourcePosition = null; - targetPosition = null; - - passableMask = -1; // so that by default mask is "everything" - - reachedBeforeTargetPosition = null; - reachedBeforeTargetPositionEvent = null; - reachedAfterTargetPositionEvent = null; - - position = null; - normal = null; - distance = null; - mask = null; - hit = null; - - } - - public override void OnEnter() - { - DoRaycast(); - - Finish(); - } - - void DoRaycast() - { - UnityEngine.AI.NavMeshHit _NavMeshHit; - bool _reachedBeforeTargetPosition = UnityEngine.AI.NavMesh.Raycast(sourcePosition.Value,targetPosition.Value,out _NavMeshHit,passableMask.Value); - reachedBeforeTargetPosition.Value = _reachedBeforeTargetPosition; - - position.Value = _NavMeshHit.position; - normal.Value = _NavMeshHit.normal; - distance.Value = _NavMeshHit.distance; - mask.Value = _NavMeshHit.mask; - hit.Value = _NavMeshHit.hit; - - if (_reachedBeforeTargetPosition) - { - if ( ! FsmEvent.IsNullOrEmpty(reachedBeforeTargetPositionEvent) ){ - Fsm.Event(reachedBeforeTargetPositionEvent); - } - }else - { - if (! FsmEvent.IsNullOrEmpty(reachedAfterTargetPositionEvent) ){ - Fsm.Event(reachedAfterTargetPositionEvent); - } - } - - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshRayCast.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshRayCast.cs.meta deleted file mode 100644 index 0b3e2bcb5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshRayCast.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 1a1cb5d9944314464be42cd91ea3b8b6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSamplePosition.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSamplePosition.cs deleted file mode 100644 index c10752c18..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSamplePosition.cs +++ /dev/null @@ -1,111 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - - - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Sample the NavMesh closest to the point specified. \nYou can dispatch events If terminated before reaching the target position or not. \nYou can then store information about the location (navMeshHit).")] - public class NavMeshSamplePosition : FsmStateAction - { - [ActionSection("Set up")] - - [RequiredField] - [Tooltip("The origin of the sample query.")] - public FsmVector3 sourcePosition; - - [RequiredField] - [Tooltip("The mask specifying which NavMesh layer is allowed when finding the nearest point.")] - public FsmInt allowedMask; - - [Tooltip("Sample within this distance from sourcePosition.")] - public FsmFloat maxDistance; - - - [ActionSection("Result")] - - [Tooltip("True if a nearest point is found.")] - public FsmBool nearestPointFound; - - [Tooltip("Trigger event if a nearest point is found.")] - public FsmEvent nearestPointFoundEvent; - - [Tooltip("Trigger event if a nearest point is not found.")] - public FsmEvent nearestPointNotFoundEvent; - - - [ActionSection("Hit information of the sample")] - - [Tooltip("Position of hit")] - public FsmVector3 position; - - [Tooltip("Normal at the point of hit")] - public FsmVector3 normal; - - [Tooltip("Distance to the point of hit")] - public FsmFloat distance; - - [Tooltip("Mask specifying NavMeshLayers at point of hit.")] - public FsmInt mask; - - [Tooltip("Flag when hit")] - public FsmBool hit; - - - public override void Reset() - { - sourcePosition = new FsmVector3 { UseVariable = true }; - - allowedMask = new FsmInt { Value = -1}; // so that by default mask is "everything" - - maxDistance = new FsmFloat(); - maxDistance.Value = 10; - - nearestPointFound = new FsmBool { UseVariable = true }; - nearestPointFoundEvent = null; - nearestPointNotFoundEvent = null; - - position = new FsmVector3 { UseVariable = true}; - normal = new FsmVector3 { UseVariable = true}; - distance = new FsmFloat { UseVariable = true}; - mask = new FsmInt { UseVariable = true}; - hit = new FsmBool { UseVariable = true}; - - } - - public override void OnEnter() - { - DoSamplePosition(); - - Finish(); - } - - void DoSamplePosition() - { - UnityEngine.AI.NavMeshHit _NavMeshHit; - bool _nearestPointFound = UnityEngine.AI.NavMesh.SamplePosition(sourcePosition.Value,out _NavMeshHit,maxDistance.Value,allowedMask.Value); - nearestPointFound.Value = _nearestPointFound; - - position.Value = _NavMeshHit.position; - normal.Value = _NavMeshHit.normal; - distance.Value = _NavMeshHit.distance; - mask.Value = _NavMeshHit.mask; - hit.Value = _NavMeshHit.hit; - - if (_nearestPointFound) - { - if ( ! FsmEvent.IsNullOrEmpty(nearestPointFoundEvent) ){ - Fsm.Event(nearestPointFoundEvent); - } - }else - { - if (! FsmEvent.IsNullOrEmpty(nearestPointNotFoundEvent) ){ - Fsm.Event(nearestPointNotFoundEvent); - } - } - - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSamplePosition.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSamplePosition.cs.meta deleted file mode 100644 index 189864beb..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSamplePosition.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 0c22cbdc6756140c5a55933db711dc7c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSetAreaCost.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSetAreaCost.cs deleted file mode 100644 index 89bbf7093..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSetAreaCost.cs +++ /dev/null @@ -1,71 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - - - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Sets the cost for finding path over geometry of the area type on all agents.\n" + - "This will replace any custom area costs on all agents, and set the default cost for new agents that are created after calling the function. The cost must be larger than 1.0.")] - public class NavMeshSetLayerCost : FsmStateAction - { - - [Tooltip("The area index.")] - public FsmInt area; - - [Tooltip("OR The area name.")] - public FsmString orAreaName; - - [Tooltip("The Layer Cost")] - public FsmFloat cost; - - - public override void Reset() - { - area = null; - orAreaName = new FsmString(){UseVariable=true}; - cost = null; - } - - public override void OnEnter() - { - DoSetAreaCost(); - - Finish(); - } - - void DoSetAreaCost() - { - - int areaId = area.Value; - if (orAreaName.Value!=""){ - areaId = UnityEngine.AI.NavMesh.GetAreaFromName(orAreaName.Value); - } - UnityEngine.AI.NavMesh.SetAreaCost(areaId,cost.Value); - - } - - public override string ErrorCheck() - { - - if (orAreaName.Value!="") - { - int areaId = UnityEngine.AI.NavMesh.GetAreaFromName(orAreaName.Value); - if (areaId==-1){ - return "Area Name '"+orAreaName.Value+"' doesn't exists"; - }else if(area.Value != 0){ - if (areaId == area.Value){ - return "Area reference redundancy. Use 'Area' OR 'Area Name', not both at the same time."; - }else{ - return "Area conflict, area name '"+orAreaName.Value+"' will be used"; - } - - } - } - - return ""; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSetAreaCost.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSetAreaCost.cs.meta deleted file mode 100644 index 18e1292ed..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/NavMesh/NavMeshSetAreaCost.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 8c2ea59c0cda84c98afdd291f5566376 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink.meta deleted file mode 100644 index 867176033..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 6eecdd8b93568a6468f4d3c62bb402e1 -folderAsset: yes -timeCreated: 1432628594 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkActivated.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkActivated.cs deleted file mode 100644 index 1e8d56eb3..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkActivated.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Gets the active state of an OffMeshLink. \nNOTE: The Game Object must have an OffMeshLink component attached.")] - public class GetOffMeshLinkActivated : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have an OffMeshLink component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.OffMeshLink))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store flag of the offLinkMesh active state")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - [Tooltip("Runs every frame.")] - public bool everyFrame; - - private UnityEngine.AI.OffMeshLink _offMeshLink; - - private void _getOffMeshLink() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _offMeshLink = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getOffMeshLink(); - - DoGetActivated(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetActivated(); - } - - void DoGetActivated() - { - if (storeResult == null || _offMeshLink == null) - { - return; - } - - storeResult.Value = _offMeshLink.activated; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkActivated.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkActivated.cs.meta deleted file mode 100644 index acdc53e89..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkActivated.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 72c2725e611a04f0195aa2f9bf03f7e5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkBiDirectional.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkBiDirectional.cs deleted file mode 100644 index a3974b0e1..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkBiDirectional.cs +++ /dev/null @@ -1,75 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Gets the flag of the bi directional state of an OffMeshLink. \nNOTE: The Game Object must have an OffMeshLink component attached.")] - public class GetOffMeshLinkBiDirectional : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have an OffMeshLink component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.OffMeshLink))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store flag of the offLinkMesh bi directional state")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.OffMeshLink _offMeshLink; - - private void _getOffMeshLink() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _offMeshLink = go.GetComponent(); - - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getOffMeshLink(); - - DoGetBiDirectional(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetBiDirectional(); - } - - void DoGetBiDirectional() - { - if (storeResult == null || _offMeshLink == null) - { - return; - } - - storeResult.Value = _offMeshLink.biDirectional; - } - - } -} diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkBiDirectional.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkBiDirectional.cs.meta deleted file mode 100644 index 353dcc2f0..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkBiDirectional.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 41cef1de3c2094bae81804fc8209f195 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkCostOverride.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkCostOverride.cs deleted file mode 100644 index 5fd979069..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkCostOverride.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Gets the cost override state of an OffMeshLink. \nNOTE: The Game Object must have an OffMeshLink component attached.")] - public class GetOffMeshCostOverride : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have an OffMeshLink component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.OffMeshLink))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store the offLinkMesh cost override")] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - [Tooltip("Runs every frame.")] - public bool everyFrame; - - private UnityEngine.AI.OffMeshLink _offMeshLink; - - private void _getOffMeshLink() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _offMeshLink = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getOffMeshLink(); - - DoGetCostOverride(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetCostOverride(); - } - - void DoGetCostOverride() - { - if (storeResult == null || _offMeshLink == null) - { - return; - } - - //storeResult.Value = _offMeshLink.costOverride; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkCostOverride.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkCostOverride.cs.meta deleted file mode 100644 index f4692007e..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkCostOverride.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: a6a96cafda75a4597a68f6ac801dc919 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkOccupied.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkOccupied.cs deleted file mode 100644 index 80b908fdf..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkOccupied.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Gets the occupied state of an OffMeshLink. \n" + - "NOTE: The Game Object must have an OffMeshLink component attached.")] - public class GetOffMeshLinkOccupied : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have an OffMeshLink component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.OffMeshLink))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store flag of the offLinkMesh occupied state")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.OffMeshLink _offMeshLink; - - private void _getOffMeshLink() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _offMeshLink = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getOffMeshLink(); - - DoGetOccupied(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetOccupied(); - } - - void DoGetOccupied() - { - if (storeResult == null || _offMeshLink == null) - { - return; - } - - storeResult.Value = _offMeshLink.occupied; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkOccupied.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkOccupied.cs.meta deleted file mode 100644 index 9be0553c0..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffMeshLinkOccupied.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 858fcee41405240798c213cd75b1396b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkAutoUpdatePositions.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkAutoUpdatePositions.cs deleted file mode 100644 index e20287f76..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkAutoUpdatePositions.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("True if the OffMeshLink component will try to match endpoint transforms specified by startTransform and endTransform . See also UpdatePositions. \n" + - "NOTE: The Game Object must have an OffMeshLink component attached.")] - public class GetOffMeshLinkAutoUpdatePositions : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have an OffMeshLink component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.OffMeshLink))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("True if the OffMeshLink component will try to match endpoint transforms specified by startTransform and endTransform")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - [Tooltip("Runs every frame.")] - public bool everyFrame; - - private UnityEngine.AI.OffMeshLink _offMeshLink; - - private void _getOffMeshLink() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _offMeshLink = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getOffMeshLink(); - - DoGetAutoUpdatePositions(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetAutoUpdatePositions(); - } - - void DoGetAutoUpdatePositions() - { - if (storeResult == null || _offMeshLink == null) - { - return; - } - - storeResult.Value = _offMeshLink.autoUpdatePositions; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkAutoUpdatePositions.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkAutoUpdatePositions.cs.meta deleted file mode 100644 index 509263a75..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkAutoUpdatePositions.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 2958a4f98b191491ba58ea5eaf15828d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkNavMeshLayer.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkNavMeshLayer.cs deleted file mode 100644 index 7add9662b..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkNavMeshLayer.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.NavMesh)] - [Tooltip("Gets the area for this OffMeshLink component. \n" + - "NOTE: The Game Object must have an OffMeshLink component attached.")] - public class GetOffMeshLinkNavMeshArea : FsmStateAction - { - - [RequiredField] - [Tooltip("The Game Object to work with. NOTE: The Game Object must have an OffMeshLink component attached.")] - [CheckForComponent(typeof(UnityEngine.AI.OffMeshLink))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Store the area for this OffMeshLink component")] - [UIHint(UIHint.Variable)] - public FsmInt storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private UnityEngine.AI.OffMeshLink _offMeshLink; - - private void _getOffMeshLink() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - _offMeshLink = go.GetComponent(); - } - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - _getOffMeshLink(); - - DoGetArea(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetArea(); - } - - void DoGetArea() - { - if (storeResult == null || _offMeshLink == null) - { - return; - } - - storeResult.Value = _offMeshLink.area; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkNavMeshLayer.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkNavMeshLayer.cs.meta deleted file mode 100644 index 677e338f0..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/OffMeshLink/GetOffsetMeshLinkNavMeshLayer.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 5478b237123034efaadf04d382799632 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/README.md b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/README.md deleted file mode 100644 index 6ed15a80e..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/README.md +++ /dev/null @@ -1,27 +0,0 @@ -# PlayMaker Unity 5 PathFinding SubModule -This is the submodule you can use in your project - -##Instructions - -- Create/select a Unity Project that is using Github -- Add a new github "SubModule" - - Point to the PlayMaker Utils repository: https://jeanfabre@github.com/jeanfabre/PlayMaker--Unity--PathFinding_U5-SubModule.git - - The local repository path must be **"Assets/PlayMaker PathFinding"** - -Now, everytime you work on your project, you can pull this submodules, and you'll get the latest. -You can also contribute if you create new actions or find an issue that can be resolved with code fixing. - ---- - -####Support - -- you can raise issues directly on this Repository, this is the quickest and most convenient way. -- Make use of the [PlayMaker forum](http://hutonggames.com/playmakerforum/) to ask questions or need help on how to work with PlayMaker and Unity PathFinding system. - ----- - -####Notes - -This sub module is used in the Unity Project repository for custom samples and packaging for the Ecosystem. - -[https://github.com/jeanfabre/PlayMaker--Unity--PathFinding_U5](https://github.com/jeanfabre/PlayMaker--Unity--PathFinding_U5) diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/README.md.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/README.md.meta deleted file mode 100644 index 42dc5debe..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/README.md.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c28e5fde5fca344e08bf5434abdf9adf -timeCreated: 1429856362 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/VersionInfo.json b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/VersionInfo.json deleted file mode 100644 index 225e854b4..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/VersionInfo.json +++ /dev/null @@ -1 +0,0 @@ -{"Major":1, "Patch":1, "Build":0, "Type":"f", "Minor":0} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/VersionInfo.json.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/VersionInfo.json.meta deleted file mode 100644 index d378db1b5..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/VersionInfo.json.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 150ae569a3990428abd186c39affdea9 -timeCreated: 1429859769 -licenseType: Store -TextScriptImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/_Internal.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/_Internal.meta deleted file mode 100644 index e61a0276a..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/_Internal.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 84d41c9050f62c84b8f47f4982e4eb81 -folderAsset: yes -timeCreated: 1432628595 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/_Internal/Editor.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/_Internal/Editor.meta deleted file mode 100644 index f3dd7386e..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/_Internal/Editor.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: c48839ee7509ead4486f92f9558b5ab5 -folderAsset: yes -timeCreated: 1432628595 -licenseType: Store -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/_Internal/Editor/PlayMakerNavMeshAreaMaskField.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/_Internal/Editor/PlayMakerNavMeshAreaMaskField.cs deleted file mode 100644 index f979a2ff9..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker PathFinding/_Internal/Editor/PlayMakerNavMeshAreaMaskField.cs +++ /dev/null @@ -1,69 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using System; -using System.Collections.Generic; - -using UnityEngine; -using UnityEditor; - -public class PlayMakerNavMeshAreaMaskField { - - - public List areas; - public List areaNumbers; - public string[] areaNames; - public long lastUpdateTick; - - // http://answers.unity3d.com/questions/42996/how-to-create-layermask-field-in-a-custom-editorwi.html - - /** Displays a LayerMask field. - * \param showSpecial Use the Nothing and Everything selections - * \param selected Current LayerMask - * \version Unity 3.5 and up will use the EditorGUILayout.MaskField instead of a custom written one. - */ - public LayerMask AreaMaskField (string label, LayerMask selected, bool showSpecial) { - - //Unity 3.5 and up - - if (areas == null || (System.DateTime.Now.Ticks - lastUpdateTick > 10000000L && Event.current.type == EventType.Layout)) { - lastUpdateTick = System.DateTime.Now.Ticks; - if (areas == null) { - areas = new List(); - areaNumbers = new List(); - areaNames = new string[4]; - } else { - areas.Clear (); - areaNumbers.Clear (); - } - - string[] _layers = UnityEngine.AI.NavMesh.GetAreaNames(); - - int emptyLayers = 0; - for (int i=0;i<_layers.Length;i++) { - string layerName = _layers[i]; - - if (layerName != "") { - - for (;emptyLayers>0;emptyLayers--) areas.Add ("Area "+(i-emptyLayers)); - areaNumbers.Add (i); - areas.Add (layerName); - } else { - emptyLayers++; - } - } - - if (areaNames.Length != areas.Count) { - areaNames = new string[areas.Count]; - } - for (int i=0;i 0 ) - { - rayLength = distance.Value; - } - - var dirVector = direction.Value; - if(go != null && space == Space.Self) - { - dirVector = go.transform.TransformDirection(direction.Value); - } - - RaycastHit hitInfo; - Physics.Raycast(originPos, dirVector, out hitInfo, rayLength, ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - - Fsm.RaycastHitInfo = hitInfo; - - var didHit = hitInfo.collider != null; - - storeDidHit.Value = didHit; - - if (didHit) - { - storeHitObject.Value = hitInfo.collider.GetComponent().gameObject; - storeHitPoint.Value = Fsm.RaycastHitInfo.point; - storeHitNormal.Value = Fsm.RaycastHitInfo.normal; - storeHitDistance.Value = Fsm.RaycastHitInfo.distance; - Fsm.Event(hitEvent); - }else{ - Fsm.Event(noHitEvent); - } - - if (debug.Value) - { - var debugRayLength = Mathf.Min(rayLength, 1000); - Debug.DrawLine(originPos, originPos + dirVector * debugRayLength, debugColor.Value); - } - } - } -} - diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/RayCast2.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/RayCast2.cs.meta deleted file mode 100644 index 3b6fa73f8..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/RayCast2.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 617fae1eb0bd4244baed263e65092a8b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/ResetVariables.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/ResetVariables.cs deleted file mode 100644 index 46f7d0a13..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/ResetVariables.cs +++ /dev/null @@ -1,30 +0,0 @@ -namespace HutongGames.PlayMaker.Actions{ - - [ActionCategory(ActionCategory.Math)] - [Tooltip("Sets the value of listed Variables to Zero or Null.")] - - public sealed class ResetVariables : FsmStateAction{ - - [UIHint(UIHint.Variable)] public FsmInt[] Integers; - [UIHint(UIHint.Variable)] public FsmFloat[] Floats; - [UIHint(UIHint.Variable)] public FsmBool[] Bools; - public FsmGameObject[] GameObjects; - - public ResetVariables(){ Reset();} - - public override void Reset(){ - Bools = new FsmBool[0]; - Integers = new FsmInt[0]; - Floats = new FsmFloat[0]; - GameObjects = new FsmGameObject[0]; - } - - public override void OnEnter() { - foreach (FsmBool fsmBool in Bools) fsmBool.Value = false; - foreach (FsmInt fsmInt in Integers) fsmInt.Value = 0; - foreach (FsmFloat fsmFloat in Floats) fsmFloat.Value = 0; - foreach (FsmGameObject go in GameObjects) go.Value = null; - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/ResetVariables.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/ResetVariables.cs.meta deleted file mode 100644 index aef811f71..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/ResetVariables.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: d74c1d09db6e8514b918310429d9f5d2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SendEventFromState.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SendEventFromState.cs deleted file mode 100644 index a746b279f..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SendEventFromState.cs +++ /dev/null @@ -1,65 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; -using System; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Sends an Event. If optional delay is set, WILL ONLY SEND THE DELAYED EVENT IF IT IS STILL IN THE STATE.\n" + - "NOTE: 'Send Event' will fire a delayed event even if the action is not running anymore as the state exited. \n" + - "NOTE: To send events between FSMs they must be marked as Global in the Events Browser.")] - public class SendEventFromState : FsmStateAction - { - [Tooltip("Where to send the event.")] - public FsmEventTarget eventTarget; - - [RequiredField] - [Tooltip("The event to send. NOTE: Events must be marked Global to send between FSMs.")] - public FsmEvent sendEvent; - - [HasFloatSlider(0, 10)] - [Tooltip("Optional delay in seconds. NOTE: The event will not be fired if the state has exited before the delay")] - public FsmFloat delay; - - - private float startTime; - - public override void Reset() - { - eventTarget = null; - sendEvent = null; - delay = null; - - } - - public override void OnEnter() - { - if (delay.Value < 0.001f) - { - Fsm.Event(eventTarget, sendEvent); - Finish(); - } - else - { - // start a timer to know when to send the delayed event. - startTime = Time.realtimeSinceStartup; - - } - } - - - public override void OnUpdate() - { - - // check the delta time against the delay - float deltaTime = Time.realtimeSinceStartup- startTime; - if (deltaTime >= delay.Value) - { - // we fire a normal event. - Fsm.Event(eventTarget, sendEvent); - Finish(); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SendEventFromState.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SendEventFromState.cs.meta deleted file mode 100644 index b67285d5d..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SendEventFromState.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: c80bc0dc2b4201447b13cb6ff9ba3989 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SmoothLookatDirection2.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SmoothLookatDirection2.cs deleted file mode 100644 index 30f093759..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SmoothLookatDirection2.cs +++ /dev/null @@ -1,133 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Smoothly Rotates a Game Object so its forward vector points in the specified Direction. Lets you fire an event when minmagnitude is reached")] - public class SmoothLookAtDirection2 : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to rotate.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The direction to smoothly rotate towards.")] - public FsmVector3 targetDirection; - - [Tooltip("Only rotate if Target Direction Vector length is greater than this threshold.")] - public FsmFloat minMagnitude; - - [Tooltip("Keep this vector pointing up as the GameObject rotates.")] - public FsmVector3 upVector; - - [RequiredField] - [Tooltip("Eliminate any tilt up/down as the GameObject rotates.")] - public FsmBool keepVertical; - - [RequiredField] - [HasFloatSlider(0.5f,15)] - [Tooltip("How quickly to rotate.")] - public FsmFloat speed; - - [Tooltip("Perform in LateUpdate. This can help eliminate jitters in some situations.")] - public bool lateUpdate; - - [Tooltip("Event to send if the direction difference is less than the min Tolerance.")] - public FsmEvent finishEvent; - - GameObject previousGo; // track game object so we can re-initialize when it changes. - Quaternion lastRotation; - Quaternion desiredRotation; - - - private bool _done; - - public override void Reset() - { - gameObject = null; - targetDirection = new FsmVector3 { UseVariable = true}; - minMagnitude = 0.1f; - upVector = new FsmVector3 { UseVariable = true}; - keepVertical = true; - speed = 5; - lateUpdate = true; - - finishEvent = null; - } - - public override void OnEnter() - { - previousGo = null; - } - - public override void OnUpdate() - { - if (!lateUpdate) - { - DoSmoothLookAtDirection(); - } - } - - public override void OnLateUpdate() - { - if (lateUpdate) - { - DoSmoothLookAtDirection(); - } - } - - void DoSmoothLookAtDirection() - { - if (targetDirection.IsNone) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // re-initialize if game object has changed - - if (previousGo != go) - { - lastRotation = go.transform.rotation; - desiredRotation = lastRotation; - previousGo = go; - } - - // desired direction - - Vector3 diff = targetDirection.Value; - - if (keepVertical.Value) - { - diff.y = 0; - } - - - desiredRotation = Quaternion.LookRotation(diff, upVector.IsNone ? Vector3.up : upVector.Value); - - lastRotation = Quaternion.Slerp(lastRotation, desiredRotation, speed.Value * Time.deltaTime); - go.transform.rotation = lastRotation; - - - if ( Quaternion.Angle(desiredRotation,go.transform.rotation) < minMagnitude.Value) - { - if (!_done) - { - _done = true; - Fsm.Event(finishEvent); - Finish(); - } - }else{ - _done = false; - } - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SmoothLookatDirection2.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SmoothLookatDirection2.cs.meta deleted file mode 100644 index 667cf40b0..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SmoothLookatDirection2.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: b81c38be4ca55ae409124ecd5427c58b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SphereCast.cs b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SphereCast.cs deleted file mode 100644 index eb52f5563..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SphereCast.cs +++ /dev/null @@ -1,174 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Performs a sphereCast hit")] - public class SphereCast : FsmStateAction - { - - [ActionSection("Spherecast Settings")] - - [Tooltip("The center of the sphere at the start of the sweep. \nOr use From Position parameter.")] - public FsmOwnerDefault fromGameObject; - - [Tooltip("The center of the sphere at the start of the sweep. \nOr use Game Object parameter.")] - public FsmVector3 fromPosition; - - [Tooltip("The radius of the shpere.")] - public FsmFloat radius; - - [Tooltip("The direction into which to sweep the sphere.")] - public FsmVector3 direction; - - [Tooltip("Cast the sphere in world or local space. Note if no Game Object is specified, the direction is in world space.")] - public Space space; - - [Tooltip("The length of the ray. Set to -1 for infinity.")] - public FsmFloat distance; - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [Tooltip("If true the script will store point and distance information regardless of whether or not the ray hit something.")] - public FsmBool storeDataOnMiss; - - [ActionSection("RayCast Debug")] - - [Tooltip("The color to use for the debug line.")] - public FsmColor debugColor; - - [Tooltip("Draw a debug line. Note: Check Gizmos in the Game View to see it in game.")] - public FsmBool debug; - - [ActionSection("Hit")] - - [Tooltip("Set a bool variable to true if hit something, otherwise false.")] - [UIHint(UIHint.Variable)] - public FsmBool storeDidHit; - - [Tooltip("Store the game object hit in a variable.")] - [UIHint(UIHint.Variable)] - public FsmGameObject storeHitObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the world position of the ray hit point and store it in a variable.")] - public FsmVector3 storeHitPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the normal at the hit point and store it in a variable.")] - public FsmVector3 storeHitNormal; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the distance along the ray to the hit point and store it in a variable.")] - public FsmFloat storeHitDistance; - - [Tooltip("Event to send when there is a hit.")] - public FsmEvent hitEvent; - - [Tooltip("Event to send if there is no hit at all")] - public FsmEvent noHitEvent; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - - public override void Reset() - { - - fromGameObject = null; - fromPosition = new FsmVector3 { UseVariable = true }; - direction = Vector3.forward; - radius = 1f; - space = Space.Self; - distance = 100; - storeHitObject = null; - everyFrame = false; - - - layerMask = new FsmInt[0]; - invertMask = false; - debugColor = Color.yellow; - debug = false; - - - hitEvent = null; - noHitEvent = null; - } - - public override void OnUpdate() - { - DoSphereCast(); - - if (!everyFrame) - { - Finish(); - } - } - - public void DoSphereCast() - { - if (distance.Value == 0) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(fromGameObject); - - var originPos = go != null ? go.transform.position : fromPosition.Value; - - var rayLength = Mathf.Infinity; - if (distance.Value > 0 ) - { - rayLength = distance.Value; - } - - var dirVector = direction.Value; - if(go != null && space == Space.Self) - { - dirVector = go.transform.TransformDirection(direction.Value); - } - - if (debug.Value) - { - var debugRayLength = Mathf.Min(rayLength, 1000); - Debug.DrawLine(originPos, originPos + dirVector * debugRayLength, debugColor.Value); - } - - RaycastHit hitInfo; - Physics.SphereCast(originPos, radius.Value, dirVector, out hitInfo, rayLength, ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - Fsm.RaycastHitInfo = hitInfo; - - var didHit = hitInfo.collider != null; - storeDidHit.Value = didHit; - - // this is for storing the data if you dont hit anything, good for live updating - if (!didHit & storeDataOnMiss.Value) - { - storeHitDistance.Value = rayLength; - storeHitPoint.Value = (originPos + new Vector3 (0,0, rayLength)); - } - - if (!didHit) - { - Fsm.Event(noHitEvent); - } - - if (didHit) - { - storeHitObject.Value = hitInfo.collider.GetComponent().gameObject; - storeHitPoint.Value = Fsm.RaycastHitInfo.point; - storeHitNormal.Value = Fsm.RaycastHitInfo.normal; - storeHitDistance.Value = Fsm.RaycastHitInfo.distance; - Fsm.Event(hitEvent); - } - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SphereCast.cs.meta b/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SphereCast.cs.meta deleted file mode 100644 index d10b65a3a..000000000 --- a/Assets/ThirdParty/ANIMATIONS/SwordAnimsetPro/PlaymakerAdditional/PlayMaker/Actions/SphereCast.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: ba2748df02d5b3e4ba27c55f6c6e90f9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker.meta b/Assets/ThirdParty/PlayMaker.meta deleted file mode 100644 index c10ae2e75..000000000 --- a/Assets/ThirdParty/PlayMaker.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: 319607e26f5ded5439c33bfddad43af6 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions.meta b/Assets/ThirdParty/PlayMaker/Actions.meta deleted file mode 100644 index 0a7153b68..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: e0f28db390b02c649923758f704fd26e -folderAsset: yes -timeCreated: 1517993733 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/ActionHelpers.cs b/Assets/ThirdParty/PlayMaker/Actions/ActionHelpers.cs deleted file mode 100644 index 91edbcdf4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ActionHelpers.cs +++ /dev/null @@ -1,1213 +0,0 @@ -// (c) Copyright HutongGames, all rights reserved. - -#if (UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2) -#define UNITY_PRE_5_3 -#endif - -#define FSM_LOG - -#if !PLAYMAKER_NO_UI - -using UnityEngine.UI; - -#endif - -using System; -using System.Collections.Generic; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMaker.AnimationEnums; -using UnityEngine; -using Random = UnityEngine.Random; - -#if UNITY_EDITOR - -using UnityEditor; - -#endif - -namespace HutongGames.PlayMaker -{ - - /// - /// Helper functions to make authoring Actions simpler. - /// - public static class ActionHelpers - { - /// - /// Get a small white texture - /// - public static Texture2D WhiteTexture - { - // Used to make a texture, but Unity added this: - get { return Texture2D.whiteTexture; } - } - - /// - /// Common blend operations for colors - /// E.g. used by TweenColor action - /// - /// - public static Color BlendColor(ColorBlendMode blendMode, Color c1, Color c2) - { - switch (blendMode) - { - case ColorBlendMode.Normal: - return Color.Lerp(c1, c2, c2.a); - - case ColorBlendMode.Multiply: - return Color.Lerp(c1, c1 * c2, c2.a); - - case ColorBlendMode.Screen: - var screen = Color.white - (Color.white - c1) * (Color.white - c2); - return Color.Lerp(c1, screen, c2.a); - - default: - throw new ArgumentOutOfRangeException(); - } - } - - /// - /// Check the visibility of the Renderer on a GameObject - /// - public static bool IsVisible(GameObject go) - { - if (go == null) - { - return false; - } - var renderer = go.GetComponent(); - return renderer != null && renderer.isVisible; - } - - /// - /// Get the GameObject targeted by an action's FsmOwnerDefault variable - /// - public static GameObject GetOwnerDefault(FsmStateAction action, FsmOwnerDefault ownerDefault) - { - return action.Fsm.GetOwnerDefaultTarget(ownerDefault); - } - - /// - /// Get the first Playmaker FSM on a game object. - /// - public static PlayMakerFSM GetGameObjectFsm(GameObject go, string fsmName) - { - if (!string.IsNullOrEmpty(fsmName)) - { - var fsmComponents = go.GetComponents(); - - foreach (var fsmComponent in fsmComponents) - { - if (fsmComponent.FsmName == fsmName) - { - return (fsmComponent); - } - } - - Debug.LogWarning("Could not find FSM: " + fsmName); - } - - return (go.GetComponent()); - } - - /// - /// Given an array of weights, returns a randomly selected index. - /// - public static int GetRandomWeightedIndex(FsmFloat[] weights) - { - float totalWeight = 0; - - foreach (var t in weights) - { - totalWeight += t.Value; - } - - var random = Random.Range(0, totalWeight); - - for (var i = 0; i < weights.Length; i++) - { - if (random < weights[i].Value) - { - return i; - } - - random -= weights[i].Value; - } - - return -1; - } - - /// - /// Add an animation clip to a GameObject if it has an Animation component - /// - public static void AddAnimationClip(GameObject go, AnimationClip animClip) - { - if (animClip == null) return; - var animationComponent = go.GetComponent(); - if (animationComponent != null) - { - animationComponent.AddClip(animClip, animClip.name); - } - } - - /// - /// Check if an animation has finished playing. - /// - public static bool HasAnimationFinished(AnimationState anim, float prevTime, float currentTime) - { - // looping animations never finish - if (anim.wrapMode == WrapMode.Loop || anim.wrapMode == WrapMode.PingPong) - { - return false; - } - - // Default and Once reset to zero when done - if (anim.wrapMode == WrapMode.Default || anim.wrapMode == WrapMode.Once) - { - if (prevTime > 0 && currentTime.Equals(0)) - { - return true; - } - } - - // Time keeps going up in other modes - return prevTime < anim.length && currentTime >= anim.length; - } - - - // Given an FsmGameObject parameter and an FsmVector3 parameter, returns a world position. - // Many actions let you define a GameObject and/or a Position... - public static Vector3 GetPosition(FsmGameObject fsmGameObject, FsmVector3 fsmVector3) - { - Vector3 finalPos; - - if (fsmGameObject.Value != null) - { - finalPos = !fsmVector3.IsNone ? fsmGameObject.Value.transform.TransformPoint(fsmVector3.Value) : fsmGameObject.Value.transform.position; - } - else - { - finalPos = fsmVector3.Value; - } - - return finalPos; - } - - /* - public static bool GetPosition(PositionOptions options, GameObject go, FsmGameObject target, - FsmVector3 position, out Vector3 finalPos) - { - var validPos = false; - finalPos = Vector3.zero; - - if (go == null || target == null || position == null) - return false; - - switch (options) - { - case PositionOptions.CurrentPosition: - finalPos = go.transform.position; - validPos = true; - break; - - case PositionOptions.WorldPosition: - if (!position.IsNone) - { - finalPos = position.Value; - validPos = true; - } - break; - - case PositionOptions.GameObject: - if (target.Value != null) - { - finalPos = target.Value.transform.position; - validPos = true; - } - break; - - case PositionOptions.GameObjectWithOffset: - if (target != null) - { - finalPos = GetPosition(target, position); - validPos = true; - } - break; - - - - case PositionOptions.WorldOffset: - finalPos = go.transform.position + position.Value; - validPos = true; - break; - - case PositionOptions.LocalOffset: - finalPos = go.transform.position + go.transform.InverseTransformPoint(position.Value); - validPos = true; - break; - - default: - throw new ArgumentOutOfRangeException(); - } - - return validPos; - }*/ - - /// - /// Returns a target rotation in world space given the specified parameters - /// Some parameters are interpreted differently based on RotationOptions selected. - /// E.g. used by TweenRotation - /// - /// Rotation options exposed to user - /// The transform being rotated - /// A potential target transform - /// A potential target rotation - /// - public static Quaternion GetTargetRotation(RotationOptions option, Transform owner, Transform target, Vector3 rotation) - { - if (owner == null) return Quaternion.identity; - - switch (option) - { - case RotationOptions.CurrentRotation: - return owner.rotation; - - case RotationOptions.WorldRotation: - return Quaternion.Euler(rotation); - - case RotationOptions.LocalRotation: - // same as world rotation if no parent - if (owner.parent == null) return Quaternion.Euler(rotation); - return owner.parent.rotation * Quaternion.Euler(rotation); - - case RotationOptions.WorldOffsetRotation: - // same as rotating with global in editor - return Quaternion.Euler(rotation) * owner.rotation; - - case RotationOptions.LocalOffsetRotation: - return owner.rotation * Quaternion.Euler(rotation); - - case RotationOptions.MatchGameObjectRotation: - if (target == null) return owner.rotation; - return target.rotation * Quaternion.Euler(rotation); - - default: - throw new ArgumentOutOfRangeException(); - } - - //return owner.rotation; // leave as is - } - - public static bool GetTargetRotation(RotationOptions option, Transform owner, FsmVector3 rotation, - FsmGameObject target, out Quaternion targetRotation) - { - targetRotation = Quaternion.identity; - if (owner == null || !CanEditTargetRotation(option, rotation, target)) return false; - targetRotation = GetTargetRotation(option, owner, - target.Value != null ? target.Value.transform : null, - rotation.Value); - return true; - } - - private static bool CanEditTargetRotation(RotationOptions option, NamedVariable rotation, FsmGameObject target) - { - switch (option) - { - case RotationOptions.CurrentRotation: - return false; - case RotationOptions.WorldRotation: - case RotationOptions.LocalRotation: - case RotationOptions.WorldOffsetRotation: - case RotationOptions.LocalOffsetRotation: - return !rotation.IsNone; - - case RotationOptions.MatchGameObjectRotation: - return target.Value != null; - - default: - throw new ArgumentOutOfRangeException(); - } - } - - public static Vector3 GetTargetScale(ScaleOptions option, Transform owner, Transform target, Vector3 scale) - { - if (owner == null) return Vector3.one; - - switch (option) - { - case ScaleOptions.CurrentScale: - return owner.localScale; - - case ScaleOptions.LocalScale: - return scale; - - case ScaleOptions.MultiplyScale: - return new Vector3(owner.localScale.x * scale.x, owner.localScale.y * scale.y, owner.localScale.z * scale.z); - - case ScaleOptions.AddToScale: - return new Vector3(owner.localScale.x + scale.x, owner.localScale.y + scale.y, owner.localScale.z + scale.z); - - case ScaleOptions.MatchGameObject: - if (target == null) return owner.localScale; - return target.localScale; - - /* Useful...? - case ScaleOptions.MatchGameObjectMultiply: - if (target == null) return owner.localScale; - if (scale == Vector3.one) return target.localScale; - return new Vector3(target.localScale.x * scale.x, target.localScale.y * scale.y, target.localScale.z * scale.z); - */ - } - - return owner.localScale; // leave as is - } - - public static bool GetTargetPosition(PositionOptions option, Transform owner, FsmVector3 position, - FsmGameObject target, out Vector3 targetPosition) - { - targetPosition = Vector3.zero; - if (owner == null || !IsValidTargetPosition(option, position, target)) return false; - targetPosition = GetTargetPosition(option, owner, (target != null && target.Value != null) ? target.Value.transform : null, position.Value); - return true; - } - - private static bool IsValidTargetPosition(PositionOptions option, NamedVariable position, FsmGameObject target) - { - switch (option) - { - case PositionOptions.CurrentPosition: - return true; - case PositionOptions.WorldPosition: - case PositionOptions.LocalPosition: - case PositionOptions.WorldOffset: - case PositionOptions.LocalOffset: - return !position.IsNone; - - case PositionOptions.TargetGameObject: - return target.Value != null; - - default: - throw new ArgumentOutOfRangeException(); - } - } - - public static bool CanEditTargetPosition(PositionOptions option, NamedVariable position, FsmGameObject target) - { - switch (option) - { - case PositionOptions.CurrentPosition: - return false; - case PositionOptions.WorldPosition: - case PositionOptions.LocalPosition: - case PositionOptions.WorldOffset: - case PositionOptions.LocalOffset: - return !position.IsNone; - - case PositionOptions.TargetGameObject: - return target.Value != null; - - default: - throw new ArgumentOutOfRangeException(); - } - } - - public static Vector3 GetTargetPosition(PositionOptions option, Transform owner, Transform target, Vector3 position) - { - if (owner == null) return Vector3.zero; - - switch (option) - { - case PositionOptions.CurrentPosition: - return owner.position; - - case PositionOptions.WorldPosition: - return position; - - case PositionOptions.LocalPosition: - if (owner.parent == null) return position; - return owner.parent.TransformPoint(position); - - case PositionOptions.WorldOffset: - return owner.position + position; - - case PositionOptions.LocalOffset: - return owner.TransformPoint(position); - - case PositionOptions.TargetGameObject: - if (target == null) return owner.position; - if (position != Vector3.zero) return target.TransformPoint(position); - return target.position; - - default: - throw new ArgumentOutOfRangeException(); - } - } - - // Raycast helpers that cache values to minimize the number of raycasts - - #region MousePick - - public static RaycastHit mousePickInfo; - static float mousePickRaycastTime; - static float mousePickDistanceUsed; - static int mousePickLayerMaskUsed; - - public static bool IsMouseOver(GameObject gameObject, float distance, int layerMask) - { - if (gameObject == null) return false; - return gameObject == MouseOver(distance, layerMask); - } - - public static RaycastHit MousePick(float distance, int layerMask) - { - if (!mousePickRaycastTime.Equals(Time.frameCount) || - mousePickDistanceUsed < distance || - mousePickLayerMaskUsed != layerMask) - { - DoMousePick(distance, layerMask); - } - - // otherwise use cached info - - return mousePickInfo; - } - - public static GameObject MouseOver(float distance, int layerMask) - { - if (!mousePickRaycastTime.Equals(Time.frameCount) || - mousePickDistanceUsed < distance || - mousePickLayerMaskUsed != layerMask) - { - DoMousePick(distance, layerMask); - } - - if (mousePickInfo.collider != null) - { - if (mousePickInfo.distance < distance) - { - return mousePickInfo.collider.gameObject; - } - } - - return null; - } - - static void DoMousePick(float distance, int layerMask) - { - if (Camera.main == null) - { - return; - } - - var ray = Camera.main.ScreenPointToRay(Input.mousePosition); - - Physics.Raycast(ray, out mousePickInfo, distance, layerMask); - - mousePickLayerMaskUsed = layerMask; - mousePickDistanceUsed = distance; - mousePickRaycastTime = Time.frameCount; - } - - #endregion - - public static int LayerArrayToLayerMask(FsmInt[] layers, bool invert) - { - var layermask = 0; - - foreach (var layer in layers) - { - layermask |= 1 << layer.Value; - } - - if (invert) - { - layermask = ~layermask; - } - - // Unity 5.3 changed this Physics property name - //public const int kDefaultRaycastLayers = -5; - /* - #if UNITY_PRE_5_3 - return layermask == 0 ? Physics.kDefaultRaycastLayers : layermask; - #else - return layermask == 0 ? Physics.DefaultRaycastLayers : layermask; - #endif - */ - // HACK just return the hardcoded value to avoid separate Unity 5.3 dll - // TODO Revisit in future version - return layermask == 0 ? -5 : layermask; - } - - // Does a wrap mode loop? (no finished event) - public static bool IsLoopingWrapMode(WrapMode wrapMode) - { - return wrapMode == WrapMode.Loop || wrapMode == WrapMode.PingPong; - } - - public static string CheckRayDistance(float rayDistance) - { - return rayDistance <= 0 ? "Ray Distance should be greater than zero!\n" : ""; - } - - /// - /// Check if a state responds to an event. - /// Not really needed since the ErrorChecker covers this. - /// - public static string CheckForValidEvent(FsmState state, string eventName) - { - if (state == null) - { - return "Invalid State!"; - } - - if (string.IsNullOrEmpty(eventName)) - { - return ""; - } - - foreach (var transition in state.Fsm.GlobalTransitions) - { - if (transition.EventName == eventName) - { - return ""; - } - } - - foreach (var transition in state.Transitions) - { - if (transition.EventName == eventName) - { - return ""; - } - } - - return "Fsm will not respond to Event: " + eventName; - } - - #region Physics setup helpers - - //[Obsolete("Use CheckPhysicsSetup(gameObject) instead")] - public static string CheckPhysicsSetup(FsmOwnerDefault ownerDefault) - { - if (ownerDefault == null) return ""; - - return CheckPhysicsSetup(ownerDefault.GameObject.Value); - } - - //[Obsolete("Use CheckPhysicsSetup(gameObject) instead")] - public static string CheckOwnerPhysicsSetup(GameObject gameObject) - { - return CheckPhysicsSetup(gameObject); - } - - public static string CheckPhysicsSetup(GameObject gameObject) - { - var error = string.Empty; - - if (gameObject != null) - { - if (gameObject.GetComponent() == null && gameObject.GetComponent() == null) - { - error += "GameObject requires RigidBody/Collider!\n"; - } - } - - return error; - } - - //[Obsolete("Use CheckPhysics2dSetup(gameObject) instead")] - public static string CheckPhysics2dSetup(FsmOwnerDefault ownerDefault) - { - if (ownerDefault == null) return ""; - - return CheckPhysics2dSetup(ownerDefault.GameObject.Value); - } - - //[Obsolete("Use CheckPhysics2dSetup(gameObject) instead")] - public static string CheckOwnerPhysics2dSetup(GameObject gameObject) - { - return CheckPhysics2dSetup(gameObject); - } - - public static string CheckPhysics2dSetup(GameObject gameObject) - { - var error = string.Empty; - - if (gameObject != null) - { - if (gameObject.GetComponent() == null && gameObject.GetComponent() == null) - { - error += "GameObject requires a RigidBody2D or Collider2D component!\n"; - } - } - - return error; - } - - #endregion - - #region Logging helpers - - public static void DebugLog(Fsm fsm, LogLevel logLevel, string text, bool sendToUnityLog = false) - { -#if FSM_LOG - // Logging is disabled in builds so we need to handle this - // case separately so actions log properly in builds - - if (!Application.isEditor && sendToUnityLog) - { - var logText = FormatUnityLogString(text); - - switch (logLevel) - { - case LogLevel.Warning: - Debug.LogWarning(logText); - break; - case LogLevel.Error: - Debug.LogError(logText); - break; - default: - Debug.Log(logText); - break; - } - } - - // Note: FsmLog.LoggingEnabled is always false in builds! - // Maybe replace this with Fsm property so we can turn on/off per Fsm? - - if (!FsmLog.LoggingEnabled || fsm == null) - { - return; - } - - switch (logLevel) - { - case LogLevel.Info: - fsm.MyLog.LogAction(FsmLogType.Info, text, sendToUnityLog); - break; - - case LogLevel.Warning: - fsm.MyLog.LogAction(FsmLogType.Warning, text, sendToUnityLog); - break; - - case LogLevel.Error: - fsm.MyLog.LogAction(FsmLogType.Error, text, sendToUnityLog); - break; - } -#endif - } - - public static void LogError(string text) - { - DebugLog(FsmExecutionStack.ExecutingFsm, LogLevel.Error, text, true); - } - - public static void LogWarning(string text) - { - DebugLog(FsmExecutionStack.ExecutingFsm, LogLevel.Warning, text, true); - } - - /// - /// Format a log string suitable for the Unity Log. - /// The Unity Log lacks some context, so we bake it into the log string. - /// - /// Text to log. - /// String formatted for the Unity Log. - public static string FormatUnityLogString(string text) - { - if (FsmExecutionStack.ExecutingFsm == null) return text; - - var logString = Fsm.GetFullFsmLabel(FsmExecutionStack.ExecutingFsm); - - if (FsmExecutionStack.ExecutingState != null) - { - logString += " : " + FsmExecutionStack.ExecutingStateName; - } - - if (FsmExecutionStack.ExecutingAction != null) - { - logString += FsmExecutionStack.ExecutingAction.Name; - } - - logString += " : " + text; - - return logString; - } - - - #endregion - - #region AutoName helpers - - public static string GetValueLabel(INamedVariable variable) - { -#if UNITY_EDITOR - if (variable == null) return "[null]"; - if (variable.IsNone) return "[none]"; - if (variable.UseVariable) return variable.Name; - var rawValue = variable.RawValue; - if (rawValue == null) return "null"; - if (rawValue is string) return "\"" + rawValue + "\""; - if (rawValue is Array) return "Array"; - if (rawValue.GetType().IsValueType) return rawValue.ToString(); - var label = rawValue.ToString(); - var classIndex = label.IndexOf('('); - if (classIndex > 0) - return label.Substring(0, label.IndexOf('(')); - return label; -#else - return ""; -#endif - } - - public static string GetValueLabel(Fsm fsm, FsmOwnerDefault ownerDefault) - { - if (ownerDefault == null) return "[null]"; - if (ownerDefault.OwnerOption == OwnerDefaultOption.UseOwner) return "Owner"; - return GetValueLabel(ownerDefault.GameObject); - } - - - /// - /// ActionName : field1 field2 ... - /// - public static string AutoName(FsmStateAction action, params INamedVariable[] exposedFields) - { - return action == null ? null : AutoName(action.GetType().Name, exposedFields); - } - - /// - /// ActionName : field1 field2 ... - /// - public static string AutoName(string actionName, params INamedVariable[] exposedFields) - { - var autoName = actionName + " :"; - foreach (var field in exposedFields) - { - autoName += " " + GetValueLabel(field); - } - - return autoName; - } - - /// - /// ActionName : min - max - /// - public static string AutoNameRange(FsmStateAction action, NamedVariable min, NamedVariable max) - { - return action == null ? null : AutoNameRange(action.GetType().Name, min, max); - } - - /// - /// ActionName : min - max - /// - public static string AutoNameRange(string actionName, NamedVariable min, NamedVariable max) - { - return actionName + " : " + GetValueLabel(min) + " - " + GetValueLabel(max); - } - - /// - /// ActionName : var = value - /// - public static string AutoNameSetVar(FsmStateAction action, NamedVariable var, NamedVariable value) - { - return action == null ? null : AutoNameSetVar(action.GetType().Name, var, value); - } - - /// - /// ActionName : var = value - /// - public static string AutoNameSetVar(string actionName, NamedVariable var, NamedVariable value) - { - return actionName + " : " + GetValueLabel(var) + " = " + GetValueLabel(value); - } - - /// - /// [-Convert]ActionName : fromVar to toVar - /// - public static string AutoNameConvert(FsmStateAction action, NamedVariable fromVariable, NamedVariable toVariable) - { - return action == null ? null : AutoNameConvert(action.GetType().Name, fromVariable, toVariable); - } - - /// - /// [-Convert]ActionName : fromVar to toVar - /// - public static string AutoNameConvert(string actionName, NamedVariable fromVariable, NamedVariable toVariable) - { - return actionName.Replace("Convert","") + " : " + GetValueLabel(fromVariable) + " to " + GetValueLabel(toVariable); - } - - /// - /// ActionName : property -> store - /// - public static string AutoNameGetProperty(FsmStateAction action, NamedVariable property, NamedVariable store) - { - return action == null ? null : AutoNameGetProperty(action.GetType().Name, property, store); - } - - /// - /// ActionName : property -> store - /// - public static string AutoNameGetProperty(string actionName, NamedVariable property, NamedVariable store) - { - return actionName + " : " + GetValueLabel(property) + " -> " + GetValueLabel(store); - } - - #endregion - - #region Editor helpers - -#if UNITY_EDITOR - - /// - /// Gets a rect that fits in the controls column of an inspector. - /// - /// Desired height. - public static Rect GetControlPreviewRect(float height) - { - var rect = GUILayoutUtility.GetRect(100f, 3000f, height, height); - var labelWidth = EditorGUIUtility.labelWidth; - rect.x += labelWidth + 5; - rect.width -= labelWidth + 30; - return rect; - } - - public static Vector3 DoTargetPositionHandle(Vector3 worldPos, PositionOptions option, Transform owner, FsmGameObject target) - { - //var worldPos = GetTargetPosition(option, owner, target, position); - - EditorGUI.BeginChangeCheck(); - - var rotation = Quaternion.identity; - var newPos = worldPos; - - switch (option) - { - case PositionOptions.CurrentPosition: - break; - - case PositionOptions.WorldPosition: - newPos = Handles.PositionHandle(worldPos, rotation); - break; - - case PositionOptions.LocalPosition: - if (owner.parent != null) - { - rotation = owner.parent.transform.rotation; - newPos = owner.parent.InverseTransformPoint(Handles.PositionHandle(worldPos, rotation)); - } - else - { - newPos = Handles.PositionHandle(worldPos, rotation); - } - break; - - case PositionOptions.WorldOffset: - newPos = Handles.PositionHandle(worldPos, rotation) - owner.position; - break; - - case PositionOptions.LocalOffset: - rotation = owner.rotation; - newPos = owner.InverseTransformPoint(Handles.PositionHandle(worldPos, rotation)) ; - break; - - case PositionOptions.TargetGameObject: - if (target.Value == null) return worldPos; - rotation = target.Value.transform.rotation; - newPos = target.Value.transform.InverseTransformPoint(Handles.PositionHandle(worldPos, rotation)); - break; - - default: - throw new ArgumentOutOfRangeException(); - } - - if (EditorGUI.EndChangeCheck()) - { - Undo.RecordObject(owner, "Move Scene Gizmo"); - } - - return newPos; - } - - /// - /// Draws a Position Handle in the scene using a combination of GameObject and Position values. - /// If a GameObject is specified, the Position is a local offset. - /// If no GameObject is specified, the Position is a world position. - /// Many actions use this setup. - /// - /// - /// - /// - /// - public static Vector3 PositionHandle(UnityEngine.Object owner, GameObject go, Vector3 position) - { - EditorGUI.BeginChangeCheck(); - - Transform transform = null; - var rotation = Quaternion.identity; - var worldPos = GetPosition(go, position); - - if (go != null) - { - transform = go.transform; - rotation = transform.rotation; - Handles.Label(transform.position, go.name, "Box"); - Handles.DrawDottedLine(transform.position, worldPos, 2f); - } - - worldPos = Handles.PositionHandle(worldPos, rotation); - - if (EditorGUI.EndChangeCheck()) - { - Undo.RecordObject(owner, "Move Scene Gizmo"); - } - - return transform != null ? transform.InverseTransformPoint(worldPos) : worldPos; - } - - /// - /// Draws an arrow in the scene. - /// Useful for actions that set a direction. - /// - public static void DrawArrow(Vector3 fromPos, Vector3 toPos, Color color, float arrowScale = 0.2f) - { - var direction = toPos - fromPos; - if (direction.sqrMagnitude < 0.0001f) return; - - var lookAtRotation = Quaternion.LookRotation(direction); - var distance = Vector3.Distance(fromPos, toPos); - var handleSize = HandleUtility.GetHandleSize(toPos); - var arrowSize = handleSize * arrowScale; - - var originalColor = Handles.color; - Handles.color = color; - - Handles.DrawLine(fromPos, toPos); - -#if UNITY_5_5_OR_NEWER - Handles.ConeHandleCap(0, fromPos + direction.normalized * (distance - arrowSize), lookAtRotation, arrowSize, EventType.Repaint); // fudge factor to position cap correctly -#else - Handles.ConeCap(0, fromPos + direction.normalized * (distance - arrowSize), lookAtRotation, arrowSize); // fudge factor to position cap correctly -#endif - - Handles.color = originalColor; - } - - /// - /// Get a mesh that can be used by Gizmos.DrawMesh to preview the mesh while editing. - /// E.g. to preview a GameObject moving to a target - /// - public static Mesh GetPreviewMesh(GameObject go) - { - if (go == null) return null; - - var meshFilters = go.GetComponentsInChildren(false); - if (meshFilters.Length == 0) return null; - - var combineList = new List(); - foreach (var meshFilter in meshFilters) - { - var combine = new CombineInstance - { - mesh = meshFilter.sharedMesh, - transform = meshFilter.transform.localToWorldMatrix - }; - - combineList.Add(combine); - } - - var combinedMesh = new Mesh(); - combinedMesh.CombineMeshes(combineList.ToArray()); - - return combinedMesh; - } - - /// - /// Single color version of Handles.ScaleHandle. - /// Useful when you have multiple editors (e.g. TweenScale) - /// Note, does not handle value of 0 very well (fix?) - /// - public static Vector3 SingleColorScaleHandle(GameObject go, Vector3 scale, float handleSize, Color color) - { - var matrix = Handles.matrix; - Handles.matrix = go.transform.localToWorldMatrix; - Handles.matrix *= Matrix4x4.Inverse(Matrix4x4.Scale(go.transform.localScale)); - - var tempColor = Handles.color; - Handles.color = color; - - var scaleX = Handles.ScaleSlider(scale.x, - Vector3.zero, -Vector3.left, Quaternion.identity, handleSize, 0f); - var scaleY = Handles.ScaleSlider(scale.y, - Vector3.zero, -Vector3.down, Quaternion.identity, handleSize, 0f); - var scaleZ = Handles.ScaleSlider(scale.z, - Vector3.zero, -Vector3.back, Quaternion.identity, handleSize, 0f); - - Handles.color = tempColor; - Handles.matrix = matrix; - - scale.Set(scaleX, scaleY, scaleZ); - return scale; - } - - /// - /// Get a local bounding box for a GameObject - /// - public static Bounds GetLocalBounds(GameObject gameObject) - { - // See GetLocalBounds in InternalEditorUtilityBindings.gen.cs in unity c# ref projects - - var rectTransform = gameObject.GetComponent(); - if (rectTransform) - { - return new Bounds(rectTransform.rect.center, rectTransform.rect.size); - } - - var renderer = gameObject.GetComponent(); - if (renderer is MeshRenderer) - { - var filter = renderer.GetComponent(); - if (filter != null && filter.sharedMesh != null) - return filter.sharedMesh.bounds; - } - - var spriteRenderer = renderer as SpriteRenderer; - if (spriteRenderer != null) - { - return spriteRenderer.bounds; - } - - return new Bounds(Vector3.zero, Vector3.zero); - } - - /// - /// Draw wire bounding box for Transform. - /// Optionally scale bounding box. - /// - public static void DrawWireBounds(Transform transform, Vector3 scale, Color color) - { - var matrix = Handles.matrix; - Handles.matrix = transform.localToWorldMatrix; - - var bounds = GetLocalBounds(transform.gameObject); - var size = bounds.size; - size.Set(size.x * scale.x, size.y * scale.y, size.z * scale.z); - - DrawWireCube(Vector3.zero, size, color); - - Handles.matrix = matrix; - } - - /// - /// Draw wireframe bounding box around object with optional rotation (for editing gizmos) - /// - public static void DrawWireBounds(Transform transform, Quaternion rotate, Color color) - { - var matrix = Handles.matrix; - Handles.matrix = Matrix4x4.TRS(transform.position, rotate, transform.lossyScale); - - DrawWireCube(Vector3.zero, GetLocalBounds(transform.gameObject).size, color); - - Handles.matrix = matrix; - } - - public static void DrawWireBounds(Transform transform, Vector3 position, Quaternion rotation, Color color) - { - var matrix = Handles.matrix; - Handles.matrix = Matrix4x4.TRS(position, rotation, transform.lossyScale); - - DrawWireCube(Vector3.zero, GetLocalBounds(transform.gameObject).size, color); - - Handles.matrix = matrix; - } - - // Creates a rotation matrix. Note: Assumes unit quaternion - public static Matrix4x4 Matrix4X4Rotate(Quaternion q) - { - // Pre-calculate coordinate products - var x = q.x * 2.0F; - var y = q.y * 2.0F; - var z = q.z * 2.0F; - var xx = q.x * x; - var yy = q.y * y; - var zz = q.z * z; - var xy = q.x * y; - var xz = q.x * z; - var yz = q.y * z; - var wx = q.w * x; - var wy = q.w * y; - var wz = q.w * z; - - // Calculate 3x3 matrix from orthonormal basis - Matrix4x4 m; - m.m00 = 1.0f - (yy + zz); m.m10 = xy + wz; m.m20 = xz - wy; m.m30 = 0.0F; - m.m01 = xy - wz; m.m11 = 1.0f - (xx + zz); m.m21 = yz + wx; m.m31 = 0.0F; - m.m02 = xz + wy; m.m12 = yz - wx; m.m22 = 1.0f - (xx + yy); m.m32 = 0.0F; - m.m03 = 0.0F; m.m13 = 0.0F; m.m23 = 0.0F; m.m33 = 1.0F; - return m; - } - - /// - /// Draw wireframe bounding box around object with optional translate, rotate, and scale (for editing gizmos) - /// - public static void DrawWireBounds(Transform transform, Vector3 translate, Quaternion rotate, Vector3 scale, Color color) - { - var matrix = Handles.matrix; - Handles.matrix = transform.localToWorldMatrix; - Handles.matrix *= Matrix4x4.TRS(translate, rotate, scale); - - - DrawWireCube(Vector3.zero, GetLocalBounds(transform.gameObject).size, color); - - Handles.matrix = matrix; - } - - /// - /// Similar to Gizmos.DrawWireCube but can be used in editor code. - /// - public static void DrawWireCube(Vector3 position, Vector3 size, Color color) - { - var originalColor = Handles.color; - Handles.color = color; - - var half = size / 2; - // draw front - Handles.DrawLine(position + new Vector3(-half.x, -half.y, half.z), position + new Vector3(half.x, -half.y, half.z)); - Handles.DrawLine(position + new Vector3(-half.x, -half.y, half.z), position + new Vector3(-half.x, half.y, half.z)); - Handles.DrawLine(position + new Vector3(half.x, half.y, half.z), position + new Vector3(half.x, -half.y, half.z)); - Handles.DrawLine(position + new Vector3(half.x, half.y, half.z), position + new Vector3(-half.x, half.y, half.z)); - // draw back - Handles.DrawLine(position + new Vector3(-half.x, -half.y, -half.z), position + new Vector3(half.x, -half.y, -half.z)); - Handles.DrawLine(position + new Vector3(-half.x, -half.y, -half.z), position + new Vector3(-half.x, half.y, -half.z)); - Handles.DrawLine(position + new Vector3(half.x, half.y, -half.z), position + new Vector3(half.x, -half.y, -half.z)); - Handles.DrawLine(position + new Vector3(half.x, half.y, -half.z), position + new Vector3(-half.x, half.y, -half.z)); - // draw corners - Handles.DrawLine(position + new Vector3(-half.x, -half.y, -half.z), position + new Vector3(-half.x, -half.y, half.z)); - Handles.DrawLine(position + new Vector3(half.x, -half.y, -half.z), position + new Vector3(half.x, -half.y, half.z)); - Handles.DrawLine(position + new Vector3(-half.x, half.y, -half.z), position + new Vector3(-half.x, half.y, half.z)); - Handles.DrawLine(position + new Vector3(half.x, half.y, -half.z), position + new Vector3(half.x, half.y, half.z)); - - Handles.color = originalColor; - } - -#endif - - #endregion - - #region Obsolete - - /// - /// Actions should use this for consistent error messages. - /// Error will contain action name and full FSM path. - /// - [Obsolete("Use LogError instead.")] - public static void RuntimeError(FsmStateAction action, string error) - { - action.LogError(action + " : " + error); - } - - #endregion - - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ActionHelpers.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/ActionHelpers.cs.meta deleted file mode 100644 index 614ca45af..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ActionHelpers.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6fa3fbb2e52978b4aaf7ba4568017953 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables.meta deleted file mode 100644 index cf6c104cc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: cc328fb751af0094c9ac73b453987f70 diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateColor.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateColor.cs deleted file mode 100644 index fe8af853b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateColor.cs +++ /dev/null @@ -1,112 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.AnimateVariables)] - [Tooltip("Animates the value of a Color Variable using an Animation Curve.")] - public class AnimateColor : AnimateFsmAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmColor colorVariable; - - [RequiredField] - public FsmAnimationCurve curveR; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to colorVariable.r.")] - public Calculation calculationR; - - [RequiredField] - public FsmAnimationCurve curveG; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to colorVariable.g.")] - public Calculation calculationG; - - [RequiredField] - public FsmAnimationCurve curveB; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to colorVariable.b.")] - public Calculation calculationB; - - [RequiredField] - public FsmAnimationCurve curveA; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to colorVariable.a.")] - public Calculation calculationA; - - private bool finishInNextStep; - - public override void Reset() - { - base.Reset(); - colorVariable = new FsmColor{UseVariable=true}; - } - - public override void OnEnter() - { - base.OnEnter(); - - finishInNextStep = false; - resultFloats = new float[4]; - fromFloats = new float[4]; - fromFloats[0] = colorVariable.IsNone ? 0f : colorVariable.Value.r; - fromFloats[1] = colorVariable.IsNone ? 0f : colorVariable.Value.g; - fromFloats[2] = colorVariable.IsNone ? 0f : colorVariable.Value.b; - fromFloats[3] = colorVariable.IsNone ? 0f : colorVariable.Value.a; - curves = new AnimationCurve[4]; - curves[0] = curveR.curve; - curves[1] = curveG.curve; - curves[2] = curveB.curve; - curves[3] = curveA.curve; - calculations = new Calculation[4]; - calculations[0] = calculationR; - calculations[1] = calculationG; - calculations[2] = calculationB; - calculations[3] = calculationA; - - Init(); - - // Set initial value - if (Math.Abs(delay.Value) < 0.01f) - { - UpdateVariableValue(); - } - } - - private void UpdateVariableValue() - { - if (!colorVariable.IsNone) - { - colorVariable.Value = new Color(resultFloats[0], resultFloats[1], resultFloats[2], resultFloats[3]); - } - } - - public override void OnUpdate() - { - base.OnUpdate(); - - if(isRunning) - { - UpdateVariableValue(); - } - - if(finishInNextStep) - { - if(!looping) - { - Finish(); - Fsm.Event(finishEvent); - } - } - - if(finishAction && !finishInNextStep) - { - UpdateVariableValue(); - finishInNextStep = true; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateColor.cs.meta deleted file mode 100644 index 29cbf7165..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 586d3af17311b5c46ab9ac5d3796b7f8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloat.cs deleted file mode 100644 index 33f0ce742..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloat.cs +++ /dev/null @@ -1,103 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.AnimateVariables)] - [Tooltip("Animates the value of a Float Variable using an Animation Curve.")] - public class AnimateFloat : FsmStateAction - { - [RequiredField] - [Tooltip("The animation curve to use.")] - public FsmAnimationCurve animCurve; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The float variable to set.")] - public FsmFloat floatVariable; - - [Tooltip("Optionally send an Event when the animation finishes.")] - public FsmEvent finishEvent; - - [Tooltip("Ignore TimeScale. Useful if the game is paused.")] - public bool realTime; - - private float startTime; - private float currentTime; - private float endTime; - private bool looping; - - public override void Reset() - { - animCurve = null; - floatVariable = null; - finishEvent = null; - realTime = false; - } - - public override void OnEnter() - { - startTime = FsmTime.RealtimeSinceStartup; - currentTime = 0f; - - if (animCurve != null && animCurve.curve != null && animCurve.curve.keys.Length > 0) - { - endTime = animCurve.curve.keys[animCurve.curve.length-1].time; - looping = ActionHelpers.IsLoopingWrapMode(animCurve.curve.postWrapMode); - } - else - { - Finish(); - return; - } - - floatVariable.Value = animCurve.curve.Evaluate(0); - } - - public override void OnUpdate() - { - // update time - - if (realTime) - { - currentTime = FsmTime.RealtimeSinceStartup - startTime; - } - else - { - currentTime += Time.deltaTime; - } - - // update animation - - if (animCurve != null && animCurve.curve != null && floatVariable != null) - { - floatVariable.Value = animCurve.curve.Evaluate(currentTime); - } - - // send finish event - - if (currentTime >= endTime) - { - if (!looping) - { - Finish(); - } - - if (finishEvent != null) - { - Fsm.Event(finishEvent); - } - } - } - - #if UNITY_EDITOR - - public override float GetProgress() - { - return Mathf.Min(currentTime/endTime , 1f); - } - - #endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloat.cs.meta deleted file mode 100644 index b3c91bc09..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloat.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5e775993337e0034e97e098d6575306c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloatV2.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloatV2.cs deleted file mode 100644 index 093f7f7dd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloatV2.cs +++ /dev/null @@ -1,71 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.AnimateVariables)] - [Tooltip("Animates the value of a Float Variable using an Animation Curve.")] - public class AnimateFloatV2: AnimateFsmAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat floatVariable; - [RequiredField] - public FsmAnimationCurve animCurve; - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to floatVariable")] - public Calculation calculation; - - - private bool finishInNextStep = false; - - public override void Reset() - { - base.Reset(); - floatVariable = new FsmFloat{UseVariable=true}; - } - - public override void OnEnter() - { - base.OnEnter(); - finishInNextStep = false; - resultFloats = new float[1]; - fromFloats = new float[1]; - fromFloats[0] = floatVariable.IsNone ? 0f : floatVariable.Value; - calculations = new Calculation[1]; - calculations[0] = calculation; - curves = new AnimationCurve[1]; - curves[0] = animCurve.curve; - //call Init after you have initialized curves array - Init(); - } - - public override void OnExit() - { - - } - - public override void OnUpdate() - { - base.OnUpdate(); - if(!floatVariable.IsNone && isRunning){ - floatVariable.Value = resultFloats[0]; - } - - if(finishInNextStep){ - if(!looping) { - Finish(); - if(finishEvent != null) Fsm.Event(finishEvent); - } - - } - - if(finishAction && !finishInNextStep){ - if(!floatVariable.IsNone){ - floatVariable.Value = resultFloats[0]; - } - finishInNextStep = true; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloatV2.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloatV2.cs.meta deleted file mode 100644 index 02c928b9e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFloatV2.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 746a13fb4786bc247a7248536b9a3890 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFsmAction.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFsmAction.cs deleted file mode 100644 index dc87fdc27..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFsmAction.cs +++ /dev/null @@ -1,299 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - /// - /// Base action for AnimateXXX actions - /// - public abstract class AnimateFsmAction : FsmStateAction - { - [Tooltip("Define animation time, scaling the curve to fit.")] - public FsmFloat time; - - [Tooltip("If you define speed, your animation will speed up or slow down.")] - public FsmFloat speed; - - [Tooltip("Delayed animation start.")] - public FsmFloat delay; - - [Tooltip("Animation curve start from any time. If IgnoreCurveOffset is true the animation starts right after the state become entered.")] - public FsmBool ignoreCurveOffset; - - [Tooltip("Optionally send an Event when the animation finishes.")] - public FsmEvent finishEvent; - - [Tooltip("Ignore TimeScale. Useful if the game is paused.")] - public bool realTime; - - private float startTime; - private float currentTime; - private float[] endTimes; - - private float lastTime; - private float deltaTime; - private float delayTime; - private float[] keyOffsets; - - protected AnimationCurve[] curves; - protected Calculation[] calculations; - - protected float[] resultFloats; - protected float[] fromFloats; - protected float[] toFloats; - - protected bool finishAction = false; - protected bool isRunning; - protected bool looping; - private bool start = false; - private float largestEndTime = 0f; - - public enum Calculation{ - None, - SetValue, - AddToValue, - SubtractFromValue, - SubtractValueFromCurve, - MultiplyValue, - DivideValue, - DivideCurveByValue, - } - - public override void Reset() - { - finishEvent = null; - realTime = false; - time = new FsmFloat { UseVariable = true }; - speed = new FsmFloat { UseVariable = true }; - delay = new FsmFloat { UseVariable = true }; - ignoreCurveOffset = new FsmBool{ Value = true}; - resultFloats = new float[0]; - fromFloats = new float[0]; - toFloats = new float[0]; - endTimes = new float[0]; - keyOffsets = new float[0]; - curves = new AnimationCurve[0]; - finishAction = false; - start = false; - } - - public override void OnEnter() - { - startTime = FsmTime.RealtimeSinceStartup; - lastTime = FsmTime.RealtimeSinceStartup - startTime; - deltaTime = 0f; - currentTime = 0f; - isRunning = false; - finishAction = false; - looping = false; - delayTime = delay.IsNone ? 0f : delayTime = delay.Value; - start = true; - } - - protected void Init() - { - endTimes = new float[curves.Length]; - keyOffsets = new float[curves.Length]; - largestEndTime = 0f; - for(int i = 0; i 0) - { - keyOffsets[i] = curves[i].keys.Length > 0 ? (time.IsNone ? curves[i].keys[0].time : (time.Value/curves[i].keys[curves[i].length-1].time)*curves[i].keys[0].time) : 0f; - currentTime = ignoreCurveOffset.IsNone ? 0f : (ignoreCurveOffset.Value ? keyOffsets[i] : 0f); - if(!time.IsNone) endTimes[i] = time.Value; - else endTimes[i] = curves[i].keys[curves[i].length-1].time; - if(largestEndTime < endTimes[i]) largestEndTime = endTimes[i]; - if(!looping) looping = ActionHelpers.IsLoopingWrapMode(curves[i].postWrapMode); - } - else - { - endTimes[i] = -1f; - } - } - for(int i = 0; i 0f && endTimes[i] == -1f) endTimes[i] = largestEndTime; - else { - if(largestEndTime == 0f && endTimes[i] == -1f) - { - if(time.IsNone) endTimes[i] = 1f; - else endTimes[i] = time.Value; - } - } - } - - // set initial result value - UpdateAnimation(); - } - - public override void OnUpdate() - { - CheckStart(); - - if(isRunning) - { - UpdateTime(); - UpdateAnimation(); - CheckFinished(); - } - } - - private void CheckStart() - { - if (!isRunning && start) - { - if (delayTime >= 0) - { - if (realTime) - { - deltaTime = (FsmTime.RealtimeSinceStartup - startTime) - lastTime; - lastTime = FsmTime.RealtimeSinceStartup - startTime; - delayTime -= deltaTime; - } - else - { - delayTime -= Time.deltaTime; - } - } - else - { - isRunning = true; - start = false; - } - } - } - - private void UpdateTime() - { - if (realTime) - { - deltaTime = (FsmTime.RealtimeSinceStartup - startTime) - lastTime; - lastTime = FsmTime.RealtimeSinceStartup - startTime; - - if (!speed.IsNone) currentTime += deltaTime*speed.Value; - else currentTime += deltaTime; - } - else - { - if (!speed.IsNone) currentTime += Time.deltaTime*speed.Value; - else currentTime += Time.deltaTime; - } - } - - public void UpdateAnimation() - { - for (var k = 0; k < curves.Length; k++) - { - if (curves[k] != null && curves[k].keys.Length > 0) - { - if (calculations[k] != AnimateFsmAction.Calculation.None) - { - switch (calculations[k]) - { - case Calculation.SetValue: - if (!time.IsNone) - resultFloats[k] = - curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length - 1].time); - else resultFloats[k] = curves[k].Evaluate(currentTime); - break; - case Calculation.AddToValue: - if (!time.IsNone) - resultFloats[k] = fromFloats[k] + - curves[k].Evaluate((currentTime/time.Value)* - curves[k].keys[curves[k].length - 1].time); - else resultFloats[k] = fromFloats[k] + curves[k].Evaluate(currentTime); - break; - case Calculation.SubtractFromValue: - if (!time.IsNone) - resultFloats[k] = fromFloats[k] - - curves[k].Evaluate((currentTime/time.Value)* - curves[k].keys[curves[k].length - 1].time); - else resultFloats[k] = fromFloats[k] - curves[k].Evaluate(currentTime); - break; - case Calculation.SubtractValueFromCurve: - if (!time.IsNone) - resultFloats[k] = - curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length - 1].time) - - fromFloats[k]; - else resultFloats[k] = curves[k].Evaluate(currentTime) - fromFloats[k]; - break; - case Calculation.MultiplyValue: - if (!time.IsNone) - resultFloats[k] = - curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length - 1].time)* - fromFloats[k]; - else resultFloats[k] = curves[k].Evaluate(currentTime)*fromFloats[k]; - break; - case Calculation.DivideValue: - if (!time.IsNone) - resultFloats[k] = - curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length - 1].time) != - 0f - ? fromFloats[k]/ - curves[k].Evaluate((currentTime/time.Value)* - curves[k].keys[curves[k].length - 1].time) - : float.MaxValue; - else - resultFloats[k] = curves[k].Evaluate(currentTime) != 0 - ? fromFloats[k]/curves[k].Evaluate(currentTime) - : float.MaxValue; - break; - case Calculation.DivideCurveByValue: - if (!time.IsNone) - resultFloats[k] = fromFloats[k] != 0f - ? curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length - 1].time)/ - fromFloats[k] - : float.MaxValue; - else - resultFloats[k] = fromFloats[k] != 0 - ? curves[k].Evaluate(currentTime)/fromFloats[k] - : float.MaxValue; - break; - } - } - else - { - resultFloats[k] = fromFloats[k]; - } - } - else - { - resultFloats[k] = fromFloats[k]; - } - } - } - - private void CheckFinished() - { - if (isRunning && !looping) - { - finishAction = true; - for (int i = 0; i < endTimes.Length; i++) - { - //Debug.Log(i.ToString() + "| " +endTimes[i].ToString() + " " + currentTime.ToString()); - if (currentTime < endTimes[i]) finishAction = false; - } - isRunning = !finishAction; - } - } - - - #if UNITY_EDITOR - - public override float GetProgress() - { - float maxendtime = 0f; - - for (int i = 0; i < endTimes.Length; i++) - { - maxendtime = Mathf.Max (maxendtime, endTimes [i]); - } - - return Mathf.Min(currentTime/maxendtime , 1f); - } - - #endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFsmAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFsmAction.cs.meta deleted file mode 100644 index 2823c1a9d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateFsmAction.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b94df5cd261931745bcc35e1aa451330 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateRect.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateRect.cs deleted file mode 100644 index 732faadf6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateRect.cs +++ /dev/null @@ -1,114 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("AnimateVariables")] - [Tooltip("Animates the value of a Rect Variable using an Animation Curve.")] - public class AnimateRect : AnimateFsmAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmRect rectVariable; - - [RequiredField] - public FsmAnimationCurve curveX; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to rectVariable.x.")] - public Calculation calculationX; - - [RequiredField] - public FsmAnimationCurve curveY; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to rectVariable.y.")] - public Calculation calculationY; - - [RequiredField] - public FsmAnimationCurve curveW; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to rectVariable.width.")] - public Calculation calculationW; - - [RequiredField] - public FsmAnimationCurve curveH; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to rectVariable.height.")] - public Calculation calculationH; - - private bool finishInNextStep; - - public override void Reset() - { - base.Reset(); - - rectVariable = new FsmRect{UseVariable=true}; - } - - public override void OnEnter() - { - base.OnEnter(); - - finishInNextStep = false; - resultFloats = new float[4]; - fromFloats = new float[4]; - fromFloats[0] = rectVariable.IsNone ? 0f : rectVariable.Value.x; - fromFloats[1] = rectVariable.IsNone ? 0f : rectVariable.Value.y; - fromFloats[2] = rectVariable.IsNone ? 0f : rectVariable.Value.width; - fromFloats[3] = rectVariable.IsNone ? 0f : rectVariable.Value.height; - curves = new AnimationCurve[4]; - curves[0] = curveX.curve; - curves[1] = curveY.curve; - curves[2] = curveW.curve; - curves[3] = curveH.curve; - calculations = new Calculation[4]; - calculations[0] = calculationX; - calculations[1] = calculationY; - calculations[2] = calculationW; - calculations[3] = calculationH; - - Init(); - - if (Math.Abs(delay.Value) < 0.01f) - { - UpdateVariableValue(); - } - - } - - private void UpdateVariableValue() - { - if (!rectVariable.IsNone) - { - rectVariable.Value = new Rect(resultFloats[0], resultFloats[1], resultFloats[2], resultFloats[3]); - } - } - - public override void OnUpdate() - { - base.OnUpdate(); - - if (isRunning) - { - UpdateVariableValue(); - } - - - if (finishInNextStep) - { - if(!looping) - { - Finish(); - Fsm.Event(finishEvent); - } - } - - if(finishAction && !finishInNextStep) - { - UpdateVariableValue(); - finishInNextStep = true; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateRect.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateRect.cs.meta deleted file mode 100644 index c84c1ade2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateRect.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4683a6d913750504f830330947fddac8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateVector3.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateVector3.cs deleted file mode 100644 index f138a85c0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateVector3.cs +++ /dev/null @@ -1,104 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.AnimateVariables)] - [Tooltip("Animates the value of a Vector3 Variable using an Animation Curve.")] - public class AnimateVector3 : AnimateFsmAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmVector3 vectorVariable; - - [RequiredField] - public FsmAnimationCurve curveX; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to vectorVariable.x.")] - public Calculation calculationX; - - [RequiredField] - public FsmAnimationCurve curveY; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to vectorVariable.y.")] - public Calculation calculationY; - - [RequiredField] - public FsmAnimationCurve curveZ; - - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to vectorVariable.z.")] - public Calculation calculationZ; - - private bool finishInNextStep; - - public override void Reset() - { - base.Reset(); - vectorVariable = new FsmVector3{UseVariable=true}; - } - - public override void OnEnter() - { - base.OnEnter(); - - finishInNextStep = false; - resultFloats = new float[3]; - fromFloats = new float[3]; - fromFloats[0] = vectorVariable.IsNone ? 0f : vectorVariable.Value.x; - fromFloats[1] = vectorVariable.IsNone ? 0f : vectorVariable.Value.y; - fromFloats[2] = vectorVariable.IsNone ? 0f : vectorVariable.Value.z; - curves = new AnimationCurve[3]; - curves[0] = curveX.curve; - curves[1] = curveY.curve; - curves[2] = curveZ.curve; - calculations = new Calculation[3]; - calculations[0] = calculationX; - calculations[1] = calculationY; - calculations[2] = calculationZ; - - Init(); - - // Set initial value - if (Math.Abs(delay.Value) < 0.01f) - { - UpdateVariableValue(); - } - } - - private void UpdateVariableValue() - { - if (!vectorVariable.IsNone) - { - vectorVariable.Value = new Vector3(resultFloats[0], resultFloats[1], resultFloats[2]); - } - } - - public override void OnUpdate() - { - base.OnUpdate(); - - if(isRunning) - { - UpdateVariableValue(); - } - - if(finishInNextStep) - { - if(!looping) - { - Finish(); - Fsm.Event(finishEvent); - } - - } - - if(finishAction && !finishInNextStep) - { - UpdateVariableValue(); - finishInNextStep = true; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateVector3.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateVector3.cs.meta deleted file mode 100644 index b51eb5c54..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/AnimateVector3.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 096d312d970839340bb0b73993a5217e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveColor.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveColor.cs deleted file mode 100644 index 460464b8b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveColor.cs +++ /dev/null @@ -1,109 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.AnimateVariables)] - [Tooltip("Animates the value of a Color Variable FROM-TO with assistance of Deformation Curves.")] - public class CurveColor: CurveFsmAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmColor colorVariable; - [RequiredField] - public FsmColor fromValue; - [RequiredField] - public FsmColor toValue; - [RequiredField] - public FsmAnimationCurve curveR; - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to otherwise linear move between fromValue.Red and toValue.Rec.")] - public Calculation calculationR; - [RequiredField] - public FsmAnimationCurve curveG; - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to otherwise linear move between fromValue.Green and toValue.Green.")] - public Calculation calculationG; - [RequiredField] - public FsmAnimationCurve curveB; - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to otherwise linear move between fromValue.Blue and toValue.Blue.")] - public Calculation calculationB; - [RequiredField] - public FsmAnimationCurve curveA; - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to otherwise linear move between fromValue.Alpha and toValue.Alpha.")] - public Calculation calculationA; - - - Color clr; - - private bool finishInNextStep = false; - - public override void Reset() - { - base.Reset(); - - colorVariable = new FsmColor{UseVariable=true}; - toValue = new FsmColor{UseVariable=true}; - fromValue = new FsmColor{UseVariable=true}; - } - - public override void OnEnter() - { - base.OnEnter(); - finishInNextStep = false; - resultFloats = new float[4]; - fromFloats = new float[4]; - fromFloats[0] = fromValue.IsNone ? 0f : fromValue.Value.r; - fromFloats[1] = fromValue.IsNone ? 0f : fromValue.Value.g; - fromFloats[2] = fromValue.IsNone ? 0f : fromValue.Value.b; - fromFloats[3] = fromValue.IsNone ? 0f : fromValue.Value.a; - toFloats = new float[4]; - toFloats[0] = toValue.IsNone ? 0f : toValue.Value.r; - toFloats[1] = toValue.IsNone ? 0f : toValue.Value.g; - toFloats[2] = toValue.IsNone ? 0f : toValue.Value.b; - toFloats[3] = toValue.IsNone ? 0f : toValue.Value.a; - - curves = new AnimationCurve[4]; - curves[0] = curveR.curve; - curves[1] = curveG.curve; - curves[2] = curveB.curve; - curves[3] = curveA.curve; - calculations = new Calculation[4]; - calculations[0] = calculationR; - calculations[1] = calculationG; - calculations[2] = calculationB; - calculations[3] = calculationA; - //call Init after you have initialized curves array - Init(); - } - - public override void OnExit() - { - - } - - public override void OnUpdate() - { - base.OnUpdate(); - if(!colorVariable.IsNone && isRunning){ - clr = new Color(resultFloats[0], resultFloats[1], resultFloats[2], resultFloats[3]); - colorVariable.Value = clr; - } - - if(finishInNextStep){ - if(!looping) { - Finish(); - if(finishEvent != null) Fsm.Event(finishEvent); - } - - } - - if(finishAction && !finishInNextStep){ - if(!colorVariable.IsNone){ - clr = new Color(resultFloats[0], resultFloats[1], resultFloats[2], resultFloats[3]); - colorVariable.Value = clr; - } - finishInNextStep = true; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveColor.cs.meta deleted file mode 100644 index 2a0e53ce9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2b5ecf704915e1c47a236d3a9e13e1d8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveFloat.cs deleted file mode 100644 index eed8039cf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveFloat.cs +++ /dev/null @@ -1,79 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.AnimateVariables)] - [Tooltip("Animates the value of a Float Variable FROM-TO with assistance of Deformation Curve.")] - public class CurveFloat: CurveFsmAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat floatVariable; - [RequiredField] - public FsmFloat fromValue; - [RequiredField] - public FsmFloat toValue; - [RequiredField] - public FsmAnimationCurve animCurve; - [Tooltip("Calculation lets you set a type of curve deformation that will be applied to otherwise linear move between fromValue and toValue.")] - public Calculation calculation; - - - private bool finishInNextStep = false; - - public override void Reset() - { - base.Reset(); - floatVariable = new FsmFloat{UseVariable=true}; - toValue = new FsmFloat{UseVariable=true}; - fromValue = new FsmFloat{UseVariable=true}; - } - - public override void OnEnter() - { - base.OnEnter(); - finishInNextStep = false; - resultFloats = new float[1]; - fromFloats = new float[1]; - fromFloats[0] = fromValue.IsNone ? 0f : fromValue.Value; - toFloats = new float[1]; - toFloats[0] = toValue.IsNone ? 0f : toValue.Value; - calculations = new Calculation[1]; - calculations[0] = calculation; - curves = new AnimationCurve[1]; - curves[0] = animCurve.curve; - //call Init after you have initialized curves array - Init(); - } - - public override void OnExit() - { - - } - - public override void OnUpdate() - { - base.OnUpdate(); - if(!floatVariable.IsNone && isRunning){ - floatVariable.Value = resultFloats[0]; - } - - if(finishInNextStep){ - if(!looping) { - Finish(); - if(finishEvent != null) Fsm.Event(finishEvent); - } - - } - - if(finishAction && !finishInNextStep){ - if(!floatVariable.IsNone){ - floatVariable.Value = resultFloats[0]; - } - finishInNextStep = true; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveFloat.cs.meta deleted file mode 100644 index 51a8a4dbb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveFloat.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8df028d2f13f5914482be2a14d98f4b6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveFsmAction.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveFsmAction.cs deleted file mode 100644 index 3d69e532a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/CurveFsmAction.cs +++ /dev/null @@ -1,237 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - - [Tooltip("Animate base action - DON'T USE IT!")] - public abstract class CurveFsmAction : FsmStateAction - { - [Tooltip("Define animation time, scaling the curve to fit.")] - public FsmFloat time; - [Tooltip("If you define speed, your animation will speed up or slow down.")] - public FsmFloat speed; - [Tooltip("Delayed animation start.")] - public FsmFloat delay; - [Tooltip("Animation curve start from any time. If IgnoreCurveOffset is true the animation starts right after the state become entered.")] - public FsmBool ignoreCurveOffset; - [Tooltip("Optionally send an Event when the animation finishes.")] - public FsmEvent finishEvent; - [Tooltip("Ignore TimeScale. Useful if the game is paused.")] - public bool realTime; - - private float startTime; - private float currentTime; - private float[] endTimes; - - private float lastTime; - private float deltaTime; - private float delayTime; - private float[] keyOffsets; - - protected AnimationCurve[] curves; - protected Calculation[] calculations; - - protected float[] resultFloats; - protected float[] fromFloats; - protected float[] toFloats; - private float[] distances; - - protected bool finishAction = false; - protected bool isRunning; - protected bool looping; - private bool start = false; - private float largestEndTime = 0f; - - public enum Calculation{ - None, - AddToValue, - SubtractFromValue, - SubtractValueFromCurve, - MultiplyValue, - DivideValue, - DivideCurveByValue, - } - - public override void Reset() - { - finishEvent = null; - realTime = false; - time = new FsmFloat { UseVariable = true }; - speed = new FsmFloat { UseVariable = true }; - delay = new FsmFloat { UseVariable = true }; - ignoreCurveOffset = new FsmBool{ Value = true}; - resultFloats = new float[0]; - fromFloats = new float[0]; - toFloats = new float[0]; - distances = new float[0]; - endTimes = new float[0]; - keyOffsets = new float[0]; - curves = new AnimationCurve[0]; - finishAction = false; - start = false; - } - - public override void OnEnter() - { - startTime = FsmTime.RealtimeSinceStartup; - lastTime = FsmTime.RealtimeSinceStartup - startTime; - deltaTime = 0f; - currentTime = 0f; - isRunning = false; - finishAction = false; - looping = false; - delayTime = delay.IsNone ? 0f : delayTime = delay.Value; - start = true; - } - - protected void Init(){ - endTimes = new float[curves.Length]; - keyOffsets = new float[curves.Length]; - largestEndTime = 0f; - for(int i = 0; i 0) - { - keyOffsets[i] = curves[i].keys.Length > 0 ? (time.IsNone ? curves[i].keys[0].time : (time.Value/curves[i].keys[curves[i].length-1].time)*curves[i].keys[0].time) : 0f; - currentTime = ignoreCurveOffset.IsNone ? 0f : (ignoreCurveOffset.Value ? keyOffsets[i] : 0f); - if(!time.IsNone) endTimes[i] = time.Value; - else endTimes[i] = curves[i].keys[curves[i].length-1].time; - if(largestEndTime < endTimes[i]) largestEndTime = endTimes[i]; - if(!looping) looping = ActionHelpers.IsLoopingWrapMode(curves[i].postWrapMode); - } else { - endTimes[i] = -1f; - } - } - for(int i = 0; i 0f && endTimes[i] == -1f) endTimes[i] = largestEndTime; - else { - if(largestEndTime == 0f && endTimes[i] == -1f) { - if(time.IsNone) endTimes[i] = 1f; - else endTimes[i] = time.Value; - } - } - } - distances = new float[fromFloats.Length]; - for(int i = 0; i= 0) { - if(realTime){ - deltaTime = (FsmTime.RealtimeSinceStartup - startTime) - lastTime; - lastTime = FsmTime.RealtimeSinceStartup - startTime; - delayTime -= deltaTime; - } else { - delayTime -= Time.deltaTime; - } - } else { - isRunning = true; - start = false; - startTime = FsmTime.RealtimeSinceStartup; - lastTime = FsmTime.RealtimeSinceStartup - startTime; - } - } - - if(isRunning && !finishAction){ - if (realTime) - { - deltaTime = (FsmTime.RealtimeSinceStartup - startTime) - lastTime; - lastTime = FsmTime.RealtimeSinceStartup - startTime; - - if(!speed.IsNone) currentTime += deltaTime*speed.Value; - else currentTime += deltaTime; - } - else - { - if(!speed.IsNone) currentTime += Time.deltaTime*speed.Value; - else currentTime += Time.deltaTime; - } - - // update animation - for(var k = 0; k 0) - { - if(calculations[k] != CurveFsmAction.Calculation.None){ - switch(calculations[k]){ - case Calculation.AddToValue: - if(!time.IsNone) resultFloats[k] = fromFloats[k] + (distances[k]*(currentTime/time.Value) + curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length-1].time)); - else resultFloats[k] = fromFloats[k] + (distances[k]*(currentTime/endTimes[k]) + curves[k].Evaluate(currentTime)); - break; - case Calculation.SubtractFromValue: - if(!time.IsNone) resultFloats[k] = fromFloats[k] + (distances[k]*(currentTime/time.Value) - curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length-1].time)); - else resultFloats[k] = fromFloats[k] + (distances[k]*(currentTime/endTimes[k]) - curves[k].Evaluate(currentTime)); - break; - case Calculation.SubtractValueFromCurve: - if(!time.IsNone) resultFloats[k] = (curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length-1].time) - distances[k]*(currentTime/time.Value)) + fromFloats[k]; - else resultFloats[k] = (curves[k].Evaluate(currentTime) - distances[k]*(currentTime/endTimes[k])) + fromFloats[k]; - break; - case Calculation.MultiplyValue: - if(!time.IsNone) resultFloats[k] = (curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length-1].time) * distances[k]*(currentTime/time.Value)) + fromFloats[k]; - else resultFloats[k] = (curves[k].Evaluate(currentTime) * distances[k]*(currentTime/endTimes[k])) + fromFloats[k]; - break; - case Calculation.DivideValue : - if(!time.IsNone) resultFloats[k] = curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length-1].time) != 0f - ? fromFloats[k]+ (distances[k]*(currentTime/time.Value))/curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length-1].time) : float.MaxValue; - else resultFloats[k] = curves[k].Evaluate(currentTime) != 0 - ? fromFloats[k] + (distances[k]*(currentTime/endTimes[k]))/curves[k].Evaluate(currentTime) : float.MaxValue; - break; - case Calculation.DivideCurveByValue : - if(!time.IsNone) resultFloats[k] = fromFloats[k] != 0f - ? curves[k].Evaluate((currentTime/time.Value)*curves[k].keys[curves[k].length-1].time)/(distances[k]*(currentTime/time.Value)) + fromFloats[k] : float.MaxValue; - else resultFloats[k] = fromFloats[k] != 0 - ? curves[k].Evaluate(currentTime)/(distances[k]*(currentTime/endTimes[k])) + fromFloats[k] : float.MaxValue; - break; - } - } else { - //Linear interpolation between color components - if(!time.IsNone) resultFloats[k] = (fromFloats[k] + distances[k]*(currentTime/time.Value)); - else resultFloats[k] = (fromFloats[k] + distances[k]*(currentTime/endTimes[k])); - } - } else { - if(!time.IsNone) resultFloats[k] = (fromFloats[k] + distances[k]*(currentTime/time.Value)); - else { - if(largestEndTime == 0f){ - resultFloats[k] = (fromFloats[k] + distances[k]*(currentTime/1f)); - } else { - resultFloats[k] = (fromFloats[k] + distances[k]*(currentTime/largestEndTime)); - } - - } - } - } - - if(isRunning) { - finishAction = true; - for(int i = 0; i= 0) { - if(realTime){ - deltaTime = (FsmTime.RealtimeSinceStartup - startTime) - lastTime; - lastTime = FsmTime.RealtimeSinceStartup - startTime; - delayTime -= deltaTime; - } else { - delayTime -= Time.deltaTime; - } - } else { - isRunning = true; - start= false; - startTime = FsmTime.RealtimeSinceStartup; - lastTime = FsmTime.RealtimeSinceStartup - startTime; - } - } - - if(isRunning && !finished){ - if(!(reverse.IsNone ? false : reverse.Value)){ - UpdatePercentage(); - if(percentage<1f){ - for(int i=0; i0f){ - for(int i=0; i half){ - diff = -((max - end) + start) * value; - retval = start + diff; - }else retval = start + (end - start) * value; - return retval; - } - - protected float spring(float start, float end, float value){ - value = Mathf.Clamp01(value); - value = (Mathf.Sin(value * Mathf.PI * (0.2f + 2.5f * value * value * value)) * Mathf.Pow(1f - value, 2.2f) + value) * (1f + (1.2f * (1f - value))); - return start + (end - start) * value; - } - - protected float easeInQuad(float start, float end, float value){ - end -= start; - return end * value * value + start; - } - - protected float easeOutQuad(float start, float end, float value){ - end -= start; - return -end * value * (value - 2) + start; - } - - protected float easeInOutQuad(float start, float end, float value){ - value /= .5f; - end -= start; - if (value < 1) return end / 2 * value * value + start; - value--; - return -end / 2 * (value * (value - 2) - 1) + start; - } - - protected float easeInCubic(float start, float end, float value){ - end -= start; - return end * value * value * value + start; - } - - protected float easeOutCubic(float start, float end, float value){ - value--; - end -= start; - return end * (value * value * value + 1) + start; - } - - protected float easeInOutCubic(float start, float end, float value){ - value /= .5f; - end -= start; - if (value < 1) return end / 2 * value * value * value + start; - value -= 2; - return end / 2 * (value * value * value + 2) + start; - } - - protected float easeInQuart(float start, float end, float value){ - end -= start; - return end * value * value * value * value + start; - } - - protected float easeOutQuart(float start, float end, float value){ - value--; - end -= start; - return -end * (value * value * value * value - 1) + start; - } - - protected float easeInOutQuart(float start, float end, float value){ - value /= .5f; - end -= start; - if (value < 1) return end / 2 * value * value * value * value + start; - value -= 2; - return -end / 2 * (value * value * value * value - 2) + start; - } - - protected float easeInQuint(float start, float end, float value){ - end -= start; - return end * value * value * value * value * value + start; - } - - protected float easeOutQuint(float start, float end, float value){ - value--; - end -= start; - return end * (value * value * value * value * value + 1) + start; - } - - protected float easeInOutQuint(float start, float end, float value){ - value /= .5f; - end -= start; - if (value < 1) return end / 2 * value * value * value * value * value + start; - value -= 2; - return end / 2 * (value * value * value * value * value + 2) + start; - } - - protected float easeInSine(float start, float end, float value){ - end -= start; - return -end * Mathf.Cos(value / 1 * (Mathf.PI / 2)) + end + start; - } - - protected float easeOutSine(float start, float end, float value){ - end -= start; - return end * Mathf.Sin(value / 1 * (Mathf.PI / 2)) + start; - } - - protected float easeInOutSine(float start, float end, float value){ - end -= start; - return -end / 2 * (Mathf.Cos(Mathf.PI * value / 1) - 1) + start; - } - - protected float easeInExpo(float start, float end, float value){ - end -= start; - return end * Mathf.Pow(2, 10 * (value / 1 - 1)) + start; - } - - protected float easeOutExpo(float start, float end, float value){ - end -= start; - return end * (-Mathf.Pow(2, -10 * value / 1) + 1) + start; - } - - protected float easeInOutExpo(float start, float end, float value){ - value /= .5f; - end -= start; - if (value < 1) return end / 2 * Mathf.Pow(2, 10 * (value - 1)) + start; - value--; - return end / 2 * (-Mathf.Pow(2, -10 * value) + 2) + start; - } - - protected float easeInCirc(float start, float end, float value){ - end -= start; - return -end * (Mathf.Sqrt(1 - value * value) - 1) + start; - } - - protected float easeOutCirc(float start, float end, float value){ - value--; - end -= start; - return end * Mathf.Sqrt(1 - value * value) + start; - } - - protected float easeInOutCirc(float start, float end, float value){ - value /= .5f; - end -= start; - if (value < 1) return -end / 2 * (Mathf.Sqrt(1 - value * value) - 1) + start; - value -= 2; - return end / 2 * (Mathf.Sqrt(1 - value * value) + 1) + start; - } - - protected float bounce(float start, float end, float value){ - value /= 1f; - end -= start; - if (value < (1 / 2.75f)){ - return end * (7.5625f * value * value) + start; - }else if (value < (2 / 2.75f)){ - value -= (1.5f / 2.75f); - return end * (7.5625f * (value) * value + .75f) + start; - }else if (value < (2.5 / 2.75)){ - value -= (2.25f / 2.75f); - return end * (7.5625f * (value) * value + .9375f) + start; - }else{ - value -= (2.625f / 2.75f); - return end * (7.5625f * (value) * value + .984375f) + start; - } - } - - protected float easeInBack(float start, float end, float value){ - end -= start; - value /= 1; - float s = 1.70158f; - return end * (value) * value * ((s + 1) * value - s) + start; - } - - protected float easeOutBack(float start, float end, float value){ - float s = 1.70158f; - end -= start; - value = (value / 1) - 1; - return end * ((value) * value * ((s + 1) * value + s) + 1) + start; - } - - protected float easeInOutBack(float start, float end, float value){ - float s = 1.70158f; - end -= start; - value /= .5f; - if ((value) < 1){ - s *= (1.525f); - return end / 2 * (value * value * (((s) + 1) * value - s)) + start; - } - value -= 2; - s *= (1.525f); - return end / 2 * ((value) * value * (((s) + 1) * value + s) + 2) + start; - } - - protected float punch(float amplitude, float value){ - float s = 9; - if (value == 0){ - return 0; - } - if (value == 1){ - return 0; - } - float period = 1 * 0.3f; - s = period / (2 * Mathf.PI) * Mathf.Asin(0); - return (amplitude * Mathf.Pow(2, -10 * value) * Mathf.Sin((value * 1 - s) * (2 * Mathf.PI) / period)); - } - - protected float elastic(float start, float end, float value){ - //Thank you to rafael.marteleto for fixing this as a port over from Pedro's UnityTween - end -= start; - - float d = 1f; - float p = d * .3f; - float s = 0; - float a = 0; - - if (value == 0) return start; - - if ((value /= d) == 1) return start + end; - - if (a == 0f || a < Mathf.Abs(end)){ - a = end; - s = p / 4; - }else{ - s = p / (2 * Mathf.PI) * Mathf.Asin(end / a); - } - - return (a * Mathf.Pow(2, -10 * value) * Mathf.Sin((value * d - s) * (2 * Mathf.PI) / p) + end + start); - } - - #endregion - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseFsmAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseFsmAction.cs.meta deleted file mode 100644 index 4a0698d25..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseFsmAction.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 652d636e5afe3ee4ebe97f2b8a6db58f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseRect.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseRect.cs deleted file mode 100644 index 8cb7c7f64..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseRect.cs +++ /dev/null @@ -1,75 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("AnimateVariables")] - [Tooltip("Easing Animation - Rect.")] - public class EaseRect : EaseFsmAction - { - [RequiredField] - public FsmRect fromValue; - [RequiredField] - public FsmRect toValue; - [UIHint(UIHint.Variable)] - public FsmRect rectVariable; - - private bool finishInNextStep = false; - - public override void Reset (){ - base.Reset(); - rectVariable = null; - fromValue = null; - toValue = null; - finishInNextStep = false; - } - - - public override void OnEnter () - { - base.OnEnter(); - fromFloats = new float[4]; - fromFloats[0] = fromValue.Value.x; - fromFloats[1] = fromValue.Value.y; - fromFloats[2] = fromValue.Value.width; - fromFloats[3] = fromValue.Value.height; - toFloats = new float[4]; - toFloats[0] = toValue.Value.x; - toFloats[1] = toValue.Value.y; - toFloats[2] = toValue.Value.width; - toFloats[3] = toValue.Value.height; - resultFloats = new float[4]; - finishInNextStep = false; - rectVariable.Value = fromValue.Value; - } - - public override void OnExit (){ - base.OnExit(); - } - - public override void OnUpdate(){ - base.OnUpdate(); - if(!rectVariable.IsNone && isRunning){ - rectVariable.Value = new Rect(resultFloats[0],resultFloats[1],resultFloats[2], resultFloats[3]); - } - - if(finishInNextStep){ - Finish(); - if(finishEvent != null) Fsm.Event(finishEvent); - } - - if(finishAction && !finishInNextStep){ - if(!rectVariable.IsNone){ - rectVariable.Value = new Rect(reverse.IsNone ? toValue.Value.x : reverse.Value ? fromValue.Value.x : toValue.Value.x, - reverse.IsNone ? toValue.Value.y : reverse.Value ? fromValue.Value.y : toValue.Value.y, - reverse.IsNone ? toValue.Value.width : reverse.Value ? fromValue.Value.width : toValue.Value.width, - reverse.IsNone ? toValue.Value.height : reverse.Value ? fromValue.Value.height : toValue.Value.height - ); - } - finishInNextStep = true; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseRect.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseRect.cs.meta deleted file mode 100644 index ef0d3ba17..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseRect.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c7149467973e052458a62dbd4dbc91c1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseVector3.cs b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseVector3.cs deleted file mode 100644 index 0cddc59ad..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseVector3.cs +++ /dev/null @@ -1,72 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.AnimateVariables)] - [Tooltip("Easing Animation - Vector3")] - public class EaseVector3 : EaseFsmAction - { - [RequiredField] - public FsmVector3 fromValue; - [RequiredField] - public FsmVector3 toValue; - [UIHint(UIHint.Variable)] - public FsmVector3 vector3Variable; - - private bool finishInNextStep = false; - - public override void Reset (){ - base.Reset(); - vector3Variable = null; - fromValue = null; - toValue = null; - finishInNextStep = false; - } - - - public override void OnEnter () - { - base.OnEnter(); - fromFloats = new float[3]; - fromFloats[0] = fromValue.Value.x; - fromFloats[1] = fromValue.Value.y; - fromFloats[2] = fromValue.Value.z; - toFloats = new float[3]; - toFloats[0] = toValue.Value.x; - toFloats[1] = toValue.Value.y; - toFloats[2] = toValue.Value.z; - resultFloats = new float[3]; - finishInNextStep = false; - vector3Variable.Value = fromValue.Value; - } - - public override void OnExit (){ - base.OnExit(); - } - - public override void OnUpdate(){ - base.OnUpdate(); - if(!vector3Variable.IsNone && isRunning){ - vector3Variable.Value = new Vector3(resultFloats[0],resultFloats[1],resultFloats[2]); - } - - if(finishInNextStep){ - Finish(); - if(finishEvent != null) Fsm.Event(finishEvent); - } - - if(finishAction && !finishInNextStep){ - if(!vector3Variable.IsNone){ - vector3Variable.Value = new Vector3(reverse.IsNone ? toValue.Value.x : reverse.Value ? fromValue.Value.x : toValue.Value.x, - reverse.IsNone ? toValue.Value.y : reverse.Value ? fromValue.Value.y : toValue.Value.y, - reverse.IsNone ? toValue.Value.z : reverse.Value ? fromValue.Value.z : toValue.Value.z - ); - } - finishInNextStep = true; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseVector3.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseVector3.cs.meta deleted file mode 100644 index 07d872e69..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/AnimateVariables/EaseVector3.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 94f53459012912c41aaa91782fd12bb1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation.meta deleted file mode 100644 index 09252a4bb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 46245649d52953640b7095b573d2ff3c -folderAsset: yes -timeCreated: 1504501372 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/AddAnimationClip.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/AddAnimationClip.cs deleted file mode 100644 index a0237b21b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/AddAnimationClip.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Adds a named Animation Clip to a Game Object. Optionally trims the Animation.")] - public class AddAnimationClip : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - [Tooltip("The GameObject to add the Animation Clip to.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [ObjectType(typeof(AnimationClip))] - [Tooltip("The animation clip to add. NOTE: Make sure the clip is compatible with the object's hierarchy.")] - public FsmObject animationClip; - - [RequiredField] - [Tooltip("Name the animation. Used by other actions to reference this animation.")] - public FsmString animationName; - - [Tooltip("Optionally trim the animation by specifying a first and last frame.")] - public FsmInt firstFrame; - - [Tooltip("Optionally trim the animation by specifying a first and last frame.")] - public FsmInt lastFrame; - - [Tooltip("Add an extra looping frame that matches the first frame.")] - public FsmBool addLoopFrame; - - public override void Reset() - { - gameObject = null; - animationClip = null; - animationName = ""; - firstFrame = 0; - lastFrame = 0; - addLoopFrame = false; - } - - public override void OnEnter() - { - DoAddAnimationClip(); - Finish(); - } - - void DoAddAnimationClip() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var animClip = animationClip.Value as AnimationClip; - if (animClip == null) - { - return; - } - - var animation = go.GetComponent(); - - if (firstFrame.Value == 0 && lastFrame.Value == 0) - { - animation.AddClip(animClip, animationName.Value); - } - else - { - animation.AddClip(animClip, animationName.Value, firstFrame.Value, lastFrame.Value, addLoopFrame.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/AddAnimationClip.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/AddAnimationClip.cs.meta deleted file mode 100644 index 9cc598a46..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/AddAnimationClip.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8b9bc61aa3cfd0e43818e823d44ac217 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/AddMixingTransform.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/AddMixingTransform.cs deleted file mode 100644 index 8a44354d1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/AddMixingTransform.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Play an animation on a subset of the hierarchy. E.g., A waving animation on the upper body.")] - public class AddMixingTransform : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - [Tooltip("The GameObject playing the animation.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The name of the animation to mix. NOTE: The animation should already be added to the Animation Component on the GameObject.")] - public FsmString animationName; - - [RequiredField] - [Tooltip("The mixing transform. E.g., root/upper_body/left_shoulder")] - public FsmString transform; - - [Tooltip("If recursive is true all children of the mix transform will also be animated.")] - public FsmBool recursive; - - public override void Reset() - { - gameObject = null; - animationName = ""; - transform = ""; - recursive = true; - } - - public override void OnEnter() - { - DoAddMixingTransform(); - - Finish(); - } - - void DoAddMixingTransform() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var animClip = animation[animationName.Value]; - if (animClip == null) - { - return; - } - - var mixingTransform = go.transform.Find(transform.Value); - animClip.AddMixingTransform(mixingTransform, recursive.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/AddMixingTransform.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/AddMixingTransform.cs.meta deleted file mode 100644 index 9e1fc21b2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/AddMixingTransform.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a6cff7a6b1eb9d840aac5db6552a2780 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/AnimationSettings.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/AnimationSettings.cs deleted file mode 100644 index 56b37fa5c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/AnimationSettings.cs +++ /dev/null @@ -1,85 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Set the Wrap Mode, Blend Mode, Layer and Speed of an Animation.\nNOTE: Settings are applied once, on entering the state, NOT continuously. To dynamically control an animation's settings, use Set Animation Speed etc.")] - public class AnimationSettings : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - [Tooltip("A GameObject with an Animation Component.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Animation)] - [Tooltip("The name of the animation.")] - public FsmString animName; - - [Tooltip("The behavior of the animation when it wraps.")] - public WrapMode wrapMode; - - [Tooltip("How the animation is blended with other animations on the Game Object.")] - public AnimationBlendMode blendMode; - - [HasFloatSlider(0f, 5f)] - [Tooltip("The speed of the animation. 1 = normal; 2 = double speed...")] - public FsmFloat speed; - - [Tooltip("The animation layer")] - public FsmInt layer; - - public override void Reset() - { - gameObject = null; - animName = null; - wrapMode = WrapMode.Loop; - blendMode = AnimationBlendMode.Blend; - speed = 1.0f; - layer = 0; - } - - public override void OnEnter() - { - DoAnimationSettings(); - - Finish(); - } - - private void DoAnimationSettings() - { - if (string.IsNullOrEmpty(animName.Value)) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var anim = animation[animName.Value]; - if (anim == null) - { - LogWarning("Missing animation: " + animName.Value); - return; - } - - anim.wrapMode = wrapMode; - anim.blendMode = blendMode; - - if (!layer.IsNone) - { - anim.layer = layer.Value; - } - - if (!speed.IsNone) - { - anim.speed = speed.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/AnimationSettings.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/AnimationSettings.cs.meta deleted file mode 100644 index 7dc7df705..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/AnimationSettings.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6f1da104999d6b144b9e1d7cff19f8e9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/BaseAnimationAction.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/BaseAnimationAction.cs deleted file mode 100644 index d1aec7745..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/BaseAnimationAction.cs +++ /dev/null @@ -1,24 +0,0 @@ -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - // Base class for logging actions - public abstract class BaseAnimationAction : ComponentAction - { - //#if UNITY_EDITOR - - public override void OnActionTargetInvoked(object targetObject) - { - var animClip = targetObject as AnimationClip; - if (animClip == null) return; - - var animationComponent = Owner.GetComponent(); - if (animationComponent != null) - { - animationComponent.AddClip(animClip, animClip.name); - } - } - - //#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/BaseAnimationAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/BaseAnimationAction.cs.meta deleted file mode 100644 index ab57149fa..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/BaseAnimationAction.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ce8daff68704b6449ae96e8e79b6fc18 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/BlendAnimation.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/BlendAnimation.cs deleted file mode 100644 index 950624c1c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/BlendAnimation.cs +++ /dev/null @@ -1,98 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Blends an Animation towards a Target Weight over a specified Time.\nOptionally sends an Event when finished.")] - public class BlendAnimation : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - [Tooltip("The GameObject to animate.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Animation)] - [Tooltip("The name of the animation to blend.")] - public FsmString animName; - - [RequiredField] - [HasFloatSlider(0f, 1f)] - [Tooltip("Target weight to blend to.")] - public FsmFloat targetWeight; - - [RequiredField] - [HasFloatSlider(0f, 5f)] - [Tooltip("How long should the blend take.")] - public FsmFloat time; - - [Tooltip("Event to send when the blend has finished.")] - public FsmEvent finishEvent; - - // TODO: Delayed event doesn't handle speed changes etc. - // Use Animation isPlaying instead? - DelayedEvent delayedFinishEvent; - - public override void Reset() - { - gameObject = null; - animName = null; - targetWeight = 1f; - time = 0.3f; - finishEvent = null; - } - - public override void OnEnter() - { - DoBlendAnimation(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - } - - public override void OnUpdate() - { - if (DelayedEvent.WasSent(delayedFinishEvent)) - { - Finish(); - } - } - - void DoBlendAnimation(GameObject go) - { - if (go == null) - { - return; - } - - var animation = go.GetComponent(); - if (animation == null) - { - LogWarning("Missing Animation component on GameObject: " + go.name); - Finish(); - return; - } - - var anim = animation[animName.Value]; - if (anim == null) - { - LogWarning("Missing animation: " + animName.Value); - Finish(); - return; - } - - var timeValue = time.Value; - animation.Blend(animName.Value, targetWeight.Value, timeValue); - - // TODO: doesn't work well with scaled time - if (finishEvent != null) - { - delayedFinishEvent = Fsm.DelayedEvent(finishEvent, anim.length); - } - else - { - Finish(); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/BlendAnimation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/BlendAnimation.cs.meta deleted file mode 100644 index f47de2195..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/BlendAnimation.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: caaf16a32a7f8eb4fa362e719d2e901f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/CapturePoseAsAnimationClip.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/CapturePoseAsAnimationClip.cs deleted file mode 100644 index 439552343..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/CapturePoseAsAnimationClip.cs +++ /dev/null @@ -1,125 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Captures the current pose of a hierarchy as an animation clip.\n\nUseful to blend from an arbitrary pose (e.g. a rag-doll death) back to a known animation (e.g. idle).")] - public class CapturePoseAsAnimationClip : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - [Tooltip("The GameObject root of the hierarchy to capture.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Capture position keys.")] - public FsmBool position; - - [Tooltip("Capture rotation keys.")] - public FsmBool rotation; - - [Tooltip("Capture scale keys.")] - public FsmBool scale; - - [RequiredField] - [UIHint(UIHint.Variable)] - [ObjectType(typeof(AnimationClip))] - [Tooltip("Store the result in an Object variable of type AnimationClip.")] - public FsmObject storeAnimationClip; - - public override void Reset() - { - gameObject = null; - position = false; - rotation = true; - scale = false; - storeAnimationClip = null; - } - - public override void OnEnter() - { - DoCaptureAnimationClip(); - - Finish(); - } - - void DoCaptureAnimationClip() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var animClip = new AnimationClip(); - - foreach (Transform child in go.transform) - { - CaptureTransform(child, "", animClip); - } - - storeAnimationClip.Value = animClip; - } - - void CaptureTransform(Transform transform, string path, AnimationClip clip) - { - path += transform.name; - - //Debug.Log(path); - - if (position.Value) - { - CapturePosition(transform, path, clip); - } - - if (rotation.Value) - { - CaptureRotation(transform, path, clip); - } - - if (scale.Value) - { - CaptureScale(transform, path, clip); - } - - foreach (Transform child in transform) - { - CaptureTransform(child, path + "/", clip); - } - } - - void CapturePosition(Transform transform, string path, AnimationClip clip) - { - SetConstantCurve(clip, path, "localPosition.x", transform.localPosition.x); - SetConstantCurve(clip, path, "localPosition.y", transform.localPosition.y); - SetConstantCurve(clip, path, "localPosition.z", transform.localPosition.z); - } - - void CaptureRotation(Transform transform, string path, AnimationClip clip) - { - SetConstantCurve(clip, path, "localRotation.x", transform.localRotation.x); - SetConstantCurve(clip, path, "localRotation.y", transform.localRotation.y); - SetConstantCurve(clip, path, "localRotation.z", transform.localRotation.z); - SetConstantCurve(clip, path, "localRotation.w", transform.localRotation.w); - } - - void CaptureScale(Transform transform, string path, AnimationClip clip) - { - SetConstantCurve(clip, path, "localScale.x", transform.localScale.x); - SetConstantCurve(clip, path, "localScale.y", transform.localScale.y); - SetConstantCurve(clip, path, "localScale.z", transform.localScale.z); - } - - void SetConstantCurve(AnimationClip clip, string childPath, string propertyPath, float value) - { - var curve = AnimationCurve.Linear(0, value, 100, value); - curve.postWrapMode = WrapMode.Loop; - - clip.SetCurve(childPath, typeof(Transform), propertyPath, curve); - } - - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/CapturePoseAsAnimationClip.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/CapturePoseAsAnimationClip.cs.meta deleted file mode 100644 index c9869bf49..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/CapturePoseAsAnimationClip.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b879bd09b7eebe94782860779d5cc275 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/EnableAnimation.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/EnableAnimation.cs deleted file mode 100644 index 8d0486bbc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/EnableAnimation.cs +++ /dev/null @@ -1,65 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Enables/Disables an Animation on a GameObject.\nAnimation time is paused while disabled. Animation must also have a non zero weight to play.")] - public class EnableAnimation : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - [Tooltip("The GameObject playing the animation.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Animation)] - [Tooltip("The name of the animation to enable/disable.")] - public FsmString animName; - - [RequiredField] - [Tooltip("Set to True to enable, False to disable.")] - public FsmBool enable; - - [Tooltip("Reset the initial enabled state when exiting the state.")] - public FsmBool resetOnExit; - - private AnimationState anim; - - public override void Reset() - { - gameObject = null; - animName = null; - enable = true; - resetOnExit = false; - } - - public override void OnEnter() - { - DoEnableAnimation(Fsm.GetOwnerDefaultTarget(gameObject)); - - Finish(); - } - - void DoEnableAnimation(GameObject go) - { - if (UpdateCache(go)) - { - anim = animation[animName.Value]; - if (anim != null) - { - anim.enabled = enable.Value; - } - } - } - - public override void OnExit() - { - if (resetOnExit.Value && anim != null) - { - anim.enabled = !enable.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/EnableAnimation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/EnableAnimation.cs.meta deleted file mode 100644 index 53200cc68..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/EnableAnimation.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4e18e42fb3afda04aa50874569cb30f1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayAnimation.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayAnimation.cs deleted file mode 100644 index 4b5cef91b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayAnimation.cs +++ /dev/null @@ -1,130 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Plays an Animation on a Game Object. You can add named animation clips to the object in the Unity editor, or with the Add Animation Clip action.")] - public class PlayAnimation : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - [Tooltip("Game Object to play the animation on.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Animation)] - [Tooltip("The name of the animation to play.")] - public FsmString animName; - - [Tooltip("How to treat previously playing animations.")] - public PlayMode playMode; - - [HasFloatSlider(0f, 5f)] - [Tooltip("Time taken to blend to this animation.")] - public FsmFloat blendTime; - - [Tooltip("Event to send when the animation is finished playing. NOTE: Not sent with Loop or PingPong wrap modes!")] - public FsmEvent finishEvent; - - [Tooltip("Event to send when the animation loops. If you want to send this event to another FSM use Set Event Target. NOTE: This event is only sent with Loop and PingPong wrap modes.")] - public FsmEvent loopEvent; - - [Tooltip("Stop playing the animation when this state is exited.")] - public bool stopOnExit; - - private AnimationState anim; - private float prevAnimtTime; - - public override void Reset() - { - gameObject = null; - animName = null; - playMode = PlayMode.StopAll; - blendTime = 0.3f; - finishEvent = null; - loopEvent = null; - stopOnExit = false; - } - - public override void OnEnter() - { - DoPlayAnimation(); - } - - private void DoPlayAnimation() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - Finish(); - return; - } - - if (string.IsNullOrEmpty(animName.Value)) - { - LogWarning("Missing animName!"); - Finish(); - return; - } - - anim = animation[animName.Value]; - - if (anim == null) - { - LogWarning("Missing animation: " + animName.Value); - Finish(); - return; - } - - var time = blendTime.Value; - if (time < 0.001f) - { - animation.Play(animName.Value, playMode); - } - else - { - animation.CrossFade(animName.Value, time, playMode); - } - - prevAnimtTime = anim.time; - } - - public override void OnUpdate() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null || anim == null) - { - return; - } - - if (!anim.enabled || (anim.wrapMode == WrapMode.ClampForever && anim.time > anim.length)) - { - Fsm.Event(finishEvent); - Finish(); - } - - if (anim.wrapMode != WrapMode.ClampForever && anim.time > anim.length && prevAnimtTime < anim.length) - { - Fsm.Event(loopEvent); - } - } - - public override void OnExit() - { - if (stopOnExit) - { - StopAnimation(); - } - } - - private void StopAnimation() - { - if (animation != null) - { - animation.Stop(animName.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayAnimation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayAnimation.cs.meta deleted file mode 100644 index dc71289fd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayAnimation.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a91b4f48a88067f46b95d5a5ff738443 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayRandomAnimation.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayRandomAnimation.cs deleted file mode 100644 index 003309543..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayRandomAnimation.cs +++ /dev/null @@ -1,149 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System.Collections.Generic; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Plays a Random Animation on a Game Object. You can set the relative weight of each animation to control how often they are selected.")] - public class PlayRandomAnimation : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - [Tooltip("Game Object to play the animation on.")] - public FsmOwnerDefault gameObject; - - [CompoundArray("Animations", "Animation", "Weight")] - - [UIHint(UIHint.Animation)] - public FsmString[] animations; - - [HasFloatSlider(0, 1)] - public FsmFloat[] weights; - - [Tooltip("How to treat previously playing animations.")] - public PlayMode playMode; - - [HasFloatSlider(0f, 5f)] - [Tooltip("Time taken to blend to this animation.")] - public FsmFloat blendTime; - - [Tooltip("Event to send when the animation is finished playing. NOTE: Not sent with Loop or PingPong wrap modes!")] - public FsmEvent finishEvent; - - [Tooltip("Event to send when the animation loops. If you want to send this event to another FSM use Set Event Target. NOTE: This event is only sent with Loop and PingPong wrap modes.")] - public FsmEvent loopEvent; - - [Tooltip("Stop playing the animation when this state is exited.")] - public bool stopOnExit; - - private AnimationState anim; - private float prevAnimtTime; - - public override void Reset() - { - gameObject = null; - animations = new FsmString[0]; - weights = new FsmFloat[0]; - playMode = PlayMode.StopAll; - blendTime = 0.3f; - finishEvent = null; - loopEvent = null; - stopOnExit = false; - } - - public override void OnEnter() - { - DoPlayRandomAnimation(); - } - - void DoPlayRandomAnimation() - { - if (animations.Length > 0) - { - var randomIndex = ActionHelpers.GetRandomWeightedIndex(weights); - - if (randomIndex != -1) - { - DoPlayAnimation(animations[randomIndex].Value); - } - } - } - - void DoPlayAnimation(string animName) - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - Finish(); - return; - } - - if (string.IsNullOrEmpty(animName)) - { - LogWarning("Missing animName!"); - Finish(); - return; - } - - anim = animation[animName]; - - if (anim == null) - { - LogWarning("Missing animation: " + animName); - Finish(); - return; - } - - var time = blendTime.Value; - if (time < 0.001f) - { - animation.Play(animName, playMode); - } - else - { - animation.CrossFade(animName, time, playMode); - } - - prevAnimtTime = anim.time; - } - - public override void OnUpdate() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null || anim == null) - { - return; - } - - if (!anim.enabled || (anim.wrapMode == WrapMode.ClampForever && anim.time > anim.length)) - { - Fsm.Event(finishEvent); - Finish(); - } - - if (anim.wrapMode != WrapMode.ClampForever && anim.time > anim.length && prevAnimtTime < anim.length) - { - Fsm.Event(loopEvent); - } - } - - public override void OnExit() - { - if (stopOnExit) - { - StopAnimation(); - } - } - - void StopAnimation() - { - if (animation != null) - { - animation.Stop(anim.name); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayRandomAnimation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayRandomAnimation.cs.meta deleted file mode 100644 index 91d0e6470..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/PlayRandomAnimation.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c17b3e1c679e6aa4589c924799fb14fa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/RemoveMixingTransform.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/RemoveMixingTransform.cs deleted file mode 100644 index 52ad44575..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/RemoveMixingTransform.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Removes a mixing transform previously added with Add Mixing Transform. If transform has been added as recursive, then it will be removed as recursive. Once you remove all mixing transforms added to animation state all curves become animated again.")] - public class RemoveMixingTransform : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - [Tooltip("The GameObject playing the animation.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The name of the animation.")] - public FsmString animationName; - [RequiredField] - - [Tooltip("The mixing transform to remove. E.g., root/upper_body/left_shoulder")] - public FsmString transfrom; - - public override void Reset() - { - gameObject = null; - animationName = ""; - } - - public override void OnEnter() - { - DoRemoveMixingTransform(); - - Finish(); - } - - void DoRemoveMixingTransform() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var animClip = animation[animationName.Value]; - if (animClip == null) - { - return; - } - - var mixingTransform = go.transform.Find(transfrom.Value); - animClip.AddMixingTransform(mixingTransform); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/RemoveMixingTransform.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/RemoveMixingTransform.cs.meta deleted file mode 100644 index 1e8aff953..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/RemoveMixingTransform.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e312a237c7efd4f41b1cf3391f9aac98 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/RewindAnimation.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/RewindAnimation.cs deleted file mode 100644 index 6886ac9e1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/RewindAnimation.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Rewinds the named animation.")] - public class RewindAnimation : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.Animation)] - public FsmString animName; - - public override void Reset() - { - gameObject = null; - animName = null; - } - - public override void OnEnter() - { - DoRewindAnimation(); - - Finish(); - } - - void DoRewindAnimation() - { - if (string.IsNullOrEmpty(animName.Value)) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - animation.Rewind(animName.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/RewindAnimation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/RewindAnimation.cs.meta deleted file mode 100644 index 84ee2b7ee..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/RewindAnimation.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: df5af008ae532374aa35afd9bfd06177 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationSpeed.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationSpeed.cs deleted file mode 100644 index 9039e0aed..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationSpeed.cs +++ /dev/null @@ -1,64 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Sets the Speed of an Animation. Check Every Frame to update the animation time continuously, e.g., if you're manipulating a variable that controls animation speed.")] - public class SetAnimationSpeed : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - public FsmOwnerDefault gameObject; - [RequiredField] - [UIHint(UIHint.Animation)] - public FsmString animName; - public FsmFloat speed = 1f; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - animName = null; - speed = 1f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetAnimationSpeed(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetAnimationSpeed(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - } - - private void DoSetAnimationSpeed(GameObject go) - { - if (!UpdateCache(go)) - { - return; - } - - var anim = animation[animName.Value]; - if (anim == null) - { - LogWarning("Missing animation: " + animName.Value); - return; - } - - anim.speed = speed.Value; - } - - /* - public override string ErrorCheck() - { - return ErrorCheckHelpers.CheckAnimationSetup(gameObject.value); - }*/ - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationSpeed.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationSpeed.cs.meta deleted file mode 100644 index 210356601..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationSpeed.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 791ecdf3435dea248bf2ec0fa7577adf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationTime.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationTime.cs deleted file mode 100644 index 21d589296..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationTime.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Sets the current Time of an Animation, Normalize time means 0 (start) to 1 (end); useful if you don't care about the exact time. Check Every Frame to update the time continuously.")] - public class SetAnimationTime : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - public FsmOwnerDefault gameObject; - [RequiredField] - [UIHint(UIHint.Animation)] - public FsmString animName; - public FsmFloat time; - public bool normalized; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - animName = null; - time = null; - normalized = false; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetAnimationTime(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetAnimationTime(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - } - - private void DoSetAnimationTime(GameObject go) - { - if (!UpdateCache(go)) - { - return; - } - - animation.Play(animName.Value); - - var anim = animation[animName.Value]; - if (anim == null) - { - LogWarning("Missing animation: " + animName.Value); - return; - } - - if (normalized) - { - anim.normalizedTime = time.Value; - } - else - { - anim.time = time.Value; - } - - // TODO: need to do this? - if (everyFrame) - { - anim.speed = 0; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationTime.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationTime.cs.meta deleted file mode 100644 index cfd502a4c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationTime.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 84994d0c340d30744be8e62b88889675 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationWeight.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationWeight.cs deleted file mode 100644 index f76dd1ede..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationWeight.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Sets the Blend Weight of an Animation. Check Every Frame to update the weight continuously, e.g., if you're manipulating a variable that controls the weight.")] - public class SetAnimationWeight : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - public FsmOwnerDefault gameObject; - [RequiredField] - [UIHint(UIHint.Animation)] - public FsmString animName; - public FsmFloat weight = 1f; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - animName = null; - weight = 1f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetAnimationWeight(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetAnimationWeight(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - } - - private void DoSetAnimationWeight(GameObject go) - { - if (!UpdateCache(go)) - { - return; - } - - var anim = animation[animName.Value]; - if (anim == null) - { - LogWarning("Missing animation: " + animName.Value); - return; - } - - anim.weight = weight.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationWeight.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationWeight.cs.meta deleted file mode 100644 index b46e00de7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/SetAnimationWeight.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2800e1c371ad41e42a66b39fcf5baf43 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/StopAnimation.cs b/Assets/ThirdParty/PlayMaker/Actions/Animation/StopAnimation.cs deleted file mode 100644 index 49e36aeac..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/StopAnimation.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animation)] - [Tooltip("Stops all playing Animations on a Game Object. Optionally, specify a single Animation to Stop.")] - public class StopAnimation : BaseAnimationAction - { - [RequiredField] - [CheckForComponent(typeof(Animation))] - public FsmOwnerDefault gameObject; - [Tooltip("Leave empty to stop all playing animations.")] - [UIHint(UIHint.Animation)] - public FsmString animName; - - public override void Reset() - { - gameObject = null; - animName = null; - } - - public override void OnEnter() - { - DoStopAnimation(); - - Finish(); - } - - private void DoStopAnimation() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - if (FsmString.IsNullOrEmpty(animName)) - { - animation.Stop(); - } - else - { - animation.Stop(animName.Value); - } - } - - /* - public override string ErrorCheck() - { - return ErrorCheckHelpers.CheckAnimationSetup(gameObject.value); - }*/ - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animation/StopAnimation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animation/StopAnimation.cs.meta deleted file mode 100644 index 99832eb3f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animation/StopAnimation.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 65734b83a2a4b7f4081d0bff7d0d9720 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator.meta deleted file mode 100644 index 0883517ed..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: c848e0fb2719d4319b20db35a1e0393c -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorCrossFade.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorCrossFade.cs deleted file mode 100644 index baeb5f35e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorCrossFade.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Create a dynamic transition between the current state and the destination state. " + - "Both states have to be on the same layer. " + - "Note: You cannot change the current state on a synchronized layer, " + - "you need to change it on the referenced layer.")] - public class AnimatorCrossFade : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("The name of the state that will be played.")] - public FsmString stateName; - - [Tooltip("The duration of the transition. Value is in source state normalized time.")] - public FsmFloat transitionDuration; - - [Tooltip("Layer index containing the destination state. Leave to none to ignore")] - public FsmInt layer; - - [Tooltip("Start time of the current destination state. Value is in source state normalized time, should be between 0 and 1.")] - public FsmFloat normalizedTime; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - stateName = null; - transitionDuration = 1f; - layer = new FsmInt(){UseVariable=true}; - normalizedTime = new FsmFloat(){UseVariable=true}; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator!=null) - { - int _layer = layer.IsNone?-1:layer.Value; - - float _normalizedTime = normalizedTime.IsNone?Mathf.NegativeInfinity:normalizedTime.Value; - - _animator.CrossFade(stateName.Value,transitionDuration.Value,_layer,_normalizedTime); - } - - Finish(); - - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, stateName, transitionDuration); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorCrossFade.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorCrossFade.cs.meta deleted file mode 100644 index 6f3daabec..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorCrossFade.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c3264db07da4c49ffb5fe199371b98bb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorInterruptMatchTarget.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorInterruptMatchTarget.cs deleted file mode 100644 index 9529cc642..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorInterruptMatchTarget.cs +++ /dev/null @@ -1,49 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Interrupts the automatic target matching. CompleteMatch will make the gameobject match the target completely at the next frame.")] - public class AnimatorInterruptMatchTarget : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("Will make the gameobject match the target completely at the next frame")] - public FsmBool completeMatch; - - public override void Reset() - { - gameObject = null; - completeMatch = true; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - Animator _animator = go.GetComponent(); - - if (_animator!=null) - { - _animator.InterruptMatchTarget(completeMatch.Value); - } - - Finish(); - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorInterruptMatchTarget.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorInterruptMatchTarget.cs.meta deleted file mode 100644 index 1ffbc7d88..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorInterruptMatchTarget.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 18376cdddd26341f7b809912db503610 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorMatchTarget.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorMatchTarget.cs deleted file mode 100644 index 2aa7b3f93..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorMatchTarget.cs +++ /dev/null @@ -1,135 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Automatically adjust the gameobject position and rotation so that the AvatarTarget reaches the matchPosition when the current state is at the specified progress")] - public class AnimatorMatchTarget: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("The body part that is involved in the match")] - public AvatarTarget bodyPart; - - [Tooltip("The gameObject target to match")] - public FsmGameObject target; - - [Tooltip("The position of the ik goal. If Goal GameObject set, position is used as an offset from Goal")] - public FsmVector3 targetPosition; - - [Tooltip("The rotation of the ik goal.If Goal GameObject set, rotation is used as an offset from Goal")] - public FsmQuaternion targetRotation; - - [Tooltip("The MatchTargetWeightMask Position XYZ weight")] - public FsmVector3 positionWeight; - - [Tooltip("The MatchTargetWeightMask Rotation weight")] - public FsmFloat rotationWeight; - - [Tooltip("Start time within the animation clip (0 - beginning of clip, 1 - end of clip)")] - public FsmFloat startNormalizedTime; - - [Tooltip("End time within the animation clip (0 - beginning of clip, 1 - end of clip), values greater than 1 can be set to trigger a match after a certain number of loops. Ex: 2.3 means at 30% of 2nd loop")] - public FsmFloat targetNormalizedTime; - - [Tooltip("Should always be true")] - public bool everyFrame; - - private Animator _animator; - - private Transform _transform; - - - public override void Reset() - { - gameObject = null; - bodyPart = AvatarTarget.Root; - target = null; - targetPosition = new FsmVector3() {UseVariable = true}; - targetRotation = new FsmQuaternion() {UseVariable = true}; - positionWeight = Vector3.one; - rotationWeight = 0f; - startNormalizedTime = null; - targetNormalizedTime = null; - everyFrame= true; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GameObject _target = target.Value; - if (_target!=null) - { - _transform = _target.transform; - } - - DoMatchTarget(); - - if(!everyFrame) - { - Finish(); - } - - } - - public override void OnUpdate() - { - DoMatchTarget(); - } - - - void DoMatchTarget() - { - if (_animator==null) - { - return; - } - - Vector3 _pos = Vector3.zero; - Quaternion _rot = Quaternion.identity; - - if (_transform!=null) - { - _pos = _transform.position; - _rot = _transform.rotation; - } - - if (!targetPosition.IsNone) - { - _pos += targetPosition.Value; - } - - if (!targetRotation.IsNone) - { - _rot *= targetRotation.Value; - - } - - MatchTargetWeightMask _weightMask = new MatchTargetWeightMask(positionWeight.Value, rotationWeight.Value); - _animator.MatchTarget(_pos,_rot, bodyPart, _weightMask, startNormalizedTime.Value, targetNormalizedTime.Value); - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorMatchTarget.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorMatchTarget.cs.meta deleted file mode 100644 index 3254c63b0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorMatchTarget.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 03cf67d8b733d4b37952890811925998 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorPlay.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorPlay.cs deleted file mode 100644 index d3e7d5e53..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorPlay.cs +++ /dev/null @@ -1,86 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Plays a state. This could be used to synchronize your animation with audio or synchronize an Animator over the network.")] - public class AnimatorPlay : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("The name of the state that will be played.")] - public FsmString stateName; - - [Tooltip("The layer where the state is.")] - public FsmInt layer; - - [Tooltip("The normalized time at which the state will play")] - public FsmFloat normalizedTime; - - [Tooltip("Repeat every frame. Useful when using normalizedTime to manually control the animation.")] - public bool everyFrame; - - Animator _animator; - - public override void Reset() - { - gameObject = null; - stateName = null; - layer = new FsmInt(){UseVariable=true}; - normalizedTime = new FsmFloat(){UseVariable=true}; - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - DoAnimatorPlay(); - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoAnimatorPlay(); - } - - void DoAnimatorPlay() - { - if (_animator!=null) - { - int _layer = layer.IsNone?-1:layer.Value; - - float _normalizedTime = normalizedTime.IsNone?Mathf.NegativeInfinity:normalizedTime.Value; - - _animator.Play(stateName.Value,_layer,_normalizedTime); - } - - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, stateName); - } -#endif - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorPlay.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorPlay.cs.meta deleted file mode 100644 index f23821c23..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorPlay.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b66532287fa3a4997ae5dcfb967ff46c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartPlayback.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartPlayback.cs deleted file mode 100644 index b323b1412..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartPlayback.cs +++ /dev/null @@ -1,45 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the animator in playback mode.")] - public class AnimatorStartPlayback : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - Animator _animator = go.GetComponent(); - - if (_animator!=null) - { - _animator.StartPlayback(); - } - - Finish(); - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartPlayback.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartPlayback.cs.meta deleted file mode 100644 index 1b65e1210..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartPlayback.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 57b6a2622136741beb45f95f75cf1433 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartRecording.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartRecording.cs deleted file mode 100644 index 9d818ef7b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartRecording.cs +++ /dev/null @@ -1,50 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the animator in recording mode, and allocates a circular buffer of size frameCount. After this call, the recorder starts collecting up to frameCount frames in the buffer. Note it is not possible to start playback until a call to StopRecording is made")] - public class AnimatorStartRecording : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The number of frames (updates) that will be recorded. If frameCount is 0, the recording will continue until the user calls StopRecording. The maximum value for frameCount is 10000.")] - public FsmInt frameCount; - - public override void Reset() - { - gameObject = null; - frameCount = 0; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - Animator _animator = go.GetComponent(); - - if (_animator!=null) - { - _animator.StartRecording(frameCount.Value); - } - - Finish(); - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartRecording.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartRecording.cs.meta deleted file mode 100644 index 3b17cb9fc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStartRecording.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a042efdd5fb4944abb7edadab645941a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopPlayback.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopPlayback.cs deleted file mode 100644 index 318155599..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopPlayback.cs +++ /dev/null @@ -1,45 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Stops the animator playback mode. When playback stops, the avatar resumes getting control from game logic")] - public class AnimatorStopPlayback : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - Animator _animator = go.GetComponent(); - - if (_animator!=null) - { - _animator.StopPlayback(); - } - - Finish(); - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopPlayback.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopPlayback.cs.meta deleted file mode 100644 index 9824bfae5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopPlayback.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ba34314c2df504f919e13699c71aafaf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopRecording.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopRecording.cs deleted file mode 100644 index 9b04244f1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopRecording.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Stops the animator record mode. It will lock the recording buffer's contents in its current state. The data get saved for subsequent playback with StartPlayback.")] - public class AnimatorStopRecording : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component and a PlayMakerAnimatorProxy component are required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The recorder StartTime")] - public FsmFloat recorderStartTime; - - [UIHint(UIHint.Variable)] - [Tooltip("The recorder StopTime")] - public FsmFloat recorderStopTime; - - public override void Reset() - { - gameObject = null; - - recorderStartTime = null; - recorderStopTime = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - Animator _animator = go.GetComponent(); - - if (_animator!=null) - { - _animator.StopRecording(); - recorderStartTime.Value = _animator.recorderStartTime; - recorderStopTime.Value = _animator.recorderStopTime; - } - - Finish(); - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopRecording.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopRecording.cs.meta deleted file mode 100644 index 20e81591c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/AnimatorStopRecording.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 199b0066830504bb88c7de83af154bda -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/BaseClasses.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/BaseClasses.meta deleted file mode 100644 index 15593a0f2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/BaseClasses.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: f65d511aee5ad40adb2d6689efc061ce -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/BaseClasses/AnimatorFrameUpdateSelector.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/BaseClasses/AnimatorFrameUpdateSelector.cs deleted file mode 100644 index 1bee54c21..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/BaseClasses/AnimatorFrameUpdateSelector.cs +++ /dev/null @@ -1,92 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - #pragma warning disable 414 - - public abstract class FsmStateActionAnimatorBase : FsmStateAction - { - public enum AnimatorFrameUpdateSelector {OnUpdate,OnAnimatorMove,OnAnimatorIK}; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - [Tooltip("Select when to perform the action, during OnUpdate, OnAnimatorMove, OnAnimatorIK")] - public AnimatorFrameUpdateSelector everyFrameOption; - - /// - /// The layerIndex index passed when processing action during OnAnimatorIK - /// - protected int IklayerIndex; - - /// - /// Raises the action update event. Could be fired during onUpdate or OnAnimatorMove based on the action setup. - /// - public abstract void OnActionUpdate(); - - public override void Reset() - { - everyFrame = false; - everyFrameOption = AnimatorFrameUpdateSelector.OnUpdate; - } - - public override void OnPreprocess() - { - if (everyFrameOption == AnimatorFrameUpdateSelector.OnAnimatorMove) - { - Fsm.HandleAnimatorMove = true; - } - - if (everyFrameOption == AnimatorFrameUpdateSelector.OnAnimatorIK) - { - Fsm.HandleAnimatorIK = true; - } - } - - public override void OnUpdate() - { - - if (everyFrameOption == AnimatorFrameUpdateSelector.OnUpdate) - { - OnActionUpdate(); - } - - if (!everyFrame) - { - Finish(); - } - } - - public override void DoAnimatorMove () - { - if (everyFrameOption == AnimatorFrameUpdateSelector.OnAnimatorMove) - { - - OnActionUpdate(); - } - - if (!everyFrame) - { - Finish(); - } - } - - public override void DoAnimatorIK (int layerIndex) - { - IklayerIndex = layerIndex; - - if (everyFrameOption == AnimatorFrameUpdateSelector.OnAnimatorIK) - { - OnActionUpdate(); - } - - if (!everyFrame) - { - Finish(); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/BaseClasses/AnimatorFrameUpdateSelector.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/BaseClasses/AnimatorFrameUpdateSelector.cs.meta deleted file mode 100644 index d4bfd71fc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/BaseClasses/AnimatorFrameUpdateSelector.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 18313b45aff604fdfae21005cba51867 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor.meta deleted file mode 100644 index 3c6c18047..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: e59d0888ee38d4740a5c905b51beefd8 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/BaseClasses.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/BaseClasses.meta deleted file mode 100644 index 2082a8fae..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/BaseClasses.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: 60f2ab3f95da74b7194ab71fea9740ab -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/BaseClasses/OnAnimatorUpdateActionEditorBase.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/BaseClasses/OnAnimatorUpdateActionEditorBase.cs deleted file mode 100644 index 1a9303cfe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/BaseClasses/OnAnimatorUpdateActionEditorBase.cs +++ /dev/null @@ -1,35 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; -using UnityEditor; -using UnityEngine; - - -public class OnAnimatorUpdateActionEditorBase : CustomActionEditor { - - public override bool OnGUI() - { - return false; - } - - public bool EditEveryFrameField() - { - FsmStateActionAnimatorBase _target = (FsmStateActionAnimatorBase)target; - - if (_target.everyFrame) - { - GUILayout.BeginHorizontal(); - EditorGUILayout.PrefixLabel("Every Frame"); - _target.everyFrame = GUILayout.Toggle(_target.everyFrame,""); - _target.everyFrameOption = (FsmStateActionAnimatorBase.AnimatorFrameUpdateSelector)EditorGUILayout.EnumPopup(_target.everyFrameOption); - GUILayout.EndHorizontal(); - - }else{ - EditField("everyFrame"); - } - - return GUI.changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/BaseClasses/OnAnimatorUpdateActionEditorBase.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/BaseClasses/OnAnimatorUpdateActionEditorBase.cs.meta deleted file mode 100644 index 8e1d0958d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/BaseClasses/OnAnimatorUpdateActionEditorBase.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ac8ba452b0457403caa4c60b0713a991 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorAnimatorRootActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorAnimatorRootActionEditor.cs deleted file mode 100644 index c89b2ca2f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorAnimatorRootActionEditor.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorRoot))] -public class GetAnimatorRootActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("rootPosition"); - EditField("rootRotation"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorAnimatorRootActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorAnimatorRootActionEditor.cs.meta deleted file mode 100644 index 885ef1acd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorAnimatorRootActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c01181456b38a445a9d46b1adb204fef -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBodyActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBodyActionEditor.cs deleted file mode 100644 index a4a0168fb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBodyActionEditor.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorBody))] -public class GetAnimatorBodyActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("bodyPosition"); - EditField("bodyRotation"); - EditField("bodyGameObject"); - - EditField("everyFrame"); - - return GUI.changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBodyActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBodyActionEditor.cs.meta deleted file mode 100644 index 43477fd08..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBodyActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9b4236b4c39b2473cbf4769015bd1545 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoneGameObjectActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoneGameObjectActionEditor.cs deleted file mode 100644 index 3826159da..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoneGameObjectActionEditor.cs +++ /dev/null @@ -1,23 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; -using UnityEditor; -using UnityEngine; - -namespace HutongGames.PlayMakerEditor -{ - [CustomActionEditor(typeof(GetAnimatorBoneGameObject))] - public class GetAnimatorBoneGameObjectActionEditor : CustomActionEditor - { - #region implemented abstract members of CustomActionEditor - public override bool OnGUI () - { - return DrawDefaultInspector(); - } - #endregion - - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoneGameObjectActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoneGameObjectActionEditor.cs.meta deleted file mode 100644 index 9065b7fe4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoneGameObjectActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7016201662a0f43ef90cdc27ef28d2f3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoolActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoolActionEditor.cs deleted file mode 100644 index 09f07cfa0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoolActionEditor.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorBool))] -public class GetAnimatorBoolActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("parameter"); - EditField("result"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoolActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoolActionEditor.cs.meta deleted file mode 100644 index c711d6ad9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorBoolActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c319a624316ec43e58ce312e218643d7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoActionEditor.cs deleted file mode 100644 index 0d7426719..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoActionEditor.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorCurrentStateInfo))] -public class GetAnimatorCurrentStateInfoActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("layerIndex"); - EditField("name"); - - EditField("nameHash"); - - #if UNITY_5 - EditField("fullPathHash"); - EditField("shortPathHash"); - #endif - - EditField("tagHash"); - EditField("isStateLooping"); - EditField("length"); - EditField("normalizedTime"); - EditField("loopCount"); - EditField("currentLoopProgress"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoActionEditor.cs.meta deleted file mode 100644 index 6cb0603a4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f46514705a56a44b18a3aaefe044562a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsNameActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsNameActionEditor.cs deleted file mode 100644 index c819386e4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsNameActionEditor.cs +++ /dev/null @@ -1,28 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorCurrentStateInfoIsName))] -public class GetAnimatorCurrentStateInfoIsNameActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("layerIndex"); - EditField("name"); - - EditField("isMatching"); - EditField("nameMatchEvent"); - EditField("nameDoNotMatchEvent"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsNameActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsNameActionEditor.cs.meta deleted file mode 100644 index 1f685362f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsNameActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cb96adea5998a47ad856307f387542b2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsTagActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsTagActionEditor.cs deleted file mode 100644 index fb466080c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsTagActionEditor.cs +++ /dev/null @@ -1,28 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorCurrentStateInfoIsTag))] -public class GetAnimatorCurrentStateInfoIsTagActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("layerIndex"); - EditField("tag"); - - EditField("tagMatch"); - EditField("tagMatchEvent"); - EditField("tagDoNotMatchEvent"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsTagActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsTagActionEditor.cs.meta deleted file mode 100644 index 3e0aeff95..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentStateInfoIsTagActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 20ecab07b14f24a31ad6aa95afe7b5f8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoActionEditor.cs deleted file mode 100644 index 354f0059c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoActionEditor.cs +++ /dev/null @@ -1,28 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorCurrentTransitionInfo))] -public class GetAnimatorCurrentTransitionInfoActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("layerIndex"); - EditField("name"); - - EditField("nameHash"); - EditField("userNameHash"); - EditField("normalizedTime"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoActionEditor.cs.meta deleted file mode 100644 index 5c86eef06..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b88f6ceb1c984410fbd5b41563b9d2a1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsNameActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsNameActionEditor.cs deleted file mode 100644 index 7ddd62d26..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsNameActionEditor.cs +++ /dev/null @@ -1,28 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorCurrentTransitionInfoIsName))] -public class GetAnimatorCurrentTransitionInfoIsNameActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("layerIndex"); - EditField("name"); - - EditField("nameMatch"); - EditField("nameMatchEvent"); - EditField("nameDoNotMatchEvent"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsNameActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsNameActionEditor.cs.meta deleted file mode 100644 index 1a64c8beb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsNameActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a6ad0469f3b65455585bd6a67ace5231 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsUserNameActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsUserNameActionEditor.cs deleted file mode 100644 index b37ea0935..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsUserNameActionEditor.cs +++ /dev/null @@ -1,28 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorCurrentTransitionInfoIsUserName))] -public class GetAnimatorCurrentTransitionInfoIsUserNameActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("layerIndex"); - EditField("userName"); - - EditField("nameMatch"); - EditField("nameMatchEvent"); - EditField("nameDoNotMatchEvent"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsUserNameActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsUserNameActionEditor.cs.meta deleted file mode 100644 index 1dffe1bce..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorCurrentTransitionInfoIsUserNameActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b82f868d8d79e4446963165d7b7fe368 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorDeltaActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorDeltaActionEditor.cs deleted file mode 100644 index cf4ce624b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorDeltaActionEditor.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorDelta))] -public class GetAnimatorDeltaActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("deltaPosition"); - EditField("deltaRotation"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorDeltaActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorDeltaActionEditor.cs.meta deleted file mode 100644 index 1f2613bcf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorDeltaActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ca44151bd6a0241aa9306e42e12e4412 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorFloatActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorFloatActionEditor.cs deleted file mode 100644 index 24666f753..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorFloatActionEditor.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorFloat))] -public class GetAnimatorFloatActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("parameter"); - EditField("result"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorFloatActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorFloatActionEditor.cs.meta deleted file mode 100644 index 4a35f51e4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorFloatActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f2a733af2f8c941318e512d00865682f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorGravityWeightActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorGravityWeightActionEditor.cs deleted file mode 100644 index e4ce8ab44..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorGravityWeightActionEditor.cs +++ /dev/null @@ -1,23 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorGravityWeight))] -public class GetAnimatorGravityWeightActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("gravityWeight"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorGravityWeightActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorGravityWeightActionEditor.cs.meta deleted file mode 100644 index 6b54cc505..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorGravityWeightActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 97c1adb99041345a2b706883a0aa29f2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIKGoalActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIKGoalActionEditor.cs deleted file mode 100644 index 50549c06d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIKGoalActionEditor.cs +++ /dev/null @@ -1,28 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorIKGoal))] -public class GetAnimatorIKGoalActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("iKGoal"); - EditField("goal"); - EditField("position"); - EditField("rotation"); - EditField("positionWeight"); - EditField("rotationWeight"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIKGoalActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIKGoalActionEditor.cs.meta deleted file mode 100644 index caa37a2cc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIKGoalActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 747e6c1106178455a98bb07727307e54 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIntActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIntActionEditor.cs deleted file mode 100644 index c2fd3eab5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIntActionEditor.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorInt))] -public class GetAnimatorIntActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("parameter"); - EditField("result"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIntActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIntActionEditor.cs.meta deleted file mode 100644 index 8c6b060e5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIntActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a3ce5496c052a4d51a21cd2d7a6b4ff6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsLayerInTransitionActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsLayerInTransitionActionEditor.cs deleted file mode 100644 index 4de925d16..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsLayerInTransitionActionEditor.cs +++ /dev/null @@ -1,26 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorIsLayerInTransition))] -public class GetAnimatorIsLayerInTransitionActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("layerIndex"); - EditField("isInTransition"); - EditField("isInTransitionEvent"); - EditField("isNotInTransitionEvent"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsLayerInTransitionActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsLayerInTransitionActionEditor.cs.meta deleted file mode 100644 index e68973c5d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsLayerInTransitionActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dc486d0004d9c4ff0b33b013672e2819 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsMatchingTargetActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsMatchingTargetActionEditor.cs deleted file mode 100644 index 8f2b424f2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsMatchingTargetActionEditor.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorIsMatchingTarget))] -public class GetAnimatorIsMatchingTargetActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("isMatchingActive"); - EditField("matchingActivatedEvent"); - EditField("matchingDeactivedEvent"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsMatchingTargetActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsMatchingTargetActionEditor.cs.meta deleted file mode 100644 index 61582018a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorIsMatchingTargetActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b7b668bf47f0d4026a9a939be6dc69ec -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorLayerWeightActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorLayerWeightActionEditor.cs deleted file mode 100644 index 38072f6f1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorLayerWeightActionEditor.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorLayerWeight))] -public class GetAnimatorLayerWeightActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("layerIndex"); - EditField("layerWeight"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorLayerWeightActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorLayerWeightActionEditor.cs.meta deleted file mode 100644 index 8d6c38dc0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorLayerWeightActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1f0565b694e32469c9c06d051c31a156 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorNextStateInfoActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorNextStateInfoActionEditor.cs deleted file mode 100644 index b141af644..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorNextStateInfoActionEditor.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorNextStateInfo))] -public class GetAnimatorNextStateInfoActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("layerIndex"); - EditField("name"); - EditField("nameHash"); - - #if UNITY_5 - EditField("fullPathHash"); - EditField("shortPathHash"); - #endif - - - EditField("tagHash"); - EditField("isStateLooping"); - EditField("length"); - EditField("normalizedTime"); - EditField("loopCount"); - EditField("currentLoopProgress"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorNextStateInfoActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorNextStateInfoActionEditor.cs.meta deleted file mode 100644 index 123bad171..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorNextStateInfoActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f4d701619cd324b4f909bff1810e1aad -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorPivotActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorPivotActionEditor.cs deleted file mode 100644 index 7e6417ebc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorPivotActionEditor.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorPivot))] -public class GetAnimatorPivotActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("pivotWeight"); - EditField("pivotPosition"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorPivotActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorPivotActionEditor.cs.meta deleted file mode 100644 index 6504dbe92..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorPivotActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: da454073bf02d49d48a28cb6ce4c0fc1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorSpeedActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorSpeedActionEditor.cs deleted file mode 100644 index 33523a672..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorSpeedActionEditor.cs +++ /dev/null @@ -1,23 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorSpeed))] -public class GetAnimatorSpeedActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("speed"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorSpeedActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorSpeedActionEditor.cs.meta deleted file mode 100644 index 245737a18..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorSpeedActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ad0e5154a3a6c46edafdfbec49bbb27d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorTargetActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorTargetActionEditor.cs deleted file mode 100644 index 73e4bc5fe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorTargetActionEditor.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetAnimatorTarget))] -public class GetAnimatorTargetActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("targetPosition"); - EditField("targetRotation"); - EditField("targetGameObject"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorTargetActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorTargetActionEditor.cs.meta deleted file mode 100644 index 12c177a21..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/GetAnimatorTargetActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e6467d12fbec648acbfe19a0ba022a0c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorBoolActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorBoolActionEditor.cs deleted file mode 100644 index b4e615ad6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorBoolActionEditor.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(SetAnimatorBool))] -public class SetAnimatorBoolActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("parameter"); - EditField("Value"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorBoolActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorBoolActionEditor.cs.meta deleted file mode 100644 index bbe66a697..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorBoolActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6927c99ea76df47c2b10e89e8b1e3f6a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorFloatActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorFloatActionEditor.cs deleted file mode 100644 index 69c4660bb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorFloatActionEditor.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(SetAnimatorFloat))] -public class SetAnimatorFloatActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("parameter"); - EditField("Value"); - EditField("dampTime"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorFloatActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorFloatActionEditor.cs.meta deleted file mode 100644 index a5fc938f3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorFloatActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d509be4bb6b01482f8d036452d23b539 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorIntActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorIntActionEditor.cs deleted file mode 100644 index ce7935eac..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorIntActionEditor.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using UnityEditor; - -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(SetAnimatorInt))] -public class SetAnimatorIntActionEditor : OnAnimatorUpdateActionEditorBase -{ - - public override bool OnGUI() - { - EditField("gameObject"); - EditField("parameter"); - EditField("Value"); - - bool changed = EditEveryFrameField(); - - return GUI.changed || changed; - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorIntActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorIntActionEditor.cs.meta deleted file mode 100644 index b82e75a12..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/Editor/SetAnimatorIntActionEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3346f4d545f7340a4936b72e2e4c528d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorApplyRootMotion.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorApplyRootMotion.cs deleted file mode 100644 index d510ed1e2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorApplyRootMotion.cs +++ /dev/null @@ -1,83 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the value of ApplyRootMotion of an avatar. If true, root is controlled by animations")] - public class GetAnimatorApplyRootMotion : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Is the rootMotionapplied. If true, root is controlled by animations")] - public FsmBool rootMotionApplied; - - [Tooltip("Event send if the root motion is applied")] - public FsmEvent rootMotionIsAppliedEvent; - - [Tooltip("Event send if the root motion is not applied")] - public FsmEvent rootMotionIsNotAppliedEvent; - - private Animator _animator; - - - public override void Reset() - { - gameObject = null; - rootMotionApplied = null; - rootMotionIsAppliedEvent = null; - rootMotionIsNotAppliedEvent = null; - } - - - // Code that runs on entering the state. - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GetApplyMotionRoot(); - - Finish(); - - } - - void GetApplyMotionRoot() - { - if (_animator!=null) - { - bool _applyRootMotion = _animator.applyRootMotion; - - rootMotionApplied.Value = _applyRootMotion; - if (_applyRootMotion) - { - Fsm.Event(rootMotionIsAppliedEvent); - }else{ - Fsm.Event(rootMotionIsNotAppliedEvent); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorApplyRootMotion.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorApplyRootMotion.cs.meta deleted file mode 100644 index 2601171df..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorApplyRootMotion.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7fa0f84fa8d7d48309bb7731893655b9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBody.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBody.cs deleted file mode 100644 index 02ea5015b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBody.cs +++ /dev/null @@ -1,113 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the avatar body mass center position and rotation. Optionally accepts a GameObject to get the body transform. \nThe position and rotation are local to the gameobject")] - public class GetAnimatorBody: FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The avatar body mass center")] - public FsmVector3 bodyPosition; - - [UIHint(UIHint.Variable)] - [Tooltip("The avatar body mass center")] - public FsmQuaternion bodyRotation; - - [Tooltip("If set, apply the body mass center position and rotation to this gameObject")] - public FsmGameObject bodyGameObject; - - private Animator _animator; - - private Transform _transform; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - bodyPosition= null; - bodyRotation = null; - bodyGameObject = null; - this.everyFrame = false; - this.everyFrameOption = AnimatorFrameUpdateSelector.OnAnimatorIK; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GameObject _body = bodyGameObject.Value; - if (_body!=null) - { - _transform = _body.transform; - } - - if (this.everyFrameOption != AnimatorFrameUpdateSelector.OnAnimatorIK) - { - this.everyFrameOption = AnimatorFrameUpdateSelector.OnAnimatorIK; - } - } - - public override void OnActionUpdate() - { - DoGetBodyPosition(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoGetBodyPosition() - { - if (_animator==null) - { - return; - } - - bodyPosition.Value = _animator.bodyPosition; - bodyRotation.Value = _animator.bodyRotation; - - if (_transform!=null) - { - _transform.position = _animator.bodyPosition; - _transform.rotation = _animator.bodyRotation; - } - } - - public override string ErrorCheck() - { - if ( this.everyFrameOption != AnimatorFrameUpdateSelector.OnAnimatorIK) - { - return "Getting Body Position should only be done in OnAnimatorIK"; - } - return string.Empty; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBody.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBody.cs.meta deleted file mode 100644 index c7de18be5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBody.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c22054fd1dd374c9a9c987d5cc6221f7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBoneGameObject.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBoneGameObject.cs deleted file mode 100644 index 8421dd24b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBoneGameObject.cs +++ /dev/null @@ -1,69 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; -using System; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the GameObject mapped to this human bone id")] - public class GetAnimatorBoneGameObject : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("The bone reference")] - [ObjectType(typeof(HumanBodyBones))] - public FsmEnum bone; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The Bone's GameObject")] - public FsmGameObject boneGameObject; - - Animator _animator; - - public override void Reset() - { - gameObject = null; - bone = HumanBodyBones.Hips; - boneGameObject = null; - } - - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GetBoneTransform(); - - Finish(); - - } - - void GetBoneTransform() - { - boneGameObject.Value = _animator.GetBoneTransform((HumanBodyBones)bone.Value).gameObject; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBoneGameObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBoneGameObject.cs.meta deleted file mode 100644 index 7662f53c4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBoneGameObject.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7666d8beb51fe44558679a70236fe940 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBool.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBool.cs deleted file mode 100644 index 4e8ea08b8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBool.cs +++ /dev/null @@ -1,91 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the value of a bool parameter")] - public class GetAnimatorBool : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.AnimatorBool)] - [Tooltip("The animator parameter")] - public FsmString parameter; - - [ActionSection("Results")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The bool value of the animator parameter")] - public FsmBool result; - - private Animator _animator; - - private int _paramID; - - public override void Reset() - { - base.Reset(); - gameObject = null; - parameter = null; - result = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - // get hash from the param for efficiency: - _paramID = Animator.StringToHash(parameter.Value); - - GetParameter(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - GetParameter(); - - } - - void GetParameter() - { - if (_animator!=null) - { - result.Value = _animator.GetBool(_paramID); - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameGetProperty(this, parameter, result); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBool.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBool.cs.meta deleted file mode 100644 index c898f41a8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorBool.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6167f16993b5f498fbaa142e60ac1b8b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCullingMode.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCullingMode.cs deleted file mode 100644 index 7ad871b2f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCullingMode.cs +++ /dev/null @@ -1,87 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns the culling of this Animator component. Optionally sends events.\n" + - "If true ('AlwaysAnimate'): always animate the entire character. Object is animated even when offscreen.\n" + - "If False ('BasedOnRenderers') animation is disabled when renderers are not visible.")] - public class GetAnimatorCullingMode : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("If true, always animate the entire character, else animation is disabled when renderers are not visible")] - public FsmBool alwaysAnimate; - - [Tooltip("Event send if culling mode is 'AlwaysAnimate'")] - public FsmEvent alwaysAnimateEvent; - - [Tooltip("Event send if culling mode is 'BasedOnRenders'")] - public FsmEvent basedOnRenderersEvent; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - alwaysAnimate = null; - alwaysAnimateEvent = null; - basedOnRenderersEvent = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoCheckCulling(); - - Finish(); - - } - - void DoCheckCulling() - { - if (_animator==null) - { - return; - } - - bool _alwaysOn = _animator.cullingMode==AnimatorCullingMode.AlwaysAnimate?true:false; - - alwaysAnimate.Value = _alwaysOn; - - if (_alwaysOn) - { - Fsm.Event(alwaysAnimateEvent); - }else{ - Fsm.Event(basedOnRenderersEvent); - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCullingMode.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCullingMode.cs.meta deleted file mode 100644 index 769e2e3b2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCullingMode.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ca51ebe2658064289907fa675fcd5b5e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfo.cs deleted file mode 100644 index f39766fba..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfo.cs +++ /dev/null @@ -1,194 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3_OR_NEWER || UNITY_5 -#define UNITY_5_OR_NEWER -#endif - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the current State information on a specified layer")] - public class GetAnimatorCurrentStateInfo : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer's index")] - public FsmInt layerIndex; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The layer's name.")] - public FsmString name; - - [UIHint(UIHint.Variable)] - [Tooltip("The layer's name Hash. Obsolete in Unity 5, use fullPathHash or shortPathHash instead, nameHash will be the same as shortNameHash for legacy")] - public FsmInt nameHash; - -#if UNITY_5_OR_NEWER - [UIHint(UIHint.Variable)] - [Tooltip("The full path hash for this state.")] - public FsmInt fullPathHash; - - [UIHint(UIHint.Variable)] - [Tooltip("The name Hash. Doest not include the parent layer's name")] - public FsmInt shortPathHash; -#endif - - [UIHint(UIHint.Variable)] - [Tooltip("The layer's tag hash")] - public FsmInt tagHash; - - [UIHint(UIHint.Variable)] - [Tooltip("Is the state looping. All animations in the state must be looping")] - public FsmBool isStateLooping; - - [UIHint(UIHint.Variable)] - [Tooltip("The Current duration of the state. In seconds, can vary when the State contains a Blend Tree ")] - public FsmFloat length; - - [UIHint(UIHint.Variable)] - [Tooltip("The integer part is the number of time a state has been looped. The fractional part is the % (0-1) of progress in the current loop")] - public FsmFloat normalizedTime; - - [UIHint(UIHint.Variable)] - [Tooltip("The integer part is the number of time a state has been looped. This is extracted from the normalizedTime")] - public FsmInt loopCount; - - [UIHint(UIHint.Variable)] - [Tooltip("The progress in the current loop. This is extracted from the normalizedTime")] - public FsmFloat currentLoopProgress; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - layerIndex = null; - - name = null; - nameHash = null; - -#if UNITY_5_OR_NEWER - fullPathHash = null; - shortPathHash = null; -#endif - - tagHash = null; - length = null; - normalizedTime = null; - isStateLooping = null; - loopCount = null; - currentLoopProgress = null; - - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go == null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator == null) - { - Finish(); - return; - } - - GetLayerInfo(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - GetLayerInfo(); - - } - - - void GetLayerInfo() - { - if (_animator != null) - { - AnimatorStateInfo _info = _animator.GetCurrentAnimatorStateInfo(layerIndex.Value); - -#if UNITY_5_OR_NEWER - if (!fullPathHash.IsNone) - { - fullPathHash.Value = _info.fullPathHash; - } - if (!shortPathHash.IsNone) - { - shortPathHash.Value = _info.shortNameHash; - } - if (!nameHash.IsNone) - { - nameHash.Value = _info.shortNameHash; - } -#else - if (!nameHash.IsNone) - { -#if UNITY_5_OR_NEWER - nameHash.Value = _info.fullPathHash; -#else - nameHash.Value = _info.nameHash; -#endif - } -#endif - - - if (!name.IsNone) - { - name.Value = _animator.GetLayerName(layerIndex.Value); - } - - if (!tagHash.IsNone) - { - tagHash.Value = _info.tagHash; - } - - if (!length.IsNone) - { - length.Value = _info.length; - } - - if (!isStateLooping.IsNone) - { - isStateLooping.Value = _info.loop; - } - - if (!normalizedTime.IsNone) - { - normalizedTime.Value = _info.normalizedTime; - } - - if (!loopCount.IsNone || !currentLoopProgress.IsNone) - { - loopCount.Value = (int)System.Math.Truncate(_info.normalizedTime); - currentLoopProgress.Value = _info.normalizedTime - loopCount.Value; - } - - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfo.cs.meta deleted file mode 100644 index d9cbc9afe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 581a9005f2e8f49fb991e3b721ecc35a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsName.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsName.cs deleted file mode 100644 index 2274d2021..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsName.cs +++ /dev/null @@ -1,104 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Check the current State name on a specified layer, this is more than the layer name, it holds the current state as well.")] - public class GetAnimatorCurrentStateInfoIsName : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component and a PlayMakerAnimatorProxy component are required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer's index")] - public FsmInt layerIndex; - - [Tooltip("The name to check the layer against.")] - public FsmString name; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("True if name matches")] - public FsmBool isMatching; - - [Tooltip("Event send if name matches")] - public FsmEvent nameMatchEvent; - - [Tooltip("Event send if name doesn't match")] - public FsmEvent nameDoNotMatchEvent; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - layerIndex = null; - - name = null; - - nameMatchEvent = null; - nameDoNotMatchEvent = null; - - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - IsName(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - IsName(); - } - - void IsName() - { - if (_animator!=null) - { - AnimatorStateInfo _info = _animator.GetCurrentAnimatorStateInfo(layerIndex.Value); - - if (!isMatching.IsNone) - { - isMatching.Value = _info.IsName(name.Value); - } - - if (_info.IsName(name.Value)) - { - Fsm.Event(nameMatchEvent); - }else{ - Fsm.Event(nameDoNotMatchEvent); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsName.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsName.cs.meta deleted file mode 100644 index d20239ede..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsName.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3b6569490c2174e38b25f4763b428a89 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsTag.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsTag.cs deleted file mode 100644 index a86c5b3f0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsTag.cs +++ /dev/null @@ -1,102 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Does tag match the tag of the active state in the statemachine")] - public class GetAnimatorCurrentStateInfoIsTag : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer's index")] - public FsmInt layerIndex; - - [Tooltip("The tag to check the layer against.")] - public FsmString tag; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("True if tag matches")] - public FsmBool tagMatch; - - [Tooltip("Event send if tag matches")] - public FsmEvent tagMatchEvent; - - [Tooltip("Event send if tag matches")] - public FsmEvent tagDoNotMatchEvent; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - layerIndex = null; - - tag = null; - - tagMatch = null; - tagMatchEvent = null; - tagDoNotMatchEvent = null; - - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - IsTag(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - IsTag(); - } - - void IsTag() - { - if (_animator!=null) - { - AnimatorStateInfo _info = _animator.GetCurrentAnimatorStateInfo(layerIndex.Value); - - if (_info.IsTag(tag.Value)) - { - tagMatch.Value = true; - Fsm.Event(tagMatchEvent); - }else{ - tagMatch.Value = false; - Fsm.Event(tagDoNotMatchEvent); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsTag.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsTag.cs.meta deleted file mode 100644 index 35a638dd4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentStateInfoIsTag.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 07687adfe28594b449945d9abc9c3c29 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfo.cs deleted file mode 100644 index f2e285097..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfo.cs +++ /dev/null @@ -1,116 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the current transition information on a specified layer. Only valid when during a transition.")] - public class GetAnimatorCurrentTransitionInfo : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer's index")] - public FsmInt layerIndex; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The unique name of the Transition")] - public FsmString name; - - [UIHint(UIHint.Variable)] - [Tooltip("The unique name of the Transition")] - public FsmInt nameHash; - - [UIHint(UIHint.Variable)] - [Tooltip("The user-specified name of the Transition")] - public FsmInt userNameHash; - - [UIHint(UIHint.Variable)] - [Tooltip("Normalized time of the Transition")] - public FsmFloat normalizedTime; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - layerIndex = null; - - name = null; - nameHash = null; - userNameHash = null; - normalizedTime = null; - - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GetTransitionInfo(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - GetTransitionInfo(); - } - - void GetTransitionInfo() - { - if (_animator!=null) - { - AnimatorTransitionInfo _info = _animator.GetAnimatorTransitionInfo(layerIndex.Value); - - if (!name.IsNone) - { - name.Value = _animator.GetLayerName(layerIndex.Value); - } - - if (!nameHash.IsNone) - { - nameHash.Value = _info.nameHash; - } - - if (!userNameHash.IsNone) - { - userNameHash.Value = _info.userNameHash; - } - - if (!normalizedTime.IsNone) - { - normalizedTime.Value = _info.normalizedTime; - } - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfo.cs.meta deleted file mode 100644 index c2330a338..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0fe9a3bd420ec47b2bc6bdae6cdaa4ab -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsName.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsName.cs deleted file mode 100644 index b4e62fb36..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsName.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Check the active Transition name on a specified layer. Format is 'CURRENT_STATE -> NEXT_STATE'.")] - public class GetAnimatorCurrentTransitionInfoIsName : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer's index")] - public FsmInt layerIndex; - - [Tooltip("The name to check the transition against.")] - public FsmString name; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("True if name matches")] - public FsmBool nameMatch; - - [Tooltip("Event send if name matches")] - public FsmEvent nameMatchEvent; - - [Tooltip("Event send if name doesn't match")] - public FsmEvent nameDoNotMatchEvent; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - layerIndex = null; - - name = null; - - nameMatch = null; - nameMatchEvent = null; - nameDoNotMatchEvent = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - IsName(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - IsName(); - } - - void IsName() - { - if (_animator!=null) - { - AnimatorTransitionInfo _info = _animator.GetAnimatorTransitionInfo(layerIndex.Value); - - if (_info.IsName(name.Value)) - { - nameMatch.Value = true; - Fsm.Event(nameMatchEvent); - }else{ - nameMatch.Value = false; - Fsm.Event(nameDoNotMatchEvent); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsName.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsName.cs.meta deleted file mode 100644 index 090c8bc04..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsName.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c30469b50b14848858f52b7fe7107982 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsUserName.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsUserName.cs deleted file mode 100644 index 990d44511..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsUserName.cs +++ /dev/null @@ -1,106 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Check the active Transition user-specified name on a specified layer.")] - public class GetAnimatorCurrentTransitionInfoIsUserName : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer's index")] - public FsmInt layerIndex; - - [Tooltip("The user-specified name to check the transition against.")] - public FsmString userName; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("True if name matches")] - public FsmBool nameMatch; - - [Tooltip("Event send if name matches")] - public FsmEvent nameMatchEvent; - - [Tooltip("Event send if name doesn't match")] - public FsmEvent nameDoNotMatchEvent; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - layerIndex = null; - - userName = null; - - nameMatch = null; - nameMatchEvent = null; - nameDoNotMatchEvent = null; - - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - IsName(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - IsName(); - } - - void IsName() - { - if (_animator!=null) - { - AnimatorTransitionInfo _info = _animator.GetAnimatorTransitionInfo(layerIndex.Value); - - bool _isMatch = _info.IsUserName(userName.Value); - - if (! nameMatch.IsNone) - { - nameMatch.Value = _isMatch; - } - - if (_isMatch) - { - Fsm.Event(nameMatchEvent); - }else{ - Fsm.Event(nameDoNotMatchEvent); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsUserName.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsUserName.cs.meta deleted file mode 100644 index 95c78c213..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorCurrentTransitionInfoIsUserName.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: df0ac08a28fbe4862874b2aaa02851ab -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorDelta.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorDelta.cs deleted file mode 100644 index 6399b53fd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorDelta.cs +++ /dev/null @@ -1,77 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the avatar delta position and rotation for the last evaluated frame.")] - public class GetAnimatorDelta: FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("The avatar delta position for the last evaluated frame")] - public FsmVector3 deltaPosition; - - [UIHint(UIHint.Variable)] - [Tooltip("The avatar delta position for the last evaluated frame")] - public FsmQuaternion deltaRotation; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - gameObject = null; - deltaPosition= null; - deltaRotation = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoGetDeltaPosition(); - - Finish(); - - } - - public override void OnActionUpdate() - { - DoGetDeltaPosition(); - - } - - void DoGetDeltaPosition() - { - if (_animator==null) - { - return; - } - - deltaPosition.Value = _animator.deltaPosition; - deltaRotation.Value = _animator.deltaRotation; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorDelta.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorDelta.cs.meta deleted file mode 100644 index 538b370ad..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorDelta.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 59828d3af79b24d328e2f0dfa5b4a3a7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFeetPivotActive.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFeetPivotActive.cs deleted file mode 100644 index 5fe564add..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFeetPivotActive.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns the feet pivot. At 0% blending point is body mass center. At 100% blending point is feet pivot")] - public class GetAnimatorFeetPivotActive : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The feet pivot Blending. At 0% blending point is body mass center. At 100% blending point is feet pivot")] - public FsmFloat feetPivotActive; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - feetPivotActive = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoGetFeetPivotActive(); - - Finish(); - - } - - void DoGetFeetPivotActive() - { - if (_animator==null) - { - return; - } - - feetPivotActive.Value = _animator.feetPivotActive; - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFeetPivotActive.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFeetPivotActive.cs.meta deleted file mode 100644 index 304ff8a02..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFeetPivotActive.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e13fdcd155d24432ea5ddb9a289ddaef -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFloat.cs deleted file mode 100644 index 6eb618b69..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFloat.cs +++ /dev/null @@ -1,92 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the value of a float parameter")] - public class GetAnimatorFloat : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.AnimatorFloat)] - [Tooltip("The animator parameter")] - public FsmString parameter; - - [ActionSection("Results")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The float value of the animator parameter")] - public FsmFloat result; - - private Animator _animator; - - private int _paramID; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - parameter = null; - result = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - // get hash from the param for efficiency: - _paramID = Animator.StringToHash(parameter.Value); - - GetParameter(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - GetParameter(); - } - - void GetParameter() - { - if (_animator!=null) - { - result.Value = _animator.GetFloat(_paramID); - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameGetProperty(this, parameter, result); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFloat.cs.meta deleted file mode 100644 index 256b35108..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorFloat.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7de2cc8e8be55430bb4b2c9a08001b9b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorGravityWeight.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorGravityWeight.cs deleted file mode 100644 index 2c78e8bc4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorGravityWeight.cs +++ /dev/null @@ -1,75 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns The current gravity weight based on current animations that are played")] - public class GetAnimatorGravityWeight: FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The current gravity weight based on current animations that are played")] - public FsmFloat gravityWeight; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - gravityWeight= null; - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoGetGravityWeight(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetGravityWeight(); - } - - void DoGetGravityWeight() - { - if (_animator==null) - { - return; - } - - gravityWeight.Value = _animator.gravityWeight; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorGravityWeight.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorGravityWeight.cs.meta deleted file mode 100644 index 5ab0cdfe2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorGravityWeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e3c384ee62d14458d8c070bbd88b0232 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorHumanScale.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorHumanScale.cs deleted file mode 100644 index b436ea77c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorHumanScale.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns the scale of the current Avatar for a humanoid rig, (1 by default if the rig is generic).\n The scale is relative to Unity's Default Avatar")] - public class GetAnimatorHumanScale: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Result")] - - [UIHint(UIHint.Variable)] - [Tooltip("the scale of the current Avatar")] - public FsmFloat humanScale; - - Animator _animator; - - public override void Reset() - { - gameObject = null; - humanScale= null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoGetHumanScale(); - - Finish(); - - } - - void DoGetHumanScale() - { - if (_animator==null) - { - return; - } - - humanScale.Value = _animator.humanScale; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorHumanScale.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorHumanScale.cs.meta deleted file mode 100644 index 0cde5a625..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorHumanScale.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3e4e2701c656149199f7b424b0725b7d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIKGoal.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIKGoal.cs deleted file mode 100644 index 8aa1c8a95..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIKGoal.cs +++ /dev/null @@ -1,138 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the position, rotation and weights of an IK goal. A GameObject can be set to use for the position and rotation")] - public class GetAnimatorIKGoal: FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("The IK goal")] - [ObjectType(typeof(AvatarIKGoal))] - public FsmEnum iKGoal; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The gameObject to apply ik goal position and rotation to")] - public FsmGameObject goal; - - [UIHint(UIHint.Variable)] - [Tooltip("Gets The position of the ik goal. If Goal GameObject define, position is used as an offset from Goal")] - public FsmVector3 position; - - [UIHint(UIHint.Variable)] - [Tooltip("Gets The rotation of the ik goal.If Goal GameObject define, rotation is used as an offset from Goal")] - public FsmQuaternion rotation; - - [UIHint(UIHint.Variable)] - [Tooltip("Gets The translative weight of an IK goal (0 = at the original animation before IK, 1 = at the goal)")] - public FsmFloat positionWeight; - - [UIHint(UIHint.Variable)] - [Tooltip("Gets the rotational weight of an IK goal (0 = rotation before IK, 1 = rotation at the IK goal)")] - public FsmFloat rotationWeight; - - Animator _animator; - - Transform _transform; - - AvatarIKGoal _iKGoal; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - - iKGoal = null; - - goal = null; - position = null; - rotation = null; - positionWeight = null; - rotationWeight = null; - - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GameObject _goal = goal.Value; - if (_goal!=null) - { - _transform = _goal.transform; - } - - } - - public override void OnActionUpdate() - { - DoGetIKGoal(); - - if (!everyFrame) - { - Finish(); - } - } - - - void DoGetIKGoal() - { - if (_animator==null) - { - return; - } - - _iKGoal = (AvatarIKGoal)iKGoal.Value; - - if (_transform!=null) - { - _transform.position = _animator.GetIKPosition(_iKGoal); - _transform.rotation = _animator.GetIKRotation(_iKGoal); - } - - if (!position.IsNone) - { - position.Value = _animator.GetIKPosition(_iKGoal); - } - - if (!rotation.IsNone) - { - rotation.Value =_animator.GetIKRotation(_iKGoal); - } - - if (!positionWeight.IsNone) - { - positionWeight.Value = _animator.GetIKPositionWeight(_iKGoal); - } - if (!rotationWeight.IsNone) - { - rotationWeight.Value = _animator.GetIKRotationWeight(_iKGoal); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIKGoal.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIKGoal.cs.meta deleted file mode 100644 index a9c72811e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIKGoal.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3c5d635656f584a028aeaaa9cea3e773 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorInt.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorInt.cs deleted file mode 100644 index 84fa53306..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorInt.cs +++ /dev/null @@ -1,93 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the value of an int parameter")] - public class GetAnimatorInt : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.AnimatorInt)] - [Tooltip("The animator parameter")] - public FsmString parameter; - - [ActionSection("Results")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The int value of the animator parameter")] - public FsmInt result; - - private Animator _animator; - - private int _paramID; - - public override void Reset() - { - base.Reset(); - gameObject = null; - parameter = null; - result = null; - } - - - // Code that runs on entering the state. - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - // get hash from the param for efficiency: - _paramID = Animator.StringToHash(parameter.Value); - - GetParameter(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - GetParameter(); - } - - void GetParameter() - { - if (_animator!=null) - { - result.Value = _animator.GetInteger(_paramID); - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameGetProperty(this, parameter, result); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorInt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorInt.cs.meta deleted file mode 100644 index 3fed7cdcf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorInt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b1565390c702f46aaa5cf4fa60f9e509 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsHuman.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsHuman.cs deleted file mode 100644 index 92fc91e17..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsHuman.cs +++ /dev/null @@ -1,86 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns true if the current rig is humanoid, false if it is generic. Can also sends events")] - public class GetAnimatorIsHuman : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("True if the current rig is humanoid, False if it is generic")] - public FsmBool isHuman; - - [Tooltip("Event send if rig is humanoid")] - public FsmEvent isHumanEvent; - - [Tooltip("Event send if rig is generic")] - public FsmEvent isGenericEvent; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - isHuman = null; - isHumanEvent = null; - isGenericEvent = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoCheckIsHuman(); - - Finish(); - - } - - void DoCheckIsHuman() - { - if (_animator==null) - { - return; - } - - bool _isHuman = _animator.isHuman; - - if (! isHuman.IsNone) - { - isHuman.Value = _isHuman; - } - - if (_isHuman) - { - Fsm.Event(isHumanEvent); - }else{ - Fsm.Event(isGenericEvent); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsHuman.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsHuman.cs.meta deleted file mode 100644 index 4de23880c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsHuman.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 10472a7cdeeae4ec1b7a0a2958ad14ca -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsLayerInTransition.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsLayerInTransition.cs deleted file mode 100644 index e5126fd6c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsLayerInTransition.cs +++ /dev/null @@ -1,99 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns true if the specified layer is in a transition. Can also send events")] - public class GetAnimatorIsLayerInTransition: FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer's index")] - public FsmInt layerIndex; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("True if automatic matching is active")] - public FsmBool isInTransition; - - [Tooltip("Event send if automatic matching is active")] - public FsmEvent isInTransitionEvent; - - [Tooltip("Event send if automatic matching is not active")] - public FsmEvent isNotInTransitionEvent; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - isInTransition = null; - isInTransitionEvent = null; - isNotInTransitionEvent = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoCheckIsInTransition(); - - if(!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoCheckIsInTransition(); - } - - - void DoCheckIsInTransition() - { - if (_animator==null) - { - return; - } - - bool _isInTransition = _animator.IsInTransition(layerIndex.Value); - - if (!isInTransition.IsNone) - { - isInTransition.Value = _isInTransition; - } - - if (_isInTransition) - { - Fsm.Event(isInTransitionEvent); - }else{ - Fsm.Event(isNotInTransitionEvent); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsLayerInTransition.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsLayerInTransition.cs.meta deleted file mode 100644 index 8a31eb730..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsLayerInTransition.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e5040ac0bba964af88c58865c193d634 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsMatchingTarget.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsMatchingTarget.cs deleted file mode 100644 index 26b2661a2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsMatchingTarget.cs +++ /dev/null @@ -1,93 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns true if automatic matching is active. Can also send events")] - public class GetAnimatorIsMatchingTarget: FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component and a PlayMakerAnimatorProxy component are required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("True if automatic matching is active")] - public FsmBool isMatchingActive; - - [Tooltip("Event send if automatic matching is active")] - public FsmEvent matchingActivatedEvent; - - [Tooltip("Event send if automatic matching is not active")] - public FsmEvent matchingDeactivedEvent; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - isMatchingActive = null; - matchingActivatedEvent = null; - matchingDeactivedEvent = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoCheckIsMatchingActive(); - - if (!everyFrame) - { - Finish(); - } - } - - - public override void OnActionUpdate() - { - DoCheckIsMatchingActive(); - - } - - void DoCheckIsMatchingActive() - { - if (_animator==null) - { - return; - } - - bool _isMatchingActive = _animator.isMatchingTarget; - isMatchingActive.Value = _isMatchingActive; - - if (_isMatchingActive) - { - Fsm.Event(matchingActivatedEvent); - }else{ - Fsm.Event(matchingDeactivedEvent); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsMatchingTarget.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsMatchingTarget.cs.meta deleted file mode 100644 index e23746619..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsMatchingTarget.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1bdecd480242c4aca8287c38279d2fef -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsParameterControlledByCurve.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsParameterControlledByCurve.cs deleted file mode 100644 index 98be2df7c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsParameterControlledByCurve.cs +++ /dev/null @@ -1,89 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns true if a parameter is controlled by an additional curve on an animation")] - public class GetAnimatorIsParameterControlledByCurve: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("The parameter's name")] - public FsmString parameterName; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("True if controlled by curve")] - public FsmBool isControlledByCurve; - - [Tooltip("Event send if controlled by curve")] - public FsmEvent isControlledByCurveEvent; - - [Tooltip("Event send if not controlled by curve")] - public FsmEvent isNotControlledByCurveEvent; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - parameterName = null; - isControlledByCurve = null; - isControlledByCurveEvent = null; - isNotControlledByCurveEvent = null; - - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - - DoCheckIsParameterControlledByCurve(); - - Finish(); - - } - - - void DoCheckIsParameterControlledByCurve() - { - if (_animator==null) - { - return; - } - - bool _isControlledByCurve = _animator.IsParameterControlledByCurve(parameterName.Value); - isControlledByCurve.Value = _isControlledByCurve; - - if (_isControlledByCurve) - { - Fsm.Event(isControlledByCurveEvent); - }else{ - Fsm.Event(isNotControlledByCurveEvent); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsParameterControlledByCurve.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsParameterControlledByCurve.cs.meta deleted file mode 100644 index 37aa6d558..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorIsParameterControlledByCurve.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cb08474726d4c46db9951e90042f7e9a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerCount.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerCount.cs deleted file mode 100644 index 9268c9b72..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerCount.cs +++ /dev/null @@ -1,67 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns the Animator controller layer count")] - public class GetAnimatorLayerCount : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Animator controller layer count")] - public FsmInt layerCount; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - layerCount = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoGetLayerCount(); - - Finish(); - - } - - void DoGetLayerCount() - { - if (_animator==null) - { - return; - } - - layerCount.Value = _animator.layerCount; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerCount.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerCount.cs.meta deleted file mode 100644 index cd8fc53a2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerCount.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: acf2623f6aced45c9b16e208719d85cb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerName.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerName.cs deleted file mode 100644 index bd1e50218..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerName.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns the name of a layer from its index")] - public class GetAnimatorLayerName : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer index")] - public FsmInt layerIndex; - - [ActionSection("Results")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The layer name")] - public FsmString layerName; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - layerIndex = null; - layerName = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoGetLayerName(); - - Finish(); - - } - - void DoGetLayerName() - { - if (_animator==null) - { - return; - } - - layerName.Value = _animator.GetLayerName(layerIndex.Value); - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerName.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerName.cs.meta deleted file mode 100644 index 57ce26d26..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerName.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cdbcdbe70991c4b9f979da57c134c086 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerWeight.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerWeight.cs deleted file mode 100644 index a79b0f1a8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerWeight.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the layer's current weight")] - public class GetAnimatorLayerWeight : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer's index")] - public FsmInt layerIndex; - - [ActionSection("Results")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The layer's current weight")] - public FsmFloat layerWeight; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - layerIndex = null; - layerWeight = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GetLayerWeight(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - GetLayerWeight(); - } - - void GetLayerWeight() - { - if (_animator!=null) - { - layerWeight.Value = _animator.GetLayerWeight(layerIndex.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerWeight.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerWeight.cs.meta deleted file mode 100644 index 7f39b1bb6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayerWeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b217fe31f1ae848f9914c4fdbfbfdd01 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayersAffectMassCenter.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayersAffectMassCenter.cs deleted file mode 100644 index 58942d2d9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayersAffectMassCenter.cs +++ /dev/null @@ -1,85 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns if additional layers affects the mass center")] - public class GetAnimatorLayersAffectMassCenter : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("If true, additional layers affects the mass center")] - public FsmBool affectMassCenter; - - [Tooltip("Event send if additional layers affects the mass center")] - public FsmEvent affectMassCenterEvent; - - [Tooltip("Event send if additional layers do no affects the mass center")] - public FsmEvent doNotAffectMassCenterEvent; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - affectMassCenter = null; - affectMassCenterEvent = null; - doNotAffectMassCenterEvent = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - CheckAffectMassCenter(); - - Finish(); - - } - - void CheckAffectMassCenter() - { - if (_animator==null) - { - return; - } - - bool _affect = _animator.layersAffectMassCenter; - - affectMassCenter.Value = _affect; - - if (_affect) - { - Fsm.Event(affectMassCenterEvent); - }else{ - Fsm.Event(doNotAffectMassCenterEvent); - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayersAffectMassCenter.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayersAffectMassCenter.cs.meta deleted file mode 100644 index da0ae06c2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLayersAffectMassCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 855199c246a444b1f9e5869cfd91d3c8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLeftFootBottomHeight.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLeftFootBottomHeight.cs deleted file mode 100644 index fd509cc20..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLeftFootBottomHeight.cs +++ /dev/null @@ -1,80 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Get the left foot bottom height.")] - public class GetAnimatorLeftFootBottomHeight : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Result")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("the left foot bottom height.")] - public FsmFloat leftFootHeight; - - [Tooltip("Repeat every frame. Useful when value is subject to change over time.")] - public bool everyFrame; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - leftFootHeight = null; - everyFrame = false; - } - - public override void OnPreprocess() - { - Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - _getLeftFootBottonHeight(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnLateUpdate() - { - _getLeftFootBottonHeight(); - } - - void _getLeftFootBottonHeight() - { - if (_animator!=null) - { - leftFootHeight.Value = _animator.leftFeetBottomHeight; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLeftFootBottomHeight.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLeftFootBottomHeight.cs.meta deleted file mode 100644 index fa92b6132..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorLeftFootBottomHeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9330353483e924d69b2fa7703fa61ca7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorNextStateInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorNextStateInfo.cs deleted file mode 100644 index d9a987874..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorNextStateInfo.cs +++ /dev/null @@ -1,188 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3_OR_NEWER || UNITY_5 -#define UNITY_5_OR_NEWER -#endif - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the next State information on a specified layer")] - public class GetAnimatorNextStateInfo : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer's index")] - public FsmInt layerIndex; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The layer's name.")] - public FsmString name; - - [UIHint(UIHint.Variable)] - [Tooltip("The layer's name Hash. Obsolete in Unity 5, use fullPathHash or shortPathHash instead, nameHash will be the same as shortNameHash for legacy")] - public FsmInt nameHash; - -#if UNITY_5_OR_NEWER - [UIHint(UIHint.Variable)] - [Tooltip("The full path hash for this state.")] - public FsmInt fullPathHash; - - [UIHint(UIHint.Variable)] - [Tooltip("The name Hash. Doest not include the parent layer's name")] - public FsmInt shortPathHash; -#endif - - - [UIHint(UIHint.Variable)] - [Tooltip("The layer's tag hash")] - public FsmInt tagHash; - - [UIHint(UIHint.Variable)] - [Tooltip("Is the state looping. All animations in the state must be looping")] - public FsmBool isStateLooping; - - [UIHint(UIHint.Variable)] - [Tooltip("The Current duration of the state. In seconds, can vary when the State contains a Blend Tree ")] - public FsmFloat length; - - [UIHint(UIHint.Variable)] - [Tooltip("The integer part is the number of time a state has been looped. The fractional part is the % (0-1) of progress in the current loop")] - public FsmFloat normalizedTime; - - [UIHint(UIHint.Variable)] - [Tooltip("The integer part is the number of time a state has been looped. This is extracted from the normalizedTime")] - public FsmInt loopCount; - - [UIHint(UIHint.Variable)] - [Tooltip("The progress in the current loop. This is extracted from the normalizedTime")] - public FsmFloat currentLoopProgress; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - layerIndex = null; - - name = null; - nameHash = null; - -#if UNITY_5_OR_NEWER - fullPathHash = null; - shortPathHash = null; -#endif - - tagHash = null; - length = null; - normalizedTime = null; - isStateLooping = null; - loopCount = null; - currentLoopProgress = null; - - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go == null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator == null) - { - Finish(); - return; - } - - GetLayerInfo(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - GetLayerInfo(); - } - - void GetLayerInfo() - { - if (_animator != null) - { - AnimatorStateInfo _info = _animator.GetNextAnimatorStateInfo(layerIndex.Value); - -#if UNITY_5_OR_NEWER - if (!fullPathHash.IsNone) - { - fullPathHash.Value = _info.fullPathHash; - } - if (!shortPathHash.IsNone) - { - shortPathHash.Value = _info.shortNameHash; - } - if (!nameHash.IsNone) - { - nameHash.Value = _info.shortNameHash; - } -#else - if (!nameHash.IsNone) - { -#if UNITY_5_OR_NEWER - nameHash.Value = _info.fullPathHash; -#else - nameHash.Value = _info.nameHash; -#endif - } -#endif - - if (!name.IsNone) - { - name.Value = _animator.GetLayerName(layerIndex.Value); - } - - if (!tagHash.IsNone) - { - tagHash.Value = _info.tagHash; - } - if (!length.IsNone) - { - length.Value = _info.length; - } - if (!isStateLooping.IsNone) - { - isStateLooping.Value = _info.loop; - } - if (!normalizedTime.IsNone) - { - normalizedTime.Value = _info.normalizedTime; - } - - if (!loopCount.IsNone || !currentLoopProgress.IsNone) - { - loopCount.Value = (int)System.Math.Truncate(_info.normalizedTime); - currentLoopProgress.Value = _info.normalizedTime - loopCount.Value; - } - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorNextStateInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorNextStateInfo.cs.meta deleted file mode 100644 index 4fe3003eb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorNextStateInfo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b38c867aa06344cb1a93127e55fd5dff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPivot.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPivot.cs deleted file mode 100644 index 8c8ffc1bf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPivot.cs +++ /dev/null @@ -1,88 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Returns the pivot weight and/or position. The pivot is the most stable point between the avatar's left and right foot.\n For a weight value of 0, the left foot is the most stable point For a value of 1, the right foot is the most stable point")] - public class GetAnimatorPivot : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The pivot is the most stable point between the avatar's left and right foot.\n For a value of 0, the left foot is the most stable point For a value of 1, the right foot is the most stable point")] - public FsmFloat pivotWeight; - - [UIHint(UIHint.Variable)] - [Tooltip("The pivot is the most stable point between the avatar's left and right foot.\n For a value of 0, the left foot is the most stable point For a value of 1, the right foot is the most stable point")] - public FsmVector3 pivotPosition; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - pivotWeight = null; - pivotPosition = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoCheckPivot(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoCheckPivot(); - } - - - void DoCheckPivot() - { - if (_animator==null) - { - return; - } - - if (!pivotWeight.IsNone) - { - pivotWeight.Value = _animator.pivotWeight; - } - if (!pivotPosition.IsNone) - { - pivotPosition.Value = _animator.pivotPosition; - } - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPivot.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPivot.cs.meta deleted file mode 100644 index 282f56e79..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPivot.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9f881f5e879b242e9bc5b7f5da438aec -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlayBackSpeed.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlayBackSpeed.cs deleted file mode 100644 index 9e0654a7d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlayBackSpeed.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the playback speed of the Animator. 1 is normal playback speed")] - public class GetAnimatorPlayBackSpeed : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The playBack speed of the animator. 1 is normal playback speed")] - public FsmFloat playBackSpeed; - - [Tooltip("Repeat every frame. Useful when value is subject to change over time.")] - public bool everyFrame; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - playBackSpeed = null; - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GetPlayBackSpeed(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - GetPlayBackSpeed(); - } - - void GetPlayBackSpeed() - { - if (_animator!=null) - { - playBackSpeed.Value = _animator.speed; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlayBackSpeed.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlayBackSpeed.cs.meta deleted file mode 100644 index 04c39b25f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlayBackSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 252f9f13fe96d4f5b8ee1a309ee2e5db -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlaybackTime.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlaybackTime.cs deleted file mode 100644 index f9632b762..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlaybackTime.cs +++ /dev/null @@ -1,75 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the playback position in the recording buffer. When in playback mode (use AnimatorStartPlayback), this value is used for controlling the current playback position in the buffer (in seconds). The value can range between recordingStartTime and recordingStopTime See Also: StartPlayback, StopPlayback.")] - public class GetAnimatorPlayBackTime : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Result")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The playBack time of the animator.")] - public FsmFloat playBackTime; - - [Tooltip("Repeat every frame. Useful when value is subject to change over time.")] - public bool everyFrame; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - playBackTime = null; - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GetPlayBackTime(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - GetPlayBackTime(); - } - - void GetPlayBackTime() - { - if (_animator!=null) - { - playBackTime.Value = _animator.playbackTime; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlaybackTime.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlaybackTime.cs.meta deleted file mode 100644 index 7505d3fe9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorPlaybackTime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7d22254eb077f4acba9bf302e62ef769 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRightFootBottomHeight.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRightFootBottomHeight.cs deleted file mode 100644 index ead7fce50..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRightFootBottomHeight.cs +++ /dev/null @@ -1,82 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Get the right foot bottom height.")] - public class GetAnimatorRightFootBottomHeight : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Result")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The right foot bottom height.")] - public FsmFloat rightFootHeight; - - [Tooltip("Repeat every frame during LateUpdate. Useful when value is subject to change over time.")] - public bool everyFrame; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - rightFootHeight = null; - everyFrame = false; - } - - public override void OnPreprocess() - { - Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - _getRightFootBottonHeight(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnLateUpdate() - { - _getRightFootBottonHeight(); - } - - void _getRightFootBottonHeight() - { - if (_animator!=null) - { - rightFootHeight.Value = _animator.rightFeetBottomHeight; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRightFootBottomHeight.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRightFootBottomHeight.cs.meta deleted file mode 100644 index 7cac40ce6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRightFootBottomHeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d19d957c781f6493fbbaed91c968c8ec -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRoot.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRoot.cs deleted file mode 100644 index 13cf486b6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRoot.cs +++ /dev/null @@ -1,101 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the avatar body mass center position and rotation.Optionally accept a GameObject to get the body transform. \nThe position and rotation are local to the gameobject")] - public class GetAnimatorRoot: FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target.")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The avatar body mass center")] - public FsmVector3 rootPosition; - - [UIHint(UIHint.Variable)] - [Tooltip("The avatar body mass center")] - public FsmQuaternion rootRotation; - - [Tooltip("If set, apply the body mass center position and rotation to this gameObject")] - public FsmGameObject bodyGameObject; - - private Animator _animator; - - private Transform _transform; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - rootPosition= null; - rootRotation = null; - bodyGameObject = null; - - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GameObject _body = bodyGameObject.Value; - if (_body!=null) - { - _transform = _body.transform; - } - - DoGetBodyPosition(); - - if (!everyFrame) - { - Finish(); - } - - } - - public override void OnActionUpdate() - { - DoGetBodyPosition(); - } - - void DoGetBodyPosition() - { - if (_animator==null) - { - return; - } - - rootPosition.Value = _animator.rootPosition; - rootRotation.Value = _animator.rootRotation; - - if (_transform!=null) - { - _transform.position = _animator.rootPosition; - _transform.rotation = _animator.rootRotation; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRoot.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRoot.cs.meta deleted file mode 100644 index 1d4cf8ca8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorRoot.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f6a5f9d7ea5f64549b2fc34b6b0cd5c7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorSpeed.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorSpeed.cs deleted file mode 100644 index 7e89ccc13..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorSpeed.cs +++ /dev/null @@ -1,72 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the playback speed of the Animator. 1 is normal playback speed")] - public class GetAnimatorSpeed : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The playBack speed of the animator. 1 is normal playback speed")] - public FsmFloat speed; - - private Animator _animator; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - speed = null; - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GetPlaybackSpeed(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - GetPlaybackSpeed(); - } - - void GetPlaybackSpeed() - { - if (_animator!=null) - { - speed.Value = _animator.speed; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorSpeed.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorSpeed.cs.meta deleted file mode 100644 index add660674..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: cfa38da0ff4864b20be3fb1ec58d58bc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorTarget.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorTarget.cs deleted file mode 100644 index 69a1e8dff..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorTarget.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Gets the position and rotation of the target specified by SetTarget(AvatarTarget targetIndex, float targetNormalizedTime)).\n" + - "The position and rotation are only valid when a frame has being evaluated after the SetTarget call")] - public class GetAnimatorTarget: FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [ActionSection("Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("The target position")] - public FsmVector3 targetPosition; - - [UIHint(UIHint.Variable)] - [Tooltip("The target rotation")] - public FsmQuaternion targetRotation; - - [Tooltip("If set, apply the position and rotation to this gameObject")] - public FsmGameObject targetGameObject; - - private Animator _animator; - - private Transform _transform; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - targetPosition= null; - targetRotation = null; - targetGameObject = null; - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GameObject _target = targetGameObject.Value; - if (_target!=null) - { - _transform = _target.transform; - } - - DoGetTarget(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetTarget(); - } - - void DoGetTarget() - { - if (_animator==null) - { - return; - } - - targetPosition.Value = _animator.targetPosition; - targetRotation.Value = _animator.targetRotation; - - if (_transform!=null) - { - _transform.position = _animator.targetPosition; - _transform.rotation = _animator.targetRotation; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorTarget.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorTarget.cs.meta deleted file mode 100644 index 28bdac98f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/GetAnimatorTarget.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dc36092a0e28842d4bd974422ff9b206 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/NavMeshAgentAnimatorSynchronizer.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/NavMeshAgentAnimatorSynchronizer.cs deleted file mode 100644 index 05e9ea24f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/NavMeshAgentAnimatorSynchronizer.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_5_OR_NEWER - using UnityEngine.AI; -#endif -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Synchronize a NavMesh Agent velocity and rotation with the animator process.")] - public class NavMeshAgentAnimatorSynchronizer : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(NavMeshAgent))] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Agent target. An Animator component and a NavMeshAgent component are required")] - public FsmOwnerDefault gameObject; - - private Animator _animator; - private NavMeshAgent _agent; - - private Transform _trans; - - public override void Reset() - { - gameObject = null; - } - - public override void OnPreprocess () - { - Fsm.HandleAnimatorMove = true; - } - - public override void OnEnter() - { - - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - _agent = go.GetComponent(); - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - _trans = go.transform; - } - - public override void DoAnimatorMove() - { - _agent.velocity = _animator.deltaPosition / Time.deltaTime; - _trans.rotation = _animator.rootRotation; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/NavMeshAgentAnimatorSynchronizer.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/NavMeshAgentAnimatorSynchronizer.cs.meta deleted file mode 100644 index a7185ca38..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/NavMeshAgentAnimatorSynchronizer.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e7921319b56514e1594bc135e632c4ea -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorApplyRootMotion.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorApplyRootMotion.cs deleted file mode 100644 index 0162395dc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorApplyRootMotion.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Set Apply Root Motion: If true, Root is controlled by animations")] - public class SetAnimatorApplyRootMotion: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("If true, Root is controlled by animations")] - public FsmBool applyRootMotion; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - applyRootMotion= null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoApplyRootMotion(); - - Finish(); - - } - - void DoApplyRootMotion() - { - if (_animator==null) - { - return; - } - - _animator.applyRootMotion = applyRootMotion.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorApplyRootMotion.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorApplyRootMotion.cs.meta deleted file mode 100644 index ca59b1680..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorApplyRootMotion.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 533022f83905747cb8e71215824cadd4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBody.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBody.cs deleted file mode 100644 index 372651c95..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBody.cs +++ /dev/null @@ -1,121 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the position and rotation of the body. A GameObject can be set to control the position and rotation, or it can be manually expressed.")] - public class SetAnimatorBody: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("The gameObject target of the ik goal")] - public FsmGameObject target; - - [Tooltip("The position of the ik goal. If Goal GameObject set, position is used as an offset from Goal")] - public FsmVector3 position; - - [Tooltip("The rotation of the ik goal.If Goal GameObject set, rotation is used as an offset from Goal")] - public FsmQuaternion rotation; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private Animator _animator; - - private Transform _transform; - - public override void Reset() - { - gameObject = null; - target = null; - position = new FsmVector3() {UseVariable=true}; - rotation = new FsmQuaternion() {UseVariable=true}; - - everyFrame = false; - } - - public override void OnPreprocess () - { - Fsm.HandleAnimatorIK = true; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GameObject _target = target.Value; - if (_target!=null) - { - _transform = _target.transform; - } - - } - - public override void DoAnimatorIK (int layerIndex) - { - DoSetBody(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetBody() - { - if (_animator==null) - { - return; - } - - if (_transform!=null) - { - if (position.IsNone) - { - _animator.bodyPosition = _transform.position; - }else{ - _animator.bodyPosition = _transform.position+position.Value; - } - - if (rotation.IsNone) - { - _animator.bodyRotation = _transform.rotation; - }else{ - _animator.bodyRotation = _transform.rotation*rotation.Value; - } - }else{ - - if (!position.IsNone) - { - _animator.bodyPosition = position.Value; - } - - if (!rotation.IsNone) - { - _animator.bodyRotation = rotation.Value; - } - } - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBody.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBody.cs.meta deleted file mode 100644 index e43b6bcd4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBody.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0f372e08801dc40c890e1599595eaad9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBool.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBool.cs deleted file mode 100644 index fd14274ac..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBool.cs +++ /dev/null @@ -1,80 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the value of a bool parameter")] - public class SetAnimatorBool : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.AnimatorBool)] - [Tooltip("The animator parameter")] - public FsmString parameter; - - [Tooltip("The Bool value to assign to the animator parameter")] - public FsmBool Value; - - private Animator _animator; - private int _paramID; - - public override void Reset() - { - base.Reset(); - gameObject = null; - parameter = null; - Value = null; - - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - // get hash from the param for efficiency: - _paramID = Animator.StringToHash(parameter.Value); - - SetParameter(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - SetParameter(); - } - - void SetParameter() - { - if (_animator!=null) - { - _animator.SetBool(_paramID,Value.Value) ; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBool.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBool.cs.meta deleted file mode 100644 index ed960f802..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorBool.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 84fa9e58ece094db8afb9d4f089d064a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorCullingMode.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorCullingMode.cs deleted file mode 100644 index 8cc692064..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorCullingMode.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3_OR_NEWER || UNITY_5 || UNITY_5_0 -#define UNITY_5_OR_NEWER -#endif - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Controls culling of this Animator component.\n" + - "If true, set to 'AlwaysAnimate': always animate the entire character. Object is animated even when offscreen.\n" + - "If False, set to 'BasedOnRenderes' or CullUpdateTransforms ( On Unity 5) animation is disabled when renderers are not visible.")] - public class SetAnimatorCullingMode: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("If true, always animate the entire character, else animation is disabled when renderers are not visible")] - public FsmBool alwaysAnimate; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - alwaysAnimate= null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - SetCullingMode(); - - Finish(); - - } - - void SetCullingMode() - { - if (_animator==null) - { - return; - } - - #if UNITY_5_OR_NEWER - _animator.cullingMode = alwaysAnimate.Value?AnimatorCullingMode.AlwaysAnimate:AnimatorCullingMode.CullUpdateTransforms; - #else - _animator.cullingMode = alwaysAnimate.Value?AnimatorCullingMode.AlwaysAnimate:AnimatorCullingMode.BasedOnRenderers; - #endif - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorCullingMode.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorCullingMode.cs.meta deleted file mode 100644 index a5c0abb4d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorCullingMode.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b9d6946d83b0341ad8d4da88ed1f94f2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFeetPivotActive.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFeetPivotActive.cs deleted file mode 100644 index 424d34ba4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFeetPivotActive.cs +++ /dev/null @@ -1,64 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Activates feet pivot. At 0% blending point is body mass center. At 100% blending point is feet pivot")] - public class SetAnimatorFeetPivotActive: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("Activates feet pivot. At 0% blending point is body mass center. At 100% blending point is feet pivot")] - public FsmFloat feetPivotActive; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - feetPivotActive= null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoFeetPivotActive(); - - Finish(); - - } - - void DoFeetPivotActive() - { - if (_animator==null) - { - return; - } - - _animator.feetPivotActive = feetPivotActive.Value; - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFeetPivotActive.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFeetPivotActive.cs.meta deleted file mode 100644 index 1d6c1bdca..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFeetPivotActive.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7e73917538b3a4e038a4970124142a06 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFloat.cs deleted file mode 100644 index 0be69a606..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFloat.cs +++ /dev/null @@ -1,86 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the value of a float parameter")] - public class SetAnimatorFloat : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.AnimatorFloat)] - [Tooltip("The animator parameter")] - public FsmString parameter; - - [Tooltip("The float value to assign to the animator parameter")] - public FsmFloat Value; - - [Tooltip("Optional: The time allowed to parameter to reach the value. Requires everyFrame Checked on")] - public FsmFloat dampTime; - - private Animator _animator; - private int _paramID; - - public override void Reset() - { - base.Reset(); - gameObject = null; - parameter = null; - dampTime = new FsmFloat() {UseVariable=true}; - Value = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - if (_animator==null) - { - Finish(); - return; - } - - // get hash from the param for efficiency: - _paramID = Animator.StringToHash(parameter.Value); - - SetParameter(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate () - { - SetParameter(); - } - - void SetParameter() - { - if (_animator == null) return; - - if (dampTime.Value>0f) - { - _animator.SetFloat(_paramID,Value.Value,dampTime.Value,Time.deltaTime); - } - else - { - _animator.SetFloat(_paramID,Value.Value) ; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFloat.cs.meta deleted file mode 100644 index 272440197..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorFloat.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8c086636265c24eb685a7a38abf3f843 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorIKGoal.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorIKGoal.cs deleted file mode 100644 index 1145b62d9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorIKGoal.cs +++ /dev/null @@ -1,141 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the position, rotation and weights of an IK goal. A GameObject can be set to control the position and rotation, or it can be manually expressed.")] - public class SetAnimatorIKGoal: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The IK goal")] - public AvatarIKGoal iKGoal; - - [Tooltip("The gameObject target of the ik goal")] - public FsmGameObject goal; - - [Tooltip("The position of the ik goal. If Goal GameObject set, position is used as an offset from Goal")] - public FsmVector3 position; - - [Tooltip("The rotation of the ik goal.If Goal GameObject set, rotation is used as an offset from Goal")] - public FsmQuaternion rotation; - - [HasFloatSlider(0f,1f)] - [Tooltip("The translative weight of an IK goal (0 = at the original animation before IK, 1 = at the goal)")] - public FsmFloat positionWeight; - - [HasFloatSlider(0f,1f)] - [Tooltip("Sets the rotational weight of an IK goal (0 = rotation before IK, 1 = rotation at the IK goal)")] - public FsmFloat rotationWeight; - - [Tooltip("Repeat every frame. Useful when changing over time.")] - public bool everyFrame; - - private Animator _animator; - - private Transform _transform; - - public override void Reset() - { - gameObject = null; - goal = null; - position = new FsmVector3() {UseVariable=true}; - rotation = new FsmQuaternion() {UseVariable=true}; - positionWeight = 1f; - rotationWeight = 1f; - - everyFrame = false; - } - - public override void OnPreprocess () - { - Fsm.HandleAnimatorIK = true; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GameObject _goal = goal.Value; - if (_goal!=null) - { - _transform = _goal.transform; - } - } - - public override void DoAnimatorIK (int layerIndex) - { - DoSetIKGoal(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetIKGoal() - { - if (_animator==null) - { - return; - } - - if (_transform!=null) - { - if (position.IsNone) - { - _animator.SetIKPosition(iKGoal,_transform.position); - }else{ - _animator.SetIKPosition(iKGoal,_transform.position+position.Value); - } - - if (rotation.IsNone) - { - _animator.SetIKRotation(iKGoal,_transform.rotation); - }else{ - _animator.SetIKRotation(iKGoal,_transform.rotation*rotation.Value); - } - }else{ - - if (!position.IsNone) - { - _animator.SetIKPosition(iKGoal,position.Value); - } - - if (!rotation.IsNone) - { - _animator.SetIKRotation(iKGoal,rotation.Value); - } - } - - if (!positionWeight.IsNone) - { - _animator.SetIKPositionWeight(iKGoal,positionWeight.Value); - } - if (!rotationWeight.IsNone) - { - _animator.SetIKRotationWeight(iKGoal,rotationWeight.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorIKGoal.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorIKGoal.cs.meta deleted file mode 100644 index c106a9dfe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorIKGoal.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 331b242ab74d74798b8018c088452631 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorInt.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorInt.cs deleted file mode 100644 index a66d4ef81..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorInt.cs +++ /dev/null @@ -1,79 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the value of a int parameter")] - public class SetAnimatorInt : FsmStateActionAnimatorBase - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.AnimatorInt)] - [Tooltip("The animator parameter")] - public FsmString parameter; - - [Tooltip("The Int value to assign to the animator parameter")] - public FsmInt Value; - - - private Animator _animator; - private int _paramID; - - public override void Reset() - { - base.Reset(); - gameObject = null; - parameter = null; - Value = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - // get hash from the param for efficiency: - _paramID = Animator.StringToHash(parameter.Value); - - SetParameter(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate () - { - SetParameter(); - } - - void SetParameter() - { - if (_animator!=null) - { - _animator.SetInteger(_paramID,Value.Value) ; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorInt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorInt.cs.meta deleted file mode 100644 index 97a87bf27..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorInt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dd4e8c6c3305a4c848416eaf9f6dfbff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayerWeight.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayerWeight.cs deleted file mode 100644 index 703181dc2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayerWeight.cs +++ /dev/null @@ -1,82 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the layer's current weight")] - public class SetAnimatorLayerWeight: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The layer's index")] - public FsmInt layerIndex; - - [RequiredField] - [Tooltip("Sets the layer's current weight")] - public FsmFloat layerWeight; - - [Tooltip("Repeat every frame. Useful for changing over time.")] - public bool everyFrame; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - layerIndex = null; - layerWeight= null; - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoLayerWeight(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoLayerWeight(); - } - - - void DoLayerWeight() - { - if (_animator==null) - { - return; - } - - _animator.SetLayerWeight(layerIndex.Value,layerWeight.Value); - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayerWeight.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayerWeight.cs.meta deleted file mode 100644 index 59b071552..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayerWeight.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1da53ccd0ab244a78be13e014adc7604 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayersAffectMassCenter.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayersAffectMassCenter.cs deleted file mode 100644 index 9cc0305a0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayersAffectMassCenter.cs +++ /dev/null @@ -1,64 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("If true, additional layers affects the mass center")] - public class SetAnimatorLayersAffectMassCenter: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("If true, additional layers affects the mass center")] - public FsmBool affectMassCenter; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - affectMassCenter= null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - SetAffectMassCenter(); - - Finish(); - - } - - void SetAffectMassCenter() - { - if (_animator==null) - { - return; - } - - _animator.layersAffectMassCenter = affectMassCenter.Value; - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayersAffectMassCenter.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayersAffectMassCenter.cs.meta deleted file mode 100644 index 7c05ba687..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLayersAffectMassCenter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7f5b24930e6a94b16adf1f4b1f1d968d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLookAt.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLookAt.cs deleted file mode 100644 index c462b9bda..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLookAt.cs +++ /dev/null @@ -1,149 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets look at position and weights. A GameObject can be set to control the look at position, or it can be manually expressed.")] - public class SetAnimatorLookAt: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The gameObject to look at")] - public FsmGameObject target; - - [Tooltip("The look-at position. If Target GameObject set, targetPosition is used as an offset from Target")] - public FsmVector3 targetPosition; - - [HasFloatSlider(0f,1f)] - [Tooltip("The global weight of the LookAt, multiplier for other parameters. Range from 0 to 1")] - public FsmFloat weight; - - [HasFloatSlider(0f,1f)] - [Tooltip("determines how much the body is involved in the LookAt. Range from 0 to 1")] - public FsmFloat bodyWeight; - - [HasFloatSlider(0f,1f)] - [Tooltip("determines how much the head is involved in the LookAt. Range from 0 to 1")] - public FsmFloat headWeight; - - [HasFloatSlider(0f,1f)] - [Tooltip("determines how much the eyes are involved in the LookAt. Range from 0 to 1")] - public FsmFloat eyesWeight; - - [HasFloatSlider(0f,1f)] - [Tooltip("0.0 means the character is completely unrestrained in motion, 1.0 means he's completely clamped (look at becomes impossible), and 0.5 means he'll be able to move on half of the possible range (180 degrees).")] - public FsmFloat clampWeight; - - [Tooltip("Repeat every frame during OnAnimatorIK(). Useful for changing over time.")] - public bool everyFrame; - - private Animator _animator; - - private Transform _transform; - - public override void Reset() - { - gameObject = null; - target = null; - targetPosition = new FsmVector3() {UseVariable=true}; - weight = 1f; - bodyWeight = 0.3f; - headWeight = 0.6f; - eyesWeight = 1f; - clampWeight = 0.5f; - - everyFrame = false; - } - - public override void OnPreprocess () - { - Fsm.HandleAnimatorIK = true; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - GameObject _target = target.Value; - if (_target!=null) - { - _transform = _target.transform; - } - - - } - - public override void DoAnimatorIK (int layerIndex) - { - DoSetLookAt(); - - if (!everyFrame) - { - Finish(); - } - } - - - void DoSetLookAt() - { - if (_animator==null) - { - return; - } - - if (_transform!=null) - { - if (targetPosition.IsNone) - { - _animator.SetLookAtPosition(_transform.position); - }else{ - _animator.SetLookAtPosition(_transform.position+targetPosition.Value); - } - }else{ - - if (!targetPosition.IsNone) - { - _animator.SetLookAtPosition(targetPosition.Value); - } - } - - - if (!clampWeight.IsNone) - { - _animator.SetLookAtWeight(weight.Value,bodyWeight.Value,headWeight.Value,eyesWeight.Value,clampWeight.Value); - }else if (!eyesWeight.IsNone) - { - _animator.SetLookAtWeight(weight.Value,bodyWeight.Value,headWeight.Value,eyesWeight.Value); - }else if (!headWeight.IsNone) - { - _animator.SetLookAtWeight(weight.Value,bodyWeight.Value,headWeight.Value); - }else if (!bodyWeight.IsNone) - { - _animator.SetLookAtWeight(weight.Value,bodyWeight.Value); - }else if (!weight.IsNone) - { - _animator.SetLookAtWeight(weight.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLookAt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLookAt.cs.meta deleted file mode 100644 index 06c1db752..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorLookAt.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 337fd0519278b4a4abfa114d7da5f03c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlayBackSpeed.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlayBackSpeed.cs deleted file mode 100644 index 91bfea491..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlayBackSpeed.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the playback speed of the Animator. 1 is normal playback speed")] - public class SetAnimatorPlayBackSpeed: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("If true, automatically stabilize feet during transition and blending")] - public FsmFloat playBackSpeed; - - [Tooltip("Repeat every frame. Useful for changing over time.")] - public bool everyFrame; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - playBackSpeed= null; - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoPlayBackSpeed(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoPlayBackSpeed(); - } - - - void DoPlayBackSpeed() - { - if (_animator==null) - { - return; - } - - _animator.speed = playBackSpeed.Value; - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlayBackSpeed.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlayBackSpeed.cs.meta deleted file mode 100644 index 426ab0ea2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlayBackSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 12ce8d3e805754f859045452539301b1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlaybackTime.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlaybackTime.cs deleted file mode 100644 index 358d67a03..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlaybackTime.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the playback position in the recording buffer. When in playback mode (use AnimatorStartPlayback), this value is used for controlling the current playback position in the buffer (in seconds). The value can range between recordingStartTime and recordingStopTime ")] - public class SetAnimatorPlayBackTime: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("The playBack time")] - public FsmFloat playbackTime; - - [Tooltip("Repeat every frame. Useful for changing over time.")] - public bool everyFrame; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - playbackTime= null; - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoPlaybackTime(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoPlaybackTime(); - } - - - void DoPlaybackTime() - { - if (_animator==null) - { - return; - } - - _animator.playbackTime = playbackTime.Value; - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlaybackTime.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlaybackTime.cs.meta deleted file mode 100644 index 74ccca0ec..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorPlaybackTime.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d08de24228e9d48f6966aef92918c88a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorSpeed.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorSpeed.cs deleted file mode 100644 index 2bb649f0c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorSpeed.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets the playback speed of the Animator. 1 is normal playback speed")] - public class SetAnimatorSpeed: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("The playBack speed")] - public FsmFloat speed; - - [Tooltip("Repeat every frame. Useful for changing over time.")] - public bool everyFrame; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - speed= null; - everyFrame = false; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoPlaybackSpeed(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoPlaybackSpeed(); - } - - - void DoPlaybackSpeed() - { - if (_animator==null) - { - return; - } - - _animator.speed = speed.Value; - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorSpeed.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorSpeed.cs.meta deleted file mode 100644 index 003078acf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorSpeed.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f883c091fa768400c9c82bbedff68386 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorStabilizeFeet.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorStabilizeFeet.cs deleted file mode 100644 index eba27741f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorStabilizeFeet.cs +++ /dev/null @@ -1,64 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("If true, automatically stabilize feet during transition and blending")] - public class SetAnimatorStabilizeFeet: FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The Target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [Tooltip("If true, automatically stabilize feet during transition and blending")] - public FsmBool stabilizeFeet; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - stabilizeFeet= null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - DoStabilizeFeet(); - - Finish(); - - } - - void DoStabilizeFeet() - { - if (_animator==null) - { - return; - } - - _animator.stabilizeFeet = stabilizeFeet.Value; - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorStabilizeFeet.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorStabilizeFeet.cs.meta deleted file mode 100644 index 066fe5b78..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorStabilizeFeet.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 5ca00c3f794764e0884a2e7e8bcb99fb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTarget.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTarget.cs deleted file mode 100644 index 98fe5119b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTarget.cs +++ /dev/null @@ -1,80 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets an AvatarTarget and a targetNormalizedTime for the current state")] - public class SetAnimatorTarget : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The avatar target")] - public AvatarTarget avatarTarget; - - [Tooltip("The current state Time that is queried")] - public FsmFloat targetNormalizedTime; - - [Tooltip("Repeat every frame during OnAnimatorMove. Useful when changing over time.")] - public bool everyFrame; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - avatarTarget = AvatarTarget.Body; - targetNormalizedTime = null; - everyFrame = false; - } - - public override void OnPreprocess () - { - Fsm.HandleAnimatorMove = true; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - - if (_animator==null) - { - Finish(); - return; - } - - SetTarget(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void DoAnimatorMove () - { - SetTarget(); - } - - void SetTarget() - { - if (_animator!=null) - { - _animator.SetTarget(avatarTarget,targetNormalizedTime.Value) ; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTarget.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTarget.cs.meta deleted file mode 100644 index e21ad4f33..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTarget.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2d24ab33144b5435fbc2d271727badf4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTrigger.cs b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTrigger.cs deleted file mode 100644 index 12c8a2bdc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTrigger.cs +++ /dev/null @@ -1,59 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Animator)] - [Tooltip("Sets a trigger parameter to active. Triggers are parameters that act mostly like booleans, but get reset to inactive when they are used in a transition.")] - public class SetAnimatorTrigger : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Animator))] - [Tooltip("The target. An Animator component is required")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.AnimatorTrigger)] - [Tooltip("The trigger name")] - public FsmString trigger; - - private Animator _animator; - - public override void Reset() - { - gameObject = null; - trigger = null; - } - - public override void OnEnter() - { - // get the animator component - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go==null) - { - Finish(); - return; - } - - _animator = go.GetComponent(); - if (_animator==null) - { - Finish(); - return; - } - - SetTrigger(); - - Finish(); - } - - void SetTrigger() - { - if (_animator!=null) - { - _animator.SetTrigger(trigger.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTrigger.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTrigger.cs.meta deleted file mode 100644 index 83033b49c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Animator/SetAnimatorTrigger.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e6766ded0ae1f47bdbb920e2e0a11be4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application.meta b/Assets/ThirdParty/PlayMaker/Actions/Application.meta deleted file mode 100644 index 3ae4555f5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 5d6d3a5719f4d9f4ca3a1bf01d9ce1dc -folderAsset: yes -timeCreated: 1504500903 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationQuit.cs b/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationQuit.cs deleted file mode 100644 index c82949151..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationQuit.cs +++ /dev/null @@ -1,22 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Application)] - [Tooltip("Quits the player application.")] - public class ApplicationQuit : FsmStateAction - { - public override void Reset() - { - } - - public override void OnEnter() - { - Application.Quit(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationQuit.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationQuit.cs.meta deleted file mode 100644 index 34804a777..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationQuit.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2ace578551a64364db33bcd3c420797c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationRunInBackground.cs b/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationRunInBackground.cs deleted file mode 100644 index cc0d71ccf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationRunInBackground.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Application)] - [Tooltip("Sets if the Application should play in the background. Useful for servers or testing network games on one machine.")] - public class ApplicationRunInBackground : FsmStateAction - { - public FsmBool runInBackground; - - public override void Reset() - { - runInBackground = true; - } - - public override void OnEnter() - { - Application.runInBackground = runInBackground.Value; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationRunInBackground.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationRunInBackground.cs.meta deleted file mode 100644 index a20caa52f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application/ApplicationRunInBackground.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8acf39900e9db9543aa415136960f581 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenHeight.cs b/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenHeight.cs deleted file mode 100644 index 15ca37254..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenHeight.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Application)] - [Tooltip("Gets the Height of the Screen in pixels.")] - public class GetScreenHeight : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat storeScreenHeight; - - public override void Reset() - { - storeScreenHeight = null; - } - - public override void OnEnter() - { - storeScreenHeight.Value = Screen.height; - Finish(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenHeight.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenHeight.cs.meta deleted file mode 100644 index ebb7fe92b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenHeight.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 83ea24d8e26cdaf4f940fda23c29ecb7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenWidth.cs b/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenWidth.cs deleted file mode 100644 index a2aa11c96..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenWidth.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Application)] - [Tooltip("Gets the Width of the Screen in pixels.")] - public class GetScreenWidth : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat storeScreenWidth; - - public override void Reset() - { - storeScreenWidth = null; - } - - public override void OnEnter() - { - storeScreenWidth.Value = Screen.width; - Finish(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenWidth.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenWidth.cs.meta deleted file mode 100644 index 092dd3379..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application/GetScreenWidth.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fc3418538b8c2cb4d93436a08a94d849 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application/TakeScreenshot.cs b/Assets/ThirdParty/PlayMaker/Actions/Application/TakeScreenshot.cs deleted file mode 100644 index b790d7a56..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application/TakeScreenshot.cs +++ /dev/null @@ -1,107 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -#if !(UNITY_FLASH || UNITY_METRO) - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Application)] - [Tooltip("Saves a Screenshot. NOTE: Does nothing in Web Player. On Android, the resulting screenshot is available some time later.")] - public class TakeScreenshot : FsmStateAction - { - public enum Destination - { - MyPictures, - PersistentDataPath, - CustomPath - } - - [Tooltip("Where to save the screenshot.")] - public Destination destination; - - [Tooltip("Path used with Custom Path Destination option.")] - public FsmString customPath; - - [RequiredField] - public FsmString filename; - - [Tooltip("Add an auto-incremented number to the filename.")] - public FsmBool autoNumber; - - [Tooltip("Factor by which to increase resolution.")] - public FsmInt superSize; - - [Tooltip("Log saved file info in Unity console.")] - public FsmBool debugLog; - - private int screenshotCount; - - public override void Reset() - { - destination = Destination.MyPictures; - filename = ""; - autoNumber = null; - superSize = null; - debugLog = null; - } - - public override void OnEnter() - { - if (string.IsNullOrEmpty(filename.Value)) return; - - string screenshotPath; - switch (destination) - { - case Destination.MyPictures: - screenshotPath = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures); - break; - case Destination.PersistentDataPath: - screenshotPath = Application.persistentDataPath; - break; - case Destination.CustomPath: - screenshotPath = customPath.Value; - break; - default: - screenshotPath = ""; - break; - } - - screenshotPath = screenshotPath.Replace("\\","/") + "/"; - var screenshotFullPath = screenshotPath + filename.Value + ".png"; - - if (autoNumber.Value) - { - while (System.IO.File.Exists(screenshotFullPath)) - { - screenshotCount++; - screenshotFullPath = screenshotPath + filename.Value + screenshotCount + ".png"; - } - } - - if (debugLog.Value) - { - Debug.Log("TakeScreenshot: " + screenshotFullPath); - } - -#if UNITY_2017_1_OR_NEWER - ScreenCapture.CaptureScreenshot(screenshotFullPath, superSize.Value); -#else - Application.CaptureScreenshot(screenshotFullPath, superSize.Value); -#endif - - Finish(); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, filename) + (autoNumber.Value ? " [autoNumber]" : "" ); - } -#endif - - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Application/TakeScreenshot.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Application/TakeScreenshot.cs.meta deleted file mode 100644 index 8170d9869..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Application/TakeScreenshot.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 09d6d60c2840eb643b61363529d70602 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array.meta b/Assets/ThirdParty/PlayMaker/Actions/Array.meta deleted file mode 100644 index 072e6f642..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: 591445d960c6ad045b41b66678a0cf9e diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAdd.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAdd.cs deleted file mode 100644 index a6cd189a6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAdd.cs +++ /dev/null @@ -1,43 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Add an item to the end of an Array.")] - public class ArrayAdd : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable to use.")] - public FsmArray array; - - [RequiredField] - [MatchElementType("array")] - [Tooltip("Item to add.")] - public FsmVar value; - - public override void Reset() - { - array = null; - value = null; - } - - public override void OnEnter() - { - DoAddValue(); - Finish(); - } - - private void DoAddValue() - { - array.Resize(array.Length + 1); - value.UpdateValue(); - array.Set(array.Length - 1, value.GetValue()); - } - - } - -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAdd.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAdd.cs.meta deleted file mode 100644 index d05ebd116..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAdd.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5cf434aed56dd6b4eb839ed214ff0af5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAddRange.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAddRange.cs deleted file mode 100644 index 53b8d0e3f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAddRange.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Add values to an array.")] - public class ArrayAddRange : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable to use.")] - public FsmArray array; - - [RequiredField] - [MatchElementType("array")] - [Tooltip("The variables to add.")] - public FsmVar[] variables; - - public override void Reset() - { - array = null; - variables = new FsmVar[2]; - } - - public override void OnEnter() - { - DoAddRange(); - - Finish(); - } - - private void DoAddRange() - { - int count = variables.Length; - - if (count>0) - { - array.Resize(array.Length+count); - - foreach(FsmVar _var in variables) - { - _var.UpdateValue(); - array.Set(array.Length-count,_var.GetValue()); - count--; - } - } - - } - - - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAddRange.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAddRange.cs.meta deleted file mode 100644 index dde1df61a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayAddRange.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0921aaea4fadc8b498ea50142d26b83e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayClear.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayClear.cs deleted file mode 100644 index 1e54b5231..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayClear.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Sets all items in an Array to their default value: 0, empty string, false, or null depending on their type. Optionally defines a reset value to use.")] - public class ArrayClear : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable to clear.")] - public FsmArray array; - - [MatchElementType("array")] - [Tooltip("Optional reset value. Leave as None for default value.")] - public FsmVar resetValue; - - public override void Reset() - { - array = null; - resetValue = new FsmVar() {useVariable = true}; - } - - public override void OnEnter() - { - int count = array.Length; - - array.Reset(); - array.Resize(count); - - if (!resetValue.IsNone) - { - resetValue.UpdateValue(); - object _val = resetValue.GetValue(); - for (int i = 0; i < count; i++) - { - array.Set(i, _val); - } - } - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayClear.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayClear.cs.meta deleted file mode 100644 index 42e3c3bb1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayClear.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a7235925ce776e34b88138a187d39dc7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayCompare.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayCompare.cs deleted file mode 100644 index 97ba2ba9a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayCompare.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if 2 Array Variables have the same values.")] - public class ArrayCompare : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The first Array Variable to test.")] - public FsmArray array1; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The second Array Variable to test.")] - public FsmArray array2; - - [Tooltip("Event to send if the 2 arrays have the same values.")] - public FsmEvent SequenceEqual; - - [Tooltip("Event to send if the 2 arrays have different values.")] - public FsmEvent SequenceNotEqual; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a Bool variable.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - array1 = null; - array2 = null; - SequenceEqual = null; - SequenceNotEqual = null; - } - - public override void OnEnter() - { - DoSequenceEqual(); - - if (!everyFrame) - { - Finish(); - } - } - - private void DoSequenceEqual() - { - if (array1.Values == null || array2.Values == null) return; - - // Try to avoid Linq in runtime code. Editor is fine. - //storeResult.Value = array1.Values.SequenceEqual(array2.Values); - - storeResult.Value = TestSequenceEqual(array1.Values, array2.Values); - - Fsm.Event(storeResult.Value ? SequenceEqual : SequenceNotEqual); - } - - // NOTE: replaces Linq SequenceEqual. Trying to avoid Linq in runtime code. - private bool TestSequenceEqual(object[] _array1, object[] _array2) - { - if (_array1.Length != _array2.Length) return false; - - for (var i = 0; i < array1.Length; i++) - { - if (!_array1[i].Equals(_array2[i])) return false; - } - - return true; - } - - } - -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayCompare.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayCompare.cs.meta deleted file mode 100644 index 9f2da6881..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayCompare.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8f617d80a5e404e479b3556a2fd5a718 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayContains.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayContains.cs deleted file mode 100644 index a9b5adbcd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayContains.cs +++ /dev/null @@ -1,84 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Check if an Array contains a value. Optionally get its index.")] - public class ArrayContains : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable to use.")] - public FsmArray array; - - [RequiredField] - [MatchElementType("array")] - [Tooltip("The value to check against in the array.")] - public FsmVar value; - - [ActionSection("Result")] - - [Tooltip("The index of the value in the array.")] - [UIHint(UIHint.Variable)] - public FsmInt index; - - [Tooltip("Store in a bool whether it contains that element or not (described below)")] - [UIHint(UIHint.Variable)] - public FsmBool isContained; - - [Tooltip("Event sent if the array contains that element (described below)")] - public FsmEvent isContainedEvent; - - [Tooltip("Event sent if the array does not contains that element (described below)")] - public FsmEvent isNotContainedEvent; - - public override void Reset () - { - array = null; - value = null; - - index = null; - - isContained = null; - isContainedEvent = null; - isNotContainedEvent = null; - } - - // Code that runs on entering the state. - public override void OnEnter () - { - DoCheckContainsValue (); - Finish (); - } - - private void DoCheckContainsValue() - { - value.UpdateValue(); - - int _id =-1; - - if (value.GetValue() == null || value.GetValue().Equals(null)) - { - _id =Array.FindIndex(array.Values,x => x==null || x.Equals(null)); - }else{ - - _id = Array.IndexOf(array.Values, value.GetValue()); - } - - var _iscontained = _id != -1; - isContained.Value = _iscontained; - index.Value = _id; - if (_iscontained) - { - Fsm.Event(isContainedEvent); - } - else - { - Fsm.Event(isNotContainedEvent); - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayContains.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayContains.cs.meta deleted file mode 100644 index a6cab97de..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayContains.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: f93a56f20084a2446a06a44bc27e257c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayDeleteAt.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayDeleteAt.cs deleted file mode 100644 index 68092a8a9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayDeleteAt.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; -using System.Collections; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Delete the item at an index. Index must be between 0 and the number of items -1. First item is index 0.")] - public class ArrayDeleteAt : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable to use.")] - public FsmArray array; - - [Tooltip("The index into the array.")] - public FsmInt index; - - [ActionSection("Result")] - - [Tooltip("The event to trigger if the index is out of range")] - public FsmEvent indexOutOfRangeEvent; - - public override void Reset() - { - array = null; - index = null; - indexOutOfRangeEvent = null; - } - - - // Code that runs on entering the state. - public override void OnEnter() - { - DoDeleteAt(); - - Finish(); - } - - private void DoDeleteAt() - { - if (index.Value >= 0 && index.Value < array.Length) - { - List _list = new List(array.Values); - _list.RemoveAt(index.Value); - array.Values = _list.ToArray(); - } - else - { - Fsm.Event(indexOutOfRangeEvent); - } - } - - /* Not sure it's a good idea to check range at edit time since it can change at runtime - public override string ErrorCheck() - { - if (array.Length==0) - { - if (index.Value<0) - { - return "Index out of Range. Please select a positive number. First item is index 0."; - } - return ""; - } - - if (index.Value<0 || index.Value >= array.Length) - { - return "Index out of Range. Please select an index between 0 and the number of items -1. First item is index 0."; - } - return ""; - }*/ - - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayDeleteAt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayDeleteAt.cs.meta deleted file mode 100644 index 4ac2c251d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayDeleteAt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cc32998bfef18a347a974d0482c14ae9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayForEach.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayForEach.cs deleted file mode 100644 index 428ad44f4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayForEach.cs +++ /dev/null @@ -1,138 +0,0 @@ -using System; -using UnityEngine; -using System.Collections; -using HutongGames.PlayMaker; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Iterate through the items in an Array and run an FSM on each item. NOTE: The FSM has to Finish before being run on the next item.")] - public class ArrayForEach : RunFSMAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Array to iterate through.")] - public FsmArray array; - - [HideTypeFilter] - [MatchElementType("array")] - [UIHint(UIHint.Variable)] - [Tooltip("Store the item in a variable")] - public FsmVar storeItem; - - [ActionSection("Run FSM")] - - public FsmTemplateControl fsmTemplateControl = new FsmTemplateControl(); - - [Tooltip("Event to send after iterating through all items in the Array.")] - public FsmEvent finishEvent; - - private int currentIndex; - - public override void Reset() - { - array = null; - fsmTemplateControl = new FsmTemplateControl(); - runFsm = null; - } - - /// - /// Initialize FSM on awake so it doesn't cause hitches later - /// - public override void Awake() - { - if (array != null && fsmTemplateControl.fsmTemplate != null && Application.isPlaying) - { - runFsm = Fsm.CreateSubFsm(fsmTemplateControl); - } - } - - public override void OnEnter() - { - if (array == null || runFsm == null) - { - Finish(); - return; - } - - currentIndex = 0; - StartFsm(); - } - - public override void OnUpdate() - { - runFsm.Update(); - if (!runFsm.Finished) - { - return; // continue later - } - - StartNextFsm(); - } - - public override void OnFixedUpdate() - { - runFsm.FixedUpdate(); - if (!runFsm.Finished) - { - return; // continue later - } - - StartNextFsm(); - } - - public override void OnLateUpdate() - { - runFsm.LateUpdate(); - if (!runFsm.Finished) - { - return; // continue later - } - - StartNextFsm(); - } - - void StartNextFsm() - { - currentIndex++; - StartFsm(); - } - - void StartFsm() - { - while (currentIndex < array.Length) - { - DoStartFsm(); - if (!runFsm.Finished) - { - return; // continue later - } - currentIndex++; - } - - Fsm.Event(finishEvent); - Finish(); - } - - void DoStartFsm() - { - storeItem.SetValue(array.Values[currentIndex]); - - fsmTemplateControl.UpdateValues(); - fsmTemplateControl.ApplyOverrides(runFsm); - - runFsm.OnEnable(); - - if (!runFsm.Started) - { - runFsm.Start(); - } - } - - protected override void CheckIfFinished() - { - } - } - - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayForEach.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayForEach.cs.meta deleted file mode 100644 index 43d9e1743..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayForEach.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d8a2a6d82cdbdad4a8178dd12b02dee0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGet.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGet.cs deleted file mode 100644 index af7863deb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGet.cs +++ /dev/null @@ -1,94 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Get a value at an index. Index must be between 0 and the number of items -1. First item is index 0.")] - public class ArrayGet : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable to use.")] - public FsmArray array; - - [Tooltip("The index into the array.")] - public FsmInt index; - - [RequiredField] - [MatchElementType("array")] - [UIHint(UIHint.Variable)] - [Tooltip("Store the value in a variable.")] - public FsmVar storeValue; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - [ActionSection("Events")] - - [Tooltip("The event to trigger if the index is out of range")] - public FsmEvent indexOutOfRange; - - public override void Reset() - { - array = null; - index = null; - everyFrame = false; - storeValue = null; - indexOutOfRange = null; - } - - public override void OnEnter() - { - DoGetValue(); - - if (!everyFrame) - { - Finish(); - } - - } - - public override void OnUpdate() - { - DoGetValue(); - - } - - private void DoGetValue() - { - if (array.IsNone || storeValue.IsNone) - { - return; - } - - if (index.Value >= 0 && index.Value < array.Length) - { - storeValue.SetValue(array.Get(index.Value)); - } - else - { - //LogError("Index out of Range: " + index.Value); - Fsm.Event(indexOutOfRange); - } - } - - /* Not sure it's a good idea to range check at edit time since it can change at runtime - public override string ErrorCheck() - { - if (index.Value<0 || index.Value >= array.Length) - { - return "Index out of Range. Please select an index between 0 and the number of items -1. First item is index 0."; - } - return ""; - }*/ - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.GetValueLabel(storeValue.NamedVar) + "=" + array.Name + "[" + ActionHelpers.GetValueLabel(index) + "]"; - } -#endif - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGet.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGet.cs.meta deleted file mode 100644 index ad2d6999f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGet.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bb2087d662074974ba5d95f6f6443889 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetNext.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetNext.cs deleted file mode 100644 index 074cf72fe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetNext.cs +++ /dev/null @@ -1,128 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Each time this action is called it gets the next item from a Array. \n" + - "This lets you quickly loop through all the items of an array to perform actions on them.")] - public class ArrayGetNext : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable to use.")] - public FsmArray array; - - [Tooltip("From where to start iteration, leave as 0 to start from the beginning")] - public FsmInt startIndex; - - [Tooltip("When to end iteration, leave as 0 to iterate until the end")] - public FsmInt endIndex; - - [Tooltip("Event to send to get the next item.")] - public FsmEvent loopEvent; - - [Tooltip("If you want to reset the iteration, raise this flag to true when you enter the state, it will indicate you want to start from the beginning again")] - [UIHint(UIHint.Variable)] - public FsmBool resetFlag; - - [Tooltip("Event to send when there are no more items.")] - public FsmEvent finishedEvent; - - [ActionSection("Result")] - - [MatchElementType("array")] - [UIHint(UIHint.Variable)] - public FsmVar result; - - [UIHint(UIHint.Variable)] - public FsmInt currentIndex; - - // increment that index as we loop through item - private int nextItemIndex = 0; - - public override void Reset() - { - array = null; - startIndex = null; - endIndex = null; - currentIndex = null; - loopEvent = null; - finishedEvent = null; - resetFlag = null; - - result = null; - } - - public override void OnEnter() - { - if (nextItemIndex == 0) - { - if (startIndex.Value>0) - { - nextItemIndex = startIndex.Value; - } - } - - if (resetFlag.Value) - { - nextItemIndex = startIndex.Value; - resetFlag.Value = false; - } - - DoGetNextItem(); - - Finish(); - } - - - void DoGetNextItem() - { - // no more children? - // check first to avoid errors. - - if (nextItemIndex >= array.Length) - { - nextItemIndex = 0; - currentIndex.Value = array.Length -1; - Fsm.Event(finishedEvent); - return; - } - - // get next item - - result.SetValue(array.Get(nextItemIndex)); - - // no more items? - // check a second time to avoid process lock and possible infinite loop if the action is called again. - // Practically, this enabled calling again this state and it will start again iterating from the first child. - - if (nextItemIndex >= array.Length) - { - nextItemIndex = 0; - currentIndex.Value = array.Length-1; - Fsm.Event(finishedEvent); - return; - } - - if (endIndex.Value>0 && nextItemIndex>= endIndex.Value) - { - nextItemIndex = 0; - currentIndex.Value = endIndex.Value; - Fsm.Event(finishedEvent); - return; - } - - // iterate the next child - nextItemIndex++; - - currentIndex.Value = nextItemIndex -1 ; - - if (loopEvent != null) - { - Fsm.Event(loopEvent); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetNext.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetNext.cs.meta deleted file mode 100644 index a79b760ce..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetNext.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7f2c332853b32c743940b57c0a595ed7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetRandom.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetRandom.cs deleted file mode 100644 index 3b32752f0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetRandom.cs +++ /dev/null @@ -1,90 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Get a Random item from an Array.")] - public class ArrayGetRandom : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array to use.")] - public FsmArray array; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the value in a variable.")] - [MatchElementType("array")] - public FsmVar storeValue; - - [Tooltip("The index of the value in the array.")] - [UIHint(UIHint.Variable)] - public FsmInt index; - - [Tooltip("Don't get the same item twice in a row.")] - public FsmBool noRepeat; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - private int randomIndex; - private int lastIndex = -1; - - public override void Reset() - { - array = null; - storeValue = null; - index = null; - everyFrame = false; - noRepeat = false; - } - - // Code that runs on entering the state. - public override void OnEnter() - { - DoGetRandomValue(); - - if (!everyFrame) - { - Finish(); - } - - } - - public override void OnUpdate() - { - DoGetRandomValue(); - } - - private void DoGetRandomValue() - { - if (storeValue.IsNone) - { - return; - } - - if (!noRepeat.Value || array.Length == 1) - { - randomIndex = Random.Range(0, array.Length); - } - else - { - do - { - randomIndex = Random.Range(0, array.Length); - } while (randomIndex == lastIndex); - - lastIndex = randomIndex; - } - - index.Value = randomIndex; - storeValue.SetValue(array.Get(index.Value)); - } - - - } -} - - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetRandom.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetRandom.cs.meta deleted file mode 100644 index 1fadf2472..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayGetRandom.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: df9a5befe0eda4445a018b47d17c2a8b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayLength.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayLength.cs deleted file mode 100644 index accee50a0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayLength.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Gets the number of items in an Array.")] - public class ArrayLength : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable.")] - public FsmArray array; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the length in an Int Variable.")] - public FsmInt length; - - [Tooltip("Repeat every frame. Useful if the array is changing and you're waiting for a particular length.")] - public bool everyFrame; - - public override void Reset() - { - array = null; - length = null; - everyFrame = false; - } - - public override void OnEnter() - { - length.Value = array.Length; - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - length.Value = array.Length; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayLength.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayLength.cs.meta deleted file mode 100644 index e3abfecd2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayLength.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: bdba2552ffbbbc74b9d67cb2b54e1324 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayResize.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayResize.cs deleted file mode 100644 index a622e909b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayResize.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Resize an array.")] - public class ArrayResize : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable to resize")] - public FsmArray array; - - [Tooltip("The new size of the array.")] - public FsmInt newSize; - - [Tooltip("The event to trigger if the new size is out of range")] - public FsmEvent sizeOutOfRangeEvent; - - public override void OnEnter() - { - if (newSize.Value >= 0) - { - array.Resize(newSize.Value); - } - else - { - LogError("Size out of range: " + newSize.Value); - Fsm.Event(sizeOutOfRangeEvent); - } - - Finish(); - } - - /* Should be disallowed by the UI now - public override string ErrorCheck() - { - if (newSize.Value<0) - { - return "newSize must be a positive value."; - } - return ""; - }*/ - - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayResize.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayResize.cs.meta deleted file mode 100644 index e0f80d8a0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayResize.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 68e5e954eb95b7b40b0e00f59b4d1986 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayReverse.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayReverse.cs deleted file mode 100644 index e399f6e14..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayReverse.cs +++ /dev/null @@ -1,33 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - - [ActionCategory(ActionCategory.Array)] - [Tooltip("Reverse the order of items in an Array.")] - public class ArrayReverse : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array to reverse.")] - public FsmArray array; - - public override void Reset() - { - array = null; - } - - // Code that runs on entering the state. - public override void OnEnter() - { - var _list = new List(array.Values); - _list.Reverse(); - array.Values = _list.ToArray(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayReverse.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayReverse.cs.meta deleted file mode 100644 index ef42619eb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayReverse.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 41e56ac32e995724a9ea51f5b7b5ebce -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySet.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySet.cs deleted file mode 100644 index 2f3fcd349..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySet.cs +++ /dev/null @@ -1,86 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Set the value at an index. Index must be between 0 and the number of items -1. First item is index 0.")] - public class ArraySet : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable to use.")] - public FsmArray array; - - [Tooltip("The index into the array.")] - public FsmInt index; - - [RequiredField] - [MatchElementType("array")] - [Tooltip("Set the value of the array at the specified index.")] - public FsmVar value; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - [ActionSection("Events")] - - [Tooltip("The event to trigger if the index is out of range")] - public FsmEvent indexOutOfRange; - - public override void Reset() - { - array = null; - index = null; - value = null; - everyFrame = false; - indexOutOfRange = null; - } - - public override void OnEnter() - { - DoGetValue(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetValue(); - } - - private void DoGetValue() - { - if (array.IsNone) - { - return; - } - - if (index.Value >= 0 && index.Value < array.Length) - { - value.UpdateValue(); - array.Set(index.Value, value.GetValue()); - } - else - { - //LogError("Index out of Range: " + index.Value); - Fsm.Event(indexOutOfRange); - } - } - - /* - public override string ErrorCheck() - { - if (index.Value<0 || index.Value >= array.Length) - { - return "Index out of Range. Please select an index between 0 and the number of items -1. First item is index 0."; - } - return ""; - }*/ - - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySet.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySet.cs.meta deleted file mode 100644 index 9d29f4653..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySet.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: de186d86d62e53c4ab432d55800df4f6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayShuffle.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayShuffle.cs deleted file mode 100644 index 2902720db..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayShuffle.cs +++ /dev/null @@ -1,68 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Shuffle values in an array. Optionally set a start index and range to shuffle only part of the array.")] - public class ArrayShuffle : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array to shuffle.")] - public FsmArray array; - - [Tooltip("Optional start Index for the shuffling. Leave it to none or 0 for no effect")] - public FsmInt startIndex; - - [Tooltip("Optional range for the shuffling, starting at the start index if greater than 0. Leave it to none or 0 for no effect, it will shuffle the whole array")] - public FsmInt shufflingRange; - - public override void Reset() - { - array = null; - startIndex = new FsmInt {UseVariable=true}; - shufflingRange = new FsmInt {UseVariable=true}; - } - - // Code that runs on entering the state. - public override void OnEnter() - { - List _list = new List(array.Values); - - int start = 0; - int end = _list.Count-1; - - if (startIndex.Value>0) - { - start = Mathf.Min(startIndex.Value,end); - } - - if (shufflingRange.Value>0) - { - end = Mathf.Min(_list.Count-1,start + shufflingRange.Value); - - } - - // Knuth-Fisher-Yates algorithm - - // for (int i = proxy.arrayList.Count - 1; i > 0; i--) - for (int i = end; i > start; i--) - { - // Set swapWithPos a random position such that 0 <= swapWithPos <= i - int swapWithPos = Random.Range(start,i + 1); - - // Swap the value at the "current" position (i) with value at swapWithPos - object tmp = _list[i]; - _list[i] = _list[swapWithPos]; - _list[swapWithPos] = tmp; - } - - array.Values = _list.ToArray(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayShuffle.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayShuffle.cs.meta deleted file mode 100644 index 4f181975e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayShuffle.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ee06ffed02f3bbd4682befa29dfb5ab2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySort.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySort.cs deleted file mode 100644 index f3a2438db..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySort.cs +++ /dev/null @@ -1,31 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [Tooltip("Sort items in an Array.")] - public class ArraySort : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array to sort.")] - public FsmArray array; - - public override void Reset() - { - array = null; - } - - public override void OnEnter() - { - var list = new List(array.Values); - list.Sort(); - array.Values = list.ToArray(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySort.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySort.cs.meta deleted file mode 100644 index 07b6508af..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArraySort.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f95b31bdddbc8554080295de0a14d835 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayTransferValue.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayTransferValue.cs deleted file mode 100644 index 7f64fc9f5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayTransferValue.cs +++ /dev/null @@ -1,122 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [NoActionTargets] - [ActionCategory(ActionCategory.Array)] - [Tooltip("Transfer a value from one array to another, basically a copy/cut paste action on steroids.")] - public class ArrayTransferValue : FsmStateAction - { - public enum ArrayTransferType {Copy,Cut,nullify}; - public enum ArrayPasteType {AsFirstItem,AsLastItem,InsertAtSameIndex,ReplaceAtSameIndex}; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable source.")] - public FsmArray arraySource; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Array Variable target.")] - public FsmArray arrayTarget; - - [MatchFieldType("array")] - [Tooltip("The index to transfer.")] - public FsmInt indexToTransfer; - - [ActionSection("Transfer Options")] - - [ObjectType(typeof(ArrayTransferType))] - public FsmEnum copyType; - - [ObjectType(typeof(ArrayPasteType))] - public FsmEnum pasteType; - - [ActionSection("Result")] - - [Tooltip("Event sent if this array source does not contains that element (described below)")] - public FsmEvent indexOutOfRange; - - public override void Reset () - { - arraySource = null; - arrayTarget = null; - - indexToTransfer = null; - - copyType = ArrayTransferType.Copy; - pasteType = ArrayPasteType.AsLastItem; - } - - // Code that runs on entering the state. - public override void OnEnter () - { - DoTransferValue (); - Finish (); - } - - private void DoTransferValue () - { - if (arraySource.IsNone || arrayTarget.IsNone) - { - return; - } - int _index = indexToTransfer.Value; - - if (_index< 0 || _index>=arraySource.Length) - { - Fsm.Event(indexOutOfRange); - return; - } - var _value = arraySource.Values[_index]; - - - - if ((ArrayTransferType)copyType.Value == ArrayTransferType.Cut) - { - List _list = new List(arraySource.Values); - _list.RemoveAt(_index); - arraySource.Values = _list.ToArray(); - }else if ((ArrayTransferType)copyType.Value == ArrayTransferType.nullify) - { - arraySource.Values.SetValue(null,_index); - } - - - if ( (ArrayPasteType)pasteType.Value == ArrayPasteType.AsFirstItem) - { - List _listTarget = new List(arrayTarget.Values); - _listTarget.Insert(0,_value); - arrayTarget.Values = _listTarget.ToArray(); - - }else if( (ArrayPasteType)pasteType.Value == ArrayPasteType.AsLastItem) - { - arrayTarget.Resize(arrayTarget.Length + 1); - arrayTarget.Set(arrayTarget.Length - 1, _value); - - }else if( (ArrayPasteType)pasteType.Value == ArrayPasteType.InsertAtSameIndex) - { - if (_index>=arrayTarget.Length) - { - Fsm.Event(indexOutOfRange); - } - List _listTarget = new List(arrayTarget.Values); - _listTarget.Insert(_index,_value); - arrayTarget.Values = _listTarget.ToArray(); - - }else if( (ArrayPasteType)pasteType.Value == ArrayPasteType.ReplaceAtSameIndex) - { - if (_index>=arrayTarget.Length) - { - Fsm.Event(indexOutOfRange); - }else{ - arrayTarget.Set(_index, _value); - } - } - } - - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayTransferValue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayTransferValue.cs.meta deleted file mode 100644 index f160595bd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/ArrayTransferValue.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 798d1540b1bfc474fb13e89319c3abae -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/FsmArraySet.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/FsmArraySet.cs deleted file mode 100644 index dd96109e5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/FsmArraySet.cs +++ /dev/null @@ -1,98 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Array)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Obsolete("This action was wip and accidentally released.")] - [Tooltip("Set an item in an Array Variable in another FSM.")] - public class FsmArraySet : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object.")] - public FsmString fsmName; - - [RequiredField] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [Tooltip("Set the value of the variable.")] - public FsmString setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = null; - } - - public override void OnEnter() - { - DoSetFsmString(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmString() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != goLastFrame) - { - goLastFrame = go; - - // only get the fsm component if go has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmString = fsm.FsmVariables.GetFsmString(variableName.Value); - - if (fsmString != null) - { - fsmString.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmString(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/FsmArraySet.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/FsmArraySet.cs.meta deleted file mode 100644 index 90842a2bf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/FsmArraySet.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 05ff3fe206f2df14a97c72576c1a36f9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArray.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArray.cs deleted file mode 100644 index 5810acc0a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArray.cs +++ /dev/null @@ -1,85 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Copy an Array Variable from another FSM.")] - public class GetFsmArray : BaseFsmVariableAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object.")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmArray)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Get the content of the array variable.")] - [UIHint(UIHint.Variable)] - public FsmArray storeValue; - - [Tooltip("If true, makes copies. if false, values share the same reference and editing one array item value will affect the source and vice versa. Warning, this only affect the current items of the source array. Adding or removing items doesn't affect other FsmArrays.")] - public bool copyValues; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = null; - storeValue = null; - copyValues = true; - } - - public override void OnEnter() - { - DoSetFsmArrayCopy(); - - Finish(); - } - - private void DoSetFsmArrayCopy() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go, fsmName.Value)) - { - return; - } - - var fsmArray = fsm.FsmVariables.GetFsmArray(variableName.Value); - if (fsmArray != null) - { - - if (fsmArray.ElementType != storeValue.ElementType) - { - LogError("Can only copy arrays with the same elements type. Found <" + fsmArray.ElementType + "> and <" + storeValue.ElementType + ">"); - return; - } - - storeValue.Resize(0); - if (copyValues) - { - storeValue.Values = fsmArray.Values.Clone() as object[]; - - } - else - { - storeValue.Values = fsmArray.Values; - } - storeValue.SaveChanges(); - } - else - { - DoVariableNotFound(variableName.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArray.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArray.cs.meta deleted file mode 100644 index d9325b130..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArray.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1716110b55b1708409f0f9042f3eaefb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArrayItem.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArrayItem.cs deleted file mode 100644 index 43ceba068..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArrayItem.cs +++ /dev/null @@ -1,92 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Gets an item in an Array Variable in another FSM.")] - public class GetFsmArrayItem : BaseFsmVariableIndexAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object.")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmArray)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [Tooltip("The index into the array.")] - public FsmInt index; - - [RequiredField] - [UIHint(UIHint.Variable)] - //[MatchElementType("array")] TODO - [Tooltip("Get the value of the array at the specified index.")] - public FsmVar storeValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = null; - } - - public override void OnEnter() - { - DoGetFsmArray(); - - if (!everyFrame) - { - Finish(); - } - } - - private void DoGetFsmArray() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go, fsmName.Value)) - { - return; - } - - var fsmArray = fsm.FsmVariables.GetFsmArray(variableName.Value); - if (fsmArray != null) - { - if (index.Value < 0 || index.Value >= fsmArray.Length) - { - Fsm.Event(indexOutOfRange); - Finish(); - return; - } - - if (fsmArray.ElementType == storeValue.NamedVar.VariableType) - { - storeValue.SetValue(fsmArray.Get(index.Value)); - } - else - { - LogWarning("Incompatible variable type: " + variableName.Value); - } - } - else - { - DoVariableNotFound(variableName.Value); - } - } - - public override void OnUpdate() - { - DoGetFsmArray(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArrayItem.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArrayItem.cs.meta deleted file mode 100644 index ab30e1111..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/GetFsmArrayItem.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 380167957a9b2c64bb649bd015538943 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArray.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArray.cs deleted file mode 100644 index bf1ced68a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArray.cs +++ /dev/null @@ -1,88 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Copy an Array Variable in another FSM.")] - public class SetFsmArray : BaseFsmVariableAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object.")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmArray)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Set the content of the array variable.")] - [UIHint(UIHint.Variable)] - public FsmArray setValue; - - [Tooltip("If true, makes copies. if false, values share the same reference and editing one array item value will affect the source and vice versa. Warning, this only affect the current items of the source array. Adding or removing items doesn't affect other FsmArrays.")] - public bool copyValues; - - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = null; - setValue = null; - copyValues = true; - } - - public override void OnEnter() - { - DoSetFsmArrayCopy(); - - Finish(); - } - - private void DoSetFsmArrayCopy() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go, fsmName.Value)) - { - return; - } - - var fsmArray = fsm.FsmVariables.GetFsmArray(variableName.Value); - if (fsmArray != null) - { - - if (fsmArray.ElementType != setValue.ElementType) - { - LogError("Can only copy arrays with the same elements type. Found <" + fsmArray.ElementType + "> and <" + setValue.ElementType + ">"); - return; - } - - fsmArray.Resize(0); - - if (copyValues) - { - fsmArray.Values = setValue.Values.Clone() as object[]; - - } - else - { - fsmArray.Values = setValue.Values; - } - fsmArray.SaveChanges(); - } - else - { - DoVariableNotFound(variableName.Value); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArray.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArray.cs.meta deleted file mode 100644 index 35e0a7e3a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArray.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 45183418e5425cc47924d92ec1ccb6fd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArrayItem.cs b/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArrayItem.cs deleted file mode 100644 index bd2dd2272..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArrayItem.cs +++ /dev/null @@ -1,92 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set an item in an Array Variable in another FSM.")] - public class SetFsmArrayItem : BaseFsmVariableIndexAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object.")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmArray)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [Tooltip("The index into the array.")] - public FsmInt index; - - [RequiredField] - //[MatchElementType("array")] TODO - [Tooltip("Set the value of the array at the specified index.")] - public FsmVar value; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - value = null; - } - - public override void OnEnter() - { - DoSetFsmArray(); - - if (!everyFrame) - { - Finish(); - } - } - - private void DoSetFsmArray() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go, fsmName.Value)) - { - return; - } - - var fsmArray = fsm.FsmVariables.GetFsmArray(variableName.Value); - if (fsmArray != null) - { - if (index.Value < 0 || index.Value >= fsmArray.Length) - { - Fsm.Event(indexOutOfRange); - Finish(); - return; - } - - if (fsmArray.ElementType == value.NamedVar.VariableType) - { - value.UpdateValue(); - fsmArray.Set(index.Value, value.GetValue()); - } - else - { - LogWarning("Incompatible variable type: " + variableName.Value); - } - } - else - { - DoVariableNotFound(variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmArray(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArrayItem.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArrayItem.cs.meta deleted file mode 100644 index 3c2186f41..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Array/SetFsmArrayItem.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 365ba04bc9a781e438227eef9f809014 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio.meta deleted file mode 100644 index 2893bf7eb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 63c5681b4356fe340845e8b999e5a698 -folderAsset: yes -timeCreated: 1504500198 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioMute.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioMute.cs deleted file mode 100644 index b2a9cee47..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioMute.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [Tooltip("Mute/unmute the Audio Clip played by an Audio Source component on a Game Object.")] - public class AudioMute : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(AudioSource))] - [Tooltip("The GameObject with an Audio Source component.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Check to mute, uncheck to unmute.")] - public FsmBool mute; - - public override void Reset() - { - gameObject = null; - mute = false; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - var audio = go.GetComponent(); - if (audio != null) - { - audio.mute = mute.Value; - } - } - - Finish(); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, mute); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioMute.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioMute.cs.meta deleted file mode 100644 index 5f18764e6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioMute.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cc715a02422df2b43bf7c11fddf2a78a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPause.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPause.cs deleted file mode 100644 index 944de040e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPause.cs +++ /dev/null @@ -1,36 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [Tooltip("Pauses playing the Audio Clip played by an Audio Source component on a Game Object.")] - public class AudioPause : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(AudioSource))] - [Tooltip("The GameObject with an Audio Source component.")] - public FsmOwnerDefault gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - var audio = go.GetComponent(); - if (audio != null) - { - audio.Pause(); - } - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPause.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPause.cs.meta deleted file mode 100644 index 8ad335d14..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPause.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 29d1c16d595d7b64fa15ec3d0569a76d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPlay.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPlay.cs deleted file mode 100644 index 14e771b42..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPlay.cs +++ /dev/null @@ -1,122 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [ActionTarget(typeof(AudioSource), "gameObject")] - [ActionTarget(typeof(AudioClip), "oneShotClip")] - [Tooltip("Plays the Audio Clip set with Set Audio Clip or in the Audio Source inspector on a Game Object. Optionally plays a one shot Audio Clip.")] - public class AudioPlay : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(AudioSource))] - [Tooltip("The GameObject with an AudioSource component.")] - public FsmOwnerDefault gameObject; - - [HasFloatSlider(0,1)] - [Tooltip("Set the volume.")] - public FsmFloat volume; - - [ObjectType(typeof(AudioClip))] - [Tooltip("Optionally play a 'one shot' AudioClip. NOTE: Volume cannot be adjusted while playing a 'one shot' AudioClip.")] - public FsmObject oneShotClip; - - [Tooltip("Wait until the end of the clip to send the Finish Event. Set to false to send the finish event immediately.")] - public FsmBool WaitForEndOfClip; - - [Tooltip("Event to send when the action finishes.")] - public FsmEvent finishedEvent; - - private AudioSource audio; - - public override void Reset() - { - gameObject = null; - volume = 1f; - oneShotClip = null; - finishedEvent = null; - WaitForEndOfClip = true; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - // cache the AudioSource component - - audio = go.GetComponent(); - if (audio != null) - { - var audioClip = oneShotClip.Value as AudioClip; - - if (audioClip == null) - { - audio.Play(); - - if (!volume.IsNone) - { - audio.volume = volume.Value; - } - - return; - } - - if (!volume.IsNone) - { - audio.PlayOneShot(audioClip, volume.Value); - } - else - { - audio.PlayOneShot(audioClip); - } - if (WaitForEndOfClip.Value == false) - { - Fsm.Event(finishedEvent); - Finish(); - } - - return; - } - } - - // Finish if failed to play sound - - Finish(); - } - - public override void OnUpdate () - { - if (audio == null) - { - Finish(); - } - else - { - if (!audio.isPlaying) - { - Fsm.Event(finishedEvent); - Finish(); - } - else if (!volume.IsNone && volume.Value != audio.volume) - { - audio.volume = volume.Value; - } - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - if (oneShotClip.Value != null && !oneShotClip.IsNone) - { - return ActionHelpers.AutoName(this, oneShotClip); - } - - return null; - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPlay.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPlay.cs.meta deleted file mode 100644 index 4482af8a5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioPlay.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d7faf656b29070442874f5324061b99d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioStop.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioStop.cs deleted file mode 100644 index 04665ed2a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioStop.cs +++ /dev/null @@ -1,36 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [Tooltip("Stops playing the Audio Clip played by an Audio Source component on a Game Object.")] - public class AudioStop : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(AudioSource))] - [Tooltip("The GameObject with an AudioSource component.")] - public FsmOwnerDefault gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - var audio = go.GetComponent(); - if (audio != null) - { - audio.Stop(); - } - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioStop.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioStop.cs.meta deleted file mode 100644 index a1510fd30..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/AudioStop.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a6777341ea924c7428e33a6f47113e7f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/PlayRandomSound.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/PlayRandomSound.cs deleted file mode 100644 index 15ecbf926..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/PlayRandomSound.cs +++ /dev/null @@ -1,86 +0,0 @@ -// (c) Copyright HutongGames. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [Tooltip("Plays a Random Audio Clip at a position defined by a Game Object or a Vector3. If a position is defined, it takes priority over the game object. You can set the relative weight of the clips to control how often they are selected.")] - public class PlayRandomSound : FsmStateAction - { - [Tooltip("The GameObject to play the sound.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Use world position instead of GameObject.")] - public FsmVector3 position; - - [CompoundArray("Audio Clips", "Audio Clip", "Weight")] - [ObjectType(typeof(AudioClip))] - public FsmObject[] audioClips; - [HasFloatSlider(0, 1)] - public FsmFloat[] weights; - [HasFloatSlider(0, 1)] - public FsmFloat volume = 1f; - - [Tooltip("Don't play the same sound twice in a row")] - public FsmBool noRepeat; - - private int randomIndex; - private int lastIndex = -1; - - public override void Reset() - { - gameObject = null; - position = new FsmVector3 { UseVariable = true }; - audioClips = new FsmObject[3]; - weights = new FsmFloat[] {1,1,1}; - volume = 1; - noRepeat = false; - } - - public override void OnEnter() - { - DoPlayRandomClip(); - - Finish(); - } - - void DoPlayRandomClip() - { - if (audioClips.Length == 0) return; - - if (!noRepeat.Value || weights.Length == 1) - { - randomIndex = ActionHelpers.GetRandomWeightedIndex(weights); - } - else - { - do - { - randomIndex = ActionHelpers.GetRandomWeightedIndex(weights); - } while (randomIndex == lastIndex && randomIndex != -1); - - lastIndex = randomIndex; - } - - if (randomIndex != -1) - { - var clip = audioClips[randomIndex].Value as AudioClip; - if (clip != null) - { - if (!position.IsNone) - { - AudioSource.PlayClipAtPoint(clip, position.Value, volume.Value); - } - else - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - AudioSource.PlayClipAtPoint(clip, go.transform.position, volume.Value); - } - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/PlayRandomSound.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/PlayRandomSound.cs.meta deleted file mode 100644 index cff84f2c7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/PlayRandomSound.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c3b74a4cd320a6e43a7fa4a99b4b6d8c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/PlaySound.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/PlaySound.cs deleted file mode 100644 index 54700ea6c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/PlaySound.cs +++ /dev/null @@ -1,72 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [Tooltip("Plays an Audio Clip at a position defined by a Game Object or Vector3. If a position is defined, it takes priority over the game object. This action doesn't require an Audio Source component, but offers less control than Audio actions.")] - public class PlaySound : FsmStateAction - { - public FsmOwnerDefault gameObject; - - public FsmVector3 position; - - [RequiredField] - [Title("Audio Clip")] - [ObjectType(typeof(AudioClip))] - public FsmObject clip; - - [HasFloatSlider(0, 1)] - public FsmFloat volume = 1f; - - public override void Reset() - { - gameObject = null; - position = new FsmVector3 { UseVariable = true }; - clip = null; - volume = 1; - } - - public override void OnEnter() - { - DoPlaySound(); - Finish(); - } - - - void DoPlaySound() - { - var audioClip = clip.Value as AudioClip; - - if (audioClip == null) - { - LogWarning("Missing Audio Clip!"); - return; - } - - if (!position.IsNone) - { - AudioSource.PlayClipAtPoint(audioClip, position.Value, volume.Value); - } - else - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - AudioSource.PlayClipAtPoint(audioClip, go.transform.position, volume.Value); - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, clip); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/PlaySound.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/PlaySound.cs.meta deleted file mode 100644 index c7a9e2439..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/PlaySound.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 61417d8946e6d0f4db90854a047e6d2f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioClip.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioClip.cs deleted file mode 100644 index 4a47a5cce..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioClip.cs +++ /dev/null @@ -1,45 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [Tooltip("Sets the Audio Clip played by the AudioSource component on a Game Object.")] - public class SetAudioClip : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(AudioSource))] - [Tooltip("The GameObject with the AudioSource component.")] - public FsmOwnerDefault gameObject; - - [ObjectType(typeof(AudioClip))] - [Tooltip("The AudioClip to set.")] - public FsmObject audioClip; - - public override void Reset() - { - gameObject = null; - audioClip = null; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - audio.clip = audioClip.Value as AudioClip; - } - - Finish(); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, audioClip); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioClip.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioClip.cs.meta deleted file mode 100644 index d54c7be48..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioClip.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 43e053420a1a7764e9b7bfce0dc7c229 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioLoop.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioLoop.cs deleted file mode 100644 index 6b499fb59..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioLoop.cs +++ /dev/null @@ -1,41 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [Tooltip("Sets looping on the AudioSource component on a Game Object.")] - public class SetAudioLoop : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(AudioSource))] - public FsmOwnerDefault gameObject; - public FsmBool loop; - - public override void Reset() - { - gameObject = null; - loop = false; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - audio.loop = loop.Value; - } - - Finish(); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, loop); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioLoop.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioLoop.cs.meta deleted file mode 100644 index def2ebee4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioLoop.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 96e3a3f60d1f3a84f813e1ca3d19cfa9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioPitch.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioPitch.cs deleted file mode 100644 index 218287151..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioPitch.cs +++ /dev/null @@ -1,59 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [Tooltip("Sets the Pitch of the Audio Clip played by the AudioSource component on a Game Object.")] - public class SetAudioPitch : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(AudioSource))] - public FsmOwnerDefault gameObject; - public FsmFloat pitch; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - pitch = 1; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetAudioPitch(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate () - { - DoSetAudioPitch(); - } - - void DoSetAudioPitch() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - if (!pitch.IsNone) - { - audio.pitch = pitch.Value; - } - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, pitch); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioPitch.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioPitch.cs.meta deleted file mode 100644 index cf369ad9a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioPitch.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bcee416ff0c12e34f94c8f3552122e6c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioVolume.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioVolume.cs deleted file mode 100644 index b0065db26..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioVolume.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [Tooltip("Sets the Volume of the Audio Clip played by the AudioSource component on a Game Object.")] - public class SetAudioVolume : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(AudioSource))] - public FsmOwnerDefault gameObject; - [HasFloatSlider(0,1)] - public FsmFloat volume; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - volume = 1; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetAudioVolume(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate () - { - DoSetAudioVolume(); - } - - void DoSetAudioVolume() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - if (!volume.IsNone) - { - audio.volume = volume.Value; - } - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, volume); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioVolume.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioVolume.cs.meta deleted file mode 100644 index 69550b9ce..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetAudioVolume.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b790d68bb38d2c848a163e04516c2812 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetGameVolume.cs b/Assets/ThirdParty/PlayMaker/Actions/Audio/SetGameVolume.cs deleted file mode 100644 index 1032a4eff..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetGameVolume.cs +++ /dev/null @@ -1,43 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Audio)] - [Tooltip("Sets the global sound volume.")] - public class SetGameVolume : FsmStateAction - { - [RequiredField] - [HasFloatSlider(0,1)] - public FsmFloat volume; - public bool everyFrame; - - public override void Reset() - { - volume = 1.0f; - everyFrame = false; - } - - public override void OnEnter() - { - AudioListener.volume = volume.Value; - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - AudioListener.volume = volume.Value; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, volume); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetGameVolume.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Audio/SetGameVolume.cs.meta deleted file mode 100644 index 904bd8a40..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Audio/SetGameVolume.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 67448731f4f757c40b2f67019f99c2fa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/BaseUpdateAction.cs b/Assets/ThirdParty/PlayMaker/Actions/BaseUpdateAction.cs deleted file mode 100644 index b951bd991..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/BaseUpdateAction.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - // Base class for actions that need to select Update, LateUpdate, or FixedUpdate - public abstract class BaseUpdateAction : FsmStateAction - { - public enum UpdateType - { - OnUpdate, - OnLateUpdate, - OnFixedUpdate - } - - [ActionSection("Update type")] - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public UpdateType updateType; - - public abstract void OnActionUpdate(); - - public override void Reset() - { - everyFrame = false; - updateType = UpdateType.OnUpdate; - } - - public override void OnPreprocess() - { - if (updateType == UpdateType.OnFixedUpdate) - { - Fsm.HandleFixedUpdate = true; - } - else if (updateType == UpdateType.OnLateUpdate) - { - Fsm.HandleLateUpdate = true; - } - } - - public override void OnUpdate() - { - if (updateType == UpdateType.OnUpdate) - { - OnActionUpdate(); - } - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnLateUpdate() - { - if (updateType == UpdateType.OnLateUpdate) - { - OnActionUpdate(); - } - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - if (updateType == UpdateType.OnFixedUpdate) - { - OnActionUpdate(); - } - - if (!everyFrame) - { - Finish(); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/BaseUpdateAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/BaseUpdateAction.cs.meta deleted file mode 100644 index 8d269be22..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/BaseUpdateAction.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 4bd46e7c97284a14bbf455bf29e74047 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera.meta deleted file mode 100644 index 34a93e720..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 55b281a5e429ebd44ad17cfa591fe897 -folderAsset: yes -timeCreated: 1504501345 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeIn.cs b/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeIn.cs deleted file mode 100644 index f8197f232..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeIn.cs +++ /dev/null @@ -1,86 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Camera)] - [Tooltip("Fade from a fullscreen Color. NOTE: Uses OnGUI so requires a PlayMakerGUI component in the scene.")] - public class CameraFadeIn : FsmStateAction - { - [RequiredField] - [Tooltip("Color to fade from. E.g., Fade up from black.")] - public FsmColor color; - - [RequiredField] - [HasFloatSlider(0,10)] - [Tooltip("Fade in time in seconds.")] - public FsmFloat time; - - [Tooltip("Event to send when finished.")] - public FsmEvent finishEvent; - - [Tooltip("Ignore TimeScale. Useful if the game is paused.")] - public bool realTime; - - public override void Reset() - { - color = Color.black; - time = 1.0f; - finishEvent = null; - } - - private float startTime; - private float currentTime; - private Color colorLerp; - - public override void OnEnter() - { - startTime = FsmTime.RealtimeSinceStartup; - currentTime = 0f; - colorLerp = color.Value; - } - - public override void OnUpdate() - { - if (realTime) - { - currentTime = FsmTime.RealtimeSinceStartup - startTime; - } - else - { - currentTime += Time.deltaTime; - } - - colorLerp = Color.Lerp(color.Value, Color.clear, currentTime/time.Value); - - if (currentTime > time.Value) - { - if (finishEvent != null) - { - Fsm.Event(finishEvent); - } - - Finish(); - } - } - - public override void OnGUI() - { - var guiColor = GUI.color; - GUI.color = colorLerp; - GUI.DrawTexture(new Rect(0,0,Screen.width, Screen.height), ActionHelpers.WhiteTexture); - GUI.color = guiColor; - } - -#if UNITY_EDITOR - - public override float GetProgress() - { - return Mathf.Min(currentTime/time.Value , 1f); - } - -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeIn.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeIn.cs.meta deleted file mode 100644 index 6aaf3428f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeIn.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7750394c42146cd43aa0c3d72c166c45 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeOut.cs b/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeOut.cs deleted file mode 100644 index 58bbd3654..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeOut.cs +++ /dev/null @@ -1,87 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Camera)] - [Tooltip("Fade to a fullscreen Color. NOTE: Uses OnGUI so requires a PlayMakerGUI component in the scene.")] - public class CameraFadeOut : FsmStateAction - { - [RequiredField] - [Tooltip("Color to fade to. E.g., Fade to black.")] - public FsmColor color; - - [RequiredField] - [HasFloatSlider(0,10)] - [Tooltip("Fade out time in seconds.")] - public FsmFloat time; - - [Tooltip("Event to send when finished.")] - public FsmEvent finishEvent; - - [Tooltip("Ignore TimeScale. Useful if the game is paused.")] - public bool realTime; - - public override void Reset() - { - color = Color.black; - time = 1.0f; - finishEvent = null; - } - - private float startTime; - private float currentTime; - private Color colorLerp; - - public override void OnEnter() - { - startTime = FsmTime.RealtimeSinceStartup; - currentTime = 0f; - colorLerp = Color.clear; - } - - public override void OnUpdate() - { - if (realTime) - { - currentTime = FsmTime.RealtimeSinceStartup - startTime; - } - else - { - currentTime += Time.deltaTime; - } - - colorLerp = Color.Lerp(Color.clear, color.Value, currentTime/time.Value); - - if (currentTime > time.Value) - { - if (finishEvent != null) - { - Fsm.Event(finishEvent); - } - - // Don't finish since it will stop drawing the fullscreen color - //Finish(); - } - } - - public override void OnGUI() - { - var guiColor = GUI.color; - GUI.color = colorLerp; - GUI.DrawTexture(new Rect(0,0,Screen.width, Screen.height), ActionHelpers.WhiteTexture); - GUI.color = guiColor; - } - -#if UNITY_EDITOR - - public override float GetProgress() - { - return Mathf.Min(currentTime/time.Value , 1f); - } - -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeOut.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeOut.cs.meta deleted file mode 100644 index a51111e8f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/CameraFadeOut.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1c61240297981ce4da9dff4609b23660 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/CutToCamera.cs b/Assets/ThirdParty/PlayMaker/Actions/Camera/CutToCamera.cs deleted file mode 100644 index 80a5d3a6b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/CutToCamera.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Camera)] - [Tooltip("Activates a Camera in the scene.")] - public class CutToCamera : FsmStateAction - { - [RequiredField] - [Tooltip("The Camera to activate.")] - public Camera camera; - - [Tooltip("Makes the camera the new MainCamera. The old MainCamera will be untagged.")] - public bool makeMainCamera; - - [Tooltip("Cut back to the original MainCamera when exiting this state.")] - public bool cutBackOnExit; - - private Camera oldCamera; - - public override void Reset() - { - camera = null; - makeMainCamera = true; - cutBackOnExit = false; - } - - public override void OnEnter() - { - if (camera == null) - { - LogError("Missing camera!"); - return; - } - - oldCamera = Camera.main; - - SwitchCamera(Camera.main, camera); - - if (makeMainCamera) - { - camera.tag = "MainCamera"; - } - - Finish(); - } - - public override void OnExit() - { - if (cutBackOnExit) - { - SwitchCamera(camera, oldCamera); - } - } - - private static void SwitchCamera(Camera camera1, Camera camera2) - { - /* Camera.main finds the first active camera with the MainCamera tag - * So this shouldn't be needed...? - if (makeMainCamera) - { - if (Camera.main != null) - { - Camera.main.gameObject.tag = "Untagged"; - } - }*/ - - if (camera1 != null) - { - camera1.enabled = false; - } - - if (camera2 != null) - { - camera2.enabled = true; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/CutToCamera.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera/CutToCamera.cs.meta deleted file mode 100644 index f4cf036c5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/CutToCamera.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 62eb7e2e15da7094383d7bf068082c7d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/GetMainCamera.cs b/Assets/ThirdParty/PlayMaker/Actions/Camera/GetMainCamera.cs deleted file mode 100644 index a5c889285..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/GetMainCamera.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// Thanks to James Murchison for the original version of this script. - -using UnityEngine; -using HutongGames.PlayMaker; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Camera)] - [ActionTarget(typeof(Camera),"storeGameObject")] - [Tooltip("Gets the GameObject tagged MainCamera from the scene")] - public class GetMainCamera : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmGameObject storeGameObject; - - public override void Reset () - { - storeGameObject = null; - } - - public override void OnEnter () - { - storeGameObject.Value = Camera.main != null ? Camera.main.gameObject : null; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/GetMainCamera.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera/GetMainCamera.cs.meta deleted file mode 100644 index 61bad0e16..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/GetMainCamera.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c85da2b6adfa49441ad3f64fb7ecbc3b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/ScreenToWorldPoint.cs b/Assets/ThirdParty/PlayMaker/Actions/Camera/ScreenToWorldPoint.cs deleted file mode 100644 index 6af8955cd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/ScreenToWorldPoint.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Camera)] - [Tooltip("Transforms position from screen space into world space. NOTE: Uses the MainCamera!")] - public class ScreenToWorldPoint : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Screen position as a vector.")] - public FsmVector3 screenVector; - [Tooltip("Screen X position in pixels or normalized. See Normalized.")] - public FsmFloat screenX; - [Tooltip("Screen X position in pixels or normalized. See Normalized.")] - public FsmFloat screenY; - [Tooltip("Distance into the screen in world units.")] - public FsmFloat screenZ; - [Tooltip("If true, X/Y coordinates are considered normalized (0-1), otherwise they are expected to be in pixels")] - public FsmBool normalized; - [UIHint(UIHint.Variable)] - [Tooltip("Store the world position in a vector3 variable.")] - public FsmVector3 storeWorldVector; - [UIHint(UIHint.Variable)] - [Tooltip("Store the world X position in a float variable.")] - public FsmFloat storeWorldX; - [UIHint(UIHint.Variable)] - [Tooltip("Store the world Y position in a float variable.")] - public FsmFloat storeWorldY; - [UIHint(UIHint.Variable)] - [Tooltip("Store the world Z position in a float variable.")] - public FsmFloat storeWorldZ; - [Tooltip("Repeat every frame")] - public bool everyFrame; - - public override void Reset() - { - screenVector = null; - // default axis to variable dropdown with None selected. - screenX = new FsmFloat { UseVariable = true }; - screenY = new FsmFloat { UseVariable = true }; - screenZ = 1; - normalized = false; - storeWorldVector = null; - storeWorldX = null; - storeWorldY = null; - storeWorldZ = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoScreenToWorldPoint(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoScreenToWorldPoint(); - } - - void DoScreenToWorldPoint() - { - if (Camera.main == null) - { - LogError("No MainCamera defined!"); - Finish(); - return; - } - - var position = Vector3.zero; - - if(!screenVector.IsNone) position = screenVector.Value; - - if (!screenX.IsNone) position.x = screenX.Value; - if (!screenY.IsNone) position.y = screenY.Value; - if (!screenZ.IsNone) position.z = screenZ.Value; - - if (normalized.Value) - { - position.x *= Screen.width; - position.y *= Screen.height; - } - - position = Camera.main.ScreenToWorldPoint(position); - - storeWorldVector.Value = position; - storeWorldX.Value = position.x; - storeWorldY.Value = position.y; - storeWorldZ.Value = position.z; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/ScreenToWorldPoint.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera/ScreenToWorldPoint.cs.meta deleted file mode 100644 index 6b5b534fc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/ScreenToWorldPoint.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cfa47c7459382454cbe1605d8c2a67d9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetBackgroundColor.cs b/Assets/ThirdParty/PlayMaker/Actions/Camera/SetBackgroundColor.cs deleted file mode 100644 index ae837b5de..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetBackgroundColor.cs +++ /dev/null @@ -1,49 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Camera)] - [Tooltip("Sets the Background Color used by the Camera.")] - public class SetBackgroundColor : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Camera))] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmColor backgroundColor; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - backgroundColor = Color.black; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetBackgroundColor(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetBackgroundColor(); - } - - void DoSetBackgroundColor() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - camera.backgroundColor = backgroundColor.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetBackgroundColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera/SetBackgroundColor.cs.meta deleted file mode 100644 index 1f161ed9b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetBackgroundColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2580741b9cad41d4ebcb5fe081a342c1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraCullingMask.cs b/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraCullingMask.cs deleted file mode 100644 index 7cd36af6a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraCullingMask.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Camera)] - [Tooltip("Sets the Culling Mask used by the Camera.")] - public class SetCameraCullingMask : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Camera))] - public FsmOwnerDefault gameObject; - - [Tooltip("Cull these layers.")] - [UIHint(UIHint.Layer)] - public FsmInt[] cullingMask; - - [Tooltip("Invert the mask, so you cull all layers except those defined above.")] - public FsmBool invertMask; - - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - cullingMask = new FsmInt[0]; - invertMask = false; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetCameraCullingMask(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetCameraCullingMask(); - } - - void DoSetCameraCullingMask() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - camera.cullingMask = ActionHelpers.LayerArrayToLayerMask(cullingMask, invertMask.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraCullingMask.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraCullingMask.cs.meta deleted file mode 100644 index dd0b5bc98..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraCullingMask.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ddaf2de42b757fd4bbab76cba3e66c1f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraFOV.cs b/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraFOV.cs deleted file mode 100644 index 2387a47b9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraFOV.cs +++ /dev/null @@ -1,49 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Camera)] - [Tooltip("Sets Field of View used by the Camera.")] - public class SetCameraFOV : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Camera))] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmFloat fieldOfView; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - fieldOfView = 50f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetCameraFOV(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetCameraFOV(); - } - - void DoSetCameraFOV() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - camera.fieldOfView = fieldOfView.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraFOV.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraFOV.cs.meta deleted file mode 100644 index 91c221bd9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetCameraFOV.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b064faf20b4b8814c9bc8ed1f043f6e1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetMainCamera.cs b/Assets/ThirdParty/PlayMaker/Actions/Camera/SetMainCamera.cs deleted file mode 100644 index abb3f77fd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetMainCamera.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using HutongGames.PlayMaker; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Camera)] - [Tooltip("Sets the Main Camera.")] - public class SetMainCamera : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Camera))] - [Tooltip("The GameObject to set as the main camera (should have a Camera component).")] - public FsmGameObject gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - if (gameObject.Value != null) - { - if (Camera.main != null) - { - Camera.main.gameObject.tag = "Untagged"; - } - - gameObject.Value.tag = "MainCamera"; - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetMainCamera.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera/SetMainCamera.cs.meta deleted file mode 100644 index f9bbadc34..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/SetMainCamera.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2815aae2ab050a04188ffd013d0ebd0b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/WorldToScreenPoint.cs b/Assets/ThirdParty/PlayMaker/Actions/Camera/WorldToScreenPoint.cs deleted file mode 100644 index e66eb60c4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/WorldToScreenPoint.cs +++ /dev/null @@ -1,94 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Camera)] - [Tooltip("Transforms position from world space into screen space. NOTE: Uses the MainCamera!")] - public class WorldToScreenPoint : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("World position to transform into screen coordinates.")] - public FsmVector3 worldPosition; - [Tooltip("World X position.")] - public FsmFloat worldX; - [Tooltip("World Y position.")] - public FsmFloat worldY; - [Tooltip("World Z position.")] - public FsmFloat worldZ; - [UIHint(UIHint.Variable)] - [Tooltip("Store the screen position in a Vector3 Variable. Z will equal zero.")] - public FsmVector3 storeScreenPoint; - [UIHint(UIHint.Variable)] - [Tooltip("Store the screen X position in a Float Variable.")] - public FsmFloat storeScreenX; - [UIHint(UIHint.Variable)] - [Tooltip("Store the screen Y position in a Float Variable.")] - public FsmFloat storeScreenY; - [Tooltip("Normalize screen coordinates (0-1). Otherwise coordinates are in pixels.")] - public FsmBool normalize; - [Tooltip("Repeat every frame")] - public bool everyFrame; - - public override void Reset() - { - worldPosition = null; - // default axis to variable dropdown with None selected. - worldX = new FsmFloat { UseVariable = true }; - worldY = new FsmFloat { UseVariable = true }; - worldZ = new FsmFloat { UseVariable = true }; - storeScreenPoint = null; - storeScreenX = null; - storeScreenY = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoWorldToScreenPoint(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoWorldToScreenPoint(); - } - - void DoWorldToScreenPoint() - { - if (Camera.main == null) - { - LogError("No MainCamera defined!"); - Finish(); - return; - } - - var position = Vector3.zero; - - if(!worldPosition.IsNone) position = worldPosition.Value; - - if (!worldX.IsNone) position.x = worldX.Value; - if (!worldY.IsNone) position.y = worldY.Value; - if (!worldZ.IsNone) position.z = worldZ.Value; - - position = Camera.main.WorldToScreenPoint(position); - - if (normalize.Value) - { - position.x /= Screen.width; - position.y /= Screen.height; - } - - storeScreenPoint.Value = position; - storeScreenX.Value = position.x; - storeScreenY.Value = position.y; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Camera/WorldToScreenPoint.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Camera/WorldToScreenPoint.cs.meta deleted file mode 100644 index d10af7292..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Camera/WorldToScreenPoint.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fc3a649c12f2acf42a7c0d61cefddd3f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character.meta b/Assets/ThirdParty/PlayMaker/Actions/Character.meta deleted file mode 100644 index 78bdcda8f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 98bef29ce46fc944e815a9b2a6285c68 -folderAsset: yes -timeCreated: 1504546712 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerIsGrounded.cs b/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerIsGrounded.cs deleted file mode 100644 index 313506427..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerIsGrounded.cs +++ /dev/null @@ -1,79 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Character)] - [Tooltip("Tests if a Character Controller on a Game Object was touching the ground during the last move.")] - public class ControllerIsGrounded : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(CharacterController))] - [Tooltip("The GameObject to check.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Event to send if touching the ground.")] - public FsmEvent trueEvent; - - [Tooltip("Event to send if not touching the ground.")] - public FsmEvent falseEvent; - - [Tooltip("Store the result in a bool variable.")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - private GameObject previousGo; // remember so we can get new controller only when it changes. - private CharacterController controller; - - public override void Reset() - { - gameObject = null; - trueEvent = null; - falseEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoControllerIsGrounded(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoControllerIsGrounded(); - } - - void DoControllerIsGrounded() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != previousGo) - { - controller = go.GetComponent(); - previousGo = go; - } - - if (controller == null) return; - - var isGrounded = controller.isGrounded; - - storeResult.Value = isGrounded; - - Fsm.Event(isGrounded ? trueEvent : falseEvent); - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerIsGrounded.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerIsGrounded.cs.meta deleted file mode 100644 index 3a426f43d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerIsGrounded.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: caa9b85a8f718a542b1b01e94b63d2c3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerMove.cs b/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerMove.cs deleted file mode 100644 index 1095b956d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerMove.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Character)] - [Tooltip("Moves a Game Object with a Character Controller. See also Controller Simple Move. NOTE: It is recommended that you make only one call to Move or SimpleMove per frame.")] - public class ControllerMove : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(CharacterController))] - [Tooltip("The GameObject to move.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The movement vector.")] - public FsmVector3 moveVector; - - [Tooltip("Move in local or word space.")] - public Space space; - - [Tooltip("Movement vector is defined in units per second. Makes movement frame rate independent.")] - public FsmBool perSecond; - - private GameObject previousGo; // remember so we can get new controller only when it changes. - private CharacterController controller; - - public override void Reset() - { - gameObject = null; - moveVector = new FsmVector3 {UseVariable = true}; - space = Space.World; - perSecond = true; - } - - public override void OnUpdate() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - if (go != previousGo) - { - controller = go.GetComponent(); - previousGo = go; - } - - if (controller != null) - { - var move = space == Space.World ? moveVector.Value : go.transform.TransformDirection(moveVector.Value); - - if (perSecond.Value) - { - controller.Move(move * Time.deltaTime); - } - else - { - controller.Move(move); - } - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerMove.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerMove.cs.meta deleted file mode 100644 index 33ec12d1b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerMove.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1f380e65a6e5c7043a6414d3721d2197 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSettings.cs b/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSettings.cs deleted file mode 100644 index 459926f76..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSettings.cs +++ /dev/null @@ -1,95 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Character)] - [Tooltip("Modify various character controller settings.\n'None' leaves the setting unchanged.")] - public class ControllerSettings : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(CharacterController))] - [Tooltip("The GameObject that owns the CharacterController.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The height of the character's capsule.")] - public FsmFloat height; - - [Tooltip("The radius of the character's capsule.")] - public FsmFloat radius; - - [Tooltip("The character controllers slope limit in degrees.")] - public FsmFloat slopeLimit; - - [Tooltip("The character controllers step offset in meters.")] - public FsmFloat stepOffset; - - [Tooltip("The center of the character's capsule relative to the transform's position")] - public FsmVector3 center; - - [Tooltip("Should other rigidbodies or character controllers collide with this character controller (By default always enabled).")] - public FsmBool detectCollisions; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - // cache so we can get new controller only when it changes. - - GameObject previousGo; - CharacterController controller; - - public override void Reset() - { - gameObject = null; - height = new FsmFloat { UseVariable = true }; - radius = new FsmFloat { UseVariable = true }; - slopeLimit = new FsmFloat { UseVariable = true }; - stepOffset = new FsmFloat { UseVariable = true }; - center = new FsmVector3 { UseVariable = true }; - detectCollisions = new FsmBool { UseVariable = true }; - everyFrame = false; - } - - public override void OnEnter() - { - DoControllerSettings(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoControllerSettings(); - } - - - void DoControllerSettings() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != previousGo) - { - controller = go.GetComponent(); - previousGo = go; - } - - if (controller != null) - { - if (!height.IsNone) controller.height = height.Value; - if (!radius.IsNone) controller.radius = radius.Value; - if (!slopeLimit.IsNone) controller.slopeLimit = slopeLimit.Value; - if (!stepOffset.IsNone) controller.stepOffset = stepOffset.Value; - if (!center.IsNone) controller.center = center.Value; - if (!detectCollisions.IsNone) controller.detectCollisions = detectCollisions.Value; - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSettings.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSettings.cs.meta deleted file mode 100644 index c2a5fbbb4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSettings.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d9ce2594deb14894baeec30cb77ac184 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSimpleMove.cs b/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSimpleMove.cs deleted file mode 100644 index 5ccfc7e55..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSimpleMove.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Character)] - [Tooltip("Moves a Game Object with a Character Controller. Velocity along the y-axis is ignored. Speed is in meters/s. Gravity is automatically applied.")] - public class ControllerSimpleMove : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(CharacterController))] - [Tooltip("The GameObject to move.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The movement vector.")] - public FsmVector3 moveVector; - - [Tooltip("Multiply the movement vector by a speed factor.")] - public FsmFloat speed; - - [Tooltip("Move in local or world space.")] - public Space space; - - private GameObject previousGo; // remember so we can get new controller only when it changes. - private CharacterController controller; - - public override void Reset() - { - gameObject = null; - moveVector = new FsmVector3 {UseVariable = true}; - speed = 1; - space = Space.World; - } - - public override void OnUpdate() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - if (go != previousGo) - { - controller = go.GetComponent(); - previousGo = go; - } - - if (controller != null) - { - var move = space == Space.World ? moveVector.Value : go.transform.TransformDirection(moveVector.Value); - - controller.SimpleMove(move * speed.Value); - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSimpleMove.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSimpleMove.cs.meta deleted file mode 100644 index d736cf765..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/ControllerSimpleMove.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d335426cd3a656448a4a60cebe7825df -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerCollisionFlags.cs b/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerCollisionFlags.cs deleted file mode 100644 index 3053d0a6a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerCollisionFlags.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Character)] - [Tooltip("Gets the Collision Flags from a Character Controller on a Game Object. Collision flags give you a broad overview of where the character collided with any other object.")] - public class GetControllerCollisionFlags : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(CharacterController))] - [Tooltip("The GameObject with a Character Controller component.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("True if the Character Controller capsule is on the ground")] - public FsmBool isGrounded; - - [UIHint(UIHint.Variable)] - [Tooltip("True if no collisions in last move.")] - public FsmBool none; - - [UIHint(UIHint.Variable)] - [Tooltip("True if the Character Controller capsule was hit on the sides.")] - public FsmBool sides; - - [UIHint(UIHint.Variable)] - [Tooltip("True if the Character Controller capsule was hit from above.")] - public FsmBool above; - - [UIHint(UIHint.Variable)] - [Tooltip("True if the Character Controller capsule was hit from below.")] - public FsmBool below; - - private GameObject previousGo; // remember so we can get new controller only when it changes. - private CharacterController controller; - - public override void Reset() - { - gameObject = null; - isGrounded = null; - none = null; - sides = null; - above = null; - below = null; - } - - public override void OnUpdate() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != previousGo) - { - controller = go.GetComponent(); - previousGo = go; - } - - if (controller != null) - { - isGrounded.Value = controller.isGrounded; - none.Value = (controller.collisionFlags & CollisionFlags.None) != 0; - sides.Value = (controller.collisionFlags & CollisionFlags.Sides) != 0; - above.Value = (controller.collisionFlags & CollisionFlags.Above) != 0; - below.Value = (controller.collisionFlags & CollisionFlags.Below) != 0; - } - - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerCollisionFlags.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerCollisionFlags.cs.meta deleted file mode 100644 index 3dd2e8b16..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerCollisionFlags.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5fef0e8a9af622c4f962fa8bed423d24 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerHitInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerHitInfo.cs deleted file mode 100644 index f850fdda2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerHitInfo.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Character)] - [Tooltip("Gets info on the last Character Controller collision and store in variables.")] - public class GetControllerHitInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Store the GameObject hit in the last collision.")] - public FsmGameObject gameObjectHit; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the contact point of the last collision in world coordinates.")] - public FsmVector3 contactPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the normal of the last collision.")] - public FsmVector3 contactNormal; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the direction of the last move before the collision.")] - public FsmVector3 moveDirection; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the distance of the last move before the collision.")] - public FsmFloat moveLength; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the physics material of the Game Object Hit. Useful for triggering different effects. Audio, particles...")] - public FsmString physicsMaterialName; - - public override void Reset() - { - gameObjectHit = null; - contactPoint = null; - contactNormal = null; - moveDirection = null; - moveLength = null; - physicsMaterialName = null; - } - - public override void OnPreprocess() - { - Fsm.HandleControllerColliderHit = true; - } - - private void StoreTriggerInfo() - { - if (Fsm.ControllerCollider == null) return; - - gameObjectHit.Value = Fsm.ControllerCollider.gameObject; - contactPoint.Value = Fsm.ControllerCollider.point; - contactNormal.Value = Fsm.ControllerCollider.normal; - moveDirection.Value = Fsm.ControllerCollider.moveDirection; - moveLength.Value = Fsm.ControllerCollider.moveLength; - physicsMaterialName.Value = Fsm.ControllerCollider.collider.material.name; - } - - public override void OnEnter() - { - StoreTriggerInfo(); - - Finish(); - } - - public override string ErrorCheck() - { - return ActionHelpers.CheckPhysicsSetup(Owner); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerHitInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerHitInfo.cs.meta deleted file mode 100644 index 3c0594336..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Character/GetControllerHitInfo.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4df4faf7dc9040d44bb6f8ef649c9111 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color.meta b/Assets/ThirdParty/PlayMaker/Actions/Color.meta deleted file mode 100644 index 2947a08ed..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: e0ccd36d8de3f2a4e9f95192169f12ee -folderAsset: yes -timeCreated: 1504546843 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/ColorInterpolate.cs b/Assets/ThirdParty/PlayMaker/Actions/Color/ColorInterpolate.cs deleted file mode 100644 index 2aa7f08fc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/ColorInterpolate.cs +++ /dev/null @@ -1,122 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Color)] - [Tooltip("Interpolate through an array of Colors over a specified amount of Time.")] - public class ColorInterpolate : FsmStateAction - { - [RequiredField] - [Tooltip("Array of colors to interpolate through.")] - public FsmColor[] colors; - - [RequiredField] - [Tooltip("Interpolation time.")] - public FsmFloat time; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the interpolated color in a Color variable.")] - public FsmColor storeColor; - - [Tooltip("Event to send when the interpolation finishes.")] - public FsmEvent finishEvent; - - [Tooltip("Ignore TimeScale")] - public bool realTime; - - private float startTime; - private float currentTime; - - public override void Reset() - { - colors = new FsmColor[3]; - time = 1.0f; - storeColor = null; - finishEvent = null; - realTime = false; - } - - public override void OnEnter() - { - startTime = FsmTime.RealtimeSinceStartup; - currentTime = 0f; - - if (colors.Length < 2) - { - if (colors.Length == 1) - { - storeColor.Value = colors[0].Value; - } - Finish(); - } - else - { - storeColor.Value = colors[0].Value; - } - } - - public override void OnUpdate() - { - // update time - - if (realTime) - { - currentTime = FsmTime.RealtimeSinceStartup - startTime; - } - else - { - currentTime += Time.deltaTime; - } - - // finished? - - if (currentTime > time.Value) - { - Finish(); - - storeColor.Value = colors[colors.Length - 1].Value; - - if (finishEvent != null) - { - Fsm.Event(finishEvent); - } - - return; - } - - // lerp - - Color lerpColor; - var lerpAmount = (colors.Length-1) * currentTime/time.Value; - - if (lerpAmount.Equals(0)) - { - lerpColor = colors[0].Value; - } - - else if (lerpAmount.Equals(colors.Length-1)) - { - lerpColor = colors[colors.Length-1].Value; - } - - else - { - var color1 = colors[Mathf.FloorToInt(lerpAmount)].Value; - var color2 = colors[Mathf.CeilToInt(lerpAmount)].Value; - lerpAmount -= Mathf.Floor(lerpAmount); - - lerpColor = Color.Lerp(color1, color2, lerpAmount); - } - - storeColor.Value = lerpColor; - } - - public override string ErrorCheck () - { - return colors.Length < 2 ? "Define at least 2 colors to make a gradient." : null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/ColorInterpolate.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Color/ColorInterpolate.cs.meta deleted file mode 100644 index 9f4a3ae2f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/ColorInterpolate.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1521b5e737c712a4aaa0130e5bbddd06 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/ColorRamp.cs b/Assets/ThirdParty/PlayMaker/Actions/Color/ColorRamp.cs deleted file mode 100644 index 872f07d26..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/ColorRamp.cs +++ /dev/null @@ -1,87 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Color)] - [Tooltip("Samples a Color on a continuous Colors gradient.")] - public class ColorRamp : FsmStateAction - { - [RequiredField] - [Tooltip("Array of colors to defining the gradient.")] - public FsmColor[] colors; - - [RequiredField] - [Tooltip("Point on the gradient to sample. Should be between 0 and the number of colors in the gradient.")] - public FsmFloat sampleAt; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the sampled color in a Color variable.")] - public FsmColor storeColor; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - colors = new FsmColor[3]; - sampleAt = 0; - storeColor = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoColorRamp(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoColorRamp(); - } - - void DoColorRamp() - { - if (colors == null) return; - if (colors.Length == 0) return; - if (sampleAt == null) return; - if (storeColor == null) return; - - Color lerpColor; - var lerpAmount = Mathf.Clamp(sampleAt.Value, 0, colors.Length-1); - - if (lerpAmount == 0) - { - lerpColor = colors[0].Value; - } - else if (lerpAmount == colors.Length) - { - lerpColor = colors[colors.Length-1].Value; - } - else - { - var color1 = colors[Mathf.FloorToInt(lerpAmount)].Value; - var color2 = colors[Mathf.CeilToInt(lerpAmount)].Value; - lerpAmount -= Mathf.Floor(lerpAmount); - - lerpColor = Color.Lerp(color1, color2, lerpAmount); - } - - storeColor.Value = lerpColor; - } - - public override string ErrorCheck () - { - if (colors.Length < 2) - { - return "Define at least 2 colors to make a gradient."; - } - return null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/ColorRamp.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Color/ColorRamp.cs.meta deleted file mode 100644 index c8144f6e9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/ColorRamp.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c3e09d8a9fe0d9244a8d01810500725a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/GetColorRGBA.cs b/Assets/ThirdParty/PlayMaker/Actions/Color/GetColorRGBA.cs deleted file mode 100644 index 84df67046..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/GetColorRGBA.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Color)] - [Tooltip("Get the RGBA channels of a Color Variable and store them in Float Variables.")] - public class GetColorRGBA : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Color variable.")] - public FsmColor color; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the red channel in a float variable.")] - public FsmFloat storeRed; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the green channel in a float variable.")] - public FsmFloat storeGreen; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the blue channel in a float variable.")] - public FsmFloat storeBlue; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the alpha channel in a float variable.")] - public FsmFloat storeAlpha; - - [Tooltip("Repeat every frame. Useful if the color variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - color = null; - storeRed = null; - storeGreen = null; - storeBlue = null; - storeAlpha = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetColorRGBA(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate () - { - DoGetColorRGBA(); - } - - void DoGetColorRGBA() - { - if (color.IsNone) - { - return; - } - - storeRed.Value = color.Value.r; - storeGreen.Value = color.Value.g; - storeBlue.Value = color.Value.b; - storeAlpha.Value = color.Value.a; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/GetColorRGBA.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Color/GetColorRGBA.cs.meta deleted file mode 100644 index 57183d8d7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/GetColorRGBA.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 20a1bfe0231a3d447af9ee3bfab360f9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/SelectRandomColor.cs b/Assets/ThirdParty/PlayMaker/Actions/Color/SelectRandomColor.cs deleted file mode 100644 index 8e343ec4b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/SelectRandomColor.cs +++ /dev/null @@ -1,46 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Color)] - [Tooltip("Select a random Color from an array of Colors.")] - public class SelectRandomColor : FsmStateAction - { - [CompoundArray("Colors", "Color", "Weight")] - public FsmColor[] colors; - [HasFloatSlider(0, 1)] - public FsmFloat[] weights; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmColor storeColor; - - public override void Reset() - { - colors = new FsmColor[3]; - weights = new FsmFloat[] {1,1,1}; - storeColor = null; - } - - public override void OnEnter() - { - DoSelectRandomColor(); - Finish(); - } - - void DoSelectRandomColor() - { - if (colors == null) return; - if (colors.Length == 0) return; - if (storeColor == null) return; - - int randomIndex = ActionHelpers.GetRandomWeightedIndex(weights); - - if (randomIndex != -1) - { - storeColor.Value = colors[randomIndex].Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/SelectRandomColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Color/SelectRandomColor.cs.meta deleted file mode 100644 index d6ca2d0b9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/SelectRandomColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a110ab751cd9f4c42a6ae9a6ce254280 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorRGBA.cs b/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorRGBA.cs deleted file mode 100644 index ccadc0289..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorRGBA.cs +++ /dev/null @@ -1,85 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Color)] - [Tooltip("Sets the RGBA channels of a Color Variable. To leave any channel unchanged, set variable to 'None'.")] - public class SetColorRGBA : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmColor colorVariable; - - [HasFloatSlider(0,1)] - public FsmFloat red; - - [HasFloatSlider(0,1)] - public FsmFloat green; - - [HasFloatSlider(0,1)] - public FsmFloat blue; - - [HasFloatSlider(0,1)] - public FsmFloat alpha; - - public bool everyFrame; - - public override void Reset() - { - colorVariable = null; - - // default to variable dropdown with None selected. - - red = 0; - green = 0; - blue = 0; - alpha = 1; - - everyFrame = false; - } - - public override void OnEnter() - { - DoSetColorRGBA(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetColorRGBA(); - } - - void DoSetColorRGBA() - { - if (colorVariable == null) return; - - var newColor = colorVariable.Value; - - if (!red.IsNone) - { - newColor.r = red.Value; - } - - if (!green.IsNone) - { - newColor.g = green.Value; - } - - if (!blue.IsNone) - { - newColor.b = blue.Value; - } - - if (!alpha.IsNone) - { - newColor.a = alpha.Value; - } - - colorVariable.Value = newColor; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorRGBA.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorRGBA.cs.meta deleted file mode 100644 index a798a2309..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorRGBA.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5f7dfba8043adee4e8b44fe39ff17bf8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorValue.cs b/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorValue.cs deleted file mode 100644 index bde42f327..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorValue.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Color)] - [Tooltip("Sets the value of a Color Variable.")] - public class SetColorValue : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmColor colorVariable; - [RequiredField] - public FsmColor color; - public bool everyFrame; - - public override void Reset() - { - colorVariable = null; - color = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetColorValue(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetColorValue(); - } - - void DoSetColorValue() - { - if (colorVariable != null) - colorVariable.Value = color.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorValue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorValue.cs.meta deleted file mode 100644 index 5dad52895..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Color/SetColorValue.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9d987edef72027a408b133b1a138d8fd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ComponentAction.cs b/Assets/ThirdParty/PlayMaker/Actions/ComponentAction.cs deleted file mode 100644 index 7aff1ad20..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ComponentAction.cs +++ /dev/null @@ -1,139 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -// Unity 5.1 introduced a new networking library. -// Unless we define PLAYMAKER_LEGACY_NETWORK old network actions are disabled -#if !(UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || PLAYMAKER_LEGACY_NETWORK) -#define UNITY_NEW_NETWORK -#endif - -// Some platforms do not support networking (at least the old network library) -#if (UNITY_SWITCH || UNITY_FLASH || UNITY_NACL || UNITY_METRO || UNITY_WP8 || UNITY_WIIU || UNITY_PSM || UNITY_WEBGL || UNITY_PS3 || UNITY_PS4 || UNITY_XBOXONE) -#define PLATFORM_NOT_SUPPORTED -#endif - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - // Base class for actions that access a Component on a GameObject. - // Caches the component for performance - public abstract class ComponentAction : FsmStateAction where T : Component - { - /// - /// The cached GameObject. Call UpdateCache() first - /// - protected GameObject cachedGameObject; - - /// - /// The cached component. Call UpdateCache() first - /// - protected T cachedComponent; - - protected Rigidbody rigidbody - { - get { return cachedComponent as Rigidbody; } - } - - protected Rigidbody2D rigidbody2d - { - get { return cachedComponent as Rigidbody2D; } - } - - protected Renderer renderer - { - get { return cachedComponent as Renderer; } - } - - protected Animation animation - { - get { return cachedComponent as Animation; } - } - - protected AudioSource audio - { - get { return cachedComponent as AudioSource; } - } - - protected Camera camera - { - get { return cachedComponent as Camera; } - } - -#if !UNITY_2019_3_OR_NEWER - - #if UNITY_2017_2_OR_NEWER - #pragma warning disable CS0618 - #endif - protected GUIText guiText - { - get { return cachedComponent as GUIText; } - } - - protected GUITexture guiTexture - { - get { return cachedComponent as GUITexture; } - } - #if UNITY_2017_2_OR_NEWER - #pragma warning restore CS0618 - #endif - -#endif - - protected Light light - { - get { return cachedComponent as Light; } - } - -#if !(PLATFORM_NOT_SUPPORTED || UNITY_NEW_NETWORK || PLAYMAKER_NO_NETWORK) - protected NetworkView networkView - { - get { return cachedComponent as NetworkView; } - } -#endif - - // Check that the GameObject is the same - // and that we have a component reference cached - protected bool UpdateCache(GameObject go) - { - if (go == null) return false; - - if (cachedComponent == null || cachedGameObject != go) - { - cachedComponent = go.GetComponent(); - cachedGameObject = go; - - if (cachedComponent == null) - { - LogWarning("Missing component: " + typeof(T).FullName + " on: " + go.name); - } - } - - return cachedComponent != null; - } - - // Same as UpdateCache, but adds a new component if missing - protected bool UpdateCacheAddComponent(GameObject go) - { - if (go == null) return false; - - if (cachedComponent == null || cachedGameObject != go) - { - cachedComponent = go.GetComponent(); - cachedGameObject = go; - - if (cachedComponent == null) - { - cachedComponent = go.AddComponent(); - cachedComponent.hideFlags = HideFlags.DontSaveInEditor; - } - } - - return cachedComponent != null; - } - - protected void SendEvent(FsmEventTarget eventTarget, FsmEvent fsmEvent) - { - Fsm.Event(cachedGameObject, eventTarget, fsmEvent); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/ComponentAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/ComponentAction.cs.meta deleted file mode 100644 index 4d176c2dd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ComponentAction.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fe02f53520edc8b419bac5fadc0630fd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert.meta deleted file mode 100644 index 315acd3b6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: c74252f115aa9d14fb37aa4306de7462 -folderAsset: yes -timeCreated: 1504500363 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToColor.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToColor.cs deleted file mode 100644 index 6e422c7e1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToColor.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts a Bool value to a Color.")] - public class ConvertBoolToColor : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Bool variable to test.")] - public FsmBool boolVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Color variable to set based on the bool variable value.")] - public FsmColor colorVariable; - - [Tooltip("Color if Bool variable is false.")] - public FsmColor falseColor; - - [Tooltip("Color if Bool variable is true.")] - public FsmColor trueColor; - - [Tooltip("Repeat every frame. Useful if the Bool variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - boolVariable = null; - colorVariable = null; - falseColor = Color.black; - trueColor = Color.white; - everyFrame = false; - } - - public override void OnEnter() - { - DoConvertBoolToColor(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoConvertBoolToColor(); - } - - void DoConvertBoolToColor() - { - colorVariable.Value = boolVariable.Value ? trueColor.Value : falseColor.Value; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, boolVariable, colorVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToColor.cs.meta deleted file mode 100644 index 21e37cb35..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: abc72cf566c2db1428c762b4ce9efe21 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToFloat.cs deleted file mode 100644 index 41756d6a0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToFloat.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts a Bool value to a Float value.")] - public class ConvertBoolToFloat : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Bool variable to test.")] - public FsmBool boolVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Float variable to set based on the Bool variable value.")] - public FsmFloat floatVariable; - - [Tooltip("Float value if Bool variable is false.")] - public FsmFloat falseValue; - - [Tooltip("Float value if Bool variable is true.")] - public FsmFloat trueValue; - - [Tooltip("Repeat every frame. Useful if the Bool variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - boolVariable = null; - floatVariable = null; - falseValue = 0; - trueValue = 1; - everyFrame = false; - } - - public override void OnEnter() - { - DoConvertBoolToFloat(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoConvertBoolToFloat(); - } - - void DoConvertBoolToFloat() - { - floatVariable.Value = boolVariable.Value ? trueValue.Value : falseValue.Value; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, boolVariable, floatVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToFloat.cs.meta deleted file mode 100644 index 45c9d6803..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToFloat.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1785c4b9b31b055489883b6a1492adc6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToInt.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToInt.cs deleted file mode 100644 index 6b57e8d91..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToInt.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts a Bool value to an Integer value.")] - public class ConvertBoolToInt : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Bool variable to test.")] - public FsmBool boolVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Integer variable to set based on the Bool variable value.")] - public FsmInt intVariable; - - [Tooltip("Integer value if Bool variable is false.")] - public FsmInt falseValue; - - [Tooltip("Integer value if Bool variable is false.")] - public FsmInt trueValue; - - [Tooltip("Repeat every frame. Useful if the Bool variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - boolVariable = null; - intVariable = null; - falseValue = 0; - trueValue = 1; - everyFrame = false; - } - - public override void OnEnter() - { - DoConvertBoolToInt(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoConvertBoolToInt(); - } - - void DoConvertBoolToInt() - { - intVariable.Value = boolVariable.Value ? trueValue.Value : falseValue.Value; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, boolVariable, intVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToInt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToInt.cs.meta deleted file mode 100644 index d1cfd80d7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToInt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f28800202f2a2b2488205a83acbf51bf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToString.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToString.cs deleted file mode 100644 index 3a9c59849..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToString.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts a Bool value to a String value.")] - public class ConvertBoolToString : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Bool variable to test.")] - public FsmBool boolVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The String variable to set based on the Bool variable value.")] - public FsmString stringVariable; - - [Tooltip("String value if Bool variable is false.")] - public FsmString falseString; - - [Tooltip("String value if Bool variable is true.")] - public FsmString trueString; - - [Tooltip("Repeat every frame. Useful if the Bool variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - boolVariable = null; - stringVariable = null; - falseString = "False"; - trueString = "True"; - everyFrame = false; - } - - public override void OnEnter() - { - DoConvertBoolToString(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoConvertBoolToString(); - } - - void DoConvertBoolToString() - { - stringVariable.Value = boolVariable.Value ? trueString.Value : falseString.Value; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, boolVariable, stringVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToString.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToString.cs.meta deleted file mode 100644 index fc5575643..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertBoolToString.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3eaa51191417f614ebfbc37a95b81efd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertEnumToString.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertEnumToString.cs deleted file mode 100644 index 92523282a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertEnumToString.cs +++ /dev/null @@ -1,58 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts an Enum value to a String value.")] - public class ConvertEnumToString : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Enum variable to convert.")] - public FsmEnum enumVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The String variable to store the converted value.")] - public FsmString stringVariable; - - [Tooltip("Repeat every frame. Useful if the Enum variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - enumVariable = null; - stringVariable = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoConvertEnumToString(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoConvertEnumToString(); - } - - void DoConvertEnumToString() - { - stringVariable.Value = enumVariable.Value != null ? enumVariable.Value.ToString() : ""; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, enumVariable, stringVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertEnumToString.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertEnumToString.cs.meta deleted file mode 100644 index 20a1171db..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertEnumToString.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ff4c5b0baaf92be4496c3474ae6ca767 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToInt.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToInt.cs deleted file mode 100644 index 5280916e8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToInt.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts a Float value to an Integer value.")] - public class ConvertFloatToInt : FsmStateAction - { - public enum FloatRounding - { - RoundDown, - RoundUp, - Nearest - } - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Float variable to convert to an integer.")] - public FsmFloat floatVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in an Integer variable.")] - public FsmInt intVariable; - - public FloatRounding rounding; - - public bool everyFrame; - - public override void Reset() - { - floatVariable = null; - intVariable = null; - rounding = FloatRounding.Nearest; - everyFrame = false; - } - - public override void OnEnter() - { - DoConvertFloatToInt(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoConvertFloatToInt(); - } - - void DoConvertFloatToInt() - { - switch (rounding) - { - - case FloatRounding.Nearest: - intVariable.Value = Mathf.RoundToInt(floatVariable.Value); - break; - - case FloatRounding.RoundDown: - intVariable.Value = Mathf.FloorToInt(floatVariable.Value); - break; - - case FloatRounding.RoundUp: - intVariable.Value = Mathf.CeilToInt(floatVariable.Value); - break; - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, floatVariable, intVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToInt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToInt.cs.meta deleted file mode 100644 index ef0a05ae1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToInt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fef83905517654a4b86a427636e8a50f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToString.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToString.cs deleted file mode 100644 index 1c22a5d01..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToString.cs +++ /dev/null @@ -1,69 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts a Float value to a String value with optional format.")] - public class ConvertFloatToString : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The float variable to convert.")] - public FsmFloat floatVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("A string variable to store the converted value.")] - public FsmString stringVariable; - - [Tooltip("Optional Format, allows for leading zeros. E.g., 0000")] - public FsmString format; - - [Tooltip("Repeat every frame. Useful if the float variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - floatVariable = null; - stringVariable = null; - everyFrame = false; - format = null; - } - - public override void OnEnter() - { - DoConvertFloatToString(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoConvertFloatToString(); - } - - void DoConvertFloatToString() - { - if (format.IsNone || string.IsNullOrEmpty(format.Value)) - { - stringVariable.Value = floatVariable.Value.ToString(); - } - else - { - stringVariable.Value = floatVariable.Value.ToString(format.Value); - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, floatVariable, stringVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToString.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToString.cs.meta deleted file mode 100644 index be2419a68..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertFloatToString.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 83cb2bebe956b4e41973ba7844cf7905 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToFloat.cs deleted file mode 100644 index 3bacd1fc9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToFloat.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts an Integer value to a Float value.")] - public class ConvertIntToFloat : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Integer variable to convert to a float.")] - public FsmInt intVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a Float variable.")] - public FsmFloat floatVariable; - - [Tooltip("Repeat every frame. Useful if the Integer variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - intVariable = null; - floatVariable = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoConvertIntToFloat(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoConvertIntToFloat(); - } - - void DoConvertIntToFloat() - { - floatVariable.Value = intVariable.Value; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, intVariable, floatVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToFloat.cs.meta deleted file mode 100644 index b714c4b72..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToFloat.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a9486bf109dec1d45824da934235f1af -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToString.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToString.cs deleted file mode 100644 index 79f3071bb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToString.cs +++ /dev/null @@ -1,69 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts an Integer value to a String value with an optional format.")] - public class ConvertIntToString : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Int variable to convert.")] - public FsmInt intVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("A String variable to store the converted value.")] - public FsmString stringVariable; - - [Tooltip("Optional Format, allows for leading zeros. E.g., 0000")] - public FsmString format; - - [Tooltip("Repeat every frame. Useful if the Int variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - intVariable = null; - stringVariable = null; - everyFrame = false; - format = null; - } - - public override void OnEnter() - { - DoConvertIntToString(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoConvertIntToString(); - } - - void DoConvertIntToString() - { - if (format.IsNone || string.IsNullOrEmpty(format.Value)) - { - stringVariable.Value = intVariable.Value.ToString(); - } - else - { - stringVariable.Value = intVariable.Value.ToString(format.Value); - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, intVariable, stringVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToString.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToString.cs.meta deleted file mode 100644 index f9bd8ee75..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertIntToString.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a57adc7ae10e64947af9dfd85a4b0b7b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertMaterialToObject.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertMaterialToObject.cs deleted file mode 100644 index 6f63cec52..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertMaterialToObject.cs +++ /dev/null @@ -1,58 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts a Material variable to an Object variable. Useful if you want to use Set Property (which only works on Object variables).")] - public class ConvertMaterialToObject : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Material variable to convert to an Object.")] - public FsmMaterial materialVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in an Object variable.")] - public FsmObject objectVariable; - - [Tooltip("Repeat every frame. Useful if the Material variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - materialVariable = null; - objectVariable = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoConvertMaterialToObject(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoConvertMaterialToObject(); - } - - void DoConvertMaterialToObject() - { - objectVariable.Value = materialVariable.Value; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, materialVariable, objectVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertMaterialToObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertMaterialToObject.cs.meta deleted file mode 100644 index 3b03ed6cd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertMaterialToObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e6d46eac91f9daa499286f795155bfd2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertSecondsToString.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertSecondsToString.cs deleted file mode 100644 index 71924fa01..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertSecondsToString.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; -using System; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [HelpUrl("http://hutonggames.com/playmakerforum/index.php?topic=1711.0")] - [Tooltip("Converts Seconds to a String value representing the time.")] - public class ConvertSecondsToString : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The seconds variable to convert.")] - public FsmFloat secondsVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("A string variable to store the time value.")] - public FsmString stringVariable; - - [RequiredField] - [Tooltip("Format. 0 for days, 1 is for hours, 2 for minutes, 3 for seconds and 4 for milliseconds. 5 for total days, 6 for total hours, 7 for total minutes, 8 for total seconds, 9 for total milliseconds, 10 for two digits milliseconds. so {2:D2} would just show the seconds of the current time, NOT the grand total number of seconds, the grand total of seconds would be {8:F0}")] - public FsmString format; - - [Tooltip("Repeat every frame. Useful if the seconds variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - secondsVariable = null; - stringVariable = null; - everyFrame = false; - format = "{1:D2}h:{2:D2}m:{3:D2}s:{10}ms"; - } - - public override void OnEnter() - { - DoConvertSecondsToString(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoConvertSecondsToString(); - } - - void DoConvertSecondsToString() - { - TimeSpan t = TimeSpan.FromSeconds(secondsVariable.Value); - - string milliseconds_2D = t.Milliseconds.ToString("D3").PadLeft(2, '0'); - milliseconds_2D = milliseconds_2D.Substring(0,2); - - stringVariable.Value = string.Format(format.Value, - t.Days, - t.Hours, - t.Minutes, - t.Seconds, - t.Milliseconds, - t.TotalDays, - t.TotalHours, - t.TotalMinutes, - t.TotalSeconds, - t.TotalMilliseconds, - milliseconds_2D); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, secondsVariable, stringVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertSecondsToString.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertSecondsToString.cs.meta deleted file mode 100644 index ce4e93da6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertSecondsToString.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b3fbd58b6e607dc45be3fb9de999c4b9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertStringToInt.cs b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertStringToInt.cs deleted file mode 100644 index 202735ab8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertStringToInt.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Convert)] - [Tooltip("Converts an String value to an Int value.")] - public class ConvertStringToInt : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The String variable to convert to an integer.")] - public FsmString stringVariable; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in an Int variable.")] - public FsmInt intVariable; - - [Tooltip("Repeat every frame. Useful if the String variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - intVariable = null; - stringVariable = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoConvertStringToInt(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoConvertStringToInt(); - } - - void DoConvertStringToInt() - { - intVariable.Value = int.Parse(stringVariable.Value); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameConvert(this, stringVariable, intVariable); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertStringToInt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertStringToInt.cs.meta deleted file mode 100644 index 0e32cf96e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Convert/ConvertStringToInt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9fd2d70c3e210c34789e8d8d6baa10b8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug.meta deleted file mode 100644 index d26626ab2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 98f681d6d04e3264396ee5545c9b9748 -folderAsset: yes -timeCreated: 1504501464 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/Assert.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/Assert.cs deleted file mode 100644 index a3ff0a9b8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/Assert.cs +++ /dev/null @@ -1,140 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using PlayMaker.ConditionalExpression; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Checks if the conditional expression Is True or Is False. Breaks the execution of the game if the assertion fails.\n" + - "This is a useful way to check your assumptions. If you expect a certain value use an Assert to make sure!\n" + - "Only runs in Editor.")] - public class Assert : FsmStateAction, IEvaluatorContext - { - public enum AssertType - { - IsTrue, - IsFalse - } - - #region Inputs - - public CompiledAst Ast { get; set; } - public string LastErrorMessage { get; set; } - - [UIHint(UIHint.TextArea)] - [Tooltip("Enter an expression to evaluate.\nExample: (a < b) && c\n$(variable name with spaces)")] - public FsmString expression; - - [Tooltip("Expected result of the expression.")] - public AssertType assert; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - #endregion - - private string cachedExpression; - - #region IEvaluatorContext implementation - - /// - FsmVar IEvaluatorContext.GetVariable(string name) - { - var v = Fsm.Variables.GetVariable(name); - if (v != null) - { - return new FsmVar(v); - } - - throw new VariableNotFoundException(name); - } - - #endregion - -#if UNITY_EDITOR - - public override void Reset() - { - expression = null; - - Ast = null; - - everyFrame = false; - } - - public override void Awake() - { - try - { - LastErrorMessage = ""; - CompileExpressionIfNeeded(); - } - catch (Exception ex) - { - LastErrorMessage = ex.Message; - } - } - - public override void OnEnter() - { - DoAction(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoAction(); - } - - private void DoAction() - { - if (expression == null || string.IsNullOrEmpty(expression.Value)) return; - - try - { - LastErrorMessage = ""; - CompileExpressionIfNeeded(); - - var result = Ast.Evaluate(); - var failed = false; - - if (assert == AssertType.IsTrue) - { - if (!result) failed = true; - } - else if (assert == AssertType.IsFalse) - { - if (result) failed = true; - } - - if (failed) - { - LogError("Failed: " + expression.Value); - //Fsm.DoBreakError("Assert Failed: " + expression.Value); - } - } - catch (Exception ex) - { - LastErrorMessage = ex.Message; - } - } - - - private void CompileExpressionIfNeeded() - { - if (Ast == null || cachedExpression != expression.Value) - { - Ast = CompiledAst.Compile(expression.Value, this); - cachedExpression = expression.Value; - } - } -#endif - - } - -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/Assert.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/Assert.cs.meta deleted file mode 100644 index ae3fad93e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/Assert.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f6fe538159d323f46ba988fbb17f2bb0 -timeCreated: 1507846993 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/BaseLogAction.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/BaseLogAction.cs deleted file mode 100644 index 2e63bd1d7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/BaseLogAction.cs +++ /dev/null @@ -1,15 +0,0 @@ -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - // Base class for logging actions - public abstract class BaseLogAction : FsmStateAction - { - public bool sendToUnityLog; - - public override void Reset() - { - sendToUnityLog = false; - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/BaseLogAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/BaseLogAction.cs.meta deleted file mode 100644 index c20fdfeaf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/BaseLogAction.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e7bb225a384e052488dbd18116e55f54 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/Comment.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/Comment.cs deleted file mode 100644 index 59d65f392..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/Comment.cs +++ /dev/null @@ -1,31 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Adds a text area to the action list. NOTE: Doesn't do anything, just for notes...")] - public class Comment : FsmStateAction - { - [UIHint(UIHint.Comment)] - public string comment; - - public override void Reset() - { - comment = ""; - } - - public override void OnEnter() - { - Finish(); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ": " + comment.Replace("\n"," "); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/Comment.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/Comment.cs.meta deleted file mode 100644 index 06ac20860..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/Comment.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6a5b874eadc685146bfc648baec9d751 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugBool.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugBool.cs deleted file mode 100644 index 658983e26..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugBool.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Logs the value of a Bool Variable in the PlayMaker Log Window.")] - public class DebugBool : BaseLogAction - { - [Tooltip("Info, Warning, or Error.")] - public LogLevel logLevel; - - [UIHint(UIHint.Variable)] - [Tooltip("The Bool variable to debug.")] - public FsmBool boolVariable; - - public override void Reset() - { - logLevel = LogLevel.Info; - boolVariable = null; - base.Reset(); - } - - public override void OnEnter() - { - var text = "None"; - - if (!boolVariable.IsNone) - { - text = boolVariable.Name + ": " + boolVariable.Value; - } - - ActionHelpers.DebugLog(Fsm, logLevel, text, sendToUnityLog); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugBool.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugBool.cs.meta deleted file mode 100644 index 6eb2ff0f1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugBool.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ac3bb315ecd09f54d8ae6732d7dbbd85 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugDrawShape.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugDrawShape.cs deleted file mode 100644 index e5e606f9f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugDrawShape.cs +++ /dev/null @@ -1,63 +0,0 @@ -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Draw Gizmos in the Scene View.")] - public class DebugDrawShape : FsmStateAction - { - public enum ShapeType { Sphere, Cube, WireSphere, WireCube } - - [RequiredField] - [Tooltip("Draw the Gizmo at a GameObject's position.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The type of Gizmo to draw:\nSphere, Cube, WireSphere, or WireCube.")] - public ShapeType shape; - - [Tooltip("The color to use.")] - public FsmColor color; - - [Tooltip("Use this for sphere gizmos")] - public FsmFloat radius; - - [Tooltip("Use this for cube gizmos")] - public FsmVector3 size; - - public override void Reset() - { - gameObject = null; - shape = ShapeType.Sphere; - color = Color.grey; - radius = 1f; - size = new Vector3(1f, 1f, 1f); - } - - public override void OnDrawActionGizmos() - { - var ownerTransform = Fsm.GetOwnerDefaultTarget(gameObject).transform; - if (ownerTransform == null) - return; - - Gizmos.color = color.Value; - - switch (shape) - { - case ShapeType.Sphere: - Gizmos.DrawSphere(ownerTransform.position, radius.Value); - break; - case ShapeType.WireSphere: - Gizmos.DrawWireSphere(ownerTransform.position, radius.Value); - break; - case ShapeType.Cube: - Gizmos.DrawCube(ownerTransform.position, size.Value); - break; - case ShapeType.WireCube: - Gizmos.DrawWireCube(ownerTransform.position, size.Value); - break; - default: - break; - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugDrawShape.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugDrawShape.cs.meta deleted file mode 100644 index 1a81de87e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugDrawShape.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8631f4b0c29b45e4ab58995114fa2ad2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugEnum.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugEnum.cs deleted file mode 100644 index 88d5ddc3b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugEnum.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Logs the value of an Enum Variable in the PlayMaker Log Window.")] - public class DebugEnum : BaseLogAction - { - [Tooltip("Info, Warning, or Error.")] - public LogLevel logLevel; - - [UIHint(UIHint.Variable)] - [Tooltip("The Enum Variable to debug.")] - public FsmEnum enumVariable; - - public override void Reset() - { - logLevel = LogLevel.Info; - enumVariable = null; - base.Reset(); - } - - public override void OnEnter() - { - var text = "None"; - - if (!enumVariable.IsNone) - { - text = enumVariable.Name + ": " + enumVariable.Value; - } - - ActionHelpers.DebugLog(Fsm, logLevel, text, sendToUnityLog); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugEnum.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugEnum.cs.meta deleted file mode 100644 index d791a889f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugEnum.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7d5ef26a6102c0044bc96f9587acb44b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFloat.cs deleted file mode 100644 index 89e851dd4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFloat.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Logs the value of a Float Variable in the PlayMaker Log Window.")] - public class DebugFloat : BaseLogAction - { - [Tooltip("Info, Warning, or Error.")] - public LogLevel logLevel; - - [UIHint(UIHint.Variable)] - [Tooltip("The Float variable to debug.")] - public FsmFloat floatVariable; - - public override void Reset() - { - logLevel = LogLevel.Info; - floatVariable = null; - base.Reset(); - } - - public override void OnEnter() - { - string text = "None"; - - if (!floatVariable.IsNone) - { - text = floatVariable.Name + ": " + floatVariable.Value; - } - - ActionHelpers.DebugLog(Fsm, logLevel, text, sendToUnityLog); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFloat.cs.meta deleted file mode 100644 index 3706fe1d8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFloat.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f54725291271e644d8931a2b9a127486 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFsmVariable.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFsmVariable.cs deleted file mode 100644 index 848fb33d3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFsmVariable.cs +++ /dev/null @@ -1,33 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Print the value of any FSM Variable in the PlayMaker Log Window.")] - public class DebugFsmVariable : BaseLogAction - { - [Tooltip("Info, Warning, or Error.")] - public LogLevel logLevel; - - [HideTypeFilter] - [UIHint(UIHint.Variable)] - [Tooltip("The variable to debug.")] - public FsmVar variable; - - public override void Reset() - { - logLevel = LogLevel.Info; - variable = null; - base.Reset(); - } - - public override void OnEnter() - { - ActionHelpers.DebugLog(Fsm, logLevel, variable.DebugString(), sendToUnityLog); - - Finish(); - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFsmVariable.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFsmVariable.cs.meta deleted file mode 100644 index af96b1007..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugFsmVariable.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6eced6fe7c6fe6f48a18b71bc955e200 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugGameObject.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugGameObject.cs deleted file mode 100644 index d5cde2f30..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugGameObject.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Logs the value of a Game Object Variable in the PlayMaker Log Window.")] - public class DebugGameObject : BaseLogAction - { - [Tooltip("Info, Warning, or Error.")] - public LogLevel logLevel; - - [UIHint(UIHint.Variable)] - [Tooltip("The GameObject variable to debug.")] - public FsmGameObject gameObject; - - public override void Reset() - { - logLevel = LogLevel.Info; - gameObject = null; - base.Reset(); - } - - public override void OnEnter() - { - var text = "None"; - - if (!gameObject.IsNone) - { - text = gameObject.Name + ": " + gameObject; - } - - ActionHelpers.DebugLog(Fsm, logLevel, text, sendToUnityLog); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugGameObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugGameObject.cs.meta deleted file mode 100644 index 425406e38..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugGameObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 77dd57ebe3a79ac4f8467131f0f04beb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugInt.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugInt.cs deleted file mode 100644 index 76b296311..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugInt.cs +++ /dev/null @@ -1,36 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Logs the value of an Integer Variable in the PlayMaker Log Window.")] - public class DebugInt : BaseLogAction - { - [Tooltip("Info, Warning, or Error.")] - public LogLevel logLevel; - - [UIHint(UIHint.Variable)] - [Tooltip("The Int variable to debug.")] - public FsmInt intVariable; - - public override void Reset() - { - logLevel = LogLevel.Info; - intVariable = null; - } - - public override void OnEnter() - { - var text = "None"; - - if (!intVariable.IsNone) - { - text = intVariable.Name + ": " + intVariable.Value; - } - - ActionHelpers.DebugLog(Fsm, logLevel, text, sendToUnityLog); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugInt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugInt.cs.meta deleted file mode 100644 index ab8994f0a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugInt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: dd0da7275cd2ad74b890f9acc2fe1918 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugLog.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugLog.cs deleted file mode 100644 index 7e1a7016f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugLog.cs +++ /dev/null @@ -1,32 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Sends a log message to the PlayMaker Log Window.")] - public class DebugLog : BaseLogAction - { - [Tooltip("Info, Warning, or Error.")] - public LogLevel logLevel; - - [Tooltip("Text to send to the log.")] - public FsmString text; - - public override void Reset() - { - logLevel = LogLevel.Info; - text = ""; - base.Reset(); - } - - public override void OnEnter() - { - if (!string.IsNullOrEmpty(text.Value)) - { - ActionHelpers.DebugLog(Fsm, logLevel, text.Value, sendToUnityLog); - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugLog.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugLog.cs.meta deleted file mode 100644 index 626734ed2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugLog.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4a5ede73c5bbf5b4aa6004aebbdf51f7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugObject.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugObject.cs deleted file mode 100644 index 40fa99153..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugObject.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Logs the value of an Object Variable in the PlayMaker Log Window.")] - public class DebugObject : BaseLogAction - { - [Tooltip("Info, Warning, or Error.")] - public LogLevel logLevel; - - [UIHint(UIHint.Variable)] - [Tooltip("The Object variable to debug.")] - public FsmObject fsmObject; - - public override void Reset() - { - logLevel = LogLevel.Info; - fsmObject = null; - base.Reset(); - } - - public override void OnEnter() - { - var text = "None"; - - if (!fsmObject.IsNone) - { - text = fsmObject.Name + ": " + fsmObject; - } - - ActionHelpers.DebugLog(Fsm, logLevel, text, sendToUnityLog); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugObject.cs.meta deleted file mode 100644 index b7e84fdc2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2b0f9963f42fa364a8b2ac7110f32fb0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugVector3.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugVector3.cs deleted file mode 100644 index 1f814ecc0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugVector3.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Logs the value of a Vector3 Variable in the PlayMaker Log Window.")] - public class DebugVector3 : BaseLogAction - { - [Tooltip("Info, Warning, or Error.")] - public LogLevel logLevel; - - [UIHint(UIHint.Variable)] - [Tooltip("The Vector3 variable to debug.")] - public FsmVector3 vector3Variable; - - public override void Reset() - { - logLevel = LogLevel.Info; - vector3Variable = null; - base.Reset(); - } - - public override void OnEnter() - { - var text = "None"; - - if (!vector3Variable.IsNone) - { - text = vector3Variable.Name + ": " + vector3Variable.Value; - } - - ActionHelpers.DebugLog(Fsm, logLevel, text, sendToUnityLog); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugVector3.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugVector3.cs.meta deleted file mode 100644 index d7275bcef..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DebugVector3.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0530dae92ccbb0642a30a1a968da9e28 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugLine.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugLine.cs deleted file mode 100644 index 9777aaaec..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugLine.cs +++ /dev/null @@ -1,43 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Draws a line from a Start point to an End point. Specify the points as Game Objects or Vector3 world positions. If both are specified, position is used as a local offset from the Object's position.")] - public class DrawDebugLine : FsmStateAction - { - [Tooltip("Draw line from a GameObject.")] - public FsmGameObject fromObject; - - [Tooltip("Draw line from a world position, or local offset from GameObject if provided.")] - public FsmVector3 fromPosition; - - [Tooltip("Draw line to a GameObject.")] - public FsmGameObject toObject; - - [Tooltip("Draw line to a world position, or local offset from GameObject if provided.")] - public FsmVector3 toPosition; - - [Tooltip("The color of the line.")] - public FsmColor color; - - public override void Reset() - { - fromObject = new FsmGameObject { UseVariable = true} ; - fromPosition = new FsmVector3 { UseVariable = true}; - toObject = new FsmGameObject { UseVariable = true} ; - toPosition = new FsmVector3 { UseVariable = true}; - color = Color.white; - } - - public override void OnUpdate() - { - var startPos = ActionHelpers.GetPosition(fromObject, fromPosition); - var endPos = ActionHelpers.GetPosition(toObject, toPosition); - - Debug.DrawLine(startPos, endPos, color.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugLine.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugLine.cs.meta deleted file mode 100644 index 59761d211..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugLine.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 18bfd2197dc13c44c81ae8f279f87a21 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugRay.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugRay.cs deleted file mode 100644 index 5a9868a74..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugRay.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Draws a line from a Start point in a direction. Specify the start point as Game Objects or Vector3 world positions. If both are specified, position is used as a local offset from the Object's position.")] - public class DrawDebugRay : FsmStateAction - { - [Tooltip("Draw ray from a GameObject.")] - public FsmGameObject fromObject; - - [Tooltip("Draw ray from a world position, or local offset from GameObject if provided.")] - public FsmVector3 fromPosition; - - [Tooltip("Direction vector of ray.")] - public FsmVector3 direction; - - [Tooltip("The color of the ray.")] - public FsmColor color; - - public override void Reset() - { - fromObject = new FsmGameObject { UseVariable = true} ; - fromPosition = new FsmVector3 { UseVariable = true}; - direction = new FsmVector3 { UseVariable = true}; - color = Color.white; - } - - public override void OnUpdate() - { - var startPos = ActionHelpers.GetPosition(fromObject, fromPosition); - - Debug.DrawRay(startPos, direction.Value, color.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugRay.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugRay.cs.meta deleted file mode 100644 index f4ee14eb1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawDebugRay.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 408b1150e046afe418a4a54df0f31d2e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawStateLabel.cs b/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawStateLabel.cs deleted file mode 100644 index 28174988d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawStateLabel.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Debug)] - [Tooltip("Draws a state label for this FSM in the Game View. The label is drawn on the game object that owns the FSM. Use this to override the global setting in the PlayMaker Debug menu.")] - public class DrawStateLabel : FsmStateAction - { - [RequiredField] - [Tooltip("Set to True to show State labels, or False to hide them.")] - public FsmBool showLabel; - - public override void Reset() - { - showLabel = true; - } - - public override void OnEnter() - { - Fsm.ShowStateLabel = showLabel.Value; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawStateLabel.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawStateLabel.cs.meta deleted file mode 100644 index 10859cc9f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Debug/DrawStateLabel.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fb63ee17456c1d344b3111b2e201aa57 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device.meta b/Assets/ThirdParty/PlayMaker/Actions/Device.meta deleted file mode 100644 index 5d3322569..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 4c61ab8ddf47c2c4a948cdf50e8b7f43 -folderAsset: yes -timeCreated: 1504500881 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/DetectDeviceOrientation.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/DetectDeviceOrientation.cs deleted file mode 100644 index 467cad369..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/DetectDeviceOrientation.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// Depreciated -/* -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.InputDevice)] - [Tooltip("Sends an Event based on the Orientation of the mobile device.")] - public class DetectDeviceOrientation : FsmStateAction - { - [Tooltip("Note: If device is physically situated between discrete positions, as when (for example) rotated diagonally, system will report Unknown orientation.")] - public DeviceOrientation orientation; - [Tooltip("The event to send if the device orientation matches Orientation.")] - public FsmEvent sendEvent; - [Tooltip("Repeat every frame. Useful if you want to wait for the orientation to be true.")] - public bool everyFrame; - - public override void Reset() - { - orientation = DeviceOrientation.Portrait; - sendEvent = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoDetectDeviceOrientation(); - - if (!everyFrame) - Finish(); - } - - - public override void OnUpdate() - { - DoDetectDeviceOrientation(); - } - - void DoDetectDeviceOrientation() - { - if (Input.deviceOrientation == orientation) - Fsm.Event(sendEvent); - } - - } -} -*/ \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/DetectDeviceOrientation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/DetectDeviceOrientation.cs.meta deleted file mode 100644 index 45fe7acd2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/DetectDeviceOrientation.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ee9fdab5d94faa74199212719ee63055 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceOrientationEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceOrientationEvent.cs deleted file mode 100644 index 1118f798a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceOrientationEvent.cs +++ /dev/null @@ -1,52 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Sends an Event based on the Orientation of the mobile device.")] - public class DeviceOrientationEvent : FsmStateAction - { - [Tooltip("Note: If device is physically situated between discrete positions, as when (for example) rotated diagonally, system will report Unknown orientation.")] - public DeviceOrientation orientation; - - [Tooltip("The event to send if the device orientation matches Orientation.")] - public FsmEvent sendEvent; - - [Tooltip("Repeat every frame. Useful if you want to wait for the orientation to be true.")] - public bool everyFrame; - - public override void Reset() - { - orientation = DeviceOrientation.Portrait; - sendEvent = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoDetectDeviceOrientation(); - - if (!everyFrame) - { - Finish(); - } - } - - - public override void OnUpdate() - { - DoDetectDeviceOrientation(); - } - - void DoDetectDeviceOrientation() - { - if (Input.deviceOrientation == orientation) - { - Fsm.Event(sendEvent); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceOrientationEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceOrientationEvent.cs.meta deleted file mode 100644 index 021d008df..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceOrientationEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: eb3c398f2f2220c44ad7e329f8635c3a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/DevicePlayFullScreenMovie.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/DevicePlayFullScreenMovie.cs deleted file mode 100644 index 72aaac857..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/DevicePlayFullScreenMovie.cs +++ /dev/null @@ -1,43 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -#if (UNITY_EDITOR || UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID) - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Plays a full-screen movie on a handheld device. Please consult the Unity docs for Handheld.PlayFullScreenMovie for proper usage.")] - public class DevicePlayFullScreenMovie : FsmStateAction - { - [RequiredField] - [Tooltip("Note that player will stream movie directly from the iPhone disc, therefore you have to provide movie as a separate files and not as an usual asset.\nYou will have to create a folder named StreamingAssets inside your Unity project (inside your Assets folder). Store your movies inside that folder. Unity will automatically copy contents of that folder into the iPhone application bundle.")] - public FsmString moviePath; - - [RequiredField] - [Tooltip("This action will initiate a transition that fades the screen from your current content to the designated background color of the player. When playback finishes, the player uses another fade effect to transition back to your content.")] - public FsmColor fadeColor; - - [Tooltip("Options for displaying movie playback controls. See Unity docs.")] - public FullScreenMovieControlMode movieControlMode; - - [Tooltip("Scaling modes for displaying movies.. See Unity docs.")] - public FullScreenMovieScalingMode movieScalingMode; - - public override void Reset() - { - moviePath = ""; - fadeColor = Color.black; - - movieControlMode = FullScreenMovieControlMode.Full; - movieScalingMode = FullScreenMovieScalingMode.AspectFit; - } - - public override void OnEnter() - { - Handheld.PlayFullScreenMovie(moviePath.Value, fadeColor.Value, movieControlMode, movieScalingMode); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/DevicePlayFullScreenMovie.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/DevicePlayFullScreenMovie.cs.meta deleted file mode 100644 index 7ed5b1138..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/DevicePlayFullScreenMovie.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a4db7d99a54a59c47863f77a2301a3ed -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceShakeEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceShakeEvent.cs deleted file mode 100644 index 4a81c384f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceShakeEvent.cs +++ /dev/null @@ -1,35 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Sends an Event when the mobile device is shaken.")] - public class DeviceShakeEvent : FsmStateAction - { - [RequiredField] - [Tooltip("Amount of acceleration required to trigger the event. Higher numbers require a harder shake.")] - public FsmFloat shakeThreshold; - - [RequiredField] - [Tooltip("Event to send when Shake Threshold is exceeded.")] - public FsmEvent sendEvent; - - public override void Reset() - { - shakeThreshold = 3f; - sendEvent = null; - } - - public override void OnUpdate() - { - var acceleration = Input.acceleration; - - if (acceleration.sqrMagnitude > (shakeThreshold.Value * shakeThreshold.Value)) - { - Fsm.Event(sendEvent); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceShakeEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceShakeEvent.cs.meta deleted file mode 100644 index d1f702a0e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceShakeEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a03a10a50ae10254ea6e249ae73479b1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceVibrate.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceVibrate.cs deleted file mode 100644 index 082d39561..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceVibrate.cs +++ /dev/null @@ -1,22 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Causes the device to vibrate for half a second.")] - public class DeviceVibrate : FsmStateAction - { - public override void Reset() - {} - - public override void OnEnter() - { -#if (UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID) - Handheld.Vibrate(); -#endif - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceVibrate.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceVibrate.cs.meta deleted file mode 100644 index e06ce5649..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/DeviceVibrate.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7b6b6b9b693bbb449aeaf0fd1257a944 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceAcceleration.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceAcceleration.cs deleted file mode 100644 index c3099536c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceAcceleration.cs +++ /dev/null @@ -1,92 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Gets the last measured linear acceleration of a device and stores it in a Vector3 Variable.")] - public class GetDeviceAcceleration : FsmStateAction - { - // TODO: Figure out some nice mapping options for common use cases. -/* public enum MappingOptions - { - Flat, - Vertical - } - - [Tooltip("Flat is god for marble rolling games, vertical is good for Doodle Jump type games.")] - public MappingOptions mappingOptions; -*/ - - [UIHint(UIHint.Variable)] - public FsmVector3 storeVector; - [UIHint(UIHint.Variable)] - public FsmFloat storeX; - [UIHint(UIHint.Variable)] - public FsmFloat storeY; - [UIHint(UIHint.Variable)] - public FsmFloat storeZ; - public FsmFloat multiplier; - public bool everyFrame; - - public override void Reset() - { - storeVector = null; - storeX = null; - storeY = null; - storeZ = null; - multiplier = 1; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetDeviceAcceleration(); - - if (!everyFrame) - Finish(); - } - - - public override void OnUpdate() - { - DoGetDeviceAcceleration(); - } - - void DoGetDeviceAcceleration() - { -/* var dir = Vector3.zero; - - switch (mappingOptions) - { - case MappingOptions.Flat: - - dir.x = Input.acceleration.x; - dir.y = Input.acceleration.z; - dir.z = Input.acceleration.y; - break; - - - case MappingOptions.Vertical: - dir.x = Input.acceleration.x; - dir.y = Input.acceleration.y; - dir.z = Input.acceleration.x; - break; - } -*/ - var dir = new Vector3(Input.acceleration.x, Input.acceleration.y, Input.acceleration.z); - - if (!multiplier.IsNone) - { - dir *= multiplier.Value; - } - - storeVector.Value = dir; - storeX.Value = dir.x; - storeY.Value = dir.y; - storeZ.Value = dir.z; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceAcceleration.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceAcceleration.cs.meta deleted file mode 100644 index 41ad28a6a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceAcceleration.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c9dcc17af4114204f800d38a9aaf19ac -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceRoll.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceRoll.cs deleted file mode 100644 index b8f2d988c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceRoll.cs +++ /dev/null @@ -1,86 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Gets the rotation of the device around its z axis (into the screen). For example when you steer with the iPhone in a driving game.")] - public class GetDeviceRoll : FsmStateAction - { - public enum BaseOrientation - { - Portrait, - LandscapeLeft, - LandscapeRight - } - - [Tooltip("How the user is expected to hold the device (where angle will be zero).")] - public BaseOrientation baseOrientation; - [UIHint(UIHint.Variable)] - public FsmFloat storeAngle; - public FsmFloat limitAngle; - public FsmFloat smoothing; - public bool everyFrame; - - private float lastZAngle; - - public override void Reset() - { - baseOrientation = BaseOrientation.LandscapeLeft; - storeAngle = null; - limitAngle = new FsmFloat { UseVariable = true }; - smoothing = 5f; - everyFrame = true; - } - - public override void OnEnter() - { - DoGetDeviceRoll(); - - if (!everyFrame) - Finish(); - } - - - public override void OnUpdate() - { - DoGetDeviceRoll(); - } - - void DoGetDeviceRoll() - { - float x = Input.acceleration.x; - float y = Input.acceleration.y; - float zAngle = 0; - - switch (baseOrientation) - { - case BaseOrientation.Portrait: - zAngle = -Mathf.Atan2(x, -y); - break; - case BaseOrientation.LandscapeLeft: - zAngle = Mathf.Atan2(y, -x); - break; - case BaseOrientation.LandscapeRight: - zAngle = -Mathf.Atan2(y, x); - break; - } - - if (!limitAngle.IsNone) - { - zAngle = Mathf.Clamp(Mathf.Rad2Deg * zAngle, -limitAngle.Value, limitAngle.Value); - } - - if (smoothing.Value > 0) - { - zAngle = Mathf.LerpAngle(lastZAngle, zAngle, smoothing.Value * Time.deltaTime); - } - - lastZAngle = zAngle; - - storeAngle.Value = zAngle; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceRoll.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceRoll.cs.meta deleted file mode 100644 index 646ea058c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetDeviceRoll.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 92027fbdffd3cea4ca2ceb09a13add18 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetIPhoneSettings.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/GetIPhoneSettings.cs deleted file mode 100644 index e10961b83..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetIPhoneSettings.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Get various iPhone settings.")] - public class GetIPhoneSettings : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Allows device to fall into 'sleep' state with screen being dim if no touches occurred. Default value is true.")] - public FsmBool getScreenCanDarken; - - [UIHint(UIHint.Variable)] - [Tooltip("A unique device identifier string. It is guaranteed to be unique for every device (Read Only).")] - public FsmString getUniqueIdentifier; - - [UIHint(UIHint.Variable)] - [Tooltip("The user defined name of the device (Read Only).")] - public FsmString getName; - - [UIHint(UIHint.Variable)] - [Tooltip("The model of the device (Read Only).")] - public FsmString getModel; - - [UIHint(UIHint.Variable)] - [Tooltip("The name of the operating system running on the device (Read Only).")] - public FsmString getSystemName; - - [UIHint(UIHint.Variable)] - [Tooltip("The generation of the device (Read Only).")] - public FsmString getGeneration; - - public override void Reset() - { - getScreenCanDarken = null; - getUniqueIdentifier = null; - getName = null; - getModel = null; - getSystemName = null; - getGeneration = null; - } - - public override void OnEnter() - { -#if UNITY_IPHONE || UNITY_IOS - - getScreenCanDarken.Value = Screen.sleepTimeout > 0f; //iPhoneSettings.screenCanDarken; - getUniqueIdentifier.Value = SystemInfo.deviceUniqueIdentifier; //iPhoneSettings.uniqueIdentifier; - getName.Value = SystemInfo.deviceName; //iPhoneSettings.name; - getModel.Value = SystemInfo.deviceModel; //iPhoneSettings.model; - getSystemName.Value = SystemInfo.operatingSystem; //iPhoneSettings.systemName; -#if UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 - getGeneration.Value = iPhone.generation.ToString(); -#else - getGeneration.Value = UnityEngine.iOS.Device.generation.ToString(); -#endif -#endif - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetIPhoneSettings.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/GetIPhoneSettings.cs.meta deleted file mode 100644 index 7370157b8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetIPhoneSettings.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 75228a05fe3d0d04080e899b8b2704ad -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetLocationInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/GetLocationInfo.cs deleted file mode 100644 index 24aa9b4d7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetLocationInfo.cs +++ /dev/null @@ -1,75 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Gets Location Info from a mobile device. NOTE: Use StartLocationService before trying to get location info.")] - public class GetLocationInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - public FsmVector3 vectorPosition; - [UIHint(UIHint.Variable)] - public FsmFloat longitude; - [UIHint(UIHint.Variable)] - public FsmFloat latitude; - [UIHint(UIHint.Variable)] - public FsmFloat altitude; - [UIHint(UIHint.Variable)] - public FsmFloat horizontalAccuracy; - [UIHint(UIHint.Variable)] - public FsmFloat verticalAccuracy; - // TODO: figure out useful way to expose timeStamp - // maybe how old is the location...? - //[UIHint(UIHint.Variable)] - //[Tooltip("Timestamp (in seconds since the game started) when location was last updated.")] - //public FsmFloat timeStamp; - [Tooltip("Event to send if the location cannot be queried.")] - public FsmEvent errorEvent; - - public override void Reset() - { - longitude = null; - latitude = null; - altitude = null; - horizontalAccuracy = null; - verticalAccuracy = null; - //timeStamp = null; - errorEvent = null; - } - - public override void OnEnter() - { - DoGetLocationInfo(); - - Finish(); - } - - void DoGetLocationInfo() - { -#if UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_BLACKBERRY || UNITY_WP8 - - if (Input.location.status != LocationServiceStatus.Running) - { - Fsm.Event(errorEvent); - return; - } - - float x = Input.location.lastData.longitude; - float y = Input.location.lastData.latitude; - float z = Input.location.lastData.altitude; - - vectorPosition.Value = new Vector3(x,y,z); - - longitude.Value = x; - latitude.Value = y; - altitude.Value = z; - - horizontalAccuracy.Value = Input.location.lastData.horizontalAccuracy; - verticalAccuracy.Value = Input.location.lastData.verticalAccuracy; - -#endif - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetLocationInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/GetLocationInfo.cs.meta deleted file mode 100644 index e3cfd96f7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetLocationInfo.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 083716b1d12bae54db4cfe69d822cccf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchCount.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchCount.cs deleted file mode 100644 index 50627bfdb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchCount.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Gets the number of Touches.")] - public class GetTouchCount : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the current number of touches in an Int Variable.")] - public FsmInt storeCount; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - storeCount = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetTouchCount(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetTouchCount(); - } - - void DoGetTouchCount() - { - storeCount.Value = Input.touchCount; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchCount.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchCount.cs.meta deleted file mode 100644 index 05a2144e6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchCount.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b64c8446f7450a44ba67b31d3853ca79 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchInfo.cs deleted file mode 100644 index d72242daa..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchInfo.cs +++ /dev/null @@ -1,105 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Gets info on a touch event.")] - public class GetTouchInfo : FsmStateAction - { - [Tooltip("Filter by a Finger ID. You can store a Finger ID in other Touch actions, e.g., Touch Event.")] - public FsmInt fingerId; - [Tooltip("If true, all screen coordinates are returned normalized (0-1), otherwise in pixels.")] - public FsmBool normalize; - [UIHint(UIHint.Variable)] - public FsmVector3 storePosition; - [UIHint(UIHint.Variable)] - public FsmFloat storeX; - [UIHint(UIHint.Variable)] - public FsmFloat storeY; - [UIHint(UIHint.Variable)] - public FsmVector3 storeDeltaPosition; - [UIHint(UIHint.Variable)] - public FsmFloat storeDeltaX; - [UIHint(UIHint.Variable)] - public FsmFloat storeDeltaY; - [UIHint(UIHint.Variable)] - public FsmFloat storeDeltaTime; - [UIHint(UIHint.Variable)] - public FsmInt storeTapCount; - - public bool everyFrame = true; - - float screenWidth; - float screenHeight; - - public override void Reset() - { - fingerId = new FsmInt { UseVariable = true }; - normalize = true; - storePosition = null; - storeDeltaPosition = null; - storeDeltaTime = null; - storeTapCount = null; - everyFrame = true; - } - - public override void OnEnter() - { - screenWidth = Screen.width; - screenHeight = Screen.height; - - DoGetTouchInfo(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetTouchInfo(); - } - - void DoGetTouchInfo() - { - if (Input.touchCount > 0) - { - foreach (var touch in Input.touches) - { - if (fingerId.IsNone || touch.fingerId == fingerId.Value) - { - float x = normalize.Value == false ? touch.position.x : touch.position.x / screenWidth; - float y = normalize.Value == false ? touch.position.y : touch.position.y / screenHeight; - - if (!storePosition.IsNone) - { - storePosition.Value = new Vector3(x, y, 0); - } - - storeX.Value = x; - storeY.Value = y; - - float deltax = normalize.Value == false ? touch.deltaPosition.x : touch.deltaPosition.x / screenWidth; - float deltay = normalize.Value == false ? touch.deltaPosition.y : touch.deltaPosition.y / screenHeight; - - if (!storeDeltaPosition.IsNone) - { - storeDeltaPosition.Value = new Vector3(deltax, deltay, 0); - } - - storeDeltaX.Value = deltax; - storeDeltaY.Value = deltay; - - storeDeltaTime.Value = touch.deltaTime; - storeTapCount.Value = touch.tapCount; - } - } - } - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchInfo.cs.meta deleted file mode 100644 index 01d6d8b5e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/GetTouchInfo.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4f1f2c212c98dba40b9321d85fac7d83 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/ProjectLocationToMap.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/ProjectLocationToMap.cs deleted file mode 100644 index 21751cc77..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/ProjectLocationToMap.cs +++ /dev/null @@ -1,157 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Projects the location found with Get Location Info to a 2d map using common projections.")] - public class ProjectLocationToMap : FsmStateAction - { - // TODO: more projections - public enum MapProjection - { - EquidistantCylindrical, - Mercator - } - - [Tooltip("Location vector in degrees longitude and latitude. Typically returned by the Get Location Info action.")] - public FsmVector3 GPSLocation; - - [Tooltip("The projection used by the map.")] - public MapProjection mapProjection; - - [ActionSection("Map Region")] - - //TODO: FsmRect screen region - - [HasFloatSlider(-180,180)] - public FsmFloat minLongitude; - - [HasFloatSlider(-180,180)] - public FsmFloat maxLongitude; - - [HasFloatSlider(-90,90)] - public FsmFloat minLatitude; - - [HasFloatSlider(-90,90)] - public FsmFloat maxLatitude; - - [ActionSection("Screen Region")] - - //TODO: FsmRect screen region - - public FsmFloat minX; - public FsmFloat minY; - public FsmFloat width; - public FsmFloat height; - - [ActionSection("Projection")] - - [UIHint(UIHint.Variable)] - [Tooltip("Store the projected X coordinate in a Float Variable. Use this to display a marker on the map.")] - public FsmFloat projectedX; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the projected Y coordinate in a Float Variable. Use this to display a marker on the map.")] - public FsmFloat projectedY; - - [Tooltip("If true all coordinates in this action are normalized (0-1); otherwise coordinates are in pixels.")] - public FsmBool normalized; - - public bool everyFrame; - - private float x,y; - - public override void Reset() - { - GPSLocation = new FsmVector3 { UseVariable = true }; - mapProjection = MapProjection.EquidistantCylindrical; - - minLongitude = -180f; - maxLongitude = 180f; - minLatitude = -90f; - maxLatitude = 90f; - - minX = 0; - minY = 0; - width = 1; - height = 1; - normalized = true; - - projectedX = null; - projectedY = null; - - everyFrame = false; - } - - public override void OnEnter() - { - if (GPSLocation.IsNone) - { - Finish(); - return; - } - - DoProjectGPSLocation(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoProjectGPSLocation(); - } - - void DoProjectGPSLocation() - { - x = Mathf.Clamp(GPSLocation.Value.x, minLongitude.Value, maxLongitude.Value); - y = Mathf.Clamp(GPSLocation.Value.y, minLatitude.Value, maxLatitude.Value); - - // projection methods should produce normalized coordinates inside the map region - - switch (mapProjection) - { - case MapProjection.EquidistantCylindrical: - DoEquidistantCylindrical(); - break; - - case MapProjection.Mercator: - DoMercatorProjection(); - break; - } - - x *= width.Value; - y *= height.Value; - - projectedX.Value = normalized.Value ? minX.Value + x : minX.Value + x * Screen.width; - projectedY.Value = normalized.Value ? minY.Value + y : minY.Value + y * Screen.height; - } - - void DoEquidistantCylindrical() - { - x = (x - minLongitude.Value) / (maxLongitude.Value - minLongitude.Value); - y = (y - minLatitude.Value) / (maxLatitude.Value - minLatitude.Value); - } - - void DoMercatorProjection() - { - x = (x - minLongitude.Value) / (maxLongitude.Value - minLongitude.Value); - - var minYProjected = LatitudeToMercator(minLatitude.Value); - var maxYProjected = LatitudeToMercator(maxLatitude.Value); - - y = (LatitudeToMercator(GPSLocation.Value.y) - minYProjected) / (maxYProjected - minYProjected); - } - - static float LatitudeToMercator(float latitudeInDegrees) - { - var lat = Mathf.Clamp(latitudeInDegrees, -85, 85); - lat = Mathf.Deg2Rad * lat; - return Mathf.Log(Mathf.Tan(lat / 2f + Mathf.PI / 4f)); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/ProjectLocationToMap.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/ProjectLocationToMap.cs.meta deleted file mode 100644 index beec6eba7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/ProjectLocationToMap.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ee930a4ffcdc9264c84ed0aa9ca07647 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/StartLocationServiceUpdates.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/StartLocationServiceUpdates.cs deleted file mode 100644 index c285e5cd1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/StartLocationServiceUpdates.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Starts location service updates. Last location coordinates can be retrieved with GetLocationInfo.")] - public class StartLocationServiceUpdates : FsmStateAction - { - [Tooltip("Maximum time to wait in seconds before failing.")] - public FsmFloat maxWait; - public FsmFloat desiredAccuracy; - public FsmFloat updateDistance; - [Tooltip("Event to send when the location services have started.")] - public FsmEvent successEvent; - [Tooltip("Event to send if the location services fail to start.")] - public FsmEvent failedEvent; - -#if UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_BLACKBERRY || UNITY_WP8 - float startTime; -#endif - public override void Reset() - { - maxWait = 20; - desiredAccuracy = 10; - updateDistance = 10; - successEvent = null; - failedEvent = null; - } - - public override void OnEnter() - { -#if UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_BLACKBERRY || UNITY_WP8 - startTime = FsmTime.RealtimeSinceStartup; - - Input.location.Start(desiredAccuracy.Value, updateDistance.Value); -#else - Finish(); -#endif - } - - public override void OnUpdate() - { -#if UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_BLACKBERRY || UNITY_WP8 - - if (Input.location.status == LocationServiceStatus.Failed || - Input.location.status == LocationServiceStatus.Stopped || - (FsmTime.RealtimeSinceStartup - startTime) > maxWait.Value ) - { - Fsm.Event(failedEvent); - Finish(); - } - - if (Input.location.status == LocationServiceStatus.Running) - { - Fsm.Event(successEvent); - Finish(); - } -#endif - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/StartLocationServiceUpdates.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/StartLocationServiceUpdates.cs.meta deleted file mode 100644 index 5acd88319..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/StartLocationServiceUpdates.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a2cd1b09e9c55ea44a57e9df022277c7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/StopLocationServiceUpdates.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/StopLocationServiceUpdates.cs deleted file mode 100644 index 73d089d5c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/StopLocationServiceUpdates.cs +++ /dev/null @@ -1,23 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Stops location service updates. This could be useful for saving battery life.")] - public class StopLocationServiceUpdates : FsmStateAction - { - public override void Reset() - { - } - - public override void OnEnter() - { -#if UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_BLACKBERRY || UNITY_WP8 - Input.location.Stop(); -#endif - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/StopLocationServiceUpdates.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/StopLocationServiceUpdates.cs.meta deleted file mode 100644 index 43c87ef83..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/StopLocationServiceUpdates.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 31f8e229414b84e4bab36e3258d73312 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/SwipeGestureEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/SwipeGestureEvent.cs deleted file mode 100644 index c73bce93e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/SwipeGestureEvent.cs +++ /dev/null @@ -1,144 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - // TODO: fairly basic right now - // should have more options and be more robust, e.g., other fingers. - - [ActionCategory(ActionCategory.Device)] - [Tooltip("Sends an event when a swipe is detected.")] - public class SwipeGestureEvent : FsmStateAction - { - [Tooltip("How far a touch has to travel to be considered a swipe. Uses normalized distance (e.g. 1 = 1 screen diagonal distance). Should generally be a very small number.")] - public FsmFloat minSwipeDistance; - - [Tooltip("Event to send when swipe left detected.")] - public FsmEvent swipeLeftEvent; - [Tooltip("Event to send when swipe right detected.")] - public FsmEvent swipeRightEvent; - [Tooltip("Event to send when swipe up detected.")] - public FsmEvent swipeUpEvent; - [Tooltip("Event to send when swipe down detected.")] - public FsmEvent swipeDownEvent; - - // TODO -/* [UIHint(UIHint.Variable)] - [Tooltip("Store the speed of the swipe.")] - public FsmFloat getSpeed; - [UIHint(UIHint.Variable)] - [Tooltip("Store the distance the swipe traveled.")] - public FsmFloat getDistance;*/ - - float screenDiagonalSize; - float minSwipeDistancePixels; - bool touchStarted; - Vector2 touchStartPos; - //float touchStartTime; - - public override void Reset() - { - minSwipeDistance = 0.1f; - swipeLeftEvent = null; - swipeRightEvent = null; - swipeUpEvent = null; - swipeDownEvent = null; - } - - public override void OnEnter() - { - screenDiagonalSize = Mathf.Sqrt(Screen.width * Screen.width + Screen.height * Screen.height); - minSwipeDistancePixels = minSwipeDistance.Value * screenDiagonalSize; - } - - public override void OnUpdate() - { - if (Input.touchCount > 0) - { - var touch = Input.touches[0]; - - switch (touch.phase) - { - case TouchPhase.Began: - - touchStarted = true; - touchStartPos = touch.position; - //touchStartTime = FsmTime.RealtimeSinceStartup; - - break; - - case TouchPhase.Ended: - - if (touchStarted) - { - TestForSwipeGesture(touch); - touchStarted = false; - } - - break; - - case TouchPhase.Canceled: - - touchStarted = false; - - break; - - case TouchPhase.Stationary: - -/* if (touchStarted) - { - // don't want idle time to count towards swipe - - touchStartPos = touch.position; - touchStartTime = FsmTime.RealtimeSinceStartup; - }*/ - - break; - - case TouchPhase.Moved: - - break; - } - } - } - - void TestForSwipeGesture(Touch touch) - { - // test min distance - - var lastPos = touch.position; - var distance = Vector2.Distance(lastPos, touchStartPos); - - if (distance > minSwipeDistancePixels) - { - float dy = lastPos.y - touchStartPos.y; - float dx = lastPos.x - touchStartPos.x; - - float angle = Mathf.Rad2Deg * Mathf.Atan2(dx, dy); - - angle = (360 + angle - 45) % 360; - - Debug.Log (angle); - - if (angle < 90) - { - Fsm.Event(swipeRightEvent); - } - else if (angle < 180) - { - Fsm.Event(swipeDownEvent); - } - else if (angle < 270) - { - Fsm.Event(swipeLeftEvent); - } - else - { - Fsm.Event(swipeUpEvent); - } - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/SwipeGestureEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/SwipeGestureEvent.cs.meta deleted file mode 100644 index a07ce9fff..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/SwipeGestureEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 66431494506220f4b84c08b4d259d7dc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/TouchEvent.cs deleted file mode 100644 index 5e454ee1e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchEvent.cs +++ /dev/null @@ -1,42 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Sends events based on Touch Phases. Optionally filter by a fingerID.")] - public class TouchEvent : FsmStateAction - { - public FsmInt fingerId; - public TouchPhase touchPhase; - public FsmEvent sendEvent; - [UIHint(UIHint.Variable)] - public FsmInt storeFingerId; - - public override void Reset() - { - fingerId = new FsmInt { UseVariable = true } ; - storeFingerId = null; - } - - public override void OnUpdate() - { - if (Input.touchCount > 0) - { - foreach (var touch in Input.touches) - { - - if (fingerId.IsNone || touch.fingerId == fingerId.Value) - { - if (touch.phase == touchPhase) - { - storeFingerId.Value = touch.fingerId; - Fsm.Event(sendEvent); - } - } - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/TouchEvent.cs.meta deleted file mode 100644 index a685291a8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 393d647b57c36af45b57947a4078b1ed -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchGUIEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/TouchGUIEvent.cs deleted file mode 100644 index 59867ab85..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchGUIEvent.cs +++ /dev/null @@ -1,272 +0,0 @@ -// (c) Copyright HutongGames, LLC. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Sends events when a GUI Texture or GUI Text is touched. Optionally filter by a fingerID.")] - - #if UNITY_2019_3_OR_NEWER - [Obsolete("GUIElement is part of the legacy UI system removed in 2019.3")] - #elif UNITY_2017_2_OR_NEWER - #pragma warning disable CS0618 - [Obsolete("GUIElement is part of the legacy UI system and will be removed in a future release")] - #endif - public class TouchGUIEvent : FsmStateAction - { - [RequiredField] -#if !UNITY_2019_3_OR_NEWER - [CheckForComponent(typeof(GUIElement))] -#else - [ActionSection("Obsolete. Use Unity UI instead.")] -#endif - [Tooltip("The Game Object that owns the GUI Texture or GUI Text.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Only detect touches that match this fingerID, or set to None.")] - public FsmInt fingerId; - - [ActionSection("Events")] - - [Tooltip("Event to send on touch began.")] - public FsmEvent touchBegan; - - [Tooltip("Event to send on touch moved.")] - public FsmEvent touchMoved; - - [Tooltip("Event to send on stationary touch.")] - public FsmEvent touchStationary; - - [Tooltip("Event to send on touch ended.")] - public FsmEvent touchEnded; - - [Tooltip("Event to send on touch cancel.")] - public FsmEvent touchCanceled; - - [Tooltip("Event to send if not touching (finger down but not over the GUI element)")] - public FsmEvent notTouching; - - [ActionSection("Store Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("Store the fingerId of the touch.")] - public FsmInt storeFingerId; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the screen position where the GUI element was touched.")] - public FsmVector3 storeHitPoint; - - [Tooltip("Normalize the hit point screen coordinates (0-1).")] - public FsmBool normalizeHitPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the offset position of the hit.")] - public FsmVector3 storeOffset; - - [Tooltip("How to measure the offset.")] - public OffsetOptions relativeTo; - - public enum OffsetOptions - { - TopLeft, - Center, - TouchStart - } - - [Tooltip("Normalize the offset.")] - public FsmBool normalizeOffset; - - [ActionSection("")] - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - // private work variables - - private Vector3 touchStartPos; - -#if !UNITY_2019_3_OR_NEWER - private GUIElement guiElement; -#endif - - public override void Reset() - { - gameObject = null; - fingerId = new FsmInt { UseVariable = true }; - - touchBegan = null; - touchMoved = null; - touchStationary = null; - touchEnded = null; - touchCanceled = null; - - storeFingerId = null; - storeHitPoint = null; - normalizeHitPoint = false; - storeOffset = null; - relativeTo = OffsetOptions.Center; - normalizeOffset = true; - - everyFrame = true; - } - - public override void OnEnter() - { -#if !UNITY_2019_3_OR_NEWER - DoTouchGUIEvent(); - - if (!everyFrame) - { - Finish(); - } -#else - Finish(); -#endif - } - -#if !UNITY_2019_3_OR_NEWER - public override void OnUpdate() - { - DoTouchGUIEvent(); - } - - void DoTouchGUIEvent() - { - if (Input.touchCount > 0) - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - guiElement = go.GetComponent() ?? (GUIElement) go.GetComponent(); - - if (guiElement == null) - { - return; - } - - foreach (var touch in Input.touches) - { - DoTouch(touch); - } - } - } - - void DoTouch(Touch touch) - { - // Filter by finger ID - - if (fingerId.IsNone || touch.fingerId == fingerId.Value) - { - // Get the screen position of the touch - - Vector3 touchPos = touch.position; - - // Is touchPos inside the guiElement's rect - - if (guiElement.HitTest(touchPos)) - { - // First touch? - - if (touch.phase == TouchPhase.Began) - { - touchStartPos = touchPos; - } - - // Store results - - storeFingerId.Value = touch.fingerId; - - if (normalizeHitPoint.Value) - { - touchPos.x /= Screen.width; - touchPos.y /= Screen.height; - } - - storeHitPoint.Value = touchPos; - - // Store touch offset - - DoTouchOffset(touchPos); - - // Send Events - - switch (touch.phase) - { - case TouchPhase.Began: - Fsm.Event(touchBegan); - return; - - case TouchPhase.Moved: - Fsm.Event(touchMoved); - return; - - case TouchPhase.Stationary: - Fsm.Event(touchStationary); - return; - - case TouchPhase.Ended: - Fsm.Event(touchEnded); - return; - - case TouchPhase.Canceled: - Fsm.Event(touchCanceled); - return; - } - } - else - { - Fsm.Event(notTouching); - } - } - } - - void DoTouchOffset(Vector3 touchPos) - { - if (storeOffset.IsNone) - { - return; - } - - var guiRect = guiElement.GetScreenRect(); - var offset = new Vector3(); - - switch (relativeTo) - { - case OffsetOptions.TopLeft: - - offset.x = touchPos.x - guiRect.x; - offset.y = touchPos.y - guiRect.y; - - break; - - case OffsetOptions.Center: - - var center = new Vector3(guiRect.x + guiRect.width * 0.5f, guiRect.y + guiRect.height * 0.5f, 0); - offset = touchPos - center; - - break; - - case OffsetOptions.TouchStart: - - offset = touchPos - touchStartPos; - - break; - } - - if (normalizeOffset.Value) - { - offset.x /= guiRect.width; - offset.y /= guiRect.height; - } - - storeOffset.Value = offset; - } - -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchGUIEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/TouchGUIEvent.cs.meta deleted file mode 100644 index b4e83828f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchGUIEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 31371b1c65846cd49ab0207915507fd8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchObjectEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Device/TouchObjectEvent.cs deleted file mode 100644 index 9480fdc9e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchObjectEvent.cs +++ /dev/null @@ -1,140 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [ActionTarget(typeof(GameObject), "gameObject")] - [Tooltip("Sends events when an object is touched. Optionally filter by a fingerID. NOTE: Uses the MainCamera!")] - public class TouchObjectEvent : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Collider))] - [Tooltip("The Game Object to detect touches on.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("How far from the camera is the Game Object pickable.")] - public FsmFloat pickDistance; - - [Tooltip("Only detect touches that match this fingerID, or set to None.")] - public FsmInt fingerId; - - [ActionSection("Events")] - - [Tooltip("Event to send on touch began.")] - public FsmEvent touchBegan; - - [Tooltip("Event to send on touch moved.")] - public FsmEvent touchMoved; - - [Tooltip("Event to send on stationary touch.")] - public FsmEvent touchStationary; - - [Tooltip("Event to send on touch ended.")] - public FsmEvent touchEnded; - - [Tooltip("Event to send on touch cancel.")] - public FsmEvent touchCanceled; - - [ActionSection("Store Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("Store the fingerId of the touch.")] - public FsmInt storeFingerId; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the world position where the object was touched.")] - public FsmVector3 storeHitPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the surface normal vector where the object was touched.")] - public FsmVector3 storeHitNormal; - - public override void Reset() - { - gameObject = null; - pickDistance = 100; - fingerId = new FsmInt { UseVariable = true }; - - touchBegan = null; - touchMoved = null; - touchStationary = null; - touchEnded = null; - touchCanceled = null; - - storeFingerId = null; - storeHitPoint = null; - storeHitNormal = null; - } - - public override void OnUpdate() - { - if (Camera.main == null) - { - LogError("No MainCamera defined!"); - Finish(); - return; - } - - if (Input.touchCount > 0) - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - foreach (var touch in Input.touches) - { - if (fingerId.IsNone || touch.fingerId == fingerId.Value) - { - var screenPos = touch.position; - - RaycastHit hitInfo; - Physics.Raycast(Camera.main.ScreenPointToRay(screenPos), out hitInfo, pickDistance.Value); - - // Store hitInfo so it can be accessed by other actions - // E.g., Get Raycast Hit Info - Fsm.RaycastHitInfo = hitInfo; - - if (hitInfo.transform != null) - { - if (hitInfo.transform.gameObject == go) - { - storeFingerId.Value = touch.fingerId; - storeHitPoint.Value = hitInfo.point; - storeHitNormal.Value = hitInfo.normal; - - switch (touch.phase) - { - case TouchPhase.Began: - Fsm.Event(touchBegan); - return; - - case TouchPhase.Moved: - Fsm.Event(touchMoved); - return; - - case TouchPhase.Stationary: - Fsm.Event(touchStationary); - return; - - case TouchPhase.Ended: - Fsm.Event(touchEnded); - return; - - case TouchPhase.Canceled: - Fsm.Event(touchCanceled); - return; - } - } - } - } - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchObjectEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Device/TouchObjectEvent.cs.meta deleted file mode 100644 index d44905318..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Device/TouchObjectEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 68b93ab07745712458231ad1ded58d0e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/EaseEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/EaseEditor.cs deleted file mode 100644 index 8486673a1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/EaseEditor.cs +++ /dev/null @@ -1,191 +0,0 @@ -// #define DEBUG_EASEEDITOR - -#if UNITY_EDITOR - -using HutongGames.PlayMaker; -using UnityEditor; -using UnityEngine; - -namespace HutongGames -{ - public class EaseEditor - { - /* Cache if needed for perf - private static Dictionary pointCache; - private int cachedStepCount; - - private static void BuildPointCache() - { - } - */ - - private static EasingFunction.Ease debugged; - - private const int maxCurvePoints = 200; - private static readonly Vector3[] pointBuffer = new Vector3[maxCurvePoints]; - - /* WIP edit time scrub bar and play button - Maybe move to own class so can re-use (e.g. ActionHelpers) - private static readonly GUIContent scrubLabel = new GUIContent("Preview", "Preview tween in the Scene View."); - - private static Texture _playIcon; - - private static Texture playIcon - { - get - { - if (_playIcon == null) - { - _playIcon = EditorGUIUtility.IconContent("IN foldout act").image; - } - - return _playIcon; - } - } - - private static GUIStyle _buttonStyle; - - private static GUIStyle buttonStyle - { - get - { - if (_buttonStyle == null) - { - _buttonStyle = new GUIStyle("Button"); - _buttonStyle.padding = new RectOffset(2,2,0,0); - } - - return _buttonStyle; - } - } - */ - - /// - /// Draws scrubbing controls and a preview curve for EasingFunctions - /// - /// The Ease function to preview - /// Did the user hit Play in the scrubbing slider - /// Used to draw the current time on the preview - /// Color used to draw current time - public static void DrawPreviewCurve(EasingFunction.Ease ease, ref bool playPreview, ref float currentTime, Color currentTimeColor) - { - /* WIP edit time preview - if (!EditorApplication.isPlaying) - { - GUILayout.BeginHorizontal(); - - EditorGUILayout.PrefixLabel(scrubLabel); - - playPreview = GUILayout.Toggle(playPreview, playIcon, buttonStyle, GUILayout.Height(15f), GUILayout.Width(17f)); - - EditorGUI.BeginChangeCheck(); - currentTime = EditorGUILayout.Slider(currentTime, 0, 1); - if (EditorGUI.EndChangeCheck()) - playPreview = false; - - GUILayout.EndHorizontal(); - }*/ - - if (ease == EasingFunction.Ease.CustomCurve) return; - - var area = ActionHelpers.GetControlPreviewRect(40f); - - // some ease functions overshoot 0 and 1 - // so leave some margins at top/bottom - - const float overflow = .25f; - var yRange = area.height * (1 - 2 * overflow); - - // setup the range - - var origin = new Vector2(area.x, area.yMax - area.height * overflow); - var yMax = new Vector2(area.x, area.y + area.height * overflow); - - // draw axis (horizontal lines at 0 and 1) - - var axisColor = EditorStyles.label.normal.textColor; - axisColor.a = 0.2f; - Handles.color = axisColor; - - Handles.DrawLine(origin, new Vector3(area.xMax, origin.y)); - Handles.DrawLine(yMax, new Vector3(area.xMax, yMax.y)); - - // draw curve - - Handles.color = EditorStyles.label.normal.textColor; - - var func = EasingFunction.GetEasingFunction(ease); - var derivFunc = EasingFunction.GetEasingFunctionDerivative(ease); - - var numSampleSteps = (int) area.width / 2; - - // add start point: (0,0) - - pointBuffer[0] = new Vector3(origin.x, origin.y); - - // only add points to the curve when curve threshold is exceeded - // e.g. so a linear ease will only have 2 points - - const float curveThreshold = 0.05f; - var prevSlope = 0f; - - var pointIndex = 1; - for (var i = 1; i < numSampleSteps && pointIndex < maxCurvePoints-1 ; i++) - { - var step = i / (float) numSampleSteps; - var y = func(0, 1, step); - var slope = derivFunc(0, 1, step); - - if (Mathf.Abs(slope - prevSlope) > curveThreshold || - Mathf.Sign(slope) != Mathf.Sign(prevSlope)) - { - prevSlope = slope; - pointBuffer[pointIndex++] = new Vector3(origin.x + step * area.width, origin.y - y * yRange); - } - } - - // add last point: (1,1) - - pointBuffer[pointIndex] = new Vector3(area.xMax, origin.y - yRange); - - // draw the curve - - Handles.DrawAAPolyLine(2, pointIndex+1, pointBuffer); - - // draw current time - - if (Application.isPlaying && currentTime > 0) - { - var x = area.x + area.width * currentTime; - var y = origin.y -func(0, 1, currentTime) * yRange; - - var guiColor = GUI.color; - GUI.color = currentTimeColor; - GUI.DrawTexture(new Rect(x-1,y-1,2,2), EditorGUIUtility.whiteTexture); - GUI.color = new Color(GUI.color.r, GUI.color.g, GUI.color.b, 0.2f); - GUI.DrawTexture(new Rect(x-1,area.y,2,area.height), EditorGUIUtility.whiteTexture); - GUI.color = guiColor; - - //Handles.DrawLine(new Vector3(x, area.y), new Vector3(x, area.yMax)); - } - - // need to do this? - Handles.color = Color.white; - - -#if DEBUG_EASEEDITOR - -// debug the number of points generated when sampling this curve - - if (debugged != ease && pointIndex > 1) - { - Debug.Log(pointIndex); - debugged = ease; - } -#endif - - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/EaseEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/EaseEditor.cs.meta deleted file mode 100644 index 302779945..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/EaseEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1dd2a7c0f80bd684c86bf2eacbc0734f -timeCreated: 1523111672 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/EasingFunction.cs b/Assets/ThirdParty/PlayMaker/Actions/EasingFunction.cs deleted file mode 100644 index 46f67d977..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/EasingFunction.cs +++ /dev/null @@ -1,1150 +0,0 @@ -using UnityEngine; - -/* https://gist.githubusercontent.com/cjddmut/d789b9eb78216998e95c - * - * Created by C.J. Kimberlin (http://cjkimberlin.com) - * - * The MIT License (MIT) - * - * Copyright (c) 2015 - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - * - * TERMS OF USE - EASING EQUATIONS - * Open source under the BSD License. - * Copyright (c)2001 Robert Penner - * All rights reserved. - * Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - * Neither the name of the author nor the names of contributors may be used to endorse or promote products derived from this software without specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, - * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE - * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; - * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * - * ============= Description ============= - * - * Below is an example of how to use the easing functions in the file. There is a getting function that will return the function - * from an enum. This is useful since the enum can be exposed in the editor and then the function queried during Start(). - * - * EasingFunction.Ease ease = EasingFunction.Ease.EaseInOutQuad; - * EasingFunction.EasingFunc func = GetEasingFunction(ease; - * - * float value = func(0, 10, 0.67f); - * - * EasingFunction.EaseingFunc derivativeFunc = GetEasingFunctionDerivative(ease); - * - * float derivativeValue = derivativeFunc(0, 10, 0.67f); - */ - -// Adding namespace to avoid conflict with user projects -namespace HutongGames -{ - public class EasingFunction - { - public enum Ease - { - EaseInQuad = 0, - EaseOutQuad, - EaseInOutQuad, - EaseInCubic, - EaseOutCubic, - EaseInOutCubic, - EaseInQuart, - EaseOutQuart, - EaseInOutQuart, - EaseInQuint, - EaseOutQuint, - EaseInOutQuint, - EaseInSine, - EaseOutSine, - EaseInOutSine, - EaseInExpo, - EaseOutExpo, - EaseInOutExpo, - EaseInCirc, - EaseOutCirc, - EaseInOutCirc, - Linear, - Spring, - EaseInBounce, - EaseOutBounce, - EaseInOutBounce, - EaseInBack, - EaseOutBack, - EaseInOutBack, - EaseInElastic, - EaseOutElastic, - EaseInOutElastic, - CustomCurve - } - - private const float NATURAL_LOG_OF_2 = 0.693147181f; - - // - // Easing functions - // - - public static float Linear(float start, float end, float value) - { - return Mathf.Lerp(start, end, value); - } - - public static float Spring(float start, float end, float value) - { - value = Mathf.Clamp01(value); - value = (Mathf.Sin(value * Mathf.PI * (0.2f + 2.5f * value * value * value)) * Mathf.Pow(1f - value, 2.2f) + value) * (1f + (1.2f * (1f - value))); - return start + (end - start) * value; - } - - public static float EaseInQuad(float start, float end, float value) - { - end -= start; - return end * value * value + start; - } - - public static float EaseOutQuad(float start, float end, float value) - { - end -= start; - return -end * value * (value - 2) + start; - } - - public static float EaseInOutQuad(float start, float end, float value) - { - value /= .5f; - end -= start; - if (value < 1) return end * 0.5f * value * value + start; - value--; - return -end * 0.5f * (value * (value - 2) - 1) + start; - } - - public static float EaseInCubic(float start, float end, float value) - { - end -= start; - return end * value * value * value + start; - } - - public static float EaseOutCubic(float start, float end, float value) - { - value--; - end -= start; - return end * (value * value * value + 1) + start; - } - - public static float EaseInOutCubic(float start, float end, float value) - { - value /= .5f; - end -= start; - if (value < 1) return end * 0.5f * value * value * value + start; - value -= 2; - return end * 0.5f * (value * value * value + 2) + start; - } - - public static float EaseInQuart(float start, float end, float value) - { - end -= start; - return end * value * value * value * value + start; - } - - public static float EaseOutQuart(float start, float end, float value) - { - value--; - end -= start; - return -end * (value * value * value * value - 1) + start; - } - - public static float EaseInOutQuart(float start, float end, float value) - { - value /= .5f; - end -= start; - if (value < 1) return end * 0.5f * value * value * value * value + start; - value -= 2; - return -end * 0.5f * (value * value * value * value - 2) + start; - } - - public static float EaseInQuint(float start, float end, float value) - { - end -= start; - return end * value * value * value * value * value + start; - } - - public static float EaseOutQuint(float start, float end, float value) - { - value--; - end -= start; - return end * (value * value * value * value * value + 1) + start; - } - - public static float EaseInOutQuint(float start, float end, float value) - { - value /= .5f; - end -= start; - if (value < 1) return end * 0.5f * value * value * value * value * value + start; - value -= 2; - return end * 0.5f * (value * value * value * value * value + 2) + start; - } - - public static float EaseInSine(float start, float end, float value) - { - end -= start; - return -end * Mathf.Cos(value * (Mathf.PI * 0.5f)) + end + start; - } - - public static float EaseOutSine(float start, float end, float value) - { - end -= start; - return end * Mathf.Sin(value * (Mathf.PI * 0.5f)) + start; - } - - public static float EaseInOutSine(float start, float end, float value) - { - end -= start; - return -end * 0.5f * (Mathf.Cos(Mathf.PI * value) - 1) + start; - } - - public static float EaseInExpo(float start, float end, float value) - { - end -= start; - return end * Mathf.Pow(2, 10 * (value - 1)) + start; - } - - public static float EaseOutExpo(float start, float end, float value) - { - end -= start; - return end * (-Mathf.Pow(2, -10 * value) + 1) + start; - } - - public static float EaseInOutExpo(float start, float end, float value) - { - value /= .5f; - end -= start; - if (value < 1) return end * 0.5f * Mathf.Pow(2, 10 * (value - 1)) + start; - value--; - return end * 0.5f * (-Mathf.Pow(2, -10 * value) + 2) + start; - } - - public static float EaseInCirc(float start, float end, float value) - { - end -= start; - return -end * (Mathf.Sqrt(1 - value * value) - 1) + start; - } - - public static float EaseOutCirc(float start, float end, float value) - { - value--; - end -= start; - return end * Mathf.Sqrt(1 - value * value) + start; - } - - public static float EaseInOutCirc(float start, float end, float value) - { - value /= .5f; - end -= start; - if (value < 1) return -end * 0.5f * (Mathf.Sqrt(1 - value * value) - 1) + start; - value -= 2; - return end * 0.5f * (Mathf.Sqrt(1 - value * value) + 1) + start; - } - - public static float EaseInBounce(float start, float end, float value) - { - end -= start; - float d = 1f; - return end - EaseOutBounce(0, end, d - value) + start; - } - - public static float EaseOutBounce(float start, float end, float value) - { - value /= 1f; - end -= start; - if (value < (1 / 2.75f)) - { - return end * (7.5625f * value * value) + start; - } - else if (value < (2 / 2.75f)) - { - value -= (1.5f / 2.75f); - return end * (7.5625f * (value) * value + .75f) + start; - } - else if (value < (2.5 / 2.75)) - { - value -= (2.25f / 2.75f); - return end * (7.5625f * (value) * value + .9375f) + start; - } - else - { - value -= (2.625f / 2.75f); - return end * (7.5625f * (value) * value + .984375f) + start; - } - } - - public static float EaseInOutBounce(float start, float end, float value) - { - end -= start; - float d = 1f; - if (value < d * 0.5f) return EaseInBounce(0, end, value * 2) * 0.5f + start; - else return EaseOutBounce(0, end, value * 2 - d) * 0.5f + end * 0.5f + start; - } - - public static float EaseInBack(float start, float end, float value) - { - end -= start; - value /= 1; - float s = 1.70158f; - return end * (value) * value * ((s + 1) * value - s) + start; - } - - public static float EaseOutBack(float start, float end, float value) - { - float s = 1.70158f; - end -= start; - value = (value) - 1; - return end * ((value) * value * ((s + 1) * value + s) + 1) + start; - } - - public static float EaseInOutBack(float start, float end, float value) - { - float s = 1.70158f; - end -= start; - value /= .5f; - if ((value) < 1) - { - s *= (1.525f); - return end * 0.5f * (value * value * (((s) + 1) * value - s)) + start; - } - value -= 2; - s *= (1.525f); - return end * 0.5f * ((value) * value * (((s) + 1) * value + s) + 2) + start; - } - - public static float EaseInElastic(float start, float end, float value) - { - end -= start; - - float d = 1f; - float p = d * .3f; - float s; - float a = 0; - - if (value == 0) return start; - - if ((value /= d) == 1) return start + end; - - if (a == 0f || a < Mathf.Abs(end)) - { - a = end; - s = p / 4; - } - else - { - s = p / (2 * Mathf.PI) * Mathf.Asin(end / a); - } - - return -(a * Mathf.Pow(2, 10 * (value -= 1)) * Mathf.Sin((value * d - s) * (2 * Mathf.PI) / p)) + start; - } - - public static float EaseOutElastic(float start, float end, float value) - { - end -= start; - - float d = 1f; - float p = d * .3f; - float s; - float a = 0; - - if (value == 0) return start; - - if ((value /= d) == 1) return start + end; - - if (a == 0f || a < Mathf.Abs(end)) - { - a = end; - s = p * 0.25f; - } - else - { - s = p / (2 * Mathf.PI) * Mathf.Asin(end / a); - } - - return (a * Mathf.Pow(2, -10 * value) * Mathf.Sin((value * d - s) * (2 * Mathf.PI) / p) + end + start); - } - - public static float EaseInOutElastic(float start, float end, float value) - { - end -= start; - - float d = 1f; - float p = d * .3f; - float s; - float a = 0; - - if (value == 0) return start; - - if ((value /= d * 0.5f) == 2) return start + end; - - if (a == 0f || a < Mathf.Abs(end)) - { - a = end; - s = p / 4; - } - else - { - s = p / (2 * Mathf.PI) * Mathf.Asin(end / a); - } - - if (value < 1) return -0.5f * (a * Mathf.Pow(2, 10 * (value -= 1)) * Mathf.Sin((value * d - s) * (2 * Mathf.PI) / p)) + start; - return a * Mathf.Pow(2, -10 * (value -= 1)) * Mathf.Sin((value * d - s) * (2 * Mathf.PI) / p) * 0.5f + end + start; - } - - // - // These are derived functions that the motor can use to get the speed at a specific time. - // - // The easing functions all work with a normalized time (0 to 1) and the returned value here - // reflects that. Values returned here should be divided by the actual time. - // - // TODO: These functions have not had the testing they deserve. If there is odd behavior around - // dash speeds then this would be the first place I'd look. - - public static float LinearD(float start, float end, float value) - { - return end - start; - } - - public static float EaseInQuadD(float start, float end, float value) - { - return 2f * (end - start) * value; - } - - public static float EaseOutQuadD(float start, float end, float value) - { - end -= start; - return -end * value - end * (value - 2); - } - - public static float EaseInOutQuadD(float start, float end, float value) - { - value /= .5f; - end -= start; - - if (value < 1) - { - return end * value; - } - - value--; - - return end * (1 - value); - } - - public static float EaseInCubicD(float start, float end, float value) - { - return 3f * (end - start) * value * value; - } - - public static float EaseOutCubicD(float start, float end, float value) - { - value--; - end -= start; - return 3f * end * value * value; - } - - public static float EaseInOutCubicD(float start, float end, float value) - { - value /= .5f; - end -= start; - - if (value < 1) - { - return (3f / 2f) * end * value * value; - } - - value -= 2; - - return (3f / 2f) * end * value * value; - } - - public static float EaseInQuartD(float start, float end, float value) - { - return 4f * (end - start) * value * value * value; - } - - public static float EaseOutQuartD(float start, float end, float value) - { - value--; - end -= start; - return -4f * end * value * value * value; - } - - public static float EaseInOutQuartD(float start, float end, float value) - { - value /= .5f; - end -= start; - - if (value < 1) - { - return 2f * end * value * value * value; - } - - value -= 2; - - return -2f * end * value * value * value; - } - - public static float EaseInQuintD(float start, float end, float value) - { - return 5f * (end - start) * value * value * value * value; - } - - public static float EaseOutQuintD(float start, float end, float value) - { - value--; - end -= start; - return 5f * end * value * value * value * value; - } - - public static float EaseInOutQuintD(float start, float end, float value) - { - value /= .5f; - end -= start; - - if (value < 1) - { - return (5f / 2f) * end * value * value * value * value; - } - - value -= 2; - - return (5f / 2f) * end * value * value * value * value; - } - - public static float EaseInSineD(float start, float end, float value) - { - return (end - start) * 0.5f * Mathf.PI * Mathf.Sin(0.5f * Mathf.PI * value); - } - - public static float EaseOutSineD(float start, float end, float value) - { - end -= start; - return (Mathf.PI * 0.5f) * end * Mathf.Cos(value * (Mathf.PI * 0.5f)); - } - - public static float EaseInOutSineD(float start, float end, float value) - { - end -= start; - return end * 0.5f * Mathf.PI * Mathf.Cos(Mathf.PI * value); - } - public static float EaseInExpoD(float start, float end, float value) - { - return (10f * NATURAL_LOG_OF_2 * (end - start) * Mathf.Pow(2f, 10f * (value - 1))); - } - - public static float EaseOutExpoD(float start, float end, float value) - { - end -= start; - return 5f * NATURAL_LOG_OF_2 * end * Mathf.Pow(2f, 1f - 10f * value); - } - - public static float EaseInOutExpoD(float start, float end, float value) - { - value /= .5f; - end -= start; - - if (value < 1) - { - return 5f * NATURAL_LOG_OF_2 * end * Mathf.Pow(2f, 10f * (value - 1)); - } - - value--; - - return (5f * NATURAL_LOG_OF_2 * end) / (Mathf.Pow(2f, 10f * value)); - } - - public static float EaseInCircD(float start, float end, float value) - { - return ((end - start) * value) / Mathf.Sqrt(1f - value * value); - } - - public static float EaseOutCircD(float start, float end, float value) - { - value--; - end -= start; - return (-end * value) / Mathf.Sqrt(1f - value * value); - } - - public static float EaseInOutCircD(float start, float end, float value) - { - value /= .5f; - end -= start; - - if (value < 1) - { - return (end * value) / (2f * Mathf.Sqrt(1f - value * value)); - } - - value -= 2; - - return (-end * value) / (2f * Mathf.Sqrt(1f - value * value)); - } - - public static float EaseInBounceD(float start, float end, float value) - { - end -= start; - float d = 1f; - - return EaseOutBounceD(0, end, d - value); - } - - public static float EaseOutBounceD(float start, float end, float value) - { - value /= 1f; - end -= start; - - if (value < (1 / 2.75f)) - { - return 2f * end * 7.5625f * value; - } - else if (value < (2 / 2.75f)) - { - value -= (1.5f / 2.75f); - return 2f * end * 7.5625f * value; - } - else if (value < (2.5 / 2.75)) - { - value -= (2.25f / 2.75f); - return 2f * end * 7.5625f * value; - } - else - { - value -= (2.625f / 2.75f); - return 2f * end * 7.5625f * value; - } - } - - public static float EaseInOutBounceD(float start, float end, float value) - { - end -= start; - float d = 1f; - - if (value < d * 0.5f) - { - return EaseInBounceD(0, end, value * 2) * 0.5f; - } - else - { - return EaseOutBounceD(0, end, value * 2 - d) * 0.5f; - } - } - - public static float EaseInBackD(float start, float end, float value) - { - float s = 1.70158f; - - return 3f * (s + 1f) * (end - start) * value * value - 2f * s * (end - start) * value; - } - - public static float EaseOutBackD(float start, float end, float value) - { - float s = 1.70158f; - end -= start; - value = (value) - 1; - - return end * ((s + 1f) * value * value + 2f * value * ((s + 1f) * value + s)); - } - - public static float EaseInOutBackD(float start, float end, float value) - { - float s = 1.70158f; - end -= start; - value /= .5f; - - if ((value) < 1) - { - s *= (1.525f); - return 0.5f * end * (s + 1) * value * value + end * value * ((s + 1f) * value - s); - } - - value -= 2; - s *= (1.525f); - return 0.5f * end * ((s + 1) * value * value + 2f * value * ((s + 1f) * value + s)); - } - - public static float EaseInElasticD(float start, float end, float value) - { - end -= start; - - float d = 1f; - float p = d * .3f; - float s; - float a = 0; - - if (a == 0f || a < Mathf.Abs(end)) - { - a = end; - s = p / 4; - } - else - { - s = p / (2 * Mathf.PI) * Mathf.Asin(end / a); - } - - float c = 2 * Mathf.PI; - - // From an online derivative calculator, kinda hoping it is right. - return ((-a) * d * c * Mathf.Cos((c * (d * (value - 1f) - s)) / p)) / p - - 5f * NATURAL_LOG_OF_2 * a * Mathf.Sin((c * (d * (value - 1f) - s)) / p) * - Mathf.Pow(2f, 10f * (value - 1f) + 1f); - } - - public static float EaseOutElasticD(float start, float end, float value) - { - end -= start; - - float d = 1f; - float p = d * .3f; - float s; - float a = 0; - - if (a == 0f || a < Mathf.Abs(end)) - { - a = end; - s = p * 0.25f; - } - else - { - s = p / (2 * Mathf.PI) * Mathf.Asin(end / a); - } - - return (a * Mathf.PI * d * Mathf.Pow(2f, 1f - 10f * value) * - Mathf.Cos((2f * Mathf.PI * (d * value - s)) / p)) / p - 5f * NATURAL_LOG_OF_2 * a * - Mathf.Pow(2f, 1f - 10f * value) * Mathf.Sin((2f * Mathf.PI * (d * value - s)) / p); - } - - public static float EaseInOutElasticD(float start, float end, float value) - { - end -= start; - - float d = 1f; - float p = d * .3f; - float s; - float a = 0; - - if (a == 0f || a < Mathf.Abs(end)) - { - a = end; - s = p / 4; - } - else - { - s = p / (2 * Mathf.PI) * Mathf.Asin(end / a); - } - - if (value < 1) - { - value -= 1; - - return -5f * NATURAL_LOG_OF_2 * a * Mathf.Pow(2f, 10f * value) * Mathf.Sin(2 * Mathf.PI * (d * value - 2f) / p) - - a * Mathf.PI * d * Mathf.Pow(2f, 10f * value) * Mathf.Cos(2 * Mathf.PI * (d * value - s) / p) / p; - } - - value -= 1; - - return a * Mathf.PI * d * Mathf.Cos(2f * Mathf.PI * (d * value - s) / p) / (p * Mathf.Pow(2f, 10f * value)) - - 5f * NATURAL_LOG_OF_2 * a * Mathf.Sin(2f * Mathf.PI * (d * value - s) / p) / (Mathf.Pow(2f, 10f * value)); - } - - public static float SpringD(float start, float end, float value) - { - value = Mathf.Clamp01(value); - end -= start; - - // Damn... Thanks http://www.derivative-calculator.net/ - return end * (6f * (1f - value) / 5f + 1f) * (-2.2f * Mathf.Pow(1f - value, 1.2f) * - Mathf.Sin(Mathf.PI * value * (2.5f * value * value * value + 0.2f)) + Mathf.Pow(1f - value, 2.2f) * - (Mathf.PI * (2.5f * value * value * value + 0.2f) + 7.5f * Mathf.PI * value * value * value) * - Mathf.Cos(Mathf.PI * value * (2.5f * value * value * value + 0.2f)) + 1f) - - 6f * end * (Mathf.Pow(1 - value, 2.2f) * Mathf.Sin(Mathf.PI * value * (2.5f * value * value * value + 0.2f)) + value - / 5f); - - } - - public static float CustomCurve(float start, float end, float value) - { - if (AnimationCurve == null) - return Mathf.Lerp(start, end, value); - - return Mathf.Lerp(start, end, AnimationCurve.Evaluate(value)); - } - - public delegate float Function(float s, float e, float v); - - public static AnimationCurve AnimationCurve; - - /// - /// Returns the function associated to the easingFunction enum. This value returned should be cached as it allocates memory - /// to return. - /// - /// The enum associated with the easing function. - /// The easing function - public static Function GetEasingFunction(Ease easingFunction) - { - if (easingFunction == Ease.CustomCurve) - { - return CustomCurve; - } - - if (easingFunction == Ease.EaseInQuad) - { - return EaseInQuad; - } - - if (easingFunction == Ease.EaseOutQuad) - { - return EaseOutQuad; - } - - if (easingFunction == Ease.EaseInOutQuad) - { - return EaseInOutQuad; - } - - if (easingFunction == Ease.EaseInCubic) - { - return EaseInCubic; - } - - if (easingFunction == Ease.EaseOutCubic) - { - return EaseOutCubic; - } - - if (easingFunction == Ease.EaseInOutCubic) - { - return EaseInOutCubic; - } - - if (easingFunction == Ease.EaseInQuart) - { - return EaseInQuart; - } - - if (easingFunction == Ease.EaseOutQuart) - { - return EaseOutQuart; - } - - if (easingFunction == Ease.EaseInOutQuart) - { - return EaseInOutQuart; - } - - if (easingFunction == Ease.EaseInQuint) - { - return EaseInQuint; - } - - if (easingFunction == Ease.EaseOutQuint) - { - return EaseOutQuint; - } - - if (easingFunction == Ease.EaseInOutQuint) - { - return EaseInOutQuint; - } - - if (easingFunction == Ease.EaseInSine) - { - return EaseInSine; - } - - if (easingFunction == Ease.EaseOutSine) - { - return EaseOutSine; - } - - if (easingFunction == Ease.EaseInOutSine) - { - return EaseInOutSine; - } - - if (easingFunction == Ease.EaseInExpo) - { - return EaseInExpo; - } - - if (easingFunction == Ease.EaseOutExpo) - { - return EaseOutExpo; - } - - if (easingFunction == Ease.EaseInOutExpo) - { - return EaseInOutExpo; - } - - if (easingFunction == Ease.EaseInCirc) - { - return EaseInCirc; - } - - if (easingFunction == Ease.EaseOutCirc) - { - return EaseOutCirc; - } - - if (easingFunction == Ease.EaseInOutCirc) - { - return EaseInOutCirc; - } - - if (easingFunction == Ease.Linear) - { - return Linear; - } - - if (easingFunction == Ease.Spring) - { - return Spring; - } - - if (easingFunction == Ease.EaseInBounce) - { - return EaseInBounce; - } - - if (easingFunction == Ease.EaseOutBounce) - { - return EaseOutBounce; - } - - if (easingFunction == Ease.EaseInOutBounce) - { - return EaseInOutBounce; - } - - if (easingFunction == Ease.EaseInBack) - { - return EaseInBack; - } - - if (easingFunction == Ease.EaseOutBack) - { - return EaseOutBack; - } - - if (easingFunction == Ease.EaseInOutBack) - { - return EaseInOutBack; - } - - if (easingFunction == Ease.EaseInElastic) - { - return EaseInElastic; - } - - if (easingFunction == Ease.EaseOutElastic) - { - return EaseOutElastic; - } - - if (easingFunction == Ease.EaseInOutElastic) - { - return EaseInOutElastic; - } - - return null; - } - - /// - /// Gets the derivative function of the appropriate easing function. If you use an easing function for position then this - /// function can get you the speed at a given time (normalized). - /// - /// - /// The derivative function - public static Function GetEasingFunctionDerivative(Ease easingFunction) - { - if (easingFunction == Ease.EaseInQuad) - { - return EaseInQuadD; - } - - if (easingFunction == Ease.EaseOutQuad) - { - return EaseOutQuadD; - } - - if (easingFunction == Ease.EaseInOutQuad) - { - return EaseInOutQuadD; - } - - if (easingFunction == Ease.EaseInCubic) - { - return EaseInCubicD; - } - - if (easingFunction == Ease.EaseOutCubic) - { - return EaseOutCubicD; - } - - if (easingFunction == Ease.EaseInOutCubic) - { - return EaseInOutCubicD; - } - - if (easingFunction == Ease.EaseInQuart) - { - return EaseInQuartD; - } - - if (easingFunction == Ease.EaseOutQuart) - { - return EaseOutQuartD; - } - - if (easingFunction == Ease.EaseInOutQuart) - { - return EaseInOutQuartD; - } - - if (easingFunction == Ease.EaseInQuint) - { - return EaseInQuintD; - } - - if (easingFunction == Ease.EaseOutQuint) - { - return EaseOutQuintD; - } - - if (easingFunction == Ease.EaseInOutQuint) - { - return EaseInOutQuintD; - } - - if (easingFunction == Ease.EaseInSine) - { - return EaseInSineD; - } - - if (easingFunction == Ease.EaseOutSine) - { - return EaseOutSineD; - } - - if (easingFunction == Ease.EaseInOutSine) - { - return EaseInOutSineD; - } - - if (easingFunction == Ease.EaseInExpo) - { - return EaseInExpoD; - } - - if (easingFunction == Ease.EaseOutExpo) - { - return EaseOutExpoD; - } - - if (easingFunction == Ease.EaseInOutExpo) - { - return EaseInOutExpoD; - } - - if (easingFunction == Ease.EaseInCirc) - { - return EaseInCircD; - } - - if (easingFunction == Ease.EaseOutCirc) - { - return EaseOutCircD; - } - - if (easingFunction == Ease.EaseInOutCirc) - { - return EaseInOutCircD; - } - - if (easingFunction == Ease.Linear) - { - return LinearD; - } - - if (easingFunction == Ease.Spring) - { - return SpringD; - } - - if (easingFunction == Ease.EaseInBounce) - { - return EaseInBounceD; - } - - if (easingFunction == Ease.EaseOutBounce) - { - return EaseOutBounceD; - } - - if (easingFunction == Ease.EaseInOutBounce) - { - return EaseInOutBounceD; - } - - if (easingFunction == Ease.EaseInBack) - { - return EaseInBackD; - } - - if (easingFunction == Ease.EaseOutBack) - { - return EaseOutBackD; - } - - if (easingFunction == Ease.EaseInOutBack) - { - return EaseInOutBackD; - } - - if (easingFunction == Ease.EaseInElastic) - { - return EaseInElasticD; - } - - if (easingFunction == Ease.EaseOutElastic) - { - return EaseOutElasticD; - } - - if (easingFunction == Ease.EaseInOutElastic) - { - return EaseInOutElasticD; - } - - return null; - } - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/EasingFunction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/EasingFunction.cs.meta deleted file mode 100644 index 94c63ee29..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/EasingFunction.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3ccbb12f36be80646979921287f7cde5 -timeCreated: 1522781617 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor.meta b/Assets/ThirdParty/PlayMaker/Actions/Editor.meta deleted file mode 100644 index b4738b1a4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: 701fb659b7c9c774e9236d340645a1bc diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/CallMethodEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Editor/CallMethodEditor.cs deleted file mode 100644 index 90b44a283..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/CallMethodEditor.cs +++ /dev/null @@ -1,268 +0,0 @@ -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; -using UnityEditor; -using UnityEngine; -using System; -using System.Collections; -using System.Reflection; -using HutongGames.PlayMaker; - -namespace HutongGames.PlayMakerEditor -{ - /// - /// TODO: - /// Keep parameters when changing method signature? - /// Copy/paste parameter values? - /// Ability to add custom menu item to Action Settings menu? - /// - [CustomActionEditor(typeof(HutongGames.PlayMaker.Actions.CallMethod))] - public class CallMethodEditor : CustomActionEditor - { - private CallMethod callMethod; - private Type cachedType; - private string cachedTypeName; - private MethodInfo cachedMethod; - private string cachedMethodSignature; - private ParameterInfo[] cachedParameters; - private GUIContent[] cachedParameterLabels; - private GUIContent cachedReturnLabel; - private object[] parameterAttributes; - private object[] returnAttributes; - - private string methodSignature; - private bool initialized; - - public override void OnEnable() - { - //Debug.Log("OnEnable"); - - Initialize(); - } - - private void Initialize() - { - if (initialized) return; - - UpdateCache(); - - parameterAttributes = new object[] { new HideTypeFilter() }; - returnAttributes = new object[] { new UIHintAttribute(UIHint.Variable), new HideTypeFilter() }; - - methodSignature = GetMethodSignatureFromSettings(); - //Debug.Log(methodSignature); - var method = TypeHelpers.FindMethod(cachedType, methodSignature); - InitMethod(method); - - initialized = true; - } - - private void UpdateCache() - { - callMethod = target as CallMethod; - if (callMethod != null) - { - if (callMethod.parameters == null) - { - callMethod.parameters = new FsmVar[0]; - } - - if (callMethod.methodName == null) - { - callMethod.methodName = new FsmString(); - } - - if (callMethod.behaviour != null) - { - cachedType = callMethod.behaviour.ObjectType; - cachedTypeName = cachedType != null ? cachedType.FullName : ""; - //Debug.Log(cachedTypeName); - } - else - { - //Debug.Log("callMethod.behaviour == null"); - } - } - } - - private void CheckCache() - { - if (callMethod.behaviour != null) - { - if (cachedType != callMethod.behaviour.ObjectType) - { - ClearCache(); - UpdateCache(); - return; - } - - // NOTE: Temp fix. Permanent fix in VariableEditor.cs in 1.8.3 - if (callMethod.behaviour.Value != null && callMethod.behaviour.Value.GetType() != callMethod.behaviour.ObjectType) - { - callMethod.behaviour.ObjectType = callMethod.behaviour.Value.GetType(); - ClearCache(); - UpdateCache(); - } - - // NOTE: Temp fix. Permanent fix in VariableEditor.cs in 1.8.3 - if ((!callMethod.behaviour.UseVariable && callMethod.behaviour.Value == null) || - callMethod.behaviour.IsNone) - { - var component = callMethod.behaviour.Value as Component; - if (component == null) - { - callMethod.behaviour.ObjectType = typeof (Component); - callMethod.methodName = ""; - ClearCache(); - UpdateCache(); - } - } - - /* - // User Reset the action - if (!callMethod.behaviour.UseVariable && callMethod.behaviour.Value == null && !string.IsNullOrEmpty(cachedTypeName)) - { - ClearCache(); - }*/ - } - } - - public override bool OnGUI() - { - if (callMethod.manualUI) - { - return DrawDefaultInspector(); - } - - EditField("behaviour"); - FsmEditorGUILayout.ReadonlyTextField(cachedTypeName); - - CheckCache(); - - EditorGUILayout.BeginHorizontal(); - FsmEditorGUILayout.PrefixLabel("Method"); - var buttonRect = GUILayoutUtility.GetRect(GUIContent.none, EditorStyles.popup); - var methodName = callMethod.methodName != null ? callMethod.methodName.Value : ""; - if (GUI.Button(buttonRect, methodName, EditorStyles.popup)) - { - TypeHelpers.GenerateMethodMenu(cachedType, SelectMethod).DropDown(buttonRect); - } - EditorGUILayout.EndHorizontal(); - - FsmEditorGUILayout.ReadonlyTextField(cachedMethodSignature); - - - //EditorGUI.indentLevel++; - - if (cachedParameters != null && cachedParameters.Length > 0) - { - GUILayout.Label("Parameters", EditorStyles.boldLabel); - - for (int i = 0; i < cachedParameters.Length; i++) - { - //GUILayout.Label(callMethod.parameters[i].RealType.ToString()); - - callMethod.parameters[i] = FsmEditor.ActionEditor.EditFsmVar(cachedParameterLabels[i], - callMethod.parameters[i], parameterAttributes); - } - } - - if (cachedMethod != null && cachedMethod.ReturnType != typeof (void)) - { - GUILayout.Label("Return", EditorStyles.boldLabel); - - callMethod.storeResult = FsmEditor.ActionEditor.EditFsmVar(cachedReturnLabel, callMethod.storeResult, returnAttributes); - } - - //EditorGUI.indentLevel--; - - FsmEditorGUILayout.LightDivider(); - - EditField("everyFrame"); - - FsmEditorGUILayout.LightDivider(); - - EditField("manualUI"); - - if (GUI.changed) - { - UpdateCache(); - } - - return GUI.changed; - } - - // NOTE: This should match format generated by TypeHelpers. - private string GetMethodSignatureFromSettings() - { - if (callMethod.methodName == null || callMethod.parameters == null || callMethod.storeResult == null) return ""; - return TypeHelpers.GetMethodSignature(callMethod.methodName.Value, callMethod.parameters, callMethod.storeResult); - } - - private void ClearCache() - { - //Debug.Log("ClearCache"); - cachedMethod = null; - cachedMethodSignature = null; - cachedParameters = null; - cachedParameterLabels = null; - } - - private void InitMethod(MethodInfo method) - { - if (method == null) - { - //Debug.Log("InitMethod: None"); - - // TODO: select none - ClearCache(); - } - else - { - //Debug.Log("InitMethod: " + method.Name); - - cachedMethod = method; - cachedMethodSignature = TypeHelpers.GetMethodSignature(method); - cachedParameters = method.GetParameters(); - cachedParameterLabels = new GUIContent[cachedParameters.Length]; - callMethod.methodName.Value = method.Name; - - for (int i = 0; i < cachedParameters.Length; i++) - { - var parameter = cachedParameters[i]; - cachedParameterLabels[i] = new GUIContent(Labels.NicifyVariableName(parameter.Name)); - } - - cachedReturnLabel = new GUIContent("Store Result", Labels.GetTypeTooltip(method.ReturnType)); - } - - } - - private void SelectMethod(object userdata) - { - var method = userdata as MethodInfo; - if (method == null) - { - //Debug.Log("Select Method: None"); - - // TODO: select none - ClearCache(); - } - else - { - //Debug.Log("Select Method: " + method.Name); - - InitMethod(method); - - callMethod.parameters = new FsmVar[cachedParameters.Length]; - for (int i = 0; i < cachedParameters.Length; i++) - { - callMethod.parameters[i] = new FsmVar(cachedParameters[i].ParameterType); - } - - callMethod.storeResult = new FsmVar(method.ReturnType); - - FsmEditor.SaveActions(); - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/CallMethodEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Editor/CallMethodEditor.cs.meta deleted file mode 100644 index 51b8bb98d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/CallMethodEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 96bfb689c020f1d459634b8d1d708f25 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/GetDistanceEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Editor/GetDistanceEditor.cs deleted file mode 100644 index a3402571b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/GetDistanceEditor.cs +++ /dev/null @@ -1,43 +0,0 @@ -using System.ComponentModel; -using System.Globalization; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; -using UnityEditor; -using UnityEngine; -using System.Collections; - -namespace HutongGames.PlayMakerEditor -{ - [CustomActionEditor(typeof(HutongGames.PlayMaker.Actions.GetDistance))] - public class GetDistanceEditor : CustomActionEditor - { - public override bool OnGUI() - { - return DrawDefaultInspector(); - } - - [Localizable(false)] - public override void OnSceneGUI() - { - var action = (HutongGames.PlayMaker.Actions.GetDistance)target; - - var fromObject = action.Fsm.GetOwnerDefaultTarget(action.gameObject); - var toObject = action.target; - - if (fromObject == null || toObject.IsNone || toObject.Value == null) - { - return; - } - - var fromPos = fromObject.transform.position; - var toPos = toObject.Value.transform.position; - var distance = Vector3.Distance(fromPos, toPos); - var label = string.Format("Get Distance:\n{0}", string.Format("{0:0.000}", distance)); - - - Handles.color = new Color(1, 1, 1, 0.5f); - Handles.DrawLine(fromPos, toPos); - Handles.Label((fromPos + toPos)*0.5f, label); - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/GetDistanceEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Editor/GetDistanceEditor.cs.meta deleted file mode 100644 index ad21d496e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/GetDistanceEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 74cbac50b46d39d418eaf951dfc12b55 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/LookAtActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Editor/LookAtActionEditor.cs deleted file mode 100644 index 143eaac34..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/LookAtActionEditor.cs +++ /dev/null @@ -1,95 +0,0 @@ -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; -using UnityEditor; -using UnityEngine; -using System.Collections; - -namespace HutongGames.PlayMakerEditor -{ - [CustomActionEditor(typeof (HutongGames.PlayMaker.Actions.LookAt))] - public class LookAtActionEditor : CustomActionEditor - { - public override bool OnGUI() - { - return DrawDefaultInspector(); - } - - public override void OnSceneGUI() - { - var lookAtAction = (HutongGames.PlayMaker.Actions.LookAt)target; - - if (lookAtAction.UpdateLookAtPosition()) - { - var go = target.Fsm.GetOwnerDefaultTarget(lookAtAction.gameObject); - var goTransform = go.transform; - var goPosition = goTransform.position; - - var lookAtPosition = lookAtAction.GetLookAtPosition(); - var lookAtVector = lookAtPosition - goPosition; - var lookAtRotation = Quaternion.LookRotation(lookAtVector); - var lookAtAngle = Vector3.Angle(goTransform.forward, lookAtVector); - var lookAtNormal = Vector3.Cross(goTransform.forward, lookAtVector); - - var handleSize = HandleUtility.GetHandleSize(goPosition); - var arrowSize = handleSize*0.2f; - var distance = (lookAtPosition - goPosition).magnitude; - - var goTarget = lookAtAction.targetObject.Value; - - // Position handles - - if (!lookAtAction.targetPosition.IsNone) - { - if (goTarget != null) - { - // Edit local offset from target object - - var goTargetTransform = goTarget.transform; - var worldTargetPos = goTargetTransform.TransformPoint(lookAtAction.targetPosition.Value); - - lookAtAction.targetPosition.Value = goTargetTransform.InverseTransformPoint(Handles.PositionHandle(worldTargetPos, goTarget.transform.rotation)); - Handles.color = new Color(1, 1, 1, 0.2f); - Handles.DrawLine(goTargetTransform.position, lookAtAction.GetLookAtPositionWithVertical()); - } - else - { - // Edit world position - - lookAtAction.targetPosition.Value = Handles.PositionHandle(lookAtAction.targetPosition.Value, Quaternion.identity); - } - } - - // Forward vector - - Handles.color = Color.blue; - Handles.DrawLine(goPosition, goPosition + goTransform.forward*handleSize); - - // Lookat vector - - Handles.DrawLine(goPosition, lookAtPosition); -#if UNITY_5_5_OR_NEWER - Handles.ConeHandleCap(0, goPosition + lookAtVector.normalized * (distance - arrowSize * 0.7f), lookAtRotation, arrowSize, EventType.Repaint); // fudge factor to position cap correctly -#else - Handles.ConeCap(0, goPosition + lookAtVector.normalized * (distance - arrowSize * 0.7f) , lookAtRotation, arrowSize); // fudge factor to position cap correctly -#endif - // Arc between vectors - - Handles.color = new Color(1, 1, 1, 0.2f); - Handles.DrawSolidArc(goPosition, lookAtNormal, goTransform.forward, lookAtAngle, handleSize); - - // Show vertical offset - - if (lookAtAction.keepVertical.Value) - { - Handles.DrawLine(lookAtPosition, lookAtAction.GetLookAtPositionWithVertical()); - } - - if (GUI.changed) - { - FsmEditor.EditingActions(); - FsmEditor.Repaint(true); - } - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/LookAtActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Editor/LookAtActionEditor.cs.meta deleted file mode 100644 index 1ff73a043..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/LookAtActionEditor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8f2a69e5a6699e64ca61a6e6effee186 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/MoveTowardsActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Editor/MoveTowardsActionEditor.cs deleted file mode 100644 index 0680ca14f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/MoveTowardsActionEditor.cs +++ /dev/null @@ -1,85 +0,0 @@ -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; -using UnityEditor; -using UnityEngine; -using System.Collections; - -namespace HutongGames.PlayMakerEditor -{ - [CustomActionEditor(typeof(HutongGames.PlayMaker.Actions.MoveTowards))] - public class MoveTowardsActionEditor : CustomActionEditor - { - public override bool OnGUI() - { - return DrawDefaultInspector(); - } - - public override void OnSceneGUI() - { - var moveTowardsAction = (HutongGames.PlayMaker.Actions.MoveTowards) target; - - if (moveTowardsAction.UpdateTargetPos()) - { - var go = target.Fsm.GetOwnerDefaultTarget(moveTowardsAction.gameObject); - var goTransform = go.transform; - var goPosition = goTransform.position; - - var lookAtPosition = moveTowardsAction.GetTargetPos(); - var lookAtVector = lookAtPosition - goPosition; - if (lookAtVector == Vector3.zero) return; - var lookAtRotation = Quaternion.LookRotation(lookAtVector); - - var handleSize = HandleUtility.GetHandleSize(goPosition); - var arrowSize = handleSize*0.2f; - var distance = (lookAtPosition - goPosition).magnitude; - - var goTarget = moveTowardsAction.targetObject.Value; - - // Position handles - - if (!moveTowardsAction.targetPosition.IsNone) - { - if (goTarget != null) - { - // Edit local offset from target object - - var goTargetTransform = goTarget.transform; - var worldTargetPos = goTargetTransform.TransformPoint(moveTowardsAction.targetPosition.Value); - - moveTowardsAction.targetPosition.Value = goTargetTransform.InverseTransformPoint(Handles.PositionHandle(worldTargetPos, goTarget.transform.rotation)); - Handles.color = new Color(1, 1, 1, 0.2f); - Handles.DrawLine(goTargetTransform.position, moveTowardsAction.GetTargetPosWithVertical()); - } - else - { - // Edit world position - - moveTowardsAction.targetPosition.Value = Handles.PositionHandle(moveTowardsAction.targetPosition.Value, Quaternion.identity); - } - } - - // Target vector - - Handles.DrawLine(goPosition, lookAtPosition); - -#if UNITY_5_5_OR_NEWER - Handles.ConeHandleCap(0, goPosition + lookAtVector.normalized * (distance - arrowSize * 0.7f), lookAtRotation, arrowSize, EventType.Repaint); // fudge factor to position cap correctly -#else - Handles.ConeCap(0, goPosition + lookAtVector.normalized * (distance - arrowSize * 0.7f), lookAtRotation, arrowSize); // fudge factor to position cap correctly -#endif - // Show vertical offset - - if (moveTowardsAction.ignoreVertical.Value) - { - Handles.DrawLine(lookAtPosition, moveTowardsAction.GetTargetPosWithVertical()); - } - - if (GUI.changed) - { - FsmEditor.EditingActions(); - FsmEditor.Repaint(true); - } - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/MoveTowardsActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Editor/MoveTowardsActionEditor.cs.meta deleted file mode 100644 index 171261711..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/MoveTowardsActionEditor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 45c59c6d5dd951b4f9ff008c28d50fc4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/PlayMakerEventProxyEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Editor/PlayMakerEventProxyEditor.cs deleted file mode 100644 index 7310a345a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/PlayMakerEventProxyEditor.cs +++ /dev/null @@ -1,63 +0,0 @@ -using UnityEngine; -using UnityEditor; - -[CustomEditor(typeof(PlayMakerProxyBase), true)] -public class PlayMakerEventProxyEditor : Editor -{ - public override void OnInspectorGUI() - { - EditorGUILayout.HelpBox("This component is normally added automatically by PlayMaker.", MessageType.None); - - DrawDefaultInspector(); - - EditorGUILayout.Space(); - - // Give some info on event callbacks registered with this proxy - - GUILayout.Label("Event Callbacks Registered:", EditorStyles.boldLabel); - EditorGUI.indentLevel++; - var proxy = (PlayMakerProxyBase) target; - var hasCallbacks = false; - - if (proxy.HasCollisionEventDelegates()) - { - EditorGUILayout.LabelField("Collision Events"); - hasCallbacks = true; - } - - if (proxy.HasTriggerEventDelegates()) - { - EditorGUILayout.LabelField("Trigger Events"); - hasCallbacks = true; - } - - if (proxy.HasCollision2DEventDelegates()) - { - EditorGUILayout.LabelField("Collision 2D Events"); - hasCallbacks = true; - } - - if (proxy.HasTrigger2DEventDelegates()) - { - EditorGUILayout.LabelField("Trigger 2D Events"); - hasCallbacks = true; - } - - if (proxy.HasParticleCollisionEventDelegates()) - { - EditorGUILayout.LabelField("Particle Collision Events"); - hasCallbacks = true; - } - - if (proxy.HasControllerCollisionEventDelegates()) - { - EditorGUILayout.LabelField("Controller Collision Events"); - hasCallbacks = true; - } - - if (!hasCallbacks) - { - EditorGUILayout.LabelField("None"); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/PlayMakerEventProxyEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Editor/PlayMakerEventProxyEditor.cs.meta deleted file mode 100644 index 47d0d1fbc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/PlayMakerEventProxyEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e685087524d9906488863adbe258dcb9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/SetCameraFOVActionEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Editor/SetCameraFOVActionEditor.cs deleted file mode 100644 index 011b93fbe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/SetCameraFOVActionEditor.cs +++ /dev/null @@ -1,52 +0,0 @@ -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; -using UnityEditor; -using UnityEngine; -using System.Collections; - -namespace HutongGames.PlayMakerEditor -{ - [CustomActionEditor(typeof(HutongGames.PlayMaker.Actions.SetCameraFOV))] - public class SetCameraFOVActionEditor : CustomActionEditor - { - private GameObject cachedGameObject; - private Camera camera; - - public override bool OnGUI() - { - return DrawDefaultInspector(); - } - - public override void OnSceneGUI() - { - var setCameraFOVAction = (HutongGames.PlayMaker.Actions.SetCameraFOV)target; - if (setCameraFOVAction.fieldOfView.IsNone) - { - return; - } - - var go = setCameraFOVAction.Fsm.GetOwnerDefaultTarget(setCameraFOVAction.gameObject); - var fov = setCameraFOVAction.fieldOfView.Value; - - if (go != null && fov > 0) - { - if (go != cachedGameObject || camera == null) - { - camera = go.GetComponent(); - cachedGameObject = go; - } - - if (camera != null) - { - var originalFOV = camera.fieldOfView; - camera.fieldOfView = setCameraFOVAction.fieldOfView.Value; - - Handles.color = new Color(1, 1, 0, .5f); - SceneGUI.DrawCameraFrustrum(camera); - - camera.fieldOfView = originalFOV; - } - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/SetCameraFOVActionEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Editor/SetCameraFOVActionEditor.cs.meta deleted file mode 100644 index 05dc2784b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/SetCameraFOVActionEditor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1de4730ee5d36b74193bf451063a5b9e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/SetPropertyEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/Editor/SetPropertyEditor.cs deleted file mode 100644 index 36287201b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/SetPropertyEditor.cs +++ /dev/null @@ -1,24 +0,0 @@ -/* -namespace HutongGames.PlayMakerEditor -{ - [CustomActionEditor(typeof (PlayMaker.Actions.SetProperty))] - public class SetPropertyAction : CustomActionEditor - { - private PlayMaker.Actions.SetProperty setPropertyAction; - - public override void OnEnable() - { - // Temporary fix for bug in 1.8.1 with SetProperty actions created with new context menus - setPropertyAction = target as PlayMaker.Actions.SetProperty; - if (setPropertyAction != null) // should never be null! - { - setPropertyAction.targetProperty.setProperty = true; - } - } - - public override bool OnGUI() - { - return DrawDefaultInspector(); - } - } -}*/ diff --git a/Assets/ThirdParty/PlayMaker/Actions/Editor/SetPropertyEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Editor/SetPropertyEditor.cs.meta deleted file mode 100644 index b72ba8a7c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Editor/SetPropertyEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a6c2fa71b923aef4da48bf9031028244 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Effects.meta b/Assets/ThirdParty/PlayMaker/Actions/Effects.meta deleted file mode 100644 index a5bfed1fb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Effects.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 8e241e2781a71db4b8de753357c7748c -folderAsset: yes -timeCreated: 1504546571 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Effects/Blink.cs b/Assets/ThirdParty/PlayMaker/Actions/Effects/Blink.cs deleted file mode 100644 index be7ab8773..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Effects/Blink.cs +++ /dev/null @@ -1,113 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Effects)] - [Tooltip("Turns a Game Object on/off in a regular repeating pattern.")] - public class Blink : ComponentAction - { - [RequiredField] - [Tooltip("The GameObject to blink on/off.")] - public FsmOwnerDefault gameObject; - - [HasFloatSlider(0, 5)] - [Tooltip("Time to stay off in seconds.")] - public FsmFloat timeOff; - - [HasFloatSlider(0, 5)] - [Tooltip("Time to stay on in seconds.")] - public FsmFloat timeOn; - - [Tooltip("Should the object start in the active/visible state?")] - public FsmBool startOn; - - [Tooltip("Only effect the renderer, keeping other components active.")] - public bool rendererOnly; - - [Tooltip("Ignore TimeScale. Useful if the game is paused.")] - public bool realTime; - - private float startTime; - private float timer; - private bool blinkOn; - - public override void Reset() - { - gameObject = null; - timeOff = 0.5f; - timeOn = 0.5f; - rendererOnly = true; - startOn = false; - realTime = false; - } - - public override void OnEnter() - { - startTime = FsmTime.RealtimeSinceStartup; - timer = 0f; - - UpdateBlinkState(startOn.Value); - } - - public override void OnUpdate() - { - // update time - - if (realTime) - { - timer = FsmTime.RealtimeSinceStartup - startTime; - } - else - { - timer += Time.deltaTime; - } - - // update blink - - if (blinkOn && timer > timeOn.Value) - { - UpdateBlinkState(false); - } - - if (blinkOn == false && timer > timeOff.Value) - { - UpdateBlinkState(true); - } - } - - void UpdateBlinkState(bool state) - { - var go = gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value; - if (go == null) - { - return; - } - - if (rendererOnly) - { - if(UpdateCache(go)) - { - renderer.enabled = state; - } - } - else - { -#if UNITY_3_5 || UNITY_3_4 - go.active = state; -#else - go.SetActive(state); -#endif - } - - blinkOn = state; - - // reset timer - - startTime = FsmTime.RealtimeSinceStartup; - timer = 0f; - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Effects/Blink.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Effects/Blink.cs.meta deleted file mode 100644 index 6d652c39c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Effects/Blink.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 367dd11eff47df14cbf7d185b4c4d1fb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Effects/Flicker.cs b/Assets/ThirdParty/PlayMaker/Actions/Effects/Flicker.cs deleted file mode 100644 index b95e72b2c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Effects/Flicker.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Effects)] - [Tooltip("Randomly flickers a Game Object on/off.")] - public class Flicker : ComponentAction - { - [RequiredField] - [Tooltip("The GameObject to flicker.")] - public FsmOwnerDefault gameObject; - - [HasFloatSlider(0, 1)] - [Tooltip("The frequency of the flicker in seconds.")] - public FsmFloat frequency; - - [HasFloatSlider(0, 1)] - [Tooltip("Amount of time flicker is On (0-1). E.g. Use 0.95 for an occasional flicker.")] - public FsmFloat amountOn; - - [Tooltip("Only effect the renderer, leaving other components active.")] - public bool rendererOnly; - - [Tooltip("Ignore time scale. Useful if flickering UI when the game is paused.")] - public bool realTime; - - private float startTime; - private float timer; - - public override void Reset() - { - gameObject = null; - frequency = 0.1f; - amountOn = 0.5f; - rendererOnly = true; - realTime = false; - } - - public override void OnEnter() - { - startTime = FsmTime.RealtimeSinceStartup; - timer = 0f; - } - - public override void OnUpdate() - { - // get target - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // update time - - if (realTime) - { - timer = FsmTime.RealtimeSinceStartup - startTime; - } - else - { - timer += Time.deltaTime; - } - - if (timer > frequency.Value) - { - var on = Random.Range(0f,1f) < amountOn.Value; - - // do flicker - - if (rendererOnly) - { - if (UpdateCache(go)) - { - renderer.enabled = on; - } - } - else - { -#if UNITY_3_5 || UNITY_3_4 - go.active = on; -#else - go.SetActive(on); -#endif - } - - // reset timer - - startTime = timer; - timer = 0; - } - } - - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Effects/Flicker.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Effects/Flicker.cs.meta deleted file mode 100644 index 3a58a80d2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Effects/Flicker.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e15058fb95219274db6d7f289f12181c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Enum.meta b/Assets/ThirdParty/PlayMaker/Actions/Enum.meta deleted file mode 100644 index 46e039c6a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Enum.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 8be3b41021871ef4fa8fb1128bb22f7b -folderAsset: yes -timeCreated: 1504547399 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Enum/SetEnumValue.cs b/Assets/ThirdParty/PlayMaker/Actions/Enum/SetEnumValue.cs deleted file mode 100644 index 39e1a1c95..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Enum/SetEnumValue.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Enum)] - [Tooltip("Sets the value of an Enum Variable.")] - public class SetEnumValue : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("The Enum Variable to set.")] - public FsmEnum enumVariable; - - [MatchFieldType("enumVariable")] - [Tooltip("The Enum value to set the variable to.")] - public FsmEnum enumValue; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - enumVariable = null; - enumValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetEnumValue(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetEnumValue(); - } - - void DoSetEnumValue() - { - enumVariable.Value = enumValue.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Enum/SetEnumValue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Enum/SetEnumValue.cs.meta deleted file mode 100644 index 188000382..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Enum/SetEnumValue.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 15318b589c6f0bc4ab84c9c13d9dece5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI.meta deleted file mode 100644 index d139f4d53..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 93b32d45113be0e4f81c2c5bda7cdc13 -folderAsset: yes -timeCreated: 1504500407 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawFullscreenColor.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawFullscreenColor.cs deleted file mode 100644 index b49c58195..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawFullscreenColor.cs +++ /dev/null @@ -1,28 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Fills the screen with a Color. NOTE: Uses OnGUI so you need a PlayMakerGUI component in the scene.")] - public class DrawFullscreenColor : FsmStateAction - { - [RequiredField] - [Tooltip("Color. NOTE: Uses OnGUI so you need a PlayMakerGUI component in the scene.")] - public FsmColor color; - - public override void Reset() - { - color = Color.white; - } - - public override void OnGUI() - { - var guiColor = GUI.color; - GUI.color = color.Value; - GUI.DrawTexture(new Rect(0,0,Screen.width, Screen.height), ActionHelpers.WhiteTexture); - GUI.color = guiColor; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawFullscreenColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawFullscreenColor.cs.meta deleted file mode 100644 index edab30c2b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawFullscreenColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0c7f66d29ff3bd74dae9af37c8e5d50a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawTexture.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawTexture.cs deleted file mode 100644 index 3666d20f9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawTexture.cs +++ /dev/null @@ -1,85 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Draws a GUI Texture. NOTE: Uses OnGUI so you need a PlayMakerGUI component in the scene.")] - public class DrawTexture : FsmStateAction - { - [RequiredField] - [Tooltip("Texture to draw.")] - public FsmTexture texture; - - [UIHint(UIHint.Variable)] - [Tooltip("Rectangle on the screen to draw the texture within. Alternatively, set or override individual properties below.")] - [Title("Position")] - public FsmRect screenRect; - - [Tooltip("Left screen coordinate.")] - public FsmFloat left; - - [Tooltip("Top screen coordinate.")] - public FsmFloat top; - - [Tooltip("Width of texture on screen.")] - public FsmFloat width; - - [Tooltip("Height of texture on screen.")] - public FsmFloat height; - - [Tooltip("How to scale the image when the aspect ratio of it doesn't fit the aspect ratio to be drawn within.")] - public ScaleMode scaleMode; - - [Tooltip("Whether to alpha blend the image on to the display (the default). If false, the picture is drawn on to the display.")] - public FsmBool alphaBlend; - - [Tooltip("Aspect ratio to use for the source image. If 0 (the default), the aspect ratio from the image is used. Pass in w/h for the desired aspect ratio. This allows the aspect ratio of the source image to be adjusted without changing the pixel width and height.")] - public FsmFloat imageAspect; - - [Tooltip("Use normalized screen coordinates (0-1)")] - public FsmBool normalized; - - private Rect rect; - - public override void Reset() - { - texture = null; - screenRect = null; - left = 0; - top = 0; - width = 1; - height = 1; - scaleMode = ScaleMode.StretchToFill; - alphaBlend = true; - imageAspect = 0; - normalized = true; - } - - public override void OnGUI() - { - if (texture.Value == null) - { - return; - } - - rect = !screenRect.IsNone ? screenRect.Value : new Rect(); - - if (!left.IsNone) rect.x = left.Value; - if (!top.IsNone) rect.y = top.Value; - if (!width.IsNone) rect.width = width.Value; - if (!height.IsNone) rect.height = height.Value; - - if (normalized.Value) - { - rect.x *= Screen.width; - rect.width *= Screen.width; - rect.y *= Screen.height; - rect.height *= Screen.height; - } - - GUI.DrawTexture(rect, texture.Value, scaleMode, alphaBlend.Value, imageAspect.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawTexture.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawTexture.cs.meta deleted file mode 100644 index 6830541b3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/DrawTexture.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 24c4ca69322160341bb2712caf79680c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/EnableGUI.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/EnableGUI.cs deleted file mode 100644 index 96dabcfa6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/EnableGUI.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Enables/Disables the PlayMakerGUI component in the scene. Note, you need a PlayMakerGUI component in the scene to see OnGUI actions. However, OnGUI can be very expensive on mobile devices. This action lets you turn OnGUI on/off (e.g., turn it on for a menu, and off during gameplay).")] - public class EnableGUI : FsmStateAction - { - [Tooltip("Set to True to enable, False to disable.")] - public FsmBool enableGUI; - - public override void Reset() - { - enableGUI = true; - } - - public override void OnEnter() - { - PlayMakerGUI.Instance.enabled = enableGUI.Value; - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/EnableGUI.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/EnableGUI.cs.meta deleted file mode 100644 index ed839f64d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/EnableGUI.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bb0d4058950c33b4da60d866130e6300 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIAction.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIAction.cs deleted file mode 100644 index cfb4b05e3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIAction.cs +++ /dev/null @@ -1,53 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - // base type for GUI actions that need a Rect - [Tooltip("GUI base action - don't use!")] - public abstract class GUIAction : FsmStateAction - { - [UIHint(UIHint.Variable)] - public FsmRect screenRect; - - public FsmFloat left; - public FsmFloat top; - public FsmFloat width; - public FsmFloat height; - - [RequiredField] - public FsmBool normalized; - - internal Rect rect; - - public override void Reset() - { - screenRect = null; - left = 0; - top = 0; - width = 1; - height = 1; - normalized = true; - } - - public override void OnGUI() - { - rect = !screenRect.IsNone ? screenRect.Value : new Rect(); - - if (!left.IsNone) rect.x = left.Value; - if (!top.IsNone) rect.y = top.Value; - if (!width.IsNone) rect.width = width.Value; - if (!height.IsNone) rect.height = height.Value; - - if (normalized.Value) - { - rect.x *= Screen.width; - rect.width *= Screen.width; - rect.y *= Screen.height; - rect.height *= Screen.height; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIAction.cs.meta deleted file mode 100644 index 709c6e52e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIAction.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 17bcb6282e16aed468545082cfb6095e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIBox.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIBox.cs deleted file mode 100644 index c8da5b092..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIBox.cs +++ /dev/null @@ -1,26 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("GUI Box.")] - public class GUIBox : GUIContentAction - { - public override void OnGUI() - { - base.OnGUI(); - - if (string.IsNullOrEmpty(style.Value)) - { - GUI.Box(rect, content); - } - else - { - GUI.Box(rect, content, style.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIBox.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIBox.cs.meta deleted file mode 100644 index d4ae93c1f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIBox.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bbd85c2831eb4ee48a8fc6b22f51fbd6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIButton.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIButton.cs deleted file mode 100644 index 7c99bc562..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIButton.cs +++ /dev/null @@ -1,42 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("GUI button. Sends an Event when pressed. Optionally store the button state in a Bool Variable.")] - public class GUIButton : GUIContentAction - { - public FsmEvent sendEvent; - [UIHint(UIHint.Variable)] - public FsmBool storeButtonState; - - public override void Reset() - { - base.Reset(); - sendEvent = null; - storeButtonState = null; - style = "Button"; - } - - public override void OnGUI() - { - base.OnGUI(); - - bool pressed = false; - - if (GUI.Button(rect, content, style.Value)) - { - Fsm.Event(sendEvent); - pressed = true; - } - - if (storeButtonState != null) - { - storeButtonState.Value = pressed; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIButton.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIButton.cs.meta deleted file mode 100644 index afddbaf1f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIButton.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 35d4d21f5f6d121469d2889bc4c68247 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIContentAction.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIContentAction.cs deleted file mode 100644 index 1b0cf9888..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIContentAction.cs +++ /dev/null @@ -1,36 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - // base type for GUI actions with GUIContent parameters - - [Tooltip("GUI base action - don't use!")] - public abstract class GUIContentAction : GUIAction - { - public FsmTexture image; - public FsmString text; - public FsmString tooltip; - public FsmString style; - - internal GUIContent content; - - public override void Reset() - { - base.Reset(); - image = null; - text = ""; - tooltip = ""; - style = ""; - } - - public override void OnGUI() - { - base.OnGUI(); - - content = new GUIContent(text.Value, image.Value, tooltip.Value); - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIContentAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIContentAction.cs.meta deleted file mode 100644 index 52d0497b9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIContentAction.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 06e1ed2f413640042aecee9d1cf2a6fa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIElementHitTest.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIElementHitTest.cs deleted file mode 100644 index 35f046685..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIElementHitTest.cs +++ /dev/null @@ -1,140 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUIElement)] - [Tooltip("Performs a Hit Test on a Game Object with a GUITexture or GUIText component.")] - #if UNITY_2019_3_OR_NEWER - [Obsolete("GUIElement is part of the legacy UI system removed in 2019.3")] - #elif UNITY_2017_2_OR_NEWER - #pragma warning disable CS0618 - [Obsolete("GUIElement is part of the legacy UI system and will be removed in a future release")] - #endif - - public class GUIElementHitTest : FsmStateAction - { - [RequiredField] -#if !UNITY_2019_3_OR_NEWER - [CheckForComponent(typeof(GUIElement))] -#else - [ActionSection("Obsolete. Use Unity UI instead.")] -#endif - [Tooltip("The GameObject that has a GUITexture or GUIText component.")] - public FsmOwnerDefault gameObject; - [Tooltip("Specify camera or use MainCamera as default.")] - public Camera camera; - [Tooltip("A vector position on screen. Usually stored by actions like GetTouchInfo, or World To Screen Point.")] - public FsmVector3 screenPoint; - [Tooltip("Specify screen X coordinate.")] - public FsmFloat screenX; - [Tooltip("Specify screen Y coordinate.")] - public FsmFloat screenY; - [Tooltip("Whether the specified screen coordinates are normalized (0-1).")] - public FsmBool normalized; - [Tooltip("Event to send if the Hit Test is true.")] - public FsmEvent hitEvent; - [UIHint(UIHint.Variable)] - [Tooltip("Store the result of the Hit Test in a bool variable (true/false).")] - public FsmBool storeResult; - [Tooltip("Repeat every frame. Useful if you want to wait for the hit test to return true.")] - public FsmBool everyFrame; - -#if !UNITY_2019_3_OR_NEWER - // cache component - private GUIElement guiElement; -#endif - // remember game object cached, so we can re-cache component if it changes - private GameObject gameObjectCached; - - public override void Reset() - { - gameObject = null; - camera = null; - screenPoint = new FsmVector3 { UseVariable = true}; - screenX = new FsmFloat { UseVariable = true}; - screenY = new FsmFloat { UseVariable = true }; - normalized = true; - hitEvent = null; - everyFrame = true; - } - - public override void OnEnter() - { -#if !UNITY_2019_3_OR_NEWER - DoHitTest(); - - if (!everyFrame.Value) - { - Finish(); - } -#else - Finish(); -#endif - } - -#if !UNITY_2019_3_OR_NEWER - public override void OnUpdate() - { - DoHitTest(); - } - - void DoHitTest() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // cache GUIElement component - - if (go != gameObjectCached) - { - guiElement = go.GetComponent() ?? (GUIElement) go.GetComponent(); - gameObjectCached = go; - } - - if (guiElement == null) - { - Finish(); - return; - } - - // get screen point to test - - var testPoint = screenPoint.IsNone ? new Vector3(0, 0) : screenPoint.Value; - - if (!screenX.IsNone) - { - testPoint.x = screenX.Value; - } - - if (!screenY.IsNone) - { - testPoint.y = screenY.Value; - } - - if (normalized.Value) - { - testPoint.x *= Screen.width; - testPoint.y *= Screen.height; - } - - // perform hit test - - if (guiElement.HitTest(testPoint, camera)) - { - storeResult.Value = true; - Fsm.Event(hitEvent); - } - else - { - storeResult.Value = false; - } - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIElementHitTest.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIElementHitTest.cs.meta deleted file mode 100644 index bf16ac368..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIElementHitTest.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 245d4ced7ea5e644caa802866b4057b1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIHorizontalSlider.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIHorizontalSlider.cs deleted file mode 100644 index 563c109cd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIHorizontalSlider.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("GUI Horizontal Slider connected to a Float Variable.")] - public class GUIHorizontalSlider : GUIAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat floatVariable; - [RequiredField] - public FsmFloat leftValue; - [RequiredField] - public FsmFloat rightValue; - public FsmString sliderStyle; - public FsmString thumbStyle; - - public override void Reset() - { - base.Reset(); - floatVariable = null; - leftValue = 0f; - rightValue = 100f; - sliderStyle = "horizontalslider"; - thumbStyle = "horizontalsliderthumb"; - } - - public override void OnGUI() - { - base.OnGUI(); - - if(floatVariable != null) - { - floatVariable.Value = GUI.HorizontalSlider(rect, floatVariable.Value, leftValue.Value, rightValue.Value, - sliderStyle.Value != "" ? sliderStyle.Value : "horizontalslider", - thumbStyle.Value != "" ? thumbStyle.Value : "horizontalsliderthumb"); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIHorizontalSlider.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIHorizontalSlider.cs.meta deleted file mode 100644 index f96630e69..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIHorizontalSlider.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 25a46b5ed1cd97e439e3450484cea7af -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUILabel.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUILabel.cs deleted file mode 100644 index 6f11db2dc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUILabel.cs +++ /dev/null @@ -1,26 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("GUI Label.")] - public class GUILabel : GUIContentAction - { - public override void OnGUI() - { - base.OnGUI(); - - if (string.IsNullOrEmpty(style.Value)) - { - GUI.Label(rect, content); - } - else - { - GUI.Label(rect, content, style.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUILabel.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUILabel.cs.meta deleted file mode 100644 index 7dbba5aab..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUILabel.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f6f9a724c3a042e459fdd042677426b1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUITooltip.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUITooltip.cs deleted file mode 100644 index e1749973b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUITooltip.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Gets the Tooltip of the control the mouse is currently over and store it in a String Variable.")] - public class GUITooltip : FsmStateAction - { - [UIHint(UIHint.Variable)] - public FsmString storeTooltip; - - public override void Reset() - { - storeTooltip = null; - } - - public override void OnGUI() - { - storeTooltip.Value = GUI.tooltip; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUITooltip.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUITooltip.cs.meta deleted file mode 100644 index 4e24a1138..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUITooltip.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9d0e2091200eed44689cbb414dd73395 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIVerticalSlider.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIVerticalSlider.cs deleted file mode 100644 index 32ae3d5db..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIVerticalSlider.cs +++ /dev/null @@ -1,45 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("GUI Vertical Slider connected to a Float Variable.")] - public class GUIVerticalSlider : GUIAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat floatVariable; - [RequiredField] - public FsmFloat topValue; - [RequiredField] - public FsmFloat bottomValue; - public FsmString sliderStyle; - public FsmString thumbStyle; - - public override void Reset() - { - base.Reset(); - floatVariable = null; - topValue = 100f; - bottomValue = 0f; - sliderStyle = "verticalslider"; - thumbStyle = "verticalsliderthumb"; - width = 0.1f; - } - - public override void OnGUI() - { - base.OnGUI(); - - if(floatVariable != null) - { - floatVariable.Value = GUI.VerticalSlider(rect, floatVariable.Value, topValue.Value, bottomValue.Value, - sliderStyle.Value != "" ? sliderStyle.Value : "verticalslider", - thumbStyle.Value != "" ? thumbStyle.Value : "verticalsliderthumb"); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIVerticalSlider.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIVerticalSlider.cs.meta deleted file mode 100644 index ef8fa82d9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/GUIVerticalSlider.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7236a76ba89533945a2f8847dbd362a2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/ResetGUIMatrix.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/ResetGUIMatrix.cs deleted file mode 100644 index 42578a3c7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/ResetGUIMatrix.cs +++ /dev/null @@ -1,16 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Resets the GUI matrix. Useful if you've rotated or scaled the GUI and now want to reset it.")] - public class ResetGUIMatrix : FsmStateAction - { - public override void OnGUI() - { - PlayMakerGUI.GUIMatrix = GUI.matrix = Matrix4x4.identity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/ResetGUIMatrix.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/ResetGUIMatrix.cs.meta deleted file mode 100644 index b447de771..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/ResetGUIMatrix.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 02176d2a0e0c28b47ab11859676fafb6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/RotateGUI.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/RotateGUI.cs deleted file mode 100644 index 79a78a48d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/RotateGUI.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Rotates the GUI around a pivot point. By default only effects GUI rendered by this FSM, check Apply Globally to effect all GUI controls.")] - public class RotateGUI : FsmStateAction - { - [RequiredField] - public FsmFloat angle; - [RequiredField] - public FsmFloat pivotX; - [RequiredField] - public FsmFloat pivotY; - public bool normalized; - public bool applyGlobally; - - bool applied; - - public override void Reset() - { - angle = 0; - pivotX = 0.5f; - pivotY = 0.5f; - normalized = true; - applyGlobally = false; - } - - public override void OnGUI() - { - if (applied) - { - return; - } - - var pivotPoint = new Vector2(pivotX.Value, pivotY.Value); - - if (normalized) - { - pivotPoint.x *= Screen.width; - pivotPoint.y *= Screen.height; - } - - GUIUtility.RotateAroundPivot(angle.Value, pivotPoint); - - if (applyGlobally) - { - PlayMakerGUI.GUIMatrix = GUI.matrix; - applied = true; - } - } - - public override void OnUpdate() - { - applied = false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/RotateGUI.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/RotateGUI.cs.meta deleted file mode 100644 index b72e103d0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/RotateGUI.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c3eee34a1e1638a438487dcbdb4616ef -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/ScaleGUI.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/ScaleGUI.cs deleted file mode 100644 index 347040832..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/ScaleGUI.cs +++ /dev/null @@ -1,80 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -#if !UNITY_FLASH - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Scales the GUI around a pivot point. By default only effects GUI rendered by this FSM, check Apply Globally to effect all GUI controls.")] - public class ScaleGUI : FsmStateAction - { - [RequiredField] - public FsmFloat scaleX; - - [RequiredField] - public FsmFloat scaleY; - - [RequiredField] - public FsmFloat pivotX; - - [RequiredField] - public FsmFloat pivotY; - - [Tooltip("Pivot point uses normalized coordinates. E.g. 0.5 is the center of the screen.")] - public bool normalized; - - public bool applyGlobally; - - bool applied; - - public override void Reset() - { - scaleX = 1f; - scaleY = 1f; - pivotX = 0.5f; - pivotY = 0.5f; - normalized = true; - applyGlobally = false; - } - - public override void OnGUI() - { - if (applied) - { - return; - } - - var scale = new Vector2(scaleX.Value, scaleY.Value); - - // Not allowed to scale to 0 - it breaks the GUI matrix - - if (Equals(scale.x, 0)) scale.x = 0.0001f; - if (Equals(scale.y, 0)) scale.x = 0.0001f; - - var pivotPoint = new Vector2(pivotX.Value, pivotY.Value); - - if (normalized) - { - pivotPoint.x *= Screen.width; - pivotPoint.y *= Screen.height; - } - - GUIUtility.ScaleAroundPivot(scale, pivotPoint); - - if (applyGlobally) - { - PlayMakerGUI.GUIMatrix = GUI.matrix; - applied = true; - } - } - - public override void OnUpdate() - { - applied = false; - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/ScaleGUI.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/ScaleGUI.cs.meta deleted file mode 100644 index 9b9896c31..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/ScaleGUI.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7cb056ea1f15c1b44913c9d39244208b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIAlpha.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIAlpha.cs deleted file mode 100644 index 4e3231c45..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIAlpha.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Sets the global Alpha for the GUI. Useful for fading GUI up/down. By default only effects GUI rendered by this FSM, check Apply Globally to effect all GUI controls.")] - public class SetGUIAlpha : FsmStateAction - { - [RequiredField] - public FsmFloat alpha; - public FsmBool applyGlobally; - - public override void Reset() - { - alpha = 1f; - } - - public override void OnGUI() - { - GUI.color = new Color(GUI.color.r, GUI.color.g, GUI.color.b, alpha.Value); - - if (applyGlobally.Value) - { - PlayMakerGUI.GUIColor = GUI.color; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIAlpha.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIAlpha.cs.meta deleted file mode 100644 index 19296188d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIAlpha.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 681d64666aa35bd429b24d6c5693760f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIBackgroundColor.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIBackgroundColor.cs deleted file mode 100644 index 79556c431..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIBackgroundColor.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Sets the Tinting Color for all background elements rendered by the GUI. By default only effects GUI rendered by this FSM, check Apply Globally to effect all GUI controls.")] - public class SetGUIBackgroundColor : FsmStateAction - { - [RequiredField] - public FsmColor backgroundColor; - public FsmBool applyGlobally; - - public override void Reset() - { - backgroundColor = Color.white; - } - - public override void OnGUI() - { - GUI.backgroundColor = backgroundColor.Value; - - if (applyGlobally.Value) - { - PlayMakerGUI.GUIBackgroundColor = GUI.backgroundColor; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIBackgroundColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIBackgroundColor.cs.meta deleted file mode 100644 index 1da8ec14e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIBackgroundColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 45f2aaf8ee4849f4180653917eac92ad -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIColor.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIColor.cs deleted file mode 100644 index 23f96d828..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIColor.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Sets the Tinting Color for the GUI. By default only effects GUI rendered by this FSM, check Apply Globally to effect all GUI controls.")] - public class SetGUIColor : FsmStateAction - { - [RequiredField] - public FsmColor color; - public FsmBool applyGlobally; - - public override void Reset() - { - color = Color.white; - } - - public override void OnGUI() - { - GUI.color = color.Value; - - if (applyGlobally.Value) - { - PlayMakerGUI.GUIColor = GUI.color; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIColor.cs.meta deleted file mode 100644 index 1233e945b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 31b0ef84843dda14eb74bc1bfecdc167 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIContentColor.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIContentColor.cs deleted file mode 100644 index 348ab49ea..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIContentColor.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Sets the Tinting Color for all text rendered by the GUI. By default only effects GUI rendered by this FSM, check Apply Globally to effect all GUI controls.")] - public class SetGUIContentColor : FsmStateAction - { - [RequiredField] - public FsmColor contentColor; - public FsmBool applyGlobally; - - public override void Reset() - { - contentColor = Color.white; - } - - public override void OnGUI() - { - GUI.contentColor = contentColor.Value; - - if (applyGlobally.Value) - { - PlayMakerGUI.GUIContentColor = GUI.contentColor; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIContentColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIContentColor.cs.meta deleted file mode 100644 index cad6ab57d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIContentColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 249bd3a217fcef24f8d8841f7cfcd510 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIDepth.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIDepth.cs deleted file mode 100644 index 62fa98c11..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIDepth.cs +++ /dev/null @@ -1,29 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Sets the sorting depth of subsequent GUI elements.")] - public class SetGUIDepth : FsmStateAction - { - [RequiredField] - public FsmInt depth; - - public override void Reset() - { - depth = 0; - } - - public override void OnPreprocess() - { - Fsm.HandleOnGUI = true; - } - - public override void OnGUI() - { - GUI.depth = depth.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIDepth.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIDepth.cs.meta deleted file mode 100644 index 4b9509f9b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUIDepth.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 60696b5a384803a449ea3ad476738f41 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUISkin.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUISkin.cs deleted file mode 100644 index d4e90f6cc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUISkin.cs +++ /dev/null @@ -1,33 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Sets the GUISkin used by GUI elements.")] - public class SetGUISkin : FsmStateAction - { - [RequiredField] - public GUISkin skin; - public FsmBool applyGlobally; - - public override void Reset() - { - skin = null; - applyGlobally = true; - } - - public override void OnGUI() - { - if (skin != null) - GUI.skin = skin; - - if (applyGlobally.Value) - { - PlayMakerGUI.GUISkin = skin; - Finish(); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUISkin.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUISkin.cs.meta deleted file mode 100644 index e03ddca3b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetGUISkin.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3151ca2da34e926439df38bcc05eb495 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetMouseCursor.cs b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetMouseCursor.cs deleted file mode 100644 index 580ecbc82..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetMouseCursor.cs +++ /dev/null @@ -1,59 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUI)] - [Tooltip("Controls the appearance of Mouse Cursor.")] - public class SetMouseCursor : FsmStateAction - { - public FsmTexture cursorTexture; - public FsmBool hideCursor; - public FsmBool lockCursor; - - public override void Reset() - { - cursorTexture = null; - hideCursor = false; - lockCursor = false; - } - - public override void OnEnter() - { - PlayMakerGUI.LockCursor = lockCursor.Value; - PlayMakerGUI.HideCursor = hideCursor.Value; - PlayMakerGUI.MouseCursor = cursorTexture.Value; - - Finish(); - } - -/* - public override void OnUpdate() - { - // not sure if there is a performance impact to setting these ever frame, - // so only do it if it's changed. - - if (Screen.lockCursor != lockCursor.Value) - Screen.lockCursor = lockCursor.Value; - - if (Screen.showCursor == hideCursor.Value) - Screen.showCursor = !hideCursor.Value; - } - - public override void OnGUI() - { - // draw custom cursor - - if (cursorTexture != null) - { - var mousePos = Input.mousePosition; - var pos = new Rect(mousePos.x - cursorTexture.width * 0.5f, - Screen.height - mousePos.y - cursorTexture.height * 0.5f, - cursorTexture.width, cursorTexture.height); - - GUI.DrawTexture(pos, cursorTexture); - } - }*/ - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetMouseCursor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUI/SetMouseCursor.cs.meta deleted file mode 100644 index 2000fa984..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUI/SetMouseCursor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 878e7650db19ecc48b8a5e21a42f4502 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUIElement.meta b/Assets/ThirdParty/PlayMaker/Actions/GUIElement.meta deleted file mode 100644 index 9cf59f477..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUIElement.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 3afcd8455cf8a1b4f9febd35d78cd85e -folderAsset: yes -timeCreated: 1504500865 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUIText.cs b/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUIText.cs deleted file mode 100644 index 0e970dc07..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUIText.cs +++ /dev/null @@ -1,72 +0,0 @@ -// (c) Copyright HutongGames, LLC. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ -#if !UNITY_2019_3_OR_NEWER - - [ActionCategory(ActionCategory.GUIElement)] - [Tooltip("Sets the Text used by the GUIText Component attached to a Game Object.")] - #if UNITY_2017_2_OR_NEWER - #pragma warning disable CS0618 - [Obsolete("GUIText is part of the legacy UI system and will be removed in a future release")] - #endif - public class SetGUIText : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(GUIText))] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.TextArea)] - public FsmString text; - - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - text = ""; - } - - public override void OnEnter() - { - DoSetGUIText(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetGUIText(); - } - - void DoSetGUIText() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - guiText.text = text.Value; - } - } - } -#else - - [ActionCategory(ActionCategory.GUIElement)] - [Tooltip("Sets the Text used by the GUIText Component attached to a Game Object.")] - [Obsolete("GUIText is part of the legacy UI system removed in 2019.3")] - public class SetGUIText : FsmStateAction - { - [ActionSection("Obsolete. Use Unity UI instead.")] - - [UIHint(UIHint.TextArea)] - public FsmString text; - } - -#endif -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUIText.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUIText.cs.meta deleted file mode 100644 index db1c26e05..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUIText.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: df24cbf936769a341b29239c83db2386 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITexture.cs b/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITexture.cs deleted file mode 100644 index fc8135d25..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITexture.cs +++ /dev/null @@ -1,59 +0,0 @@ -// (c) Copyright HutongGames, LLC. All rights reserved. - -using UnityEngine; -using System; - -namespace HutongGames.PlayMaker.Actions -{ -#if !UNITY_2019_3_OR_NEWER - - [ActionCategory(ActionCategory.GUIElement)] - [Tooltip("Sets the Texture used by the GUITexture attached to a Game Object.")] - #if UNITY_2017_2_OR_NEWER - #pragma warning disable CS0618 - [Obsolete("GUITexture is part of the legacy UI system and will be removed in a future release")] - #endif - public class SetGUITexture : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(GUITexture))] - [Tooltip("The GameObject that owns the GUITexture.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Texture to apply.")] - public FsmTexture texture; - - public override void Reset() - { - gameObject = null; - texture = null; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - guiTexture.texture = texture.Value; - } - - Finish(); - } - } -#else - - [ActionCategory(ActionCategory.GUIElement)] - [Tooltip("Sets the Texture used by the GUITexture attached to a Game Object.")] - [Obsolete("GUITexture is part of the legacy UI system removed in 2019.3")] - public class SetGUITexture : FsmStateAction - { - [ActionSection("Obsolete. Use Unity UI instead.")] - - public FsmTexture texture; - } - -#endif - - -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITexture.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITexture.cs.meta deleted file mode 100644 index f9cff3765..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITexture.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 983d4f76436f46b4bbff9fd836a5f482 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureAlpha.cs b/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureAlpha.cs deleted file mode 100644 index 330ba5fda..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureAlpha.cs +++ /dev/null @@ -1,71 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System; - -namespace HutongGames.PlayMaker.Actions -{ -#if !UNITY_2019_3_OR_NEWER - - [ActionCategory(ActionCategory.GUIElement)] - [Tooltip("Sets the Alpha of the GUITexture attached to a Game Object. Useful for fading GUI elements in/out.")] - #if UNITY_2017_2_OR_NEWER - #pragma warning disable CS0618 - [Obsolete("GUITexture is part of the legacy UI system and will be removed in a future release")] - #endif - public class SetGUITextureAlpha : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(GUITexture))] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmFloat alpha; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - alpha = 1.0f; - everyFrame = false; - } - - public override void OnEnter() - { - DoGUITextureAlpha(); - - if(!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGUITextureAlpha(); - } - - void DoGUITextureAlpha() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - var color = guiTexture.color; - guiTexture.color = new Color(color.r, color.g, color.b, alpha.Value); - } - } - } - -#else - - [ActionCategory(ActionCategory.GUIElement)] - [Tooltip("Sets the Alpha of the GUITexture attached to a Game Object. Useful for fading GUI elements in/out.")] - [Obsolete("GUITexture is part of the legacy UI system removed in 2019.3")] - public class SetGUITextureAlpha : FsmStateAction - { - [ActionSection("Obsolete. Use Unity UI instead.")] - - public FsmFloat alpha; - } - -#endif -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureAlpha.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureAlpha.cs.meta deleted file mode 100644 index bcdc41029..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureAlpha.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 08b78615a290fed42985e1549b225a17 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureColor.cs b/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureColor.cs deleted file mode 100644 index 9fe180af4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureColor.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System; - -namespace HutongGames.PlayMaker.Actions -{ -#if !UNITY_2019_3_OR_NEWER - - [ActionCategory(ActionCategory.GUIElement)] - [Tooltip("Sets the Color of the GUITexture attached to a Game Object.")] - #if UNITY_2017_2_OR_NEWER - #pragma warning disable CS0618 - [Obsolete("GUITexture is part of the legacy UI system and will be removed in a future release")] - #endif - public class SetGUITextureColor : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(GUITexture))] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmColor color; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - color = Color.white; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetGUITextureColor(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetGUITextureColor(); - } - - void DoSetGUITextureColor() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - guiTexture.color = color.Value; - } - } - } - -#else - - [ActionCategory(ActionCategory.GUIElement)] - [Tooltip("Sets the Color of the GUITexture attached to a Game Object.")] - [Obsolete("GUITexture is part of the legacy UI system removed in 2019.3")] - public class SetGUITextureColor : FsmStateAction - { - [ActionSection("Obsolete. Use Unity UI instead.")] - - public FsmColor color; - } - -#endif -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureColor.cs.meta deleted file mode 100644 index daf8ec8c6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUIElement/SetGUITextureColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 814f5df03eb9286489090e2a8a7c5254 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout.meta deleted file mode 100644 index fa21e3424..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 5a1255296f29e4440824a8cb223a5658 -folderAsset: yes -timeCreated: 1504500283 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutAction.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutAction.cs deleted file mode 100644 index ea08b17f8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutAction.cs +++ /dev/null @@ -1,35 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [Tooltip("GUILayout base action - don't use!")] - public abstract class GUILayoutAction : FsmStateAction - { - public LayoutOption[] layoutOptions; - - GUILayoutOption[] options; - - public GUILayoutOption[] LayoutOptions - { - get - { - if (options == null) - { - options = new GUILayoutOption[layoutOptions.Length]; - for (int i = 0; i < layoutOptions.Length; i++) - options[i] = layoutOptions[i].GetGUILayoutOption(); - } - - return options; - } - } - - public override void Reset() - { - layoutOptions = new LayoutOption[0]; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutAction.cs.meta deleted file mode 100644 index 7e8ef8dbc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutAction.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cf00ee48784570f4ebf959a52d160ae4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginArea.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginArea.cs deleted file mode 100644 index 15e8e2067..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginArea.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Begin a GUILayout block of GUI controls in a fixed screen area. NOTE: Block must end with a corresponding GUILayoutEndArea.")] - public class GUILayoutBeginArea : FsmStateAction - { - [UIHint(UIHint.Variable)] - public FsmRect screenRect; - public FsmFloat left; - public FsmFloat top; - public FsmFloat width; - public FsmFloat height; - public FsmBool normalized; - public FsmString style; - - private Rect rect; - - public override void Reset() - { - screenRect = null; - left = 0; - top = 0; - width = 1; - height = 1; - normalized = true; - style = ""; - } - - public override void OnGUI() - { - rect = !screenRect.IsNone ? screenRect.Value : new Rect(); - - if (!left.IsNone) rect.x = left.Value; - if (!top.IsNone) rect.y = top.Value; - if (!width.IsNone) rect.width = width.Value; - if (!height.IsNone) rect.height = height.Value; - - if (normalized.Value) - { - rect.x *= Screen.width; - rect.width *= Screen.width; - rect.y *= Screen.height; - rect.height *= Screen.height; - } - - // if no GUIContent is given, then the signature is misunderstood as BeginAreay(Rect,String) - GUILayout.BeginArea(rect, GUIContent.none, style.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginArea.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginArea.cs.meta deleted file mode 100644 index 06f5e0845..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginArea.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 30c94f2ef05504344a6ef1667d4a9fd8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginAreaFollowObject.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginAreaFollowObject.cs deleted file mode 100644 index 1447c7c95..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginAreaFollowObject.cs +++ /dev/null @@ -1,93 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Begin a GUILayout area that follows the specified game object. Useful for overlays (e.g., playerName). NOTE: Block must end with a corresponding GUILayoutEndArea.")] - public class GUILayoutBeginAreaFollowObject : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to follow.")] - public FsmGameObject gameObject; - - [RequiredField] - public FsmFloat offsetLeft; - - [RequiredField] - public FsmFloat offsetTop; - - [RequiredField] - public FsmFloat width; - - [RequiredField] - public FsmFloat height; - - [Tooltip("Use normalized screen coordinates (0-1).")] - public FsmBool normalized; - - [Tooltip("Optional named style in the current GUISkin")] - public FsmString style; - - public override void Reset() - { - gameObject = null; - offsetLeft = 0f; - offsetTop = 0f; - width = 1f; - height = 1f; - normalized = true; - style = ""; - } - - public override void OnGUI() - { - var go = gameObject.Value; - - if (go == null || Camera.main == null) - { - DummyBeginArea(); - return; - } - - // get go position in camera space - - var worldPosition = go.transform.position; - var positionInCameraSpace = Camera.main.transform.InverseTransformPoint(worldPosition); - if (positionInCameraSpace.z < 0) - { - // behind camera, but still need to BeginArea() - // TODO option to keep onscreen - DummyBeginArea(); - return; - } - - // get screen position - - Vector2 screenPos = Camera.main.WorldToScreenPoint(worldPosition); - - var left = screenPos.x + (normalized.Value ? offsetLeft.Value * Screen.width : offsetLeft.Value); - var top = screenPos.y + (normalized.Value ? offsetTop.Value * Screen.width : offsetTop.Value); - - var rect = new Rect(left, top, width.Value, height.Value); - - if (normalized.Value) - { - rect.width *= Screen.width; - rect.height *= Screen.height; - } - - // convert screen coordinates - rect.y = Screen.height - rect.y; - - GUILayout.BeginArea(rect, style.Value); - } - - static void DummyBeginArea() - { - GUILayout.BeginArea(new Rect()); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginAreaFollowObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginAreaFollowObject.cs.meta deleted file mode 100644 index 1ca8f9084..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginAreaFollowObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4f950adc018606d4c8bab36697f6732c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginCentered.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginCentered.cs deleted file mode 100644 index 157167a96..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginCentered.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Begin a centered GUILayout block. The block is centered inside a parent GUILayout Area. So to place the block in the center of the screen, first use a GULayout Area the size of the whole screen (the default setting). NOTE: Block must end with a corresponding GUILayoutEndCentered.")] - public class GUILayoutBeginCentered : FsmStateAction - { - public override void Reset() - { - } - - public override void OnGUI() - { - GUILayout.BeginVertical(); - GUILayout.FlexibleSpace(); - GUILayout.BeginHorizontal(); - GUILayout.FlexibleSpace(); - GUILayout.BeginVertical(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginCentered.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginCentered.cs.meta deleted file mode 100644 index d1fbadd27..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginCentered.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6230eb3c4a60d944cbcdd5c911ff378c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginHorizontal.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginHorizontal.cs deleted file mode 100644 index c20c3c6ac..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginHorizontal.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout BeginHorizontal.")] - public class GUILayoutBeginHorizontal : GUILayoutAction - { - public FsmTexture image; - public FsmString text; - public FsmString tooltip; - public FsmString style; - - public override void Reset() - { - base.Reset(); - text = ""; - image = null; - tooltip = ""; - style = ""; - } - - public override void OnGUI() - { - GUILayout.BeginHorizontal(new GUIContent(text.Value, image.Value, tooltip.Value), style.Value, LayoutOptions); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginHorizontal.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginHorizontal.cs.meta deleted file mode 100644 index a4c1fc346..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginHorizontal.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 27cd4a9db3650944583f7a4c89dba5e1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginScrollView.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginScrollView.cs deleted file mode 100644 index e3d22040f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginScrollView.cs +++ /dev/null @@ -1,58 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Begins a ScrollView. Use GUILayoutEndScrollView at the end of the block.")] - public class GUILayoutBeginScrollView : GUILayoutAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Assign a Vector2 variable to store the scroll position of this view.")] - public FsmVector2 scrollPosition; - - [Tooltip("Always show the horizontal scrollbars.")] - public FsmBool horizontalScrollbar; - - [Tooltip("Always show the vertical scrollbars.")] - public FsmBool verticalScrollbar; - - [Tooltip("Define custom styles below. NOTE: You have to define all the styles if you check this option.")] - public FsmBool useCustomStyle; - - [Tooltip("Named style in the active GUISkin for the horizontal scrollbars.")] - public FsmString horizontalStyle; - - [Tooltip("Named style in the active GUISkin for the vertical scrollbars.")] - public FsmString verticalStyle; - - [Tooltip("Named style in the active GUISkin for the background.")] - public FsmString backgroundStyle; - - public override void Reset() - { - base.Reset(); - scrollPosition = null; - horizontalScrollbar = null; - verticalScrollbar = null; - useCustomStyle = null; - horizontalStyle = null; - verticalStyle = null; - backgroundStyle = null; - } - - public override void OnGUI() - { - if (useCustomStyle.Value) - { - scrollPosition.Value = GUILayout.BeginScrollView(scrollPosition.Value, horizontalScrollbar.Value, verticalScrollbar.Value, horizontalStyle.Value, verticalStyle.Value, backgroundStyle.Value, LayoutOptions); - } - else - { - scrollPosition.Value = GUILayout.BeginScrollView(scrollPosition.Value, horizontalScrollbar.Value, verticalScrollbar.Value, LayoutOptions); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginScrollView.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginScrollView.cs.meta deleted file mode 100644 index 45781c051..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginScrollView.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 46d1d0e6718068d4183523024920c532 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginVertical.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginVertical.cs deleted file mode 100644 index 0337d714b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginVertical.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Begins a vertical control group. The group must be closed with GUILayoutEndVertical action.")] - public class GUILayoutBeginVertical : GUILayoutAction - { - public FsmTexture image; - public FsmString text; - public FsmString tooltip; - public FsmString style; - - public override void Reset() - { - base.Reset(); - text = ""; - image = null; - tooltip = ""; - style = ""; - } - - public override void OnGUI() - { - GUILayout.BeginVertical(new GUIContent(text.Value, image.Value, tooltip.Value), style.Value, LayoutOptions); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginVertical.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginVertical.cs.meta deleted file mode 100644 index 4e0f40ab9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBeginVertical.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 58a06762632d10f42a3cf2003a1584b1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBox.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBox.cs deleted file mode 100644 index b1b9b8738..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBox.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Box.")] - public class GUILayoutBox : GUILayoutAction - { - [Tooltip("Image to display in the Box.")] - public FsmTexture image; - - [Tooltip("Text to display in the Box.")] - public FsmString text; - - [Tooltip("Optional Tooltip string.")] - public FsmString tooltip; - - [Tooltip("Optional GUIStyle in the active GUISkin.")] - public FsmString style; - - public override void Reset() - { - base.Reset(); - text = ""; - image = null; - tooltip = ""; - style = ""; - } - - public override void OnGUI() - { - if (string.IsNullOrEmpty(style.Value)) - { - GUILayout.Box(new GUIContent(text.Value, image.Value, tooltip.Value), LayoutOptions); - } - else - { - GUILayout.Box(new GUIContent(text.Value, image.Value, tooltip.Value), style.Value, LayoutOptions); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBox.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBox.cs.meta deleted file mode 100644 index c6b39121d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutBox.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 10aedf67ed01d084d9f7ca62ebe92533 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutButton.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutButton.cs deleted file mode 100644 index 048ed3444..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutButton.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Button. Sends an Event when pressed. Optionally stores the button state in a Bool Variable.")] - public class GUILayoutButton : GUILayoutAction - { - public FsmEvent sendEvent; - [UIHint(UIHint.Variable)] - public FsmBool storeButtonState; - public FsmTexture image; - public FsmString text; - public FsmString tooltip; - public FsmString style; - - public override void Reset() - { - base.Reset(); - sendEvent = null; - storeButtonState = null; - text = ""; - image = null; - tooltip = ""; - style = ""; - } - - public override void OnGUI() - { - bool buttonPressed; - - if (string.IsNullOrEmpty(style.Value)) - { - buttonPressed = GUILayout.Button(new GUIContent(text.Value, image.Value, tooltip.Value), LayoutOptions); - } - else - { - buttonPressed = GUILayout.Button(new GUIContent(text.Value, image.Value, tooltip.Value), style.Value, LayoutOptions); - } - - if (buttonPressed) - { - Fsm.Event(sendEvent); - } - - if (storeButtonState != null) - { - storeButtonState.Value = buttonPressed; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutButton.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutButton.cs.meta deleted file mode 100644 index 29463f8ae..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutButton.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e7f20b3c86dfaf346b29850e99187a6d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutConfirmPasswordField.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutConfirmPasswordField.cs deleted file mode 100644 index 24c32b79c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutConfirmPasswordField.cs +++ /dev/null @@ -1,63 +0,0 @@ -using UnityEngine; -using System.Collections; - - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Password Field. Optionally send an event if the text has been edited.")] - public class GUILayoutConfirmPasswordField : GUILayoutAction { - - [UIHint(UIHint.Variable)] - [Tooltip("The password Text")] - - public FsmString text; - [Tooltip("The Maximum Length of the field")] - public FsmInt maxLength; - - [Tooltip("The Style of the Field")] - public FsmString style; - - [Tooltip("Event sent when field content changed")] - public FsmEvent changedEvent; - - [Tooltip("Replacement character to hide the password")] - public FsmString mask; - - [Tooltip("GUILayout Password Field. Optionally send an event if the text has been edited.")] - public FsmBool confirm; - - [Tooltip("Confirmation content")] - public FsmString password; - - public override void Reset() - { - text = null; - maxLength = 25; - style = "TextField"; - mask = "*"; - changedEvent = null; - confirm = false; - password = null; - } - - public override void OnGUI() - { - var guiChanged = GUI.changed; - GUI.changed = false; - - text.Value = GUILayout.PasswordField(text.Value, mask.Value[0], style.Value, LayoutOptions); - - if (GUI.changed) - { - Fsm.Event(changedEvent); - GUIUtility.ExitGUI(); - } - else - { - GUI.changed = guiChanged; - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutConfirmPasswordField.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutConfirmPasswordField.cs.meta deleted file mode 100644 index fd7f1af98..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutConfirmPasswordField.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 26f5f741942744e468b2cd0fd24c75a3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEmailField.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEmailField.cs deleted file mode 100644 index 8277d3bce..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEmailField.cs +++ /dev/null @@ -1,53 +0,0 @@ -using UnityEngine; -using System.Collections; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Password Field. Optionally send an event if the text has been edited.")] - public class GUILayoutEmailField : GUILayoutAction { - - [UIHint(UIHint.Variable)] - [Tooltip("The email Text")] - public FsmString text; - - [Tooltip("The Maximum Length of the field")] - public FsmInt maxLength; - - [Tooltip("The Style of the Field")] - public FsmString style; - - [Tooltip("Event sent when field content changed")] - public FsmEvent changedEvent; - - [Tooltip("Email valid format flag")] - public FsmBool valid; - - public override void Reset() - { - text = null; - maxLength = 25; - style = "TextField"; - valid = true; - changedEvent = null; - } - - public override void OnGUI() - { - var guiChanged = GUI.changed; - GUI.changed = false; - - text.Value = GUILayout.TextField(text.Value, style.Value, LayoutOptions); - - if (GUI.changed) - { - Fsm.Event(changedEvent); - GUIUtility.ExitGUI(); - } - else - { - GUI.changed = guiChanged; - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEmailField.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEmailField.cs.meta deleted file mode 100644 index cced30f22..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEmailField.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c911af626aab7184eb71f56bf16b4bc2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndArea.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndArea.cs deleted file mode 100644 index 085ebfffe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndArea.cs +++ /dev/null @@ -1,21 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Close a GUILayout group started with BeginArea.")] - public class GUILayoutEndArea : FsmStateAction - { - public override void Reset() - { - } - - public override void OnGUI() - { - GUILayout.EndArea(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndArea.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndArea.cs.meta deleted file mode 100644 index 70697ee74..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndArea.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f41e103f41cd8fd489822cc2e7694a19 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndCentered.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndCentered.cs deleted file mode 100644 index 7fa510715..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndCentered.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("End a centered GUILayout block started with GUILayoutBeginCentered.")] - public class GUILayoutEndCentered : FsmStateAction - { - public override void Reset() - { - } - - public override void OnGUI() - { - GUILayout.EndVertical(); - GUILayout.FlexibleSpace(); - GUILayout.EndHorizontal(); - GUILayout.FlexibleSpace(); - GUILayout.EndVertical(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndCentered.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndCentered.cs.meta deleted file mode 100644 index 483e69cb7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndCentered.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 89536a71cb2d5d646b6848e75bd3462f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndHorizontal.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndHorizontal.cs deleted file mode 100644 index d2f6d8a1f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndHorizontal.cs +++ /dev/null @@ -1,21 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Close a group started with BeginHorizontal.")] - public class GUILayoutEndHorizontal : FsmStateAction - { - public override void Reset() - { - } - - public override void OnGUI() - { - GUILayout.EndHorizontal(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndHorizontal.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndHorizontal.cs.meta deleted file mode 100644 index 99f5158b9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndHorizontal.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3e2da75bd5e127349a81f1645b16996a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndScrollView.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndScrollView.cs deleted file mode 100644 index 9d88d642f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndScrollView.cs +++ /dev/null @@ -1,16 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Close a group started with GUILayout Begin ScrollView.")] - public class GUILayoutEndScrollView : FsmStateAction - { - public override void OnGUI() - { - GUILayout.EndScrollView(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndScrollView.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndScrollView.cs.meta deleted file mode 100644 index b93c30cb3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndScrollView.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4e9ea6bfde86b2e4b9bee487684216f4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndVertical.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndVertical.cs deleted file mode 100644 index 7c2757202..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndVertical.cs +++ /dev/null @@ -1,21 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Close a group started with BeginVertical.")] - public class GUILayoutEndVertical : FsmStateAction - { - public override void Reset() - { - } - - public override void OnGUI() - { - GUILayout.EndVertical(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndVertical.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndVertical.cs.meta deleted file mode 100644 index 95a0b08eb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutEndVertical.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cfb813ec7fa31c24fb0a710e1d1906ac -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFlexibleSpace.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFlexibleSpace.cs deleted file mode 100644 index 7b6aada1a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFlexibleSpace.cs +++ /dev/null @@ -1,21 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Inserts a flexible space element.")] - public class GUILayoutFlexibleSpace : FsmStateAction - { - public override void Reset() - { - } - - public override void OnGUI() - { - GUILayout.FlexibleSpace(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFlexibleSpace.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFlexibleSpace.cs.meta deleted file mode 100644 index 8c51d338b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFlexibleSpace.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a405bebdd5bfcb240afa2a953a244314 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatField.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatField.cs deleted file mode 100644 index 8fd6b619e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatField.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Text Field to edit a Float Variable. Optionally send an event if the text has been edited.")] - public class GUILayoutFloatField : GUILayoutAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Float Variable to show in the edit field.")] - public FsmFloat floatVariable; - - [Tooltip("Optional GUIStyle in the active GUISKin.")] - public FsmString style; - - [Tooltip("Optional event to send when the value changes.")] - public FsmEvent changedEvent; - - public override void Reset() - { - base.Reset(); - floatVariable = null; - style = ""; - changedEvent = null; - } - - public override void OnGUI() - { - var guiChanged = GUI.changed; - GUI.changed = false; - - if (!string.IsNullOrEmpty(style.Value)) - { - floatVariable.Value = float.Parse(GUILayout.TextField(floatVariable.Value.ToString(), style.Value, LayoutOptions)); - } - else - { - floatVariable.Value = float.Parse(GUILayout.TextField(floatVariable.Value.ToString(), LayoutOptions)); - } - - if (GUI.changed) - { - Fsm.Event(changedEvent); - GUIUtility.ExitGUI(); - } - else - { - GUI.changed = guiChanged; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatField.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatField.cs.meta deleted file mode 100644 index 6c5bef904..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatField.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2ff0e259b09945248bd95ee5892ac218 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatLabel.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatLabel.cs deleted file mode 100644 index 73837749a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatLabel.cs +++ /dev/null @@ -1,42 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Label for a Float Variable.")] - public class GUILayoutFloatLabel : GUILayoutAction - { - [Tooltip("Text to put before the float variable.")] - public FsmString prefix; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Float variable to display.")] - public FsmFloat floatVariable; - - [Tooltip("Optional GUIStyle in the active GUISKin.")] - public FsmString style; - - public override void Reset() - { - base.Reset(); - prefix = ""; - style = ""; - floatVariable = null; - } - - public override void OnGUI() - { - if (string.IsNullOrEmpty(style.Value)) - { - GUILayout.Label(new GUIContent(prefix.Value + floatVariable.Value), LayoutOptions); - } - else - { - GUILayout.Label(new GUIContent(prefix.Value + floatVariable.Value), style.Value, LayoutOptions); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatLabel.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatLabel.cs.meta deleted file mode 100644 index ff8c66090..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutFloatLabel.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c77202432ac19af46a106033a35e138c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutHorizontalSlider.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutHorizontalSlider.cs deleted file mode 100644 index 665157dbe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutHorizontalSlider.cs +++ /dev/null @@ -1,50 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("A Horizontal Slider linked to a Float Variable.")] - public class GUILayoutHorizontalSlider : GUILayoutAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat floatVariable; - [RequiredField] - public FsmFloat leftValue; - [RequiredField] - public FsmFloat rightValue; - public FsmEvent changedEvent; - - public override void Reset() - { - base.Reset(); - floatVariable = null; - leftValue = 0; - rightValue = 100; - changedEvent = null; - } - - public override void OnGUI() - { - var guiChanged = GUI.changed; - GUI.changed = false; - - if(floatVariable != null) - { - floatVariable.Value = GUILayout.HorizontalSlider(floatVariable.Value, leftValue.Value, rightValue.Value, LayoutOptions); - } - - if (GUI.changed) - { - Fsm.Event(changedEvent); - GUIUtility.ExitGUI(); - } - else - { - GUI.changed = guiChanged; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutHorizontalSlider.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutHorizontalSlider.cs.meta deleted file mode 100644 index db33acc50..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutHorizontalSlider.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4be705bd84f718e448a0471f4adca4a0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntField.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntField.cs deleted file mode 100644 index b5efbf31f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntField.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Text Field to edit an Int Variable. Optionally send an event if the text has been edited.")] - public class GUILayoutIntField : GUILayoutAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Int Variable to show in the edit field.")] - public FsmInt intVariable; - - [Tooltip("Optional GUIStyle in the active GUISKin.")] - public FsmString style; - - [Tooltip("Optional event to send when the value changes.")] - public FsmEvent changedEvent; - - public override void Reset() - { - base.Reset(); - intVariable = null; - style = ""; - changedEvent = null; - } - - public override void OnGUI() - { - var guiChanged = GUI.changed; - GUI.changed = false; - - if (!string.IsNullOrEmpty(style.Value)) - { - intVariable.Value = int.Parse(GUILayout.TextField(intVariable.Value.ToString(), style.Value, LayoutOptions)); - } - else - { - intVariable.Value = int.Parse(GUILayout.TextField(intVariable.Value.ToString(), LayoutOptions)); - } - - if (GUI.changed) - { - Fsm.Event(changedEvent); - GUIUtility.ExitGUI(); - } - else - { - GUI.changed = guiChanged; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntField.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntField.cs.meta deleted file mode 100644 index e3694249b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntField.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d29fefa855ea4bd48a9e06b7391153ee -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntLabel.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntLabel.cs deleted file mode 100644 index 83cc5201c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntLabel.cs +++ /dev/null @@ -1,42 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Label for an Int Variable.")] - public class GUILayoutIntLabel : GUILayoutAction - { - [Tooltip("Text to put before the int variable.")] - public FsmString prefix; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Int variable to display.")] - public FsmInt intVariable; - - [Tooltip("Optional GUIStyle in the active GUISKin.")] - public FsmString style; - - public override void Reset() - { - base.Reset(); - prefix = ""; - style = ""; - intVariable = null; - } - - public override void OnGUI() - { - if (string.IsNullOrEmpty(style.Value)) - { - GUILayout.Label(new GUIContent(prefix.Value + intVariable.Value), LayoutOptions); - } - else - { - GUILayout.Label(new GUIContent(prefix.Value + intVariable.Value), style.Value, LayoutOptions); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntLabel.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntLabel.cs.meta deleted file mode 100644 index 5daff18cb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutIntLabel.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: efa7dd743542ef948835fe37027787c0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutLabel.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutLabel.cs deleted file mode 100644 index 15465cd3e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutLabel.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Label.")] - public class GUILayoutLabel : GUILayoutAction - { - public FsmTexture image; - public FsmString text; - public FsmString tooltip; - public FsmString style; - - public override void Reset() - { - base.Reset(); - text = ""; - image = null; - tooltip = ""; - style = ""; - } - - public override void OnGUI() - { - if (string.IsNullOrEmpty(style.Value)) - { - GUILayout.Label(new GUIContent(text.Value, image.Value, tooltip.Value), LayoutOptions); - } - else - { - GUILayout.Label(new GUIContent(text.Value, image.Value, tooltip.Value), style.Value, LayoutOptions); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutLabel.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutLabel.cs.meta deleted file mode 100644 index 0562b7bdd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutLabel.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 04c8d5fb24524c8448204a0732529090 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutPasswordField.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutPasswordField.cs deleted file mode 100644 index 764c042db..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutPasswordField.cs +++ /dev/null @@ -1,53 +0,0 @@ -using UnityEngine; -using System.Collections; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Password Field. Optionally send an event if the text has been edited.")] - public class GUILayoutPasswordField : GUILayoutAction { - - [UIHint(UIHint.Variable)] - [Tooltip("The password Text")] - public FsmString text; - - [Tooltip("The Maximum Length of the field")] - public FsmInt maxLength; - - [Tooltip("The Style of the Field")] - public FsmString style; - - [Tooltip("Event sent when field content changed")] - public FsmEvent changedEvent; - - [Tooltip("Replacement character to hide the password")] - public FsmString mask; - - public override void Reset() - { - text = null; - maxLength = 25; - style = "TextField"; - mask = "*"; - changedEvent = null; - } - - public override void OnGUI() - { - var guiChanged = GUI.changed; - GUI.changed = false; - - text.Value = GUILayout.PasswordField(text.Value, mask.Value[0], style.Value, LayoutOptions); - - if (GUI.changed) - { - Fsm.Event(changedEvent); - GUIUtility.ExitGUI(); - } - else - { - GUI.changed = guiChanged; - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutPasswordField.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutPasswordField.cs.meta deleted file mode 100644 index 34cf393be..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutPasswordField.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: aec5b40288ceef042a20a6b9362313dd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutRepeatButton.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutRepeatButton.cs deleted file mode 100644 index 6c0079744..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutRepeatButton.cs +++ /dev/null @@ -1,51 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Repeat Button. Sends an Event while pressed. Optionally store the button state in a Bool Variable.")] - public class GUILayoutRepeatButton : GUILayoutAction - { - public FsmEvent sendEvent; - [UIHint(UIHint.Variable)] - public FsmBool storeButtonState; - public FsmTexture image; - public FsmString text; - public FsmString tooltip; - public FsmString style; - - public override void Reset() - { - base.Reset(); - sendEvent = null; - storeButtonState = null; - text = ""; - image = null; - tooltip = ""; - style = ""; - } - - public override void OnGUI() - { - bool buttonPressed; - - if (string.IsNullOrEmpty(style.Value)) - { - buttonPressed = GUILayout.RepeatButton(new GUIContent(text.Value, image.Value, tooltip.Value), LayoutOptions); - } - else - { - buttonPressed = GUILayout.RepeatButton(new GUIContent(text.Value, image.Value, tooltip.Value), style.Value, LayoutOptions); - } - - if (buttonPressed) - { - Fsm.Event(sendEvent); - } - - storeButtonState.Value = buttonPressed; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutRepeatButton.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutRepeatButton.cs.meta deleted file mode 100644 index fa0ccb672..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutRepeatButton.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0aa9bb6fb5a38c44fb12d1c8bce8108d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSelectionGrid.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSelectionGrid.cs deleted file mode 100644 index bb1776881..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSelectionGrid.cs +++ /dev/null @@ -1,19 +0,0 @@ -/*using UnityEngine; -using System.Collections; - -public class GUILayoutSelectionGrid : MonoBehaviour -{ - - // Use this for initialization - void Start () - { - - } - - // Update is called once per frame - void Update () - { - - } -}*/ - diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSelectionGrid.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSelectionGrid.cs.meta deleted file mode 100644 index 09d8ebd6c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSelectionGrid.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cb2a3347525f41a489603abd9d5b51c8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSpace.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSpace.cs deleted file mode 100644 index 73edd5669..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSpace.cs +++ /dev/null @@ -1,24 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Inserts a space in the current layout group.")] - public class GUILayoutSpace : FsmStateAction - { - public FsmFloat space; - - public override void Reset() - { - space = 10; - } - - public override void OnGUI() - { - GUILayout.Space(space.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSpace.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSpace.cs.meta deleted file mode 100644 index 01f06ecc6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutSpace.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cf27a70ac1ccdde4c974c9247dd005e8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextField.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextField.cs deleted file mode 100644 index b67b4ad65..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextField.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Text Field. Optionally send an event if the text has been edited.")] - public class GUILayoutTextField : GUILayoutAction - { - [UIHint(UIHint.Variable)] - public FsmString text; - public FsmInt maxLength; - public FsmString style; - public FsmEvent changedEvent; - - public override void Reset() - { - base.Reset(); - text = null; - maxLength = 25; - style = "TextField"; - changedEvent = null; - } - - public override void OnGUI() - { - var guiChanged = GUI.changed; - GUI.changed = false; - - text.Value = GUILayout.TextField(text.Value, maxLength.Value, style.Value, LayoutOptions); - - if (GUI.changed) - { - Fsm.Event(changedEvent); - GUIUtility.ExitGUI(); - } - else - { - GUI.changed = guiChanged; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextField.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextField.cs.meta deleted file mode 100644 index 946878f0f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextField.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d10183de2e7f04c479c30ee6b98678aa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextLabel.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextLabel.cs deleted file mode 100644 index 57cd47525..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextLabel.cs +++ /dev/null @@ -1,36 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Label for simple text.")] - public class GUILayoutTextLabel : GUILayoutAction - { - [Tooltip("Text to display.")] - public FsmString text; - - [Tooltip("Optional GUIStyle in the active GUISkin.")] - public FsmString style; - - public override void Reset() - { - base.Reset(); - text = ""; - style = ""; - } - - public override void OnGUI() - { - if (string.IsNullOrEmpty(style.Value)) - { - GUILayout.Label(new GUIContent(text.Value), LayoutOptions); - } - else - { - GUILayout.Label(new GUIContent(text.Value), style.Value, LayoutOptions); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextLabel.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextLabel.cs.meta deleted file mode 100644 index a2d47f5ed..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutTextLabel.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c4ce0c89f6af5a6409cb7b0a80d27ceb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToggle.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToggle.cs deleted file mode 100644 index 2eeeb6782..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToggle.cs +++ /dev/null @@ -1,49 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Makes an on/off Toggle Button and stores the button state in a Bool Variable.")] - public class GUILayoutToggle : GUILayoutAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmBool storeButtonState; - public FsmTexture image; - public FsmString text; - public FsmString tooltip; - public FsmString style; - public FsmEvent changedEvent; - - public override void Reset() - { - base.Reset(); - storeButtonState = null; - text = ""; - image = null; - tooltip = ""; - style = "Toggle"; - changedEvent = null; - } - - public override void OnGUI() - { - var guiChanged = GUI.changed; - GUI.changed = false; - - storeButtonState.Value = GUILayout.Toggle(storeButtonState.Value, new GUIContent(text.Value, image.Value, tooltip.Value), style.Value, LayoutOptions); - - if (GUI.changed) - { - Fsm.Event(changedEvent); - GUIUtility.ExitGUI(); - } - else - { - GUI.changed = guiChanged; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToggle.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToggle.cs.meta deleted file mode 100644 index 42f2d7c63..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToggle.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 208746a6e3e2cff4ca7694ad623a36e6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToolbar.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToolbar.cs deleted file mode 100644 index 529df904b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToolbar.cs +++ /dev/null @@ -1,134 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("GUILayout Toolbar. NOTE: Arrays must be the same length as NumButtons or empty.")] - public class GUILayoutToolbar : GUILayoutAction - { - [Tooltip("The number of buttons in the toolbar")] - public FsmInt numButtons; - - [Tooltip("Store the index of the selected button in an Integer Variable")] - [UIHint(UIHint.Variable)] - public FsmInt selectedButton; - - [Tooltip("Event to send when each button is pressed.")] - public FsmEvent[] buttonEventsArray; - - [Tooltip("Image to use on each button.")] - public FsmTexture[] imagesArray; - - [Tooltip("Text to use on each button.")] - public FsmString[] textsArray; - - [Tooltip("Tooltip to use for each button.")] - public FsmString[] tooltipsArray; - - [Tooltip("A named GUIStyle to use for the toolbar buttons. Default is Button.")] - public FsmString style; - - [Tooltip("Update the content of the buttons every frame. Useful if the buttons are using variables that change.")] - public bool everyFrame; - - private GUIContent[] contents; - - public GUIContent[] Contents - { - get - { - if (contents == null) - { - SetButtonsContent(); - } - - return contents; - } - } - - private void SetButtonsContent() - { - if (contents == null) - { - contents = new GUIContent[numButtons.Value]; - } - - for (var i = 0; i < numButtons.Value; i++) - contents[i] = new GUIContent(); - - for (var i = 0; i < imagesArray.Length; i++) - contents[i].image = imagesArray[i].Value; - - for (var i = 0; i < textsArray.Length; i++) - contents[i].text = textsArray[i].Value; - - for (var i = 0; i < tooltipsArray.Length; i++) - contents[i].tooltip = tooltipsArray[i].Value; - } - - public override void Reset() - { - base.Reset(); - numButtons = 0; - selectedButton = null; - buttonEventsArray = new FsmEvent[0]; - imagesArray = new FsmTexture[0]; - tooltipsArray = new FsmString[0]; - style = "Button"; - everyFrame = false; - } - - public override void OnEnter() - { - var error = ErrorCheck(); - - if (!string.IsNullOrEmpty(error)) - { - LogError(error); - Finish(); - } - } - - public override void OnGUI() - { - if (everyFrame) - { - SetButtonsContent(); - } - - var guiChanged = GUI.changed; - GUI.changed = false; - - selectedButton.Value = GUILayout.Toolbar(selectedButton.Value, Contents, style.Value, LayoutOptions); - - if (GUI.changed) - { - if (selectedButton.Value < buttonEventsArray.Length) - { - Fsm.Event(buttonEventsArray[selectedButton.Value]); - GUIUtility.ExitGUI(); - } - } - else - { - GUI.changed = guiChanged; - } - } - - public override string ErrorCheck () - { - var error = ""; - - if (imagesArray.Length > 0 && imagesArray.Length != numButtons.Value) - error += "Images array doesn't match NumButtons.\n"; - if (textsArray.Length > 0 && textsArray.Length != numButtons.Value) - error += "Texts array doesn't match NumButtons.\n"; - if (tooltipsArray.Length > 0 && tooltipsArray.Length != numButtons.Value) - error += "Tooltips array doesn't match NumButtons.\n"; - - return error; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToolbar.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToolbar.cs.meta deleted file mode 100644 index dd36953ae..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutToolbar.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bd581a34e06b296429e81366c0b07b68 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutVerticalSlider.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutVerticalSlider.cs deleted file mode 100644 index 532d2f73b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutVerticalSlider.cs +++ /dev/null @@ -1,50 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("A Vertical Slider linked to a Float Variable.")] - public class GUILayoutVerticalSlider : GUILayoutAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat floatVariable; - [RequiredField] - public FsmFloat topValue; - [RequiredField] - public FsmFloat bottomValue; - public FsmEvent changedEvent; - - public override void Reset() - { - base.Reset(); - floatVariable = null; - topValue = 100; - bottomValue = 0; - changedEvent = null; - } - - public override void OnGUI() - { - var guiChanged = GUI.changed; - GUI.changed = false; - - if(floatVariable != null) - { - floatVariable.Value = GUILayout.VerticalSlider(floatVariable.Value, topValue.Value, bottomValue.Value, LayoutOptions); - } - - if (GUI.changed) - { - Fsm.Event(changedEvent); - GUIUtility.ExitGUI(); - } - else - { - GUI.changed = guiChanged; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutVerticalSlider.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutVerticalSlider.cs.meta deleted file mode 100644 index b1672f9c0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/GUILayoutVerticalSlider.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 168b3347511283149a9f6295254dd123 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/UseGUILayout.cs b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/UseGUILayout.cs deleted file mode 100644 index c23e18b0f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/UseGUILayout.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GUILayout)] - [Tooltip("Turn GUILayout on/off. If you don't use GUILayout actions you can get some performance back by turning GUILayout off. This can make a difference on iOS platforms.")] - public class UseGUILayout : FsmStateAction - { - [RequiredField] - public bool turnOffGUIlayout; - - public override void Reset() - { - turnOffGUIlayout = true; - } - - public override void OnEnter() - { - Fsm.Owner.useGUILayout = !turnOffGUIlayout; - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/UseGUILayout.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GUILayout/UseGUILayout.cs.meta deleted file mode 100644 index b13ad735d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GUILayout/UseGUILayout.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 087d873552a49ee4f9ba2751ce142cf0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject.meta deleted file mode 100644 index 3eb6d28f9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: b799470598120bb418bd0ba8b274ed0d -folderAsset: yes -timeCreated: 1504502201 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/ActivateGameObject.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/ActivateGameObject.cs deleted file mode 100644 index b0bbc8c0d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/ActivateGameObject.cs +++ /dev/null @@ -1,132 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Activates/deactivates a Game Object. Use this to hide/show areas, or enable/disable many Behaviours at once.")] - public class ActivateGameObject : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to activate/deactivate.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Check to activate, uncheck to deactivate Game Object.")] - public FsmBool activate; - - [Tooltip("Recursively activate/deactivate all children.")] - public FsmBool recursive; - - [Tooltip("Reset the game objects when exiting this state. Useful if you want an object to be active only while this state is active.\nNote: Only applies to the last Game Object activated/deactivated (won't work if Game Object changes).")] - public bool resetOnExit; - - [Tooltip("Repeat this action every frame. Useful if Activate changes over time.")] - public bool everyFrame; - - // store the game object that we activated on enter - // so we can deactivate it on exit. - GameObject activatedGameObject; - - public override void Reset() - { - gameObject = null; - activate = true; - recursive = true; - resetOnExit = false; - everyFrame = false; - } - - public override void OnEnter() - { - DoActivateGameObject(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoActivateGameObject(); - } - - public override void OnExit() - { - // the stored game object might be invalid now - if (activatedGameObject == null) - { - return; - } - - if (resetOnExit) - { - if (recursive.Value) - { -#if UNITY_3_5 || UNITY_3_4 - activatedGameObject.SetActiveRecursively(!activate.Value); -#else - SetActiveRecursively(activatedGameObject, !activate.Value); -#endif - } - else - { -#if UNITY_3_5 || UNITY_3_4 - activatedGameObject.active = !activate.Value; -#else - activatedGameObject.SetActive(!activate.Value); -#endif - } - } - } - - void DoActivateGameObject() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go == null) - { - return; - } - - if (recursive.Value) - { -#if UNITY_3_5 || UNITY_3_4 - go.SetActiveRecursively(activate.Value); -#else - SetActiveRecursively(go, activate.Value); -#endif - } - else - { -#if UNITY_3_5 || UNITY_3_4 - go.active = activate.Value; -#else - go.SetActive(activate.Value); -#endif - } - - activatedGameObject = go; - } - -#if !(UNITY_3_5 || UNITY_3_4) - public void SetActiveRecursively(GameObject go, bool state) - { - go.SetActive(state); - foreach (Transform child in go.transform) - { - SetActiveRecursively(child.gameObject, state); - } - } -#endif - -#if UNITY_EDITOR - public override string AutoName() - { - return (activate.Value ? "Activate " : "Deactivate ") + ActionHelpers.GetValueLabel(Fsm, gameObject); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/ActivateGameObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/ActivateGameObject.cs.meta deleted file mode 100644 index b9342bb2c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/ActivateGameObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fc0e3ebc3fd22c6458e70283786cf795 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/AddComponent.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/AddComponent.cs deleted file mode 100644 index 2697dd15d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/AddComponent.cs +++ /dev/null @@ -1,67 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Adds a Component to a Game Object. Use this to change the behaviour of objects on the fly. Optionally remove the Component on exiting the state.")] - public class AddComponent : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to add the Component to.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.ScriptComponent)] - [Title("Component Type"), Tooltip("The type of Component to add to the Game Object.")] - public FsmString component; - - [UIHint(UIHint.Variable)] - [ObjectType(typeof(Component))] - [Tooltip("Store the component in an Object variable. E.g., to use with Set Property.")] - public FsmObject storeComponent; - - [Tooltip("Remove the Component when this State is exited.")] - public FsmBool removeOnExit; - - // save added component so we can remove on exit - private Component addedComponent; - - public override void Reset() - { - gameObject = null; - component = null; - storeComponent = null; - } - - public override void OnEnter() - { - DoAddComponent(); - - Finish(); - } - - public override void OnExit() - { - if (removeOnExit.Value && addedComponent != null) - { - Object.Destroy(addedComponent); - } - } - - private void DoAddComponent() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - addedComponent = go.AddComponent(ReflectionUtils.GetGlobalType(component.Value)); - storeComponent.Value = addedComponent; - - if (addedComponent == null) - { - LogError("Can't add component: " + component.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/AddComponent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/AddComponent.cs.meta deleted file mode 100644 index e6e0c11ae..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/AddComponent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3a349bb54b28fb44899ea4c1539a9192 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateEmptyObject.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateEmptyObject.cs deleted file mode 100644 index 380aada4c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateEmptyObject.cs +++ /dev/null @@ -1,85 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Creates a Game Object at a spawn point.\nUse a Game Object and/or Position/Rotation for the Spawn Point. If you specify a Game Object, Position is used as a local offset, and Rotation will override the object's rotation.")] - public class CreateEmptyObject : FsmStateAction - { - - [Tooltip("Optional GameObject to create. Usually a Prefab.")] - public FsmGameObject gameObject; - - [Tooltip("Optional Spawn Point.")] - public FsmGameObject spawnPoint; - - [Tooltip("Position. If a Spawn Point is defined, this is used as a local offset from the Spawn Point position.")] - public FsmVector3 position; - - [Tooltip("Rotation. NOTE: Overrides the rotation of the Spawn Point.")] - public FsmVector3 rotation; - - [UIHint(UIHint.Variable)] - [Tooltip("Optionally store the created object.")] - public FsmGameObject storeObject; - - public override void Reset() - { - gameObject = null; - spawnPoint = null; - position = new FsmVector3 { UseVariable = true }; - rotation = new FsmVector3 { UseVariable = true }; - storeObject = null; - } - - public override void OnEnter() - { - var go = gameObject.Value; - - Vector3 spawnPosition = Vector3.zero; - Vector3 spawnRotation = Vector3.zero; - - if (spawnPoint.Value != null) - { - spawnPosition = spawnPoint.Value.transform.position; - if (!position.IsNone) - spawnPosition += position.Value; - - if (!rotation.IsNone) - spawnRotation = rotation.Value; - else - spawnRotation = spawnPoint.Value.transform.eulerAngles; - } - else - { - if (!position.IsNone) - spawnPosition = position.Value; - - if (!rotation.IsNone) - spawnRotation = rotation.Value; - } - - var newObject = storeObject.Value; - - if (go != null) - { - newObject = (GameObject)Object.Instantiate(go); - storeObject.Value = newObject; - } - else - { - newObject = new GameObject( "EmptyObjectFromNull" ); - storeObject.Value = newObject; - } - if (newObject != null) - { - newObject.transform.position = spawnPosition; - newObject.transform.eulerAngles = spawnRotation; - } - Finish(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateEmptyObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateEmptyObject.cs.meta deleted file mode 100644 index 4cefcf215..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateEmptyObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 00c62e062f0301a40aea02e25c059045 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateObject.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateObject.cs deleted file mode 100644 index 1aa9c2ac1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateObject.cs +++ /dev/null @@ -1,107 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [ActionTarget(typeof(GameObject), "gameObject", true)] - [Tooltip("Creates a Game Object, usually using a Prefab.")] - public class CreateObject : FsmStateAction - { - [RequiredField] - [Tooltip("GameObject to create. Usually a Prefab.")] - public FsmGameObject gameObject; - - [Tooltip("Optional Spawn Point.")] - public FsmGameObject spawnPoint; - - [Tooltip("Position. If a Spawn Point is defined, this is used as a local offset from the Spawn Point position.")] - public FsmVector3 position; - - [Tooltip("Rotation. NOTE: Overrides the rotation of the Spawn Point.")] - public FsmVector3 rotation; - - [UIHint(UIHint.Variable)] - [Tooltip("Optionally store the created object.")] - public FsmGameObject storeObject; - - #if PLAYMAKER_LEGACY_NETWORK - [Tooltip("Use Network.Instantiate to create a Game Object on all clients in a networked game.")] - public FsmBool networkInstantiate; - - [Tooltip("Usually 0. The group number allows you to group together network messages which allows you to filter them if so desired.")] - public FsmInt networkGroup; - - #endif - public override void Reset() - { - gameObject = null; - spawnPoint = null; - position = new FsmVector3 { UseVariable = true }; - rotation = new FsmVector3 { UseVariable = true }; - storeObject = null; - #if PLAYMAKER_LEGACY_NETWORK - networkInstantiate = false; - networkGroup = 0; - #endif - } - - public override void OnEnter() - { - var go = gameObject.Value; - - if (go != null) - { - var spawnPosition = Vector3.zero; - var spawnRotation = Vector3.zero; - - if (spawnPoint.Value != null) - { - spawnPosition = spawnPoint.Value.transform.position; - - if (!position.IsNone) - { - spawnPosition += position.Value; - } - - spawnRotation = !rotation.IsNone ? rotation.Value : spawnPoint.Value.transform.eulerAngles; - } - else - { - if (!position.IsNone) - { - spawnPosition = position.Value; - } - - if (!rotation.IsNone) - { - spawnRotation = rotation.Value; - } - } - -#if PLAYMAKER_LEGACY_NETWORK && !(UNITY_FLASH || UNITY_NACL || UNITY_METRO || UNITY_WP8 || UNITY_WIIU || UNITY_PSM || UNITY_WEBGL || UNITY_PS3 || UNITY_PS4 || UNITY_XBOXONE) - GameObject newObject; - - if (!networkInstantiate.Value) - { - newObject = (GameObject)Object.Instantiate(go, spawnPosition, Quaternion.Euler(spawnRotation)); - } - else - { - newObject = (GameObject)Network.Instantiate(go, spawnPosition, Quaternion.Euler(spawnRotation), networkGroup.Value); - } -#else - var newObject = (GameObject)Object.Instantiate(go, spawnPosition, Quaternion.Euler(spawnRotation)); -#endif - storeObject.Value = newObject; - - //newObject.transform.position = spawnPosition; - //newObject.transform.eulerAngles = spawnRotation; - } - - Finish(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateObject.cs.meta deleted file mode 100644 index b34dc209d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/CreateObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6ac0b5be40cabfc40b923fa4954641aa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyComponent.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyComponent.cs deleted file mode 100644 index 26d18d4c1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyComponent.cs +++ /dev/null @@ -1,50 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Destroys a Component of an Object.")] - public class DestroyComponent : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the Component.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.ScriptComponent)] - [Tooltip("The name of the Component to destroy.")] - public FsmString component; - - Component aComponent; - - public override void Reset() - { - aComponent = null; - gameObject = null; - component = null; - } - - public override void OnEnter() - { - DoDestroyComponent(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - - Finish(); - } - - - void DoDestroyComponent(GameObject go) - { - aComponent = go.GetComponent(ReflectionUtils.GetGlobalType(component.Value)); - if (aComponent == null) - { - LogError("No such component: " + component.Value); - } - else - { - Object.Destroy(aComponent); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyComponent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyComponent.cs.meta deleted file mode 100644 index 0fd72e045..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyComponent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 40eadc04dfda17149bd90bbd3b1e0abc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObject.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObject.cs deleted file mode 100644 index 7b59ab380..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObject.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Destroys a Game Object.")] - public class DestroyObject : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to destroy.")] - public FsmGameObject gameObject; - - [HasFloatSlider(0, 5)] - [Tooltip("Optional delay before destroying the Game Object.")] - public FsmFloat delay; - - [Tooltip("Detach children before destroying the Game Object.")] - public FsmBool detachChildren; - //public FsmEvent sendEvent; - - //DelayedEvent delayedEvent; - - public override void Reset() - { - gameObject = null; - delay = 0; - //sendEvent = null; - } - - public override void OnEnter() - { - var go = gameObject.Value; - - if (go != null) - { - if (delay.Value <= 0) - { - Object.Destroy(go); - } - else - { - Object.Destroy(go, delay.Value); - } - - if (detachChildren.Value) - go.transform.DetachChildren(); - } - - Finish(); - //delayedEvent = new DelayedEvent(Fsm, sendEvent, delay.Value); - } - - public override void OnUpdate() - { - //delayedEvent.Update(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObject.cs.meta deleted file mode 100644 index d2be450ef..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e731ab92ba211bd41acccbd77b4e1575 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObjects.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObjects.cs deleted file mode 100644 index 1608ce4e7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObjects.cs +++ /dev/null @@ -1,58 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Destroys GameObjects in an array.")] - public class DestroyObjects : FsmStateAction - { - [RequiredField] - [ArrayEditor(VariableType.GameObject)] - [Tooltip("The GameObjects to destroy.")] - public FsmArray gameObjects; - - [HasFloatSlider(0, 5)] - [Tooltip("Optional delay before destroying the Game Objects.")] - public FsmFloat delay; - - [Tooltip("Detach children before destroying the Game Objects.")] - public FsmBool detachChildren; - - public override void Reset() - { - gameObjects = null; - delay = 0; - } - - public override void OnEnter() - { - if (gameObjects.Values != null) - { - foreach (GameObject go in gameObjects.Values) - { - if (go != null) - { - if (delay.Value <= 0) - { - Object.Destroy(go); - } - else - { - Object.Destroy(go, delay.Value); - } - - if (detachChildren.Value) - { - go.transform.DetachChildren(); - } - } - } - - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObjects.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObjects.cs.meta deleted file mode 100644 index e1a6302c9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroyObjects.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3e160956d4c1e2b4b9f0ba8431afc31a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroySelf.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroySelf.cs deleted file mode 100644 index 5f0536536..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroySelf.cs +++ /dev/null @@ -1,35 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System.Collections; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Destroys the Owner of the Fsm! Useful for spawned Prefabs that need to kill themselves, e.g., a projectile that explodes on impact.")] - public class DestroySelf : FsmStateAction - { - [Tooltip("Detach children before destroying the Owner.")] - public FsmBool detachChildren; - - public override void Reset() - { - detachChildren = false; - } - - public override void OnEnter() - { - if (Owner != null) - { - if (detachChildren.Value) - { - Owner.transform.DetachChildren(); - } - - Object.Destroy(Owner); - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroySelf.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroySelf.cs.meta deleted file mode 100644 index c7e3df212..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DestroySelf.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 06abfd20bfea39c459e9bed825a93fe8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DetachChildren.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/DetachChildren.cs deleted file mode 100644 index 4e2364dee..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DetachChildren.cs +++ /dev/null @@ -1,35 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Unparents all children from the Game Object.")] - public class DetachChildren : FsmStateAction - { - [RequiredField] - [Tooltip("GameObject to unparent children from.")] - public FsmOwnerDefault gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - DoDetachChildren(Fsm.GetOwnerDefaultTarget(gameObject)); - - Finish(); - } - - static void DoDetachChildren(GameObject go) - { - if (go != null) - { - go.transform.DetachChildren(); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DetachChildren.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/DetachChildren.cs.meta deleted file mode 100644 index 549f28539..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/DetachChildren.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0d294200b68c2f940b889d6def70521a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindChild.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindChild.cs deleted file mode 100644 index f42b2a2fd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindChild.cs +++ /dev/null @@ -1,50 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Finds the Child of a GameObject by Name.\nNote, you can specify a path to the child, e.g., LeftShoulder/Arm/Hand/Finger. If you need to specify a tag, use GetChild.")] - public class FindChild : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to search.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The name of the child. Note, you can specify a path to the child, e.g., LeftShoulder/Arm/Hand/Finger")] - public FsmString childName; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the child in a GameObject variable.")] - public FsmGameObject storeResult; - - public override void Reset() - { - gameObject = null; - childName = ""; - storeResult = null; - } - - public override void OnEnter() - { - DoFindChild(); - - Finish(); - } - - void DoFindChild() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var transform = go.transform.Find(childName.Value); - storeResult.Value = transform != null ? transform.gameObject : null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindChild.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindChild.cs.meta deleted file mode 100644 index 6d3c384ac..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindChild.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a752fb4c33b1a064ea8dbeb01d36c7fb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindClosest.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindClosest.cs deleted file mode 100644 index 0f39e5e0c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindClosest.cs +++ /dev/null @@ -1,111 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// Added Ignore Owner option. Thanks Nueral Echo: http://hutonggames.com/playmakerforum/index.php?topic=71.0 - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Finds the closest object to the specified Game Object.\nOptionally filter by Tag and Visibility.")] - public class FindClosest : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to measure from.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Tag)] - [Tooltip("Only consider objects with this Tag. NOTE: It's generally a lot quicker to find objects with a Tag!")] - public FsmString withTag; - - [Tooltip("If checked, ignores the object that owns this FSM.")] - public FsmBool ignoreOwner; - - [Tooltip("Only consider objects visible to the camera.")] - public FsmBool mustBeVisible; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the closest object.")] - public FsmGameObject storeObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the distance to the closest object.")] - public FsmFloat storeDistance; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - - public override void Reset() - { - gameObject = null; - withTag = "Untagged"; - ignoreOwner = true; - mustBeVisible = false; - storeObject = null; - storeDistance = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoFindClosest(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoFindClosest(); - } - - void DoFindClosest() - { - var go = gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value; - - GameObject[] objects; // objects to consider - - if (string.IsNullOrEmpty(withTag.Value) || withTag.Value == "Untagged") - { - objects = (GameObject[])GameObject.FindObjectsOfType(typeof(GameObject)); - } - else - { - objects = GameObject.FindGameObjectsWithTag(withTag.Value); - } - - GameObject closestObj = null; - var closestDist = Mathf.Infinity; - - foreach (var obj in objects) - { - if (ignoreOwner.Value && obj == Owner) - { - continue; - } - - if (mustBeVisible.Value && !ActionHelpers.IsVisible(obj)) - { - continue; - } - - var dist = (go.transform.position - obj.transform.position).sqrMagnitude; - if (dist < closestDist) - { - closestDist = dist; - closestObj = obj; - } - } - - storeObject.Value = closestObj; - - if (!storeDistance.IsNone) - { - storeDistance.Value = Mathf.Sqrt(closestDist); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindClosest.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindClosest.cs.meta deleted file mode 100644 index 014ae95c8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindClosest.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1ca68d6b093046a4b9ad84fa898eb1cc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindGameObject.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindGameObject.cs deleted file mode 100644 index 423b2dbdc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindGameObject.cs +++ /dev/null @@ -1,80 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Finds a Game Object by Name and/or Tag.")] - public class FindGameObject : FsmStateAction - { - [Tooltip("The name of the GameObject to find. You can leave this empty if you specify a Tag.")] - public FsmString objectName; - - [UIHint(UIHint.Tag)] - [Tooltip("Find a GameObject with this tag. If Object Name is specified then both name and Tag must match.")] - public FsmString withTag; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a GameObject variable.")] - public FsmGameObject store; - - public override void Reset() - { - objectName = ""; - withTag = "Untagged"; - store = null; - } - - public override void OnEnter() - { - Find(); - Finish(); - } - - void Find() - { - - - if (withTag.Value != "Untagged") - { - if (!string.IsNullOrEmpty(objectName.Value)) - { - var possibleGameObjects = GameObject.FindGameObjectsWithTag(withTag.Value); - - foreach (var go in possibleGameObjects) - { - if (go.name == objectName.Value) - { - store.Value = go; - return; - } - } - - store.Value = null; - return; - } - - store.Value = GameObject.FindGameObjectWithTag(withTag.Value); - return; - } - - store.Value = GameObject.Find(objectName.Value); - - - - } - - public override string ErrorCheck() - { - if (string.IsNullOrEmpty(objectName.Value) && string.IsNullOrEmpty(withTag.Value)) - { - return "Specify Name, Tag, or both."; - } - - return null; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindGameObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindGameObject.cs.meta deleted file mode 100644 index 570d08b7e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/FindGameObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 06d9a34c5ce73ee499c15dc7f3e381ff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChild.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChild.cs deleted file mode 100644 index aa47112fc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChild.cs +++ /dev/null @@ -1,98 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Finds the Child of a GameObject by Name and/or Tag. Use this to find attach points etc. NOTE: This action will search recursively through all children and return the first match; To find a specific child use Find Child.")] - public class GetChild : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to search.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The name of the child to search for.")] - public FsmString childName; - - [UIHint(UIHint.Tag)] - [Tooltip("The Tag to search for. If Child Name is set, both name and Tag need to match.")] - public FsmString withTag; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a GameObject variable.")] - public FsmGameObject storeResult; - - public override void Reset() - { - gameObject = null; - childName = ""; - withTag = "Untagged"; - storeResult = null; - } - - public override void OnEnter() - { - storeResult.Value = DoGetChildByName(Fsm.GetOwnerDefaultTarget(gameObject), childName.Value, withTag.Value); - - Finish(); - } - - static GameObject DoGetChildByName(GameObject root, string name, string tag) - { - if (root == null) - { - return null; - } - - foreach (Transform child in root.transform) - { - if (!string.IsNullOrEmpty(name)) - { - if (child.name == name) - { - if (!string.IsNullOrEmpty(tag)) - { - if (child.tag.Equals(tag)) - { - return child.gameObject; - } - } - else - { - return child.gameObject; - } - } - } - else if (!string.IsNullOrEmpty((tag))) - { - if (child.tag == tag) - { - return child.gameObject; - } - } - - // search recursively - - var returnObject = DoGetChildByName(child.gameObject, name, tag); - if(returnObject != null) - { - return returnObject; - } - } - - return null; - } - - public override string ErrorCheck() - { - if (string.IsNullOrEmpty(childName.Value) && string.IsNullOrEmpty(withTag.Value)) - { - return "Specify Child Name, Tag, or both."; - } - return null; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChild.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChild.cs.meta deleted file mode 100644 index 7471270fb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChild.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4f4adf55e2c4dc5418731b9b9a8dc780 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildCount.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildCount.cs deleted file mode 100644 index 7199874d1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildCount.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets the number of children that a GameObject has.")] - public class GetChildCount : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to test.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the number of children in an int variable.")] - public FsmInt storeResult; - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - DoGetChildCount(); - - Finish(); - } - - void DoGetChildCount() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - storeResult.Value = go.transform.childCount; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildCount.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildCount.cs.meta deleted file mode 100644 index 5c8c299a8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildCount.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8efed92cdcc759c4f94d26420dd73d87 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildNum.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildNum.cs deleted file mode 100644 index 500a42d1d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildNum.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets the Child of a GameObject by Index.\nE.g., O to get the first child. HINT: Use this with an integer variable to iterate through children.")] - public class GetChildNum : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to search.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The index of the child to find.")] - public FsmInt childIndex; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the child in a GameObject variable.")] - public FsmGameObject store; - - public override void Reset() - { - gameObject = null; - childIndex = 0; - store = null; - } - - public override void OnEnter() - { - store.Value = DoGetChildNum(Fsm.GetOwnerDefaultTarget(gameObject)); - - Finish(); - } - - GameObject DoGetChildNum(GameObject go) - { - if (go == null || go.transform.childCount == 0 || childIndex.Value < 0) return null; - return go.transform.GetChild(childIndex.Value % go.transform.childCount).gameObject; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildNum.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildNum.cs.meta deleted file mode 100644 index 62c1b8852..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetChildNum.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c3ad9fe5da426834eae997733367641c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetDistance.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetDistance.cs deleted file mode 100644 index 30f8186f2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetDistance.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Measures the Distance betweens 2 Game Objects and stores the result in a Float Variable.")] - public class GetDistance : FsmStateAction - { - [RequiredField] - [Tooltip("Measure distance from this GameObject.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Target GameObject.")] - public FsmGameObject target; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the distance in a float variable.")] - public FsmFloat storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - target = null; - storeResult = null; - everyFrame = true; - } - - public override void OnEnter() - { - DoGetDistance(); - - if (!everyFrame) - { - Finish(); - } - } - public override void OnUpdate() - { - DoGetDistance(); - } - - void DoGetDistance() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null || target.Value == null || storeResult == null) - { - return; - } - - storeResult.Value = Vector3.Distance(go.transform.position, target.Value.transform.position); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetDistance.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetDistance.cs.meta deleted file mode 100644 index 25d36d57a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetDistance.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 428f92bb9c2f69b43a99266fa4930745 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetLayer.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetLayer.cs deleted file mode 100644 index e776280d7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetLayer.cs +++ /dev/null @@ -1,45 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets a Game Object's Layer and stores it in an Int Variable.")] - public class GetLayer : FsmStateAction - { - [RequiredField] - public FsmGameObject gameObject; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt storeResult; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetLayer(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetLayer(); - } - - void DoGetLayer() - { - if (gameObject.Value == null) return; - - storeResult.Value = gameObject.Value.layer; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetLayer.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetLayer.cs.meta deleted file mode 100644 index 348b96e70..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetLayer.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 130ab1592e3e4084ba6076940d13d2cd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetName.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetName.cs deleted file mode 100644 index f6d3b4cde..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetName.cs +++ /dev/null @@ -1,47 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets the name of a Game Object and stores it in a String Variable.")] - public class GetName : FsmStateAction - { - [RequiredField] - public FsmGameObject gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString storeName; - - public bool everyFrame; - - public override void Reset() - { - gameObject = new FsmGameObject { UseVariable = true}; - storeName = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetGameObjectName(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetGameObjectName(); - } - - void DoGetGameObjectName() - { - var go = gameObject.Value; - - storeName.Value = go != null ? go.name : ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetName.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetName.cs.meta deleted file mode 100644 index 76fd7e557..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetName.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 045ff2653e06dc348a164ea75e133264 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetNextChild.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetNextChild.cs deleted file mode 100644 index 2a5467691..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetNextChild.cs +++ /dev/null @@ -1,108 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Each time this action is called it gets the next child of a GameObject. This lets you quickly loop through all the children of an object to perform actions on them. NOTE: To find a specific child use Find Child.")] - public class GetNextChild : FsmStateAction - { - [RequiredField] - [Tooltip("The parent GameObject. Note, if GameObject changes, this action will reset and start again at the first child.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the next child in a GameObject variable.")] - public FsmGameObject storeNextChild; - - [Tooltip("Event to send to get the next child.")] - public FsmEvent loopEvent; - - [Tooltip("Event to send when there are no more children.")] - public FsmEvent finishedEvent; - - [Tooltip("If you want to reset the iteration, raise this flag to true when you enter the state, it will indicate you want to start from the beginning again")] - [UIHint(UIHint.Variable)] - public FsmBool resetFlag; - - public override void Reset() - { - gameObject = null; - storeNextChild = null; - loopEvent = null; - finishedEvent = null; - resetFlag = null; - } - - // cache the gameObject so we no if it changes - private GameObject go; - - // increment a child index as we loop through children - private int nextChildIndex; - - public override void OnEnter() - { - if (resetFlag.Value) - { - nextChildIndex = 0; - resetFlag.Value = false; - } - - DoGetNextChild(Fsm.GetOwnerDefaultTarget(gameObject)); - - Finish(); - } - - void DoGetNextChild(GameObject parent) - { - if (parent == null) - { - return; - } - - // reset? - - if (go != parent) - { - go = parent; - nextChildIndex = 0; - } - - // no more children? - // check first to avoid errors. - - if (nextChildIndex >= go.transform.childCount) - { - nextChildIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // get next child - - storeNextChild.Value = parent.transform.GetChild(nextChildIndex).gameObject; - - - // no more children? - // check a second time to avoid process lock and possible infinite loop if the action is called again. - // Practically, this enabled calling again this state and it will start again iterating from the first child. - - if (nextChildIndex >= go.transform.childCount) - { - nextChildIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // iterate the next child - nextChildIndex++; - - if (loopEvent != null) - { - Fsm.Event(loopEvent); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetNextChild.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetNextChild.cs.meta deleted file mode 100644 index 0e968b1d7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetNextChild.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2750bf7d1d5757341ac1d3b3934ba848 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetOwner.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetOwner.cs deleted file mode 100644 index 49b3ab771..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetOwner.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets the Game Object that owns the FSM and stores it in a game object variable.")] - public class GetOwner : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmGameObject storeGameObject; - - public override void Reset() - { - storeGameObject = null; - } - - public override void OnEnter() - { - storeGameObject.Value = Owner; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetOwner.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetOwner.cs.meta deleted file mode 100644 index dc489902c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetOwner.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a09fbbee2ff3ced47847530415f04af0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetParent.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetParent.cs deleted file mode 100644 index 2857bbfb1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetParent.cs +++ /dev/null @@ -1,31 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets the Parent of a Game Object.")] - public class GetParent : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.Variable)] - public FsmGameObject storeResult; - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - storeResult.Value = go.transform.parent == null ? null : go.transform.parent.gameObject; - else - storeResult.Value = null; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetParent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetParent.cs.meta deleted file mode 100644 index ba743e48b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetParent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1ebc1e55f53789442b767369a58c2427 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomChild.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomChild.cs deleted file mode 100644 index 913403704..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomChild.cs +++ /dev/null @@ -1,40 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets a Random Child of a Game Object.")] - public class GetRandomChild : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmGameObject storeResult; - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - DoGetRandomChild(); - Finish(); - } - - void DoGetRandomChild() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - int childCount = go.transform.childCount; - if (childCount == 0) return; - - storeResult.Value = go.transform.GetChild(Random.Range(0, childCount)).gameObject; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomChild.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomChild.cs.meta deleted file mode 100644 index 76901388a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomChild.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ef5bde52908514f4c897adef304536ca -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomObject.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomObject.cs deleted file mode 100644 index 559e5517f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomObject.cs +++ /dev/null @@ -1,65 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets a Random Game Object from the scene.\nOptionally filter by Tag.")] - public class GetRandomObject : FsmStateAction - { - [UIHint(UIHint.Tag)] - public FsmString withTag; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmGameObject storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - withTag = "Untagged"; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetRandomObject(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetRandomObject(); - } - - void DoGetRandomObject() - { - GameObject[] gameObjects; - - if (withTag.Value != "Untagged") - { - gameObjects = GameObject.FindGameObjectsWithTag(withTag.Value); - } - else - { - gameObjects = (GameObject[])Object.FindObjectsOfType(typeof(GameObject)); - } - - if (gameObjects.Length > 0) - { - storeResult.Value = gameObjects[Random.Range(0, gameObjects.Length)]; - return; - } - - storeResult.Value = null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomObject.cs.meta deleted file mode 100644 index ec2988a9c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRandomObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2c4b3907e0f8f9c46b4fdb54b3c73164 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRoot.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRoot.cs deleted file mode 100644 index 8fd9b1ea0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRoot.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets the top most parent of the Game Object.\nIf the game object has no parent, returns itself.")] - public class GetRoot : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmGameObject storeRoot; - - public override void Reset() - { - gameObject = null; - storeRoot = null; - } - - public override void OnEnter() - { - DoGetRoot(); - - Finish(); - } - - void DoGetRoot() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - storeRoot.Value = go.transform.root.gameObject; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRoot.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRoot.cs.meta deleted file mode 100644 index c49347f10..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetRoot.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 46d883c3dd43f0044ba8b4133f3a7b5a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTag.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTag.cs deleted file mode 100644 index c348d009f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTag.cs +++ /dev/null @@ -1,46 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets a Game Object's Tag and stores it in a String Variable.")] - public class GetTag : FsmStateAction - { - [RequiredField] - public FsmGameObject gameObject; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString storeResult; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetTag(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetTag(); - } - - void DoGetTag() - { - if (gameObject.Value == null) return; - - storeResult.Value = gameObject.Value.tag; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTag.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTag.cs.meta deleted file mode 100644 index d45d94c5c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTag.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fa39124361c39bb41851e998ff9993fc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTagCount.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTagCount.cs deleted file mode 100644 index 1c9b0d852..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTagCount.cs +++ /dev/null @@ -1,33 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets the number of Game Objects in the scene with the specified Tag.")] - public class GetTagCount : FsmStateAction - { - [UIHint(UIHint.Tag)] - public FsmString tag; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt storeResult; - - public override void Reset() - { - tag = "Untagged"; - storeResult = null; - } - - public override void OnEnter() - { - GameObject[] gos = GameObject.FindGameObjectsWithTag(tag.Value); - - if (storeResult != null) - storeResult.Value = gos != null ? gos.Length : 0; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTagCount.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTagCount.cs.meta deleted file mode 100644 index 42c89f41b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTagCount.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a012ac3cd51e9c84f82af32e1ab135cd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTransform.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTransform.cs deleted file mode 100644 index 5ee88403c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTransform.cs +++ /dev/null @@ -1,50 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Gets a Game Object's Transform and stores it in an Object Variable.")] - public class GetTransform : FsmStateAction - { - [RequiredField] - public FsmGameObject gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [ObjectType(typeof(Transform))] - public FsmObject storeTransform; - - public bool everyFrame; - - public override void Reset() - { - gameObject = new FsmGameObject { UseVariable = true}; - storeTransform = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetGameObjectName(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetGameObjectName(); - } - - void DoGetGameObjectName() - { - var go = gameObject.Value; - - storeTransform.Value = go != null ? go.transform : null; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTransform.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTransform.cs.meta deleted file mode 100644 index 1f64c5bb4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/GetTransform.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c43a7be7c6a41434d834172485aa1c72 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/HasComponent.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/HasComponent.cs deleted file mode 100644 index 8dc7e71c8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/HasComponent.cs +++ /dev/null @@ -1,83 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using HutongGames.PlayMaker; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Checks if an Object has a Component. Optionally remove the Component on exiting the state.")] - public class HasComponent : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [RequiredField] - [UIHint(UIHint.ScriptComponent)] - public FsmString component; - public FsmBool removeOnExit; - public FsmEvent trueEvent; - public FsmEvent falseEvent; - [UIHint(UIHint.Variable)] - public FsmBool store; - public bool everyFrame; - - Component aComponent; - - public override void Reset() - { - aComponent = null; - gameObject = null; - trueEvent = null; - falseEvent = null; - component = null; - store = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoHasComponent(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoHasComponent(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - } - - public override void OnExit() - { - if (removeOnExit.Value && aComponent != null) - { - Object.Destroy(aComponent); - } - } - - void DoHasComponent(GameObject go) - { - - if ( go==null) - { - if (!store.IsNone) - { - store.Value = false; - } - Fsm.Event(falseEvent); - return; - } - - aComponent = go.GetComponent(ReflectionUtils.GetGlobalType(component.Value)); - - if (!store.IsNone) - { - store.Value = aComponent != null; - } - - Fsm.Event(aComponent != null ? trueEvent : falseEvent); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/HasComponent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/HasComponent.cs.meta deleted file mode 100644 index 67739f76b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/HasComponent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a93e9c264d049b54f9e05bfd694ae14d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SelectRandomGameObject.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SelectRandomGameObject.cs deleted file mode 100644 index e68dab627..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SelectRandomGameObject.cs +++ /dev/null @@ -1,47 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Selects a Random Game Object from an array of Game Objects.")] - public class SelectRandomGameObject : FsmStateAction - { - [CompoundArray("Game Objects", "Game Object", "Weight")] - public FsmGameObject[] gameObjects; - [HasFloatSlider(0, 1)] - public FsmFloat[] weights; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmGameObject storeGameObject; - - public override void Reset () - { - gameObjects = new FsmGameObject[3]; - weights = new FsmFloat[] {1,1,1}; - storeGameObject = null; - } - - public override void OnEnter () - { - DoSelectRandomGameObject(); - Finish(); - } - - void DoSelectRandomGameObject() - { - if (gameObjects == null) return; - if (gameObjects.Length == 0) return; - if (storeGameObject == null) return; - - int randomIndex = ActionHelpers.GetRandomWeightedIndex(weights); - - if (randomIndex != -1) - { - storeGameObject.Value = gameObjects[randomIndex].Value; - } - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SelectRandomGameObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SelectRandomGameObject.cs.meta deleted file mode 100644 index 9a331d81b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SelectRandomGameObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 132d207d2906f2742b8aa09313847d1a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetGameObject.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetGameObject.cs deleted file mode 100644 index 20b371b39..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetGameObject.cs +++ /dev/null @@ -1,39 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Sets the value of a Game Object Variable.")] - public class SetGameObject : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmGameObject variable; - public FsmGameObject gameObject; - public bool everyFrame; - - public override void Reset() - { - variable = null; - gameObject = null; - everyFrame = false; - } - - public override void OnEnter() - { - variable.Value = gameObject.Value; - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - variable.Value = gameObject.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetGameObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetGameObject.cs.meta deleted file mode 100644 index 6e92c6b82..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetGameObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: aa903464829c70f419f286cef321f421 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetLayer.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetLayer.cs deleted file mode 100644 index c2ef4c0e2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetLayer.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Sets a Game Object's Layer.")] - public class SetLayer : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.Layer)] - public int layer; - - public override void Reset() - { - gameObject = null; - layer = 0; - } - - public override void OnEnter() - { - DoSetLayer(); - - Finish(); - } - - void DoSetLayer() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - go.layer = layer; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetLayer.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetLayer.cs.meta deleted file mode 100644 index 878d2f602..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetLayer.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 77f4f9c354a59684296f1a852f59796e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetName.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetName.cs deleted file mode 100644 index 23a2a3b90..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetName.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Sets a Game Object's Name.")] - public class SetName : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmString name; - - public override void Reset() - { - gameObject = null; - name = null; - } - - public override void OnEnter() - { - DoSetLayer(); - - Finish(); - } - - void DoSetLayer() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - go.name = name.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetName.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetName.cs.meta deleted file mode 100644 index c8ef8a42b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetName.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6ca6839156f0d8742a3b1a1e0727eb04 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetParent.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetParent.cs deleted file mode 100644 index 04f0d843a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetParent.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Sets the Parent of a Game Object.")] - public class SetParent : FsmStateAction - { - [RequiredField] - [Tooltip("The Game Object to parent.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The new parent for the Game Object.")] - public FsmGameObject parent; - - [Tooltip("Set the local position to 0,0,0 after parenting.")] - public FsmBool resetLocalPosition; - - [Tooltip("Set the local rotation to 0,0,0 after parenting.")] - public FsmBool resetLocalRotation; - - public override void Reset() - { - gameObject = null; - parent = null; - resetLocalPosition = null; - resetLocalRotation = null; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go != null) - { - go.transform.parent = parent.Value == null ? null : parent.Value.transform; - - if (resetLocalPosition.Value) - { - go.transform.localPosition = Vector3.zero; - } - - if (resetLocalRotation.Value) - { - go.transform.localRotation = Quaternion.identity; - } - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetParent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetParent.cs.meta deleted file mode 100644 index 017c4c24a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetParent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a58b09bbc7ddda748b3a872a95a37110 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTag.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTag.cs deleted file mode 100644 index 664d1b690..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTag.cs +++ /dev/null @@ -1,31 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Sets a Game Object's Tag.")] - public class SetTag : FsmStateAction - { - public FsmOwnerDefault gameObject; - [UIHint(UIHint.Tag)] - public FsmString tag; - - public override void Reset() - { - gameObject = null; - tag = "Untagged"; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go != null) - go.tag = tag.Value; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTag.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTag.cs.meta deleted file mode 100644 index 24d00d058..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTag.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a18f0330745a73a48a1f445ac24bb57d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTagsOnChildren.cs b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTagsOnChildren.cs deleted file mode 100644 index 88e7a82a9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTagsOnChildren.cs +++ /dev/null @@ -1,87 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.GameObject)] - [Tooltip("Set the Tag on all children of a GameObject. Optionally filter by component.")] - public class SetTagsOnChildren : FsmStateAction - { - [RequiredField] - [Tooltip("GameObject Parent")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Tag)] - [Tooltip("Set Tag To...")] - public FsmString tag; - - [UIHint(UIHint.ScriptComponent)] - [Tooltip("Only set the Tag on children with this component.")] - public FsmString filterByComponent; - - public override void Reset() - { - gameObject = null; - tag = null; - filterByComponent = null; - } - - private Type componentFilter; - - public override void OnEnter() - { - SetTag(Fsm.GetOwnerDefaultTarget(gameObject)); - - Finish(); - } - - void SetTag(GameObject parent) - { - if (parent == null) - { - return; - } - - if (string.IsNullOrEmpty(filterByComponent.Value)) // do all children - { - foreach (Transform child in parent.transform) - { - child.gameObject.tag = tag.Value; - } - } - else - { - UpdateComponentFilter(); - - if (componentFilter != null) // filter by component - { - var root = parent.GetComponentsInChildren(componentFilter); - foreach (var child in root) - { - child.gameObject.tag = tag.Value; - } - } - } - - Finish(); - } - - void UpdateComponentFilter() - { - componentFilter = ReflectionUtils.GetGlobalType(filterByComponent.Value); - - if (componentFilter == null) // try adding UnityEngine namespace - { - componentFilter = ReflectionUtils.GetGlobalType("UnityEngine." + filterByComponent.Value); - } - - if (componentFilter == null) - { - Debug.LogWarning("Couldn't get type: " + filterByComponent.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTagsOnChildren.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTagsOnChildren.cs.meta deleted file mode 100644 index 84d24985d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/GameObject/SetTagsOnChildren.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f3aeb4131f42a2b4e8ba7e6fcef80ab6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input.meta b/Assets/ThirdParty/PlayMaker/Actions/Input.meta deleted file mode 100644 index 303f2d5ca..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 8d412bae6f4943d4e80cd09dc1097414 -folderAsset: yes -timeCreated: 1504501520 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/AnyKey.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/AnyKey.cs deleted file mode 100644 index 08820d99c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/AnyKey.cs +++ /dev/null @@ -1,28 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Sends an Event when the user hits any Key or Mouse Button.")] - public class AnyKey : FsmStateAction - { - [RequiredField] - [Tooltip("Event to send when any Key or Mouse Button is pressed.")] - public FsmEvent sendEvent; - - public override void Reset() - { - sendEvent = null; - } - - public override void OnUpdate() - { - if (Input.anyKeyDown) - { - Fsm.Event(sendEvent); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/AnyKey.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/AnyKey.cs.meta deleted file mode 100644 index 151b41b6d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/AnyKey.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7e2ceb38715ac154487295adaabfd5df -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxis.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxis.cs deleted file mode 100644 index 37d0de704..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxis.cs +++ /dev/null @@ -1,65 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Gets the value of the specified Input Axis and stores it in a Float Variable. See Unity Input Manager docs.")] - public class GetAxis : FsmStateAction - { - [RequiredField] - [Tooltip("The name of the axis. Set in the Unity Input Manager.")] - public FsmString axisName; - - [Tooltip("Axis values are in the range -1 to 1. Use the multiplier to set a larger range.")] - public FsmFloat multiplier; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a float variable.")] - public FsmFloat store; - - [Tooltip("Repeat every frame. Typically this would be set to True.")] - public bool everyFrame; - - public override void Reset() - { - axisName = ""; - multiplier = 1.0f; - store = null; - everyFrame = true; - } - - public override void OnEnter() - { - DoGetAxis(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetAxis(); - } - - void DoGetAxis() - { - if (FsmString.IsNullOrEmpty(axisName)) return; - - var axisValue = Input.GetAxis(axisName.Value); - - // if variable set to none, assume multiplier of 1 - if (!multiplier.IsNone) - { - axisValue *= multiplier.Value; - } - - store.Value = axisValue; - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxis.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxis.cs.meta deleted file mode 100644 index 9af2d4a96..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxis.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 46dfe4d824cf8b14593e4e9d57327b96 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxisVector.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxisVector.cs deleted file mode 100644 index 6d76a9f75..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxisVector.cs +++ /dev/null @@ -1,127 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [NoActionTargets] - [ActionCategory(ActionCategory.Input)] - [Tooltip("Gets a world direction Vector from 2 Input Axis. Typically used for a third person controller with Relative To set to the camera.")] - public class GetAxisVector : FsmStateAction - { - public enum AxisPlane - { - XZ, - XY, - YZ - } - - [Tooltip("The name of the horizontal input axis. See Unity Input Manager.")] - public FsmString horizontalAxis; - - [Tooltip("The name of the vertical input axis. See Unity Input Manager.")] - public FsmString verticalAxis; - - [Tooltip("Input axis are reported in the range -1 to 1, this multiplier lets you set a new range.")] - public FsmFloat multiplier; - - [RequiredField] - [Tooltip("The world plane to map the 2d input onto.")] - public AxisPlane mapToPlane; - - [Tooltip("Make the result relative to a GameObject, typically the main camera.")] - public FsmGameObject relativeTo; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the direction vector.")] - public FsmVector3 storeVector; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the length of the direction vector.")] - public FsmFloat storeMagnitude; - - public override void Reset() - { - horizontalAxis = "Horizontal"; - verticalAxis = "Vertical"; - multiplier = 1.0f; - mapToPlane = AxisPlane.XZ; - storeVector = null; - storeMagnitude = null; - } - - public override void OnUpdate() - { - var forward = new Vector3(); - var right = new Vector3(); - - if (relativeTo.Value == null) - { - switch (mapToPlane) - { - case AxisPlane.XZ: - forward = Vector3.forward; - right = Vector3.right; - break; - - case AxisPlane.XY: - forward = Vector3.up; - right = Vector3.right; - break; - - case AxisPlane.YZ: - forward = Vector3.up; - right = Vector3.forward; - break; - } - } - else - { - var transform = relativeTo.Value.transform; - - switch (mapToPlane) - { - case AxisPlane.XZ: - forward = transform.TransformDirection(Vector3.forward); - forward.y = 0; - forward = forward.normalized; - right = new Vector3(forward.z, 0, -forward.x); - break; - - case AxisPlane.XY: - case AxisPlane.YZ: - // NOTE: in relative mode XY ans YZ are the same! - forward = Vector3.up; - forward.z = 0; - forward = forward.normalized; - right = transform.TransformDirection(Vector3.right); - break; - } - - // Right vector relative to the object - // Always orthogonal to the forward vector - - } - - // get individual axis - // leaving an axis blank or set to None sets it to 0 - - var h = (horizontalAxis.IsNone || string.IsNullOrEmpty(horizontalAxis.Value)) ? 0f : Input.GetAxis(horizontalAxis.Value); - var v = (verticalAxis.IsNone || string.IsNullOrEmpty(verticalAxis.Value)) ? 0f : Input.GetAxis(verticalAxis.Value); - - // calculate resulting direction vector - - var direction = h * right + v * forward; - direction *= multiplier.Value; - - storeVector.Value = direction; - - if (!storeMagnitude.IsNone) - { - storeMagnitude.Value = direction.magnitude; - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxisVector.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxisVector.cs.meta deleted file mode 100644 index 8e16b8403..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetAxisVector.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 792beefc57adc2547bdff316107dbb3d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButton.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetButton.cs deleted file mode 100644 index 8872d5719..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButton.cs +++ /dev/null @@ -1,51 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Gets the pressed state of the specified Button and stores it in a Bool Variable. See Unity Input Manager docs.")] - public class GetButton : FsmStateAction - { - [RequiredField] - [Tooltip("The name of the button. Set in the Unity Input Manager.")] - public FsmString buttonName; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a bool variable.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - buttonName = "Fire1"; - storeResult = null; - everyFrame = true; - } - - public override void OnEnter() - { - DoGetButton(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetButton(); - } - - void DoGetButton() - { - storeResult.Value = Input.GetButton(buttonName.Value); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButton.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetButton.cs.meta deleted file mode 100644 index 67e1c33a4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButton.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 84793dec0f7bc3c4aa18e798f4418028 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonDown.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonDown.cs deleted file mode 100644 index 0cfae14e8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonDown.cs +++ /dev/null @@ -1,41 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Sends an Event when a Button is pressed.")] - public class GetButtonDown : FsmStateAction - { - [RequiredField] - [Tooltip("The name of the button. Set in the Unity Input Manager.")] - public FsmString buttonName; - - [Tooltip("Event to send if the button is pressed.")] - public FsmEvent sendEvent; - - [Tooltip("Set to True if the button is pressed.")] - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - public override void Reset() - { - buttonName = "Fire1"; - sendEvent = null; - storeResult = null; - } - - public override void OnUpdate() - { - var buttonDown = Input.GetButtonDown(buttonName.Value); - - if (buttonDown) - { - Fsm.Event(sendEvent); - } - - storeResult.Value = buttonDown; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonDown.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonDown.cs.meta deleted file mode 100644 index 5978a4742..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonDown.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e27b07f69defd0148ace6783eb8fbeeb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonUp.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonUp.cs deleted file mode 100644 index 5e26b2cfb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonUp.cs +++ /dev/null @@ -1,41 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Sends an Event when a Button is released.")] - public class GetButtonUp : FsmStateAction - { - [RequiredField] - [Tooltip("The name of the button. Set in the Unity Input Manager.")] - public FsmString buttonName; - - [Tooltip("Event to send if the button is released.")] - public FsmEvent sendEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Set to True if the button is released.")] - public FsmBool storeResult; - - public override void Reset() - { - buttonName = "Fire1"; - sendEvent = null; - storeResult = null; - } - - public override void OnUpdate() - { - var buttonUp = Input.GetButtonUp(buttonName.Value); - - if (buttonUp) - { - Fsm.Event(sendEvent); - } - - storeResult.Value = buttonUp; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonUp.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonUp.cs.meta deleted file mode 100644 index ffd17cf76..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetButtonUp.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8fdb363c300e2ae4e8bad177b18c1eee -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKey.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetKey.cs deleted file mode 100644 index 4952f8fec..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKey.cs +++ /dev/null @@ -1,52 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Gets the pressed state of a Key.")] - public class GetKey : FsmStateAction - { - [RequiredField] - [Tooltip("The key to test.")] - public KeyCode key; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store if the key is down (True) or up (False).")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame. Useful if you're waiting for a key press/release.")] - public bool everyFrame; - - public override void Reset() - { - key = KeyCode.None; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetKey(); - - if (!everyFrame) - { - Finish(); - } - } - - - public override void OnUpdate() - { - DoGetKey(); - } - - void DoGetKey() - { - storeResult.Value = Input.GetKey(key); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKey.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetKey.cs.meta deleted file mode 100644 index 2173780d5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKey.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 09e09d95b123250499060078cf57b480 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyDown.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyDown.cs deleted file mode 100644 index f823748e3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyDown.cs +++ /dev/null @@ -1,34 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Sends an Event when a Key is pressed.")] - public class GetKeyDown : FsmStateAction - { - [RequiredField] - public KeyCode key; - public FsmEvent sendEvent; - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - public override void Reset() - { - sendEvent = null; - key = KeyCode.None; - storeResult = null; - } - - public override void OnUpdate() - { - bool keyDown = Input.GetKeyDown(key); - - if (keyDown) - Fsm.Event(sendEvent); - - storeResult.Value = keyDown; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyDown.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyDown.cs.meta deleted file mode 100644 index 8fd6946e2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyDown.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: dc977968122a76d48b8ab23de94e7018 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyUp.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyUp.cs deleted file mode 100644 index fbfe3becd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyUp.cs +++ /dev/null @@ -1,34 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Sends an Event when a Key is released.")] - public class GetKeyUp : FsmStateAction - { - [RequiredField] - public KeyCode key; - public FsmEvent sendEvent; - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - public override void Reset() - { - sendEvent = null; - key = KeyCode.None; - storeResult = null; - } - - public override void OnUpdate() - { - bool keyUp = Input.GetKeyUp(key); - - if (keyUp) - Fsm.Event(sendEvent); - - storeResult.Value = keyUp; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyUp.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyUp.cs.meta deleted file mode 100644 index 958acd15a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetKeyUp.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b6f54ffcea7679849b1fc474dab578c7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButton.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButton.cs deleted file mode 100644 index fcf4330fb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButton.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Gets the pressed state of the specified Mouse Button and stores it in a Bool Variable. See Unity Input Manager doc.")] - public class GetMouseButton : FsmStateAction - { - [RequiredField] - [Tooltip("The mouse button to test.")] - public MouseButton button; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the pressed state in a Bool Variable.")] - public FsmBool storeResult; - - public override void Reset() - { - button = MouseButton.Left; - storeResult = null; - } - - public override void OnEnter() - { - storeResult.Value = Input.GetMouseButton((int)button); - } - - public override void OnUpdate() - { - storeResult.Value = Input.GetMouseButton((int)button); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButton.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButton.cs.meta deleted file mode 100644 index ae5f9b81a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButton.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 890d733aad46f3e4c98f7731b61caa97 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonDown.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonDown.cs deleted file mode 100644 index 816512c31..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonDown.cs +++ /dev/null @@ -1,57 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Sends an Event when the specified Mouse Button is pressed. Optionally store the button state in a bool variable.")] - public class GetMouseButtonDown : FsmStateAction - { - [RequiredField] - [Tooltip("The mouse button to test.")] - public MouseButton button; - - [Tooltip("Event to send if the mouse button is down.")] - public FsmEvent sendEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the button state in a Bool Variable.")] - public FsmBool storeResult; - - [Tooltip("Uncheck to run when entering the state.")] - public bool inUpdateOnly; - - public override void Reset() - { - button = MouseButton.Left; - sendEvent = null; - storeResult = null; - inUpdateOnly = true; - } - - public override void OnEnter() - { - if (!inUpdateOnly) - { - DoGetMouseButtonDown(); - } - } - - public override void OnUpdate() - { - DoGetMouseButtonDown(); - } - - void DoGetMouseButtonDown() - { - bool buttonDown = Input.GetMouseButtonDown((int)button); - if (buttonDown) - { - Fsm.Event(sendEvent); - } - - storeResult.Value = buttonDown; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonDown.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonDown.cs.meta deleted file mode 100644 index 06ec41d9c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonDown.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8fe8065692b58344582d703e5912c698 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonUp.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonUp.cs deleted file mode 100644 index ee5ac86ef..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonUp.cs +++ /dev/null @@ -1,57 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Sends an Event when the specified Mouse Button is released. Optionally store the button state in a bool variable.")] - public class GetMouseButtonUp : FsmStateAction - { - [RequiredField] - [Tooltip("The mouse button to test.")] - public MouseButton button; - - [Tooltip("Event to send if the mouse button is down.")] - public FsmEvent sendEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the pressed state in a Bool Variable.")] - public FsmBool storeResult; - - [Tooltip("Uncheck to run when entering the state.")] - public bool inUpdateOnly; - - public override void Reset() - { - button = MouseButton.Left; - sendEvent = null; - storeResult = null; - inUpdateOnly = true; - } - - public override void OnEnter() - { - if (!inUpdateOnly) - { - DoGetMouseButtonUp(); - } - } - - public override void OnUpdate() - { - DoGetMouseButtonUp(); - } - - public void DoGetMouseButtonUp() - { - bool buttonUp = Input.GetMouseButtonUp((int)button); - if (buttonUp) - { - Fsm.Event(sendEvent); - } - - storeResult.Value = buttonUp; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonUp.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonUp.cs.meta deleted file mode 100644 index b767b56de..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseButtonUp.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5f7b489fa5d69534a86005b52bc02998 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseX.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseX.cs deleted file mode 100644 index f87304af9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseX.cs +++ /dev/null @@ -1,46 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Gets the X Position of the mouse and stores it in a Float Variable.")] - public class GetMouseX : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - public bool normalize; - - public override void Reset() - { - storeResult = null; - normalize = true; - } - - public override void OnEnter() - { - DoGetMouseX(); - } - - public override void OnUpdate() - { - DoGetMouseX(); - } - - void DoGetMouseX() - { - if (storeResult != null) - { - float xpos = Input.mousePosition.x; - - if (normalize) - xpos /= Screen.width; - - storeResult.Value = xpos; - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseX.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseX.cs.meta deleted file mode 100644 index 18c8e6eac..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseX.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3e948dfb9aecf7247b31e68381d364f4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseY.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseY.cs deleted file mode 100644 index 5745783d1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseY.cs +++ /dev/null @@ -1,46 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Gets the Y Position of the mouse and stores it in a Float Variable.")] - public class GetMouseY : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - public bool normalize; - - public override void Reset() - { - storeResult = null; - normalize = true; - } - - public override void OnEnter() - { - DoGetMouseY(); - } - - public override void OnUpdate() - { - DoGetMouseY(); - } - - void DoGetMouseY() - { - if (storeResult != null) - { - float ypos = Input.mousePosition.y; - - if (normalize) - ypos /= Screen.height; - - storeResult.Value = ypos; - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseY.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseY.cs.meta deleted file mode 100644 index 5d44f99a8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/GetMouseY.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f6b2db7fd3dcefa41b738bd147447ae9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook.cs deleted file mode 100644 index bc8ac42da..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook.cs +++ /dev/null @@ -1,161 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - /// - /// Action version of Unity's builtin MouseLook behaviour. - /// TODO: Expose invert Y option. - /// - [ActionCategory(ActionCategory.Input)] - [Tooltip("Rotates a GameObject based on mouse movement. Minimum and Maximum values can be used to constrain the rotation.")] - public class MouseLook : FsmStateAction - { - public enum RotationAxes { MouseXAndY = 0, MouseX = 1, MouseY = 2 } - - [RequiredField] - [Tooltip("The GameObject to rotate.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The axes to rotate around.")] - public RotationAxes axes = RotationAxes.MouseXAndY; - - [RequiredField] - [Tooltip("Sensitivity of movement in X direction.")] - public FsmFloat sensitivityX; - - [RequiredField] - [Tooltip("Sensitivity of movement in Y direction.")] - public FsmFloat sensitivityY; - - [HasFloatSlider(-360,360)] - [Tooltip("Clamp rotation around X axis. Set to None for no clamping.")] - public FsmFloat minimumX; - - [HasFloatSlider(-360, 360)] - [Tooltip("Clamp rotation around X axis. Set to None for no clamping.")] - public FsmFloat maximumX; - - [HasFloatSlider(-360, 360)] - [Tooltip("Clamp rotation around Y axis. Set to None for no clamping.")] - public FsmFloat minimumY; - - [HasFloatSlider(-360, 360)] - [Tooltip("Clamp rotation around Y axis. Set to None for no clamping.")] - public FsmFloat maximumY; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - float rotationX; - float rotationY; - - public override void Reset() - { - gameObject = null; - axes = RotationAxes.MouseXAndY; - sensitivityX = 15f; - sensitivityY = 15f; - minimumX = new FsmFloat {UseVariable = true}; - maximumX = new FsmFloat { UseVariable = true }; - minimumY = -60f; - maximumY = 60f; - everyFrame = true; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - Finish(); - return; - } - - // Make the rigid body not change rotation - // TODO: Original Unity script had this. Expose as option? - var rigidbody = go.GetComponent(); - if (rigidbody != null) - { - rigidbody.freezeRotation = true; - } - - // initialize rotation - - rotationX = go.transform.localRotation.eulerAngles.y; - rotationY = go.transform.localRotation.eulerAngles.x; - - DoMouseLook(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoMouseLook(); - } - - void DoMouseLook() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var transform = go.transform; - - switch (axes) - { - case RotationAxes.MouseXAndY: - - transform.localEulerAngles = new Vector3(GetYRotation(), GetXRotation(), 0); - break; - - case RotationAxes.MouseX: - - transform.localEulerAngles = new Vector3(transform.localEulerAngles.x, GetXRotation(), 0); - break; - - case RotationAxes.MouseY: - - transform.localEulerAngles = new Vector3(-GetYRotation(), transform.localEulerAngles.y, 0); - break; - } - } - - float GetXRotation() - { - rotationX += Input.GetAxis("Mouse X") * sensitivityX.Value; - rotationX = ClampAngle(rotationX, minimumX, maximumX); - return rotationX; - } - - float GetYRotation() - { - rotationY += Input.GetAxis("Mouse Y") * sensitivityY.Value; - rotationY = ClampAngle(rotationY, minimumY, maximumY); - return rotationY; - } - - // Clamp function that respects IsNone - static float ClampAngle(float angle, FsmFloat min, FsmFloat max) - { - if (!min.IsNone && angle < min.Value) - { - angle = min.Value; - } - - if (!max.IsNone && angle > max.Value) - { - angle = max.Value; - } - - return angle; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook.cs.meta deleted file mode 100644 index 0b45e9c52..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9cb5ef034cae1a047b7cc81407619144 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook2.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook2.cs deleted file mode 100644 index 2eb1d5965..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook2.cs +++ /dev/null @@ -1,156 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2011. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - /// - /// Action version of Unity's builtin MouseLook behaviour. - /// TODO: Expose invert Y option. - /// - [ActionCategory(ActionCategory.Input)] - [Tooltip("Rotates a GameObject based on mouse movement. Minimum and Maximum values can be used to constrain the rotation.")] - public class MouseLook2 : ComponentAction - { - public enum RotationAxes { MouseXAndY = 0, MouseX = 1, MouseY = 2 } - - [RequiredField] - [Tooltip("The GameObject to rotate.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The axes to rotate around.")] - public RotationAxes axes = RotationAxes.MouseXAndY; - - [RequiredField] - public FsmFloat sensitivityX; - - [RequiredField] - public FsmFloat sensitivityY; - - [RequiredField] - [HasFloatSlider(-360,360)] - public FsmFloat minimumX; - - [RequiredField] - [HasFloatSlider(-360, 360)] - public FsmFloat maximumX; - - [RequiredField] - [HasFloatSlider(-360, 360)] - public FsmFloat minimumY; - - [RequiredField] - [HasFloatSlider(-360, 360)] - public FsmFloat maximumY; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - float rotationX; - float rotationY; - - public override void Reset() - { - gameObject = null; - axes = RotationAxes.MouseXAndY; - sensitivityX = 15f; - sensitivityY = 15f; - minimumX = -360f; - maximumX = 360f; - minimumY = -60f; - maximumY = 60f; - everyFrame = true; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - Finish(); - return; - } - - // Make the rigid body not change rotation - // TODO: Original Unity script had this. Expose as option? - if (!UpdateCache(go)) - { - if (rigidbody) - { - rigidbody.freezeRotation = true; - } - } - - DoMouseLook(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoMouseLook(); - } - - void DoMouseLook() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var transform = go.transform; - - switch (axes) - { - case RotationAxes.MouseXAndY: - - transform.localEulerAngles = new Vector3(GetYRotation(), GetXRotation(), 0); - break; - - case RotationAxes.MouseX: - - transform.localEulerAngles = new Vector3(transform.localEulerAngles.x, GetXRotation(), 0); - break; - - case RotationAxes.MouseY: - - transform.localEulerAngles = new Vector3(-GetYRotation(), transform.localEulerAngles.y, 0); - break; - } - } - - float GetXRotation() - { - rotationX += Input.GetAxis("Mouse X") * sensitivityX.Value; - rotationX = ClampAngle(rotationX, minimumX, maximumX); - return rotationX; - } - - float GetYRotation() - { - rotationY += Input.GetAxis("Mouse Y") * sensitivityY.Value; - rotationY = ClampAngle(rotationY, minimumY, maximumY); - return rotationY; - } - - // Clamp function that respects IsNone - static float ClampAngle(float angle, FsmFloat min, FsmFloat max) - { - if (!min.IsNone && angle < min.Value) - { - angle = min.Value; - } - - if (!max.IsNone && angle > max.Value) - { - angle = max.Value; - } - - return angle; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook2.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook2.cs.meta deleted file mode 100644 index e384b4893..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/MouseLook2.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 917ad6be8c2f4ef4ba0cdda783e0a581 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/MousePick.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/MousePick.cs deleted file mode 100644 index 69e812816..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/MousePick.cs +++ /dev/null @@ -1,98 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Perform a Mouse Pick on the scene from the Main Camera and stores the results. Use Ray Distance to set how close the camera must be to pick the object.")] - public class MousePick : FsmStateAction - { - [RequiredField] - [Tooltip("Set the length of the ray to cast from the Main Camera.")] - public FsmFloat rayDistance = 100f; - - [UIHint(UIHint.Variable)] - [Tooltip("Set Bool variable true if an object was picked, false if not.")] - public FsmBool storeDidPickObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the picked GameObject.")] - public FsmGameObject storeGameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the point of contact.")] - public FsmVector3 storePoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the normal at the point of contact.")] - public FsmVector3 storeNormal; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the distance to the point of contact.")] - public FsmFloat storeDistance; - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - rayDistance = 100f; - storeDidPickObject = null; - storeGameObject = null; - storePoint = null; - storeNormal = null; - storeDistance = null; - layerMask = new FsmInt[0]; - invertMask = false; - everyFrame = false; - } - - public override void OnEnter() - { - DoMousePick(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoMousePick(); - } - - private void DoMousePick() - { - var hitInfo = ActionHelpers.MousePick(rayDistance.Value, ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - - var didPick = hitInfo.collider != null; - storeDidPickObject.Value = didPick; - - if (didPick) - { - storeGameObject.Value = hitInfo.collider.gameObject; - storeDistance.Value = hitInfo.distance; - storePoint.Value = hitInfo.point; - storeNormal.Value = hitInfo.normal; - } - else - { - // TODO: not sure if this is the right strategy... - storeGameObject.Value = null; - storeDistance.Value = Mathf.Infinity; - storePoint.Value = Vector3.zero; - storeNormal.Value = Vector3.zero; - } - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/MousePick.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/MousePick.cs.meta deleted file mode 100644 index 64c495f36..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/MousePick.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a1a621564b617384ab7a2070baf811e4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/MousePickEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/MousePickEvent.cs deleted file mode 100644 index 608b5dffb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/MousePickEvent.cs +++ /dev/null @@ -1,125 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [ActionTarget(typeof(GameObject),"GameObject")] - [Tooltip("Sends Events based on mouse interactions with a Game Object: MouseOver, MouseDown, MouseUp, MouseOff. Use Ray Distance to set how close the camera must be to pick the object.\n\nNOTE: Picking uses the Main Camera.")] - public class MousePickEvent : FsmStateAction - { - [CheckForComponent(typeof(Collider))] - public FsmOwnerDefault GameObject; - - [Tooltip("Length of the ray to cast from the camera.")] - public FsmFloat rayDistance = 100f; - - [Tooltip("Event to send when the mouse is over the GameObject.")] - public FsmEvent mouseOver; - - [Tooltip("Event to send when the mouse is pressed while over the GameObject.")] - public FsmEvent mouseDown; - - [Tooltip("Event to send when the mouse is released while over the GameObject.")] - public FsmEvent mouseUp; - - [Tooltip("Event to send when the mouse moves off the GameObject.")] - public FsmEvent mouseOff; - - [Tooltip("Pick only from these layers.")] - [UIHint(UIHint.Layer)] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - GameObject = null; - rayDistance = 100f; - mouseOver = null; - mouseDown = null; - mouseUp = null; - mouseOff = null; - layerMask = new FsmInt[0]; - invertMask = false; - everyFrame = true; - } - - public override void OnEnter() - { - DoMousePickEvent(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoMousePickEvent(); - } - - void DoMousePickEvent() - { - // Do the raycast - - bool isMouseOver = DoRaycast(); - - // Store mouse pick info so it can be seen by Get Raycast Hit Info action - - Fsm.RaycastHitInfo = ActionHelpers.mousePickInfo; - - // Send events based on the raycast and mouse buttons - - if (isMouseOver) - { - if (mouseDown != null && Input.GetMouseButtonDown(0)) - { - Fsm.Event(mouseDown); - } - - if (mouseOver != null) - { - Fsm.Event(mouseOver); - } - - if (mouseUp != null &&Input.GetMouseButtonUp(0)) - { - Fsm.Event(mouseUp); - } - } - else - { - if (mouseOff != null) - { - Fsm.Event(mouseOff); - } - } - } - - bool DoRaycast() - { - var testObject = GameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : GameObject.GameObject.Value; - - // ActionHelpers uses a cache to try and minimize Raycasts - - return ActionHelpers.IsMouseOver(testObject, rayDistance.Value, ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - } - - public override string ErrorCheck() - { - string errorString = ""; - - errorString += ActionHelpers.CheckRayDistance(rayDistance.Value); - errorString += ActionHelpers.CheckPhysicsSetup(Fsm.GetOwnerDefaultTarget(GameObject)); - - return errorString; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/MousePickEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/MousePickEvent.cs.meta deleted file mode 100644 index 94ed9d529..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/MousePickEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f57b13daeba15d04a866bba900f88858 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/ResetInputAxes.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/ResetInputAxes.cs deleted file mode 100644 index c070bec10..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/ResetInputAxes.cs +++ /dev/null @@ -1,19 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Resets all Input. After ResetInputAxes all axes return to 0 and all buttons return to 0 for one frame")] - public class ResetInputAxes : FsmStateAction - { - public override void Reset(){} - - public override void OnEnter() - { - Input.ResetInputAxes(); - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/ResetInputAxes.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/ResetInputAxes.cs.meta deleted file mode 100644 index 3e1be56dd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/ResetInputAxes.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 28036865b5d7931449427b86f2f979db -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/ScreenPick.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/ScreenPick.cs deleted file mode 100644 index a2f9712ea..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/ScreenPick.cs +++ /dev/null @@ -1,116 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Perform a raycast into the scene using screen coordinates and stores the results. Use Ray Distance to set how close the camera must be to pick the object. NOTE: Uses the MainCamera!")] - public class ScreenPick : FsmStateAction - { - [Tooltip("A Vector3 screen position. Commonly stored by other actions.")] - public FsmVector3 screenVector; - [Tooltip ("X position on screen.")] - public FsmFloat screenX; - [Tooltip ("Y position on screen.")] - public FsmFloat screenY; - [Tooltip("Are the supplied screen coordinates normalized (0-1), or in pixels.")] - public FsmBool normalized; - [RequiredField] - public FsmFloat rayDistance = 100f; - [UIHint(UIHint.Variable)] - public FsmBool storeDidPickObject; - [UIHint(UIHint.Variable)] - public FsmGameObject storeGameObject; - [UIHint(UIHint.Variable)] - public FsmVector3 storePoint; - [UIHint(UIHint.Variable)] - public FsmVector3 storeNormal; - [UIHint(UIHint.Variable)] - public FsmFloat storeDistance; - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - public bool everyFrame; - - public override void Reset() - { - screenVector = new FsmVector3 { UseVariable = true }; - screenX = new FsmFloat { UseVariable = true }; - screenY = new FsmFloat { UseVariable = true }; - normalized = false; - rayDistance = 100f; - storeDidPickObject = null; - storeGameObject = null; - storePoint = null; - storeNormal = null; - storeDistance = null; - layerMask = new FsmInt[0]; - invertMask = false; - everyFrame = false; - } - - public override void OnEnter() - { - DoScreenPick(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoScreenPick(); - } - - void DoScreenPick() - { - if (Camera.main == null) - { - LogError("No MainCamera defined!"); - Finish(); - return; - } - - var rayStart = Vector3.zero; - - if (!screenVector.IsNone) rayStart = screenVector.Value; - if (!screenX.IsNone) rayStart.x = screenX.Value; - if (!screenY.IsNone) rayStart.y = screenY.Value; - - if (normalized.Value) - { - rayStart.x *= Screen.width; - rayStart.y *= Screen.height; - } - - RaycastHit hitInfo; - var ray = Camera.main.ScreenPointToRay(rayStart); - Physics.Raycast(ray, out hitInfo, rayDistance.Value, ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - - var didPick = hitInfo.collider != null; - storeDidPickObject.Value = didPick; - - if (didPick) - { - storeGameObject.Value = hitInfo.collider.gameObject; - storeDistance.Value = hitInfo.distance; - storePoint.Value = hitInfo.point; - storeNormal.Value = hitInfo.normal; - } - else - { - // TODO: not sure if this is the right strategy... - storeGameObject.Value = null; - storeDistance = Mathf.Infinity; - storePoint.Value = Vector3.zero; - storeNormal.Value = Vector3.zero; - } - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/ScreenPick.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/ScreenPick.cs.meta deleted file mode 100644 index fdca41c4a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/ScreenPick.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0a151663ce2809d40911820353904e71 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/TransformInputToWorldSpace.cs b/Assets/ThirdParty/PlayMaker/Actions/Input/TransformInputToWorldSpace.cs deleted file mode 100644 index 304f21c7c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/TransformInputToWorldSpace.cs +++ /dev/null @@ -1,129 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [NoActionTargets] - [ActionCategory(ActionCategory.Input)] - [Tooltip("Transforms 2d input into a 3d world space vector. E.g., can be used to transform input from a touch joystick to a movement vector.")] - public class TransformInputToWorldSpace : FsmStateAction - { - public enum AxisPlane - { - XZ, - XY, - YZ - } - - [UIHint(UIHint.Variable)] - [Tooltip("The horizontal input.")] - public FsmFloat horizontalInput; - - [UIHint(UIHint.Variable)] - [Tooltip("The vertical input.")] - public FsmFloat verticalInput; - - [Tooltip("Input axis are reported in the range -1 to 1, this multiplier lets you set a new range.")] - public FsmFloat multiplier; - - [RequiredField] - [Tooltip("The world plane to map the 2d input onto.")] - public AxisPlane mapToPlane; - - [Tooltip("Make the result relative to a GameObject, typically the main camera.")] - public FsmGameObject relativeTo; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the direction vector.")] - public FsmVector3 storeVector; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the length of the direction vector.")] - public FsmFloat storeMagnitude; - - public override void Reset() - { - horizontalInput = null; - verticalInput = null; - multiplier = 1.0f; - mapToPlane = AxisPlane.XZ; - storeVector = null; - storeMagnitude = null; - } - - public override void OnUpdate() - { - var forward = new Vector3(); - var right = new Vector3(); - - if (relativeTo.Value == null) - { - switch (mapToPlane) - { - case AxisPlane.XZ: - forward = Vector3.forward; - right = Vector3.right; - break; - - case AxisPlane.XY: - forward = Vector3.up; - right = Vector3.right; - break; - - case AxisPlane.YZ: - forward = Vector3.up; - right = Vector3.forward; - break; - } - } - else - { - var transform = relativeTo.Value.transform; - - switch (mapToPlane) - { - case AxisPlane.XZ: - forward = transform.TransformDirection(Vector3.forward); - forward.y = 0; - forward = forward.normalized; - right = new Vector3(forward.z, 0, -forward.x); - break; - - case AxisPlane.XY: - case AxisPlane.YZ: - // NOTE: in relative mode XY ans YZ are the same! - forward = Vector3.up; - forward.z = 0; - forward = forward.normalized; - right = transform.TransformDirection(Vector3.right); - break; - } - - // Right vector relative to the object - // Always orthogonal to the forward vector - - } - - // get individual axis - // leaving an axis blank or set to None sets it to 0 - - var h = horizontalInput.IsNone ? 0f : horizontalInput.Value; - var v = verticalInput.IsNone ? 0f : verticalInput.Value; - - // calculate resulting direction vector - - var direction = h * right + v * forward; - direction *= multiplier.Value; - - storeVector.Value = direction; - - if (!storeMagnitude.IsNone) - { - storeMagnitude.Value = direction.magnitude; - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Input/TransformInputToWorldSpace.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Input/TransformInputToWorldSpace.cs.meta deleted file mode 100644 index 7da5da7da..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Input/TransformInputToWorldSpace.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0922bb5e3097a7948a84b189b86dcb65 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Level.meta b/Assets/ThirdParty/PlayMaker/Actions/Level.meta deleted file mode 100644 index 1bc21eb6d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Level.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: d966d82fe7567ae44a87642df6494ecd -folderAsset: yes -timeCreated: 1504546852 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Level/DontDestroyOnLoad.cs b/Assets/ThirdParty/PlayMaker/Actions/Level/DontDestroyOnLoad.cs deleted file mode 100644 index fd4605dc5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Level/DontDestroyOnLoad.cs +++ /dev/null @@ -1,35 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System.Collections; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Level)] - [Tooltip("Makes the Game Object not be destroyed automatically when loading a new scene.")] - public class DontDestroyOnLoad : FsmStateAction - { - [RequiredField] - [Tooltip("GameObject to mark as DontDestroyOnLoad.")] - public FsmOwnerDefault gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - // Have to get the root, since the game object will be destroyed if any of its parents are destroyed. - - GameObject _go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (_go!=null) - { - Object.DontDestroyOnLoad( _go.transform.root.gameObject); - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Level/DontDestroyOnLoad.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Level/DontDestroyOnLoad.cs.meta deleted file mode 100644 index 239f7b43a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Level/DontDestroyOnLoad.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5b09d34da3db2bb4f866c3eaf15a5a0c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevel.cs b/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevel.cs deleted file mode 100644 index 3a9401023..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevel.cs +++ /dev/null @@ -1,124 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -#if (UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2) -#define UNITY_PRE_5_3 -#endif - -using UnityEngine; -#if !UNITY_PRE_5_3 -using UnityEngine.SceneManagement; -#endif - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Level)] - [Tooltip("Loads a Level by Name. NOTE: Before you can load a level, you have to add it to the list of levels defined in File->Build Settings...")] - public class LoadLevel : FsmStateAction - { - [RequiredField] - [Tooltip("The name of the level to load. NOTE: Must be in the list of levels defined in File->Build Settings... ")] - public FsmString levelName; - - [Tooltip("Load the level additively, keeping the current scene.")] - public bool additive; - - [Tooltip("Load the level asynchronously in the background.")] - public bool async; - - [Tooltip("Event to send when the level has loaded. NOTE: This only makes sense if the FSM is still in the scene!")] - public FsmEvent loadedEvent; - - [Tooltip("Keep this GameObject in the new level. NOTE: The GameObject and components is disabled then enabled on load; uncheck Reset On Disable to keep the active state.")] - public FsmBool dontDestroyOnLoad; - - [Tooltip("Event to send if the level cannot be loaded.")] - public FsmEvent failedEvent; - - private AsyncOperation asyncOperation; - - public override void Reset() - { - levelName = ""; - additive = false; - async = false; - loadedEvent = null; - dontDestroyOnLoad = false; - } - - public override void OnEnter() - { - if (!Application.CanStreamedLevelBeLoaded(levelName.Value)) - { - Fsm.Event(failedEvent); - Finish(); - return; - } - - if (dontDestroyOnLoad.Value) - { - // Have to get the root, since this FSM will be destroyed if a parent is destroyed. - var root = Owner.transform.root; - Object.DontDestroyOnLoad(root.gameObject); - } - - if (additive) - { - if (async) - { -#if UNITY_PRE_5_3 - asyncOperation = Application.LoadLevelAdditiveAsync(levelName.Value); -#else - asyncOperation = SceneManager.LoadSceneAsync(levelName.Value, LoadSceneMode.Additive); -#endif - - Debug.Log("LoadLevelAdditiveAsyc: " + levelName.Value); - - return; // Don't Finish() - } - -#if UNITY_PRE_5_3 - Application.LoadLevelAdditive(levelName.Value); -#else - SceneManager.LoadScene(levelName.Value, LoadSceneMode.Additive); -#endif - - Debug.Log("LoadLevelAdditive: " + levelName.Value); - } - else - if (async) - { -#if UNITY_PRE_5_3 - asyncOperation = Application.LoadLevelAsync(levelName.Value); -#else - asyncOperation = SceneManager.LoadSceneAsync(levelName.Value, LoadSceneMode.Single); -#endif - Debug.Log("LoadLevelAsync: " + levelName.Value); - - return; // Don't Finish() - } - else - { -#if UNITY_PRE_5_3 - Application.LoadLevel(levelName.Value); -#else - SceneManager.LoadScene(levelName.Value, LoadSceneMode.Single); -#endif - Debug.Log("LoadLevel: " + levelName.Value); - } - - Log("LOAD COMPLETE"); - - Fsm.Event(loadedEvent); - Finish(); - } - - public override void OnUpdate() - { - if (asyncOperation.isDone) - { - Fsm.Event(loadedEvent); - Finish(); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevel.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevel.cs.meta deleted file mode 100644 index a65d689e9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevel.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 30fcd7ba76646434b8562f5b8d7b10d6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevelNum.cs b/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevelNum.cs deleted file mode 100644 index 8d80d3b42..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevelNum.cs +++ /dev/null @@ -1,80 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -#if (UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2) -#define UNITY_PRE_5_3 -#endif - -using UnityEngine; -#if !UNITY_PRE_5_3 -using UnityEngine.SceneManagement; -#endif - - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Level)] - [Tooltip("Loads a Level by Index number. Before you can load a level, you have to add it to the list of levels defined in File->Build Settings...")] - public class LoadLevelNum : FsmStateAction - { - [RequiredField] - [Tooltip("The level index in File->Build Settings")] - public FsmInt levelIndex; - - [Tooltip("Load the level additively, keeping the current scene.")] - public bool additive; - - [Tooltip("Event to send after the level is loaded.")] - public FsmEvent loadedEvent; - - [Tooltip("Keep this GameObject in the new level. NOTE: The GameObject and components is disabled then enabled on load; uncheck Reset On Disable to keep the active state.")] - public FsmBool dontDestroyOnLoad; - - [Tooltip("Event to send if the level cannot be loaded.")] - public FsmEvent failedEvent; - - public override void Reset() - { - levelIndex = null; - additive = false; - loadedEvent = null; - dontDestroyOnLoad = false; - } - - public override void OnEnter() - { - if (!Application.CanStreamedLevelBeLoaded(levelIndex.Value)) - { - Fsm.Event(failedEvent); - Finish(); - return; - } - - if (dontDestroyOnLoad.Value) - { - // Have to get the root, since this FSM will be destroyed if a parent is destroyed. - var root = Owner.transform.root; - Object.DontDestroyOnLoad(root.gameObject); - } - - if (additive) - { -#if UNITY_PRE_5_3 - Application.LoadLevelAdditive(levelIndex.Value); -#else - SceneManager.LoadScene(levelIndex.Value, LoadSceneMode.Additive); -#endif - } - else - { -#if UNITY_PRE_5_3 - Application.LoadLevel(levelIndex.Value); -#else - SceneManager.LoadScene(levelIndex.Value, LoadSceneMode.Single); -#endif - } - - Fsm.Event(loadedEvent); - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevelNum.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevelNum.cs.meta deleted file mode 100644 index 238135b26..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Level/LoadLevelNum.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4639facb079d91c45afd211dc4427bc7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Level/RestartLevel.cs b/Assets/ThirdParty/PlayMaker/Actions/Level/RestartLevel.cs deleted file mode 100644 index e3c6ca71e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Level/RestartLevel.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// micro script by Andrew Raphael Lukasik - -#if (UNITY_4_3 || UNITY_4_5 || UNITY_4_6 || UNITY_4_7 || UNITY_5_0 || UNITY_5_1 || UNITY_5_2) -#define UNITY_PRE_5_3 -#endif - -using UnityEngine; -#if !UNITY_PRE_5_3 -using UnityEngine.SceneManagement; -#endif - - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Level)] - [Tooltip("Restarts current level.")] - public class RestartLevel : FsmStateAction - { - public override void OnEnter() - { -#if UNITY_PRE_5_3 - Application.LoadLevel(Application.loadedLevelName); -#else - SceneManager.LoadScene(SceneManager.GetActiveScene().name, LoadSceneMode.Single); -#endif - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Level/RestartLevel.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Level/RestartLevel.cs.meta deleted file mode 100644 index b78ab2163..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Level/RestartLevel.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c06952405da47b24a98a90cb4677b23f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights.meta b/Assets/ThirdParty/PlayMaker/Actions/Lights.meta deleted file mode 100644 index c405c4697..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: a0fd95eb6c2e973489615e6ba55a575e -folderAsset: yes -timeCreated: 1504502784 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightColor.cs b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightColor.cs deleted file mode 100644 index 4c5c9e41b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightColor.cs +++ /dev/null @@ -1,49 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Lights)] - [Tooltip("Sets the Color of a Light.")] - public class SetLightColor : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Light))] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmColor lightColor; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - lightColor = Color.white; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetLightColor(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetLightColor(); - } - - void DoSetLightColor() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - light.color = lightColor.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightColor.cs.meta deleted file mode 100644 index 6da3da485..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 035e007c3fa59054d828b36ce43cfe6b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightCookie.cs b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightCookie.cs deleted file mode 100644 index 566678f8b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightCookie.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Lights)] - [Tooltip("Sets the Texture projected by a Light.")] - public class SetLightCookie : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Light))] - public FsmOwnerDefault gameObject; - public FsmTexture lightCookie; - - public override void Reset() - { - gameObject = null; - lightCookie = null; - } - - public override void OnEnter() - { - DoSetLightCookie(); - Finish(); - } - - void DoSetLightCookie() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - light.cookie = lightCookie.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightCookie.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightCookie.cs.meta deleted file mode 100644 index 52c4b9b67..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightCookie.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3a524ebe8e5d26c42ac34e159293ec45 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightFlare.cs b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightFlare.cs deleted file mode 100644 index 623c05b35..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightFlare.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Lights)] - [Tooltip("Sets the Flare effect used by a Light.")] - public class SetLightFlare : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Light))] - public FsmOwnerDefault gameObject; - public Flare lightFlare; - - public override void Reset() - { - gameObject = null; - lightFlare = null; - } - - public override void OnEnter() - { - DoSetLightRange(); - Finish(); - } - - void DoSetLightRange() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - light.flare = lightFlare; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightFlare.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightFlare.cs.meta deleted file mode 100644 index 6d51b9731..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightFlare.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: df69e1a8bc949e44da6851cbaa2f8a8c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightIntensity.cs b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightIntensity.cs deleted file mode 100644 index 903795991..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightIntensity.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Lights)] - [Tooltip("Sets the Intensity of a Light.")] - public class SetLightIntensity : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Light))] - public FsmOwnerDefault gameObject; - public FsmFloat lightIntensity; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - lightIntensity = 1f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetLightIntensity(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetLightIntensity(); - } - - void DoSetLightIntensity() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - light.intensity = lightIntensity.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightIntensity.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightIntensity.cs.meta deleted file mode 100644 index 6e72d2bc4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightIntensity.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4a55f9d629330ab418370b0e5228b3d9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightRange.cs b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightRange.cs deleted file mode 100644 index 43e6064c5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightRange.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Lights)] - [Tooltip("Sets the Range of a Light.")] - public class SetLightRange : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Light))] - public FsmOwnerDefault gameObject; - public FsmFloat lightRange; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - lightRange = 20f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetLightRange(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetLightRange(); - } - - void DoSetLightRange() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - light.range = lightRange.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightRange.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightRange.cs.meta deleted file mode 100644 index fd3e524b7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightRange.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ca7c4594a8181f247b6d7d6862ca6345 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightSpotAngle.cs b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightSpotAngle.cs deleted file mode 100644 index c6e57c747..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightSpotAngle.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Lights)] - [Tooltip("Sets the Spot Angle of a Light.")] - public class SetLightSpotAngle : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Light))] - public FsmOwnerDefault gameObject; - public FsmFloat lightSpotAngle; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - lightSpotAngle = 20f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetLightRange(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetLightRange(); - } - - void DoSetLightRange() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - light.spotAngle = lightSpotAngle.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightSpotAngle.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightSpotAngle.cs.meta deleted file mode 100644 index 2b0ce4519..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightSpotAngle.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a9a288b3e31b1ce478ed64d294fb6cc6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightType.cs b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightType.cs deleted file mode 100644 index 908ccfaf7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightType.cs +++ /dev/null @@ -1,39 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Lights)] - [Tooltip("Set Spot, Directional, or Point Light type.")] - public class SetLightType : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Light))] - public FsmOwnerDefault gameObject; - - [ObjectType(typeof(LightType))] - public FsmEnum lightType; - - public override void Reset() - { - gameObject = null; - lightType = LightType.Point; - } - - public override void OnEnter() - { - DoSetLightType(); - Finish(); - } - - void DoSetLightType() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - light.type = (LightType)lightType.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightType.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightType.cs.meta deleted file mode 100644 index 50f9be251..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetLightType.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cd567235dfdc08d4ba995b3fe196c186 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetShadowStrength.cs b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetShadowStrength.cs deleted file mode 100644 index d8a8f5a3e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetShadowStrength.cs +++ /dev/null @@ -1,46 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Lights)] - [Tooltip("Sets the strength of the shadows cast by a Light.")] - public class SetShadowStrength : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Light))] - public FsmOwnerDefault gameObject; - public FsmFloat shadowStrength; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - shadowStrength = 0.8f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetShadowStrength(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetShadowStrength(); - } - - void DoSetShadowStrength() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - light.shadowStrength = shadowStrength.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetShadowStrength.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Lights/SetShadowStrength.cs.meta deleted file mode 100644 index cf3823b0d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Lights/SetShadowStrength.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a409f184b264b374182d5f219718fc0b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic.meta deleted file mode 100644 index b045fae04..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: fc66601b18d43404ca295db3bfb0b342 -folderAsset: yes -timeCreated: 1504501495 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAllTrue.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAllTrue.cs deleted file mode 100644 index 4d5d71e82..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAllTrue.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if all the given Bool Variables are True.")] - public class BoolAllTrue : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable),Readonly] - [Tooltip("The Bool variables to check.")] - public FsmBool[] boolVariables; - - [Tooltip("Event to send if all the Bool variables are True.")] - public FsmEvent sendEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a Bool variable.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - boolVariables = null; - sendEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoAllTrue(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoAllTrue(); - } - - void DoAllTrue() - { - if (boolVariables.Length == 0) return; - - var allTrue = true; - - for (var i = 0; i < boolVariables.Length; i++) - { - if (!boolVariables[i].Value) - { - allTrue = false; - break; - } - } - - if (allTrue) - { - Fsm.Event(sendEvent); - } - - storeResult.Value = allTrue; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAllTrue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAllTrue.cs.meta deleted file mode 100644 index dee3599e8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAllTrue.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f14889b04b70ede4cb1aa06309f5f89d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAnyTrue.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAnyTrue.cs deleted file mode 100644 index 6689201fd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAnyTrue.cs +++ /dev/null @@ -1,67 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if any of the given Bool Variables are True.")] - public class BoolAnyTrue : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Bool variables to check.")] - public FsmBool[] boolVariables; - - [Tooltip("Event to send if any of the Bool variables are True.")] - public FsmEvent sendEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a Bool variable.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - boolVariables = null; - sendEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoAnyTrue(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoAnyTrue(); - } - - void DoAnyTrue() - { - if (boolVariables.Length == 0) - { - return; - } - - storeResult.Value = false; - - for (var i = 0; i < boolVariables.Length; i++) - { - if (boolVariables[i].Value) - { - Fsm.Event(sendEvent); - storeResult.Value = true; - return; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAnyTrue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAnyTrue.cs.meta deleted file mode 100644 index f090add8a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolAnyTrue.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 92aa7496b9c7dbe49b0623baa74e7db1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolChanged.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolChanged.cs deleted file mode 100644 index 1b3b613f4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolChanged.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if the value of a Bool Variable has changed. Use this to send an event on change, or store a bool that can be used in other operations.")] - public class BoolChanged : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Bool variable to watch for changes.")] - public FsmBool boolVariable; - - [Tooltip("Event to send if the variable changes.")] - public FsmEvent changedEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Set to True if changed.")] - public FsmBool storeResult; - - bool previousValue; - - public override void Reset() - { - boolVariable = null; - changedEvent = null; - storeResult = null; - } - - public override void OnEnter() - { - if (boolVariable.IsNone) - { - Finish(); - return; - } - - previousValue = boolVariable.Value; - } - - public override void OnUpdate() - { - storeResult.Value = false; - - if (boolVariable.Value != previousValue) - { - storeResult.Value = true; - Fsm.Event(changedEvent); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolChanged.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolChanged.cs.meta deleted file mode 100644 index ad4c20b80..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolChanged.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5d16cd2973206874084f6e5b99aff702 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolNoneTrue.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolNoneTrue.cs deleted file mode 100644 index b9a221d7b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolNoneTrue.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if all the Bool Variables are False.\nSend an event or store the result.")] - public class BoolNoneTrue : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Bool variables to check.")] - public FsmBool[] boolVariables; - - [Tooltip("Event to send if none of the Bool variables are True.")] - public FsmEvent sendEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a Bool variable.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - boolVariables = null; - sendEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoNoneTrue(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoNoneTrue(); - } - - void DoNoneTrue() - { - if (boolVariables.Length == 0) return; - - var noneTrue = true; - - for (var i = 0; i < boolVariables.Length; i++) - { - if (boolVariables[i].Value) - { - noneTrue = false; - break; - } - } - - if (noneTrue) - { - Fsm.Event(sendEvent); - } - - storeResult.Value = noneTrue; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolNoneTrue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolNoneTrue.cs.meta deleted file mode 100644 index d83c0a552..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolNoneTrue.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b3cd57e7754145e4298aa8bbb8cb0ad4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolOperator.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolOperator.cs deleted file mode 100644 index a827d825f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolOperator.cs +++ /dev/null @@ -1,86 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Performs boolean operations on 2 Bool Variables.")] - public class BoolOperator : FsmStateAction - { - public enum Operation - { - AND, - NAND, - OR, - XOR - } - - [RequiredField] - [Tooltip("The first Bool variable.")] - public FsmBool bool1; - - [RequiredField] - [Tooltip("The second Bool variable.")] - public FsmBool bool2; - - [Tooltip("Boolean Operation.")] - public Operation operation; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a Bool Variable.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - bool1 = false; - bool2 = false; - operation = Operation.AND; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoBoolOperator(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoBoolOperator(); - } - - void DoBoolOperator() - { - var v1 = bool1.Value; - var v2 = bool2.Value; - - switch (operation) - { - case Operation.AND: - storeResult.Value = v1 && v2; - break; - - case Operation.NAND: - storeResult.Value = !(v1 && v2); - break; - - case Operation.OR: - storeResult.Value = v1 || v2; - break; - - case Operation.XOR: - storeResult.Value = v1 ^ v2; - break; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolOperator.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolOperator.cs.meta deleted file mode 100644 index a39eebb01..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolOperator.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8d63d0c13fcc1064eb48c4d8eae4a294 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolTest.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolTest.cs deleted file mode 100644 index cb52d1be7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolTest.cs +++ /dev/null @@ -1,46 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Sends Events based on the value of a Boolean Variable.")] - public class BoolTest : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable),Readonly] - [Tooltip("The Bool variable to test.")] - public FsmBool boolVariable; - - [Tooltip("Event to send if the Bool variable is True.")] - public FsmEvent isTrue; - - [Tooltip("Event to send if the Bool variable is False.")] - public FsmEvent isFalse; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - boolVariable = null; - isTrue = null; - isFalse = null; - everyFrame = false; - } - - public override void OnEnter() - { - Fsm.Event(boolVariable.Value ? isTrue : isFalse); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - Fsm.Event(boolVariable.Value ? isTrue : isFalse); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolTest.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolTest.cs.meta deleted file mode 100644 index ebcda4d92..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/BoolTest.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b8ab2667346f94c438747d216c43187b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/ColorCompare.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/ColorCompare.cs deleted file mode 100644 index 1fb4cd495..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/ColorCompare.cs +++ /dev/null @@ -1,84 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Sends Events based on the comparison of 2 Colors.")] - public class ColorCompare : FsmStateAction - { - [RequiredField] - [Tooltip("The first Color.")] - public FsmColor color1; - - [RequiredField] - [Tooltip("The second Color.")] - public FsmColor color2; - - [RequiredField] - [Tooltip("Tolerance of test, to test for 'almost equals' or to ignore small floating point rounding differences.")] - public FsmFloat tolerance; - - [Tooltip("Event sent if Color 1 equals Color 2 (within Tolerance)")] - public FsmEvent equal; - - [Tooltip("Event sent if Color 1 does not equal Color 2 (within Tolerance)")] - public FsmEvent notEqual; - - [Tooltip("Repeat every frame. Useful if the variables are changing and you're waiting for a particular result.")] - public bool everyFrame; - - public override void Reset() - { - color1 = Color.white; - color2 = Color.white; - tolerance = 0f; - equal = null; - notEqual = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoCompare(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoCompare(); - } - - private void DoCompare() - { - // alternatively convert to Vector4 and check magnitude > tolerance - - if (Mathf.Abs(color1.Value.r - color2.Value.r) > tolerance.Value || - Mathf.Abs(color1.Value.g - color2.Value.g) > tolerance.Value || - Mathf.Abs(color1.Value.b - color2.Value.b) > tolerance.Value || - Mathf.Abs(color1.Value.a - color2.Value.a) > tolerance.Value) - { - Fsm.Event(notEqual); - } - else - { - Fsm.Event(equal); - } - } - - public override string ErrorCheck() - { - if (FsmEvent.IsNullOrEmpty(equal) && FsmEvent.IsNullOrEmpty(notEqual)) - { - return "Action sends no events!"; - } - - return ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/ColorCompare.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/ColorCompare.cs.meta deleted file mode 100644 index 86508fc7f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/ColorCompare.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 940dbb49a26d6d04f9ed9e92227e227c -timeCreated: 1519935356 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumCompare.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumCompare.cs deleted file mode 100644 index b4deb8c1f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumCompare.cs +++ /dev/null @@ -1,77 +0,0 @@ -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Compares 2 Enum values and sends Events based on the result.")] - public class EnumCompare : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmEnum enumVariable; - - [MatchFieldType("enumVariable")] - public FsmEnum compareTo; - - public FsmEvent equalEvent; - - public FsmEvent notEqualEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the true/false result in a bool variable.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame. Useful if the enum is changing over time.")] - public bool everyFrame; - - public override void Reset() - { - enumVariable = null; - compareTo = null; - equalEvent = null; - notEqualEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoEnumCompare(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoEnumCompare(); - } - - void DoEnumCompare() - { - if (enumVariable == null || compareTo == null) return; - - var equal = Equals(enumVariable.Value, compareTo.Value); - - if (storeResult != null) - { - storeResult.Value = equal; - } - - if (equal && equalEvent != null) - { - Fsm.Event(equalEvent); - return; - } - - if (!equal && notEqualEvent != null) - { - Fsm.Event(notEqualEvent); - } - - } - - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumCompare.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumCompare.cs.meta deleted file mode 100644 index e2172219d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumCompare.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 36c0a8c05ee8cc345962a8441340fb6e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumSwitch.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumSwitch.cs deleted file mode 100644 index 9c77a2dcd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumSwitch.cs +++ /dev/null @@ -1,58 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Sends an Event based on the value of an Enum Variable.")] - public class EnumSwitch : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmEnum enumVariable; - - [CompoundArray("Enum Switches", "Compare Enum Values", "Send")] - [MatchFieldType("enumVariable")] - public FsmEnum[] compareTo; - public FsmEvent[] sendEvent; - - public bool everyFrame; - - public override void Reset() - { - enumVariable = null; - compareTo = new FsmEnum[0]; - sendEvent = new FsmEvent[0]; - everyFrame = false; - } - - public override void OnEnter() - { - DoEnumSwitch(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoEnumSwitch(); - } - - private void DoEnumSwitch() - { - if (enumVariable.IsNone) - return; - - for (int i = 0; i < compareTo.Length; i++) - { - if (Equals(enumVariable.Value, compareTo[i].Value)) - { - Fsm.Event(sendEvent[i]); - return; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumSwitch.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumSwitch.cs.meta deleted file mode 100644 index f7e0d5113..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/EnumSwitch.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3dfa083daff6b6e459f0385a956eb962 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatChanged.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatChanged.cs deleted file mode 100644 index 60c4675c3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatChanged.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if the value of a Float variable changed. Use this to send an event on change, or store a bool that can be used in other operations.")] - public class FloatChanged : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Float variable to watch for a change.")] - public FsmFloat floatVariable; - - [Tooltip("Event to send if the float variable changes.")] - public FsmEvent changedEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Set to True if the float variable changes.")] - public FsmBool storeResult; - - float previousValue; - - public override void Reset() - { - floatVariable = null; - changedEvent = null; - storeResult = null; - } - - public override void OnEnter() - { - if (floatVariable.IsNone) - { - Finish(); - return; - } - - previousValue = floatVariable.Value; - } - - public override void OnUpdate() - { - storeResult.Value = false; - - if (floatVariable.Value != previousValue) - { - previousValue = floatVariable.Value; - storeResult.Value = true; - Fsm.Event(changedEvent); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatChanged.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatChanged.cs.meta deleted file mode 100644 index 5cc504aa0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatChanged.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 739cb6d4280e5c143ae53b1678d6ca11 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatCompare.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatCompare.cs deleted file mode 100644 index 1f08b669a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatCompare.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Sends Events based on the comparison of 2 Floats.")] - public class FloatCompare : FsmStateAction - { - [RequiredField] - [Tooltip("The first float variable.")] - public FsmFloat float1; - - [RequiredField] - [Tooltip("The second float variable.")] - public FsmFloat float2; - - [RequiredField] - [Tooltip("Tolerance for the Equal test (almost equal).\nNOTE: Floats that look the same are often not exactly the same, so you often need to use a small tolerance.")] - public FsmFloat tolerance; - - [Tooltip("Event sent if Float 1 equals Float 2 (within Tolerance)")] - public FsmEvent equal; - - [Tooltip("Event sent if Float 1 is less than Float 2")] - public FsmEvent lessThan; - - [Tooltip("Event sent if Float 1 is greater than Float 2")] - public FsmEvent greaterThan; - - [Tooltip("Repeat every frame. Useful if the variables are changing and you're waiting for a particular result.")] - public bool everyFrame; - - public override void Reset() - { - float1 = 0f; - float2 = 0f; - tolerance = 0f; - equal = null; - lessThan = null; - greaterThan = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoCompare(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoCompare(); - } - - void DoCompare() - { - - if (Mathf.Abs(float1.Value - float2.Value) <= tolerance.Value) - { - Fsm.Event(equal); - return; - } - - if (float1.Value < float2.Value) - { - Fsm.Event(lessThan); - return; - } - - if (float1.Value > float2.Value) - { - Fsm.Event(greaterThan); - } - - } - - public override string ErrorCheck() - { - if (FsmEvent.IsNullOrEmpty(equal) && - FsmEvent.IsNullOrEmpty(lessThan) && - FsmEvent.IsNullOrEmpty(greaterThan)) - return "Action sends no events!"; - return ""; - } - - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, float1, float2); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatCompare.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatCompare.cs.meta deleted file mode 100644 index d9aac91d1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatCompare.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 84990667b104c414f974e0135e674032 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSignTest.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSignTest.cs deleted file mode 100644 index 5a9fc1de2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSignTest.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Sends Events based on the sign of a Float.")] - public class FloatSignTest : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The float variable to test.")] - public FsmFloat floatValue; - - [Tooltip("Event to send if the float variable is positive.")] - public FsmEvent isPositive; - - [Tooltip("Event to send if the float variable is negative.")] - public FsmEvent isNegative; - - [Tooltip("Repeat every frame. Useful if the variable is changing and you're waiting for a particular result.")] - public bool everyFrame; - - public override void Reset() - { - floatValue = 0f; - isPositive = null; - isNegative = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSignTest(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSignTest(); - } - - void DoSignTest() - { - if (floatValue == null) - { - return; - } - - Fsm.Event(floatValue.Value < 0 ? isNegative : isPositive); - } - - public override string ErrorCheck() - { - if (FsmEvent.IsNullOrEmpty(isPositive) && - FsmEvent.IsNullOrEmpty(isNegative)) - return "Action sends no events!"; - return ""; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSignTest.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSignTest.cs.meta deleted file mode 100644 index acc85733d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSignTest.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a118f82c78538f14ea2ac55ab786b09a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSwitch.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSwitch.cs deleted file mode 100644 index a20dfccb3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSwitch.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Sends an Event based on the value of a Float Variable. The float could represent distance, angle to a target, health left... The array sets up float ranges that correspond to Events.")] - public class FloatSwitch : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The float variable to test.")] - public FsmFloat floatVariable; - - [CompoundArray("Float Switches", "Less Than", "Send Event")] - public FsmFloat[] lessThan; - public FsmEvent[] sendEvent; - - [Tooltip("Repeat every frame. Useful if the variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - floatVariable = null; - lessThan = new FsmFloat[1]; - sendEvent = new FsmEvent[1]; - everyFrame = false; - } - - public override void OnEnter() - { - DoFloatSwitch(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoFloatSwitch(); - } - - void DoFloatSwitch() - { - if (floatVariable.IsNone) - { - return; - } - - for (var i = 0; i < lessThan.Length; i++) - { - if (floatVariable.Value < lessThan[i].Value) - { - Fsm.Event(sendEvent[i]); - return; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSwitch.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSwitch.cs.meta deleted file mode 100644 index f662bd69b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FloatSwitch.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 17170bfcb9493ec4080569d2b67dd82f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateSwitch.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateSwitch.cs deleted file mode 100644 index df120971b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateSwitch.cs +++ /dev/null @@ -1,89 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Sends Events based on the current State of an FSM.")] - public class FsmStateSwitch : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmGameObject gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of Fsm on GameObject. Useful if there is more than one FSM on the GameObject.")] - public FsmString fsmName; - - [CompoundArray("State Switches", "Compare State", "Send Event")] - public FsmString[] compareTo; - public FsmEvent[] sendEvent; - - [Tooltip("Repeat every frame. Useful if you're waiting for a particular result.")] - public bool everyFrame; - - // store game object last frame so we know when it's changed - // and have to cache a new fsm - private GameObject previousGo; - - // cache the fsm component since that's an expensive operation - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = null; - compareTo = new FsmString[1]; - sendEvent = new FsmEvent[1]; - everyFrame = false; - } - - public override void OnEnter() - { - DoFsmStateSwitch(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoFsmStateSwitch(); - } - - void DoFsmStateSwitch() - { - var go = gameObject.Value; - if (go == null) - { - return; - } - - if (go != previousGo) - { - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - previousGo = go; - } - - if (fsm == null) - { - return; - } - - var activeStateName = fsm.ActiveStateName; - - for (var i = 0; i < compareTo.Length; i++) - { - if (activeStateName == compareTo[i].Value) - { - Fsm.Event(sendEvent[i]); - return; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateSwitch.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateSwitch.cs.meta deleted file mode 100644 index 780fc4812..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateSwitch.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 20cdf56e450bf394ea813472c630dab2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateTest.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateTest.cs deleted file mode 100644 index 55bb5c59e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateTest.cs +++ /dev/null @@ -1,103 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Tests if an FSM is in the specified State.")] - public class FsmStateTest : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmGameObject gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of Fsm on Game Object. Useful if there is more than one FSM on the GameObject.")] - public FsmString fsmName; - - [RequiredField] - [Tooltip("Check to see if the FSM is in this state.")] - public FsmString stateName; - - [Tooltip("Event to send if the FSM is in the specified state.")] - public FsmEvent trueEvent; - - [Tooltip("Event to send if the FSM is NOT in the specified state.")] - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result of this test in a bool variable. Useful if other actions depend on this test.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame. Useful if you're waiting for a particular state.")] - public bool everyFrame; - - // store game object last frame so we know when it's changed - // and have to cache a new fsm - private GameObject previousGo; - - // cache the fsm component since that's an expensive operation - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = null; - stateName = null; - trueEvent = null; - falseEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoFsmStateTest(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoFsmStateTest(); - } - - void DoFsmStateTest() - { - var go = gameObject.Value; - if (go == null) return; - - if (go != previousGo) - { - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - previousGo = go; - } - - if (fsm == null) - { - return; - } - - var isState = false; - - if (fsm.ActiveStateName == stateName.Value) - { - Fsm.Event(trueEvent); - isState = true; - } - else - { - Fsm.Event(falseEvent); - } - - storeResult.Value = isState; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateTest.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateTest.cs.meta deleted file mode 100644 index f477dcd02..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/FsmStateTest.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 92923df3aa9dbbe488cc031a06cbc36e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectChanged.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectChanged.cs deleted file mode 100644 index 4d5ab0163..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectChanged.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if the value of a GameObject variable changed. Use this to send an event on change, or store a bool that can be used in other operations.")] - public class GameObjectChanged : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The GameObject variable to watch for a change.")] - public FsmGameObject gameObjectVariable; - - [Tooltip("Event to send if the variable changes.")] - public FsmEvent changedEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Set to True if the variable changes.")] - public FsmBool storeResult; - - private GameObject previousValue; - - public override void Reset() - { - gameObjectVariable = null; - changedEvent = null; - storeResult = null; - } - - public override void OnEnter() - { - if (gameObjectVariable.IsNone) - { - Finish(); - return; - } - - previousValue = gameObjectVariable.Value; - } - - public override void OnUpdate() - { - storeResult.Value = false; - - if (gameObjectVariable.Value != previousValue) - { - storeResult.Value = true; - Fsm.Event(changedEvent); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectChanged.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectChanged.cs.meta deleted file mode 100644 index 85026413e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectChanged.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c00c48530d8d5c44eaf36d86978c60ff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompare.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompare.cs deleted file mode 100644 index 9dd83f49a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompare.cs +++ /dev/null @@ -1,77 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Compares 2 Game Objects and sends Events based on the result.")] - public class GameObjectCompare : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Title("Game Object")] - [Tooltip("A Game Object variable to compare.")] - public FsmOwnerDefault gameObjectVariable; - - [RequiredField] - [Tooltip("Compare the variable with this Game Object")] - public FsmGameObject compareTo; - - [Tooltip("Send this event if Game Objects are equal")] - public FsmEvent equalEvent; - - [Tooltip("Send this event if Game Objects are not equal")] - public FsmEvent notEqualEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result of the check in a Bool Variable. (True if equal, false if not equal).")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame. Useful if you're waiting for a true or false result.")] - public bool everyFrame; - - public override void Reset() - { - gameObjectVariable = null; - compareTo = null; - equalEvent = null; - notEqualEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGameObjectCompare(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGameObjectCompare(); - } - - void DoGameObjectCompare() - { - var equal = Fsm.GetOwnerDefaultTarget(gameObjectVariable) == compareTo.Value; - - storeResult.Value = equal; - - if (equal && equalEvent != null) - { - Fsm.Event(equalEvent); - } - else if (!equal && notEqualEvent != null) - { - Fsm.Event(notEqualEvent); - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompare.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompare.cs.meta deleted file mode 100644 index fac147aff..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompare.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8d4a3389d8a0c344faf105a37e5e990b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompareTag.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompareTag.cs deleted file mode 100644 index fbb7029c1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompareTag.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if a Game Object has a tag.")] - public class GameObjectCompareTag : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to test.")] - public FsmGameObject gameObject; - - [RequiredField] - [UIHint(UIHint.Tag)] - [Tooltip("The Tag to check for.")] - public FsmString tag; - - [Tooltip("Event to send if the GameObject has the Tag.")] - public FsmEvent trueEvent; - - [Tooltip("Event to send if the GameObject does not have the Tag.")] - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a Bool variable.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - tag = "Untagged"; - trueEvent = null; - falseEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoCompareTag(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoCompareTag(); - } - - void DoCompareTag() - { - var hasTag = false; - - if (gameObject.Value != null) - { - hasTag = gameObject.Value.CompareTag(tag.Value); - } - - storeResult.Value = hasTag; - - Fsm.Event(hasTag ? trueEvent : falseEvent); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompareTag.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompareTag.cs.meta deleted file mode 100644 index 98bf70085..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectCompareTag.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ad53193224edfbf48b46c3e5cabcec93 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectHasChildren.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectHasChildren.cs deleted file mode 100644 index 1019d2b52..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectHasChildren.cs +++ /dev/null @@ -1,67 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if a GameObject has children.")] - public class GameObjectHasChildren : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to test.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Event to send if the GameObject has children.")] - public FsmEvent trueEvent; - - [Tooltip("Event to send if the GameObject does not have children.")] - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a bool variable.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - trueEvent = null; - falseEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoHasChildren(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoHasChildren(); - } - - void DoHasChildren() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var hasChildren = go.transform.childCount > 0; - - storeResult.Value = hasChildren; - - Fsm.Event(hasChildren ? trueEvent : falseEvent); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectHasChildren.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectHasChildren.cs.meta deleted file mode 100644 index 6f33f450c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectHasChildren.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 002d4d76d73b72447a3f0f535181ed23 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsChildOf.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsChildOf.cs deleted file mode 100644 index d7c818580..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsChildOf.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if a GameObject is a Child of another GameObject.")] - public class GameObjectIsChildOf : FsmStateAction - { - [RequiredField] - [Tooltip("GameObject to test.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Is it a child of this GameObject?")] - public FsmGameObject isChildOf; - - [Tooltip("Event to send if GameObject is a child.")] - public FsmEvent trueEvent; - - [Tooltip("Event to send if GameObject is NOT a child.")] - public FsmEvent falseEvent; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store result in a bool variable")] - public FsmBool storeResult; - - public override void Reset() - { - gameObject = null; - isChildOf = null; - trueEvent = null; - falseEvent = null; - storeResult = null; - } - - public override void OnEnter() - { - DoIsChildOf(Fsm.GetOwnerDefaultTarget(gameObject)); - - Finish(); - } - - void DoIsChildOf(GameObject go) - { - if (go == null || isChildOf == null) - { - return; - } - - var isChild = go.transform.IsChildOf(isChildOf.Value.transform); - - storeResult.Value = isChild; - - Fsm.Event(isChild ? trueEvent : falseEvent); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsChildOf.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsChildOf.cs.meta deleted file mode 100644 index dd59745fe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsChildOf.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9cd05436dc89657409bb2199a60b8e0d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsNull.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsNull.cs deleted file mode 100644 index 70fb9a1f2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsNull.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if a GameObject Variable has a null value. E.g., If the FindGameObject action failed to find an object.")] - public class GameObjectIsNull : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The GameObject variable to test.")] - public FsmGameObject gameObject; - - [Tooltip("Event to send if the GamObject is null.")] - public FsmEvent isNull; - - [Tooltip("Event to send if the GamObject is NOT null.")] - public FsmEvent isNotNull; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a bool variable.")] - public FsmBool storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - isNull = null; - isNotNull = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoIsGameObjectNull(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoIsGameObjectNull(); - } - - void DoIsGameObjectNull() - { - var goIsNull = gameObject.Value == null; - - if (storeResult != null) - { - storeResult.Value = goIsNull; - } - - Fsm.Event(goIsNull ? isNull : isNotNull); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsNull.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsNull.cs.meta deleted file mode 100644 index a3196a98b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsNull.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 46ec54b167425fb49af68d433df15d74 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsVisible.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsVisible.cs deleted file mode 100644 index 8410928c2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsVisible.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [ActionTarget(typeof(GameObject), "gameObject")] - [Tooltip("Tests if a Game Object is visible.")] - public class GameObjectIsVisible : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Renderer))] - [Tooltip("The GameObject to test.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Event to send if the GameObject is visible.")] - public FsmEvent trueEvent; - - [Tooltip("Event to send if the GameObject is NOT visible.")] - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a bool variable.")] - public FsmBool storeResult; - - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - trueEvent = null; - falseEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoIsVisible(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoIsVisible(); - } - - void DoIsVisible() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - var isVisible = renderer.isVisible; - storeResult.Value = isVisible; - Fsm.Event(isVisible ? trueEvent : falseEvent); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsVisible.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsVisible.cs.meta deleted file mode 100644 index 4c36998f7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectIsVisible.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3dfbe4a6cf9612c458b56236e4da4893 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectTagSwitch.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectTagSwitch.cs deleted file mode 100644 index f806969dd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectTagSwitch.cs +++ /dev/null @@ -1,65 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Sends an Event based on a Game Object's Tag.")] - public class GameObjectTagSwitch : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The GameObject to test.")] - public FsmGameObject gameObject; - - [CompoundArray("Tag Switches", "Compare Tag", "Send Event")] - [UIHint(UIHint.Tag)] - public FsmString[] compareTo; - public FsmEvent[] sendEvent; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - compareTo = new FsmString[1]; - sendEvent = new FsmEvent[1]; - everyFrame = false; - } - - public override void OnEnter() - { - DoTagSwitch(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoTagSwitch(); - } - - void DoTagSwitch() - { - var go = gameObject.Value; - if (go == null) - { - return; - } - - for (var i = 0; i < compareTo.Length; i++) - { - if (go.tag == compareTo[i].Value) - { - Fsm.Event(sendEvent[i]); - return; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectTagSwitch.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectTagSwitch.cs.meta deleted file mode 100644 index d132f6c5b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/GameObjectTagSwitch.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 59478a071e6d32d45aa0b076e9cd9017 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntChanged.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/IntChanged.cs deleted file mode 100644 index 1bfc9fecd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntChanged.cs +++ /dev/null @@ -1,51 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if the value of an integer variable changed. Use this to send an event on change, or store a bool that can be used in other operations.")] - public class IntChanged : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt intVariable; - public FsmEvent changedEvent; - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - int previousValue; - - public override void Reset() - { - intVariable = null; - changedEvent = null; - storeResult = null; - } - - public override void OnEnter() - { - if (intVariable.IsNone) - { - Finish(); - return; - } - - previousValue = intVariable.Value; - } - - public override void OnUpdate() - { - storeResult.Value = false; - - if (intVariable.Value != previousValue) - { - previousValue = intVariable.Value; - storeResult.Value = true; - Fsm.Event(changedEvent); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntChanged.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/IntChanged.cs.meta deleted file mode 100644 index 9154f3a5e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntChanged.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 71aefaa33e74c7b4399c6232b0828066 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntCompare.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/IntCompare.cs deleted file mode 100644 index db8e5bcbb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntCompare.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Sends Events based on the comparison of 2 Integers.")] - public class IntCompare : FsmStateAction - { - [RequiredField] - public FsmInt integer1; - [RequiredField] - public FsmInt integer2; - [Tooltip("Event sent if Int 1 equals Int 2")] - public FsmEvent equal; - [Tooltip("Event sent if Int 1 is less than Int 2")] - public FsmEvent lessThan; - [Tooltip("Event sent if Int 1 is greater than Int 2")] - public FsmEvent greaterThan; - public bool everyFrame; - - public override void Reset() - { - integer1 = 0; - integer2 = 0; - equal = null; - lessThan = null; - greaterThan = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoIntCompare(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoIntCompare(); - } - - void DoIntCompare() - { - if (integer1.Value == integer2.Value) - { - Fsm.Event(equal); - return; - } - - if (integer1.Value < integer2.Value) - { - Fsm.Event(lessThan); - return; - } - - if (integer1.Value > integer2.Value) - { - Fsm.Event(greaterThan); - } - - } - - public override string ErrorCheck() - { - if (FsmEvent.IsNullOrEmpty(equal) && - FsmEvent.IsNullOrEmpty(lessThan) && - FsmEvent.IsNullOrEmpty(greaterThan)) - return "Action sends no events!"; - return ""; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, integer1, integer2); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntCompare.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/IntCompare.cs.meta deleted file mode 100644 index cc8ac19e5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntCompare.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7fdc11c4458365e4397a1423b5c5d7aa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntSwitch.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/IntSwitch.cs deleted file mode 100644 index 2e78c71ff..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntSwitch.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Sends an Event based on the value of an Integer Variable.")] - public class IntSwitch : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt intVariable; - [CompoundArray("Int Switches", "Compare Int", "Send Event")] - public FsmInt[] compareTo; - public FsmEvent[] sendEvent; - public bool everyFrame; - - public override void Reset() - { - intVariable = null; - compareTo = new FsmInt[1]; - sendEvent = new FsmEvent[1]; - everyFrame = false; - } - - public override void OnEnter() - { - DoIntSwitch(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoIntSwitch(); - } - - void DoIntSwitch() - { - if (intVariable.IsNone) - return; - - for (int i = 0; i < compareTo.Length; i++) - { - if (intVariable.Value == compareTo[i].Value) - { - Fsm.Event(sendEvent[i]); - return; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntSwitch.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/IntSwitch.cs.meta deleted file mode 100644 index a8eb0061f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/IntSwitch.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6f26ba808ee8a9940bee07634362da78 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/ObjectCompare.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/ObjectCompare.cs deleted file mode 100644 index 88990b4ef..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/ObjectCompare.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Compare 2 Object Variables and send events based on the result.")] - public class ObjectCompare : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable), Readonly] - public FsmObject objectVariable; - - [RequiredField] - public FsmObject compareTo; - - //[ActionSection("")] - - [Tooltip("Event to send if the 2 object values are equal.")] - public FsmEvent equalEvent; - - [Tooltip("Event to send if the 2 object values are not equal.")] - public FsmEvent notEqualEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a variable.")] - public FsmBool storeResult; - - //[ActionSection("")] - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - objectVariable = null; - compareTo = null; - storeResult = null; - equalEvent = null; - notEqualEvent = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoObjectCompare(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoObjectCompare(); - } - - void DoObjectCompare() - { - var result = objectVariable.Value == compareTo.Value; - - storeResult.Value = result; - - Fsm.Event(result ? equalEvent : notEqualEvent); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, objectVariable, compareTo); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/ObjectCompare.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/ObjectCompare.cs.meta deleted file mode 100644 index ae37d286a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/ObjectCompare.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d4f8559eb0834134795f61474b7610ef -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringChanged.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/StringChanged.cs deleted file mode 100644 index d552140dd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringChanged.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if the value of a string variable has changed. Use this to send an event on change, or store a bool that can be used in other operations.")] - public class StringChanged : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString stringVariable; - public FsmEvent changedEvent; - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - string previousValue; - - public override void Reset() - { - stringVariable = null; - changedEvent = null; - storeResult = null; - } - - public override void OnEnter() - { - if (stringVariable.IsNone) - { - Finish(); - return; - } - - previousValue = stringVariable.Value; - } - - public override void OnUpdate() - { - if (stringVariable.Value != previousValue) - { - storeResult.Value = true; - Fsm.Event(changedEvent); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringChanged.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/StringChanged.cs.meta deleted file mode 100644 index 04dcf2b2f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringChanged.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1b5d01cc959ad214fabc2222238012a4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringCompare.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/StringCompare.cs deleted file mode 100644 index 11b3be5e3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringCompare.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Compares 2 Strings and sends Events based on the result.")] - public class StringCompare : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString stringVariable; - public FsmString compareTo; - public FsmEvent equalEvent; - public FsmEvent notEqualEvent; - [UIHint(UIHint.Variable)] - [Tooltip("Store the true/false result in a bool variable.")] - public FsmBool storeResult; - [Tooltip("Repeat every frame. Useful if any of the strings are changing over time.")] - public bool everyFrame; - - public override void Reset() - { - stringVariable = null; - compareTo = ""; - equalEvent = null; - notEqualEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoStringCompare(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoStringCompare(); - } - - void DoStringCompare() - { - if (stringVariable == null || compareTo == null) return; - - var equal = stringVariable.Value == compareTo.Value; - - if (storeResult != null) - { - storeResult.Value = equal; - } - - if (equal && equalEvent != null) - { - Fsm.Event(equalEvent); - return; - } - - if (!equal && notEqualEvent != null) - { - Fsm.Event(notEqualEvent); - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringCompare.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/StringCompare.cs.meta deleted file mode 100644 index 4a7af9c02..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringCompare.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2bc68b192ffe359498e74d0a626d6552 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringContains.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/StringContains.cs deleted file mode 100644 index 3d53f9786..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringContains.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Tests if a String contains another String.")] - public class StringContains : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The String variable to test.")] - public FsmString stringVariable; - [RequiredField] - [Tooltip("Test if the String variable contains this string.")] - public FsmString containsString; - [Tooltip("Event to send if true.")] - public FsmEvent trueEvent; - [Tooltip("Event to send if false.")] - public FsmEvent falseEvent; - [UIHint(UIHint.Variable)] - [Tooltip("Store the true/false result in a bool variable.")] - public FsmBool storeResult; - [Tooltip("Repeat every frame. Useful if any of the strings are changing over time.")] - public bool everyFrame; - - public override void Reset() - { - stringVariable = null; - containsString = ""; - trueEvent = null; - falseEvent = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoStringContains(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoStringContains(); - } - - void DoStringContains() - { - if (stringVariable.IsNone || containsString.IsNone) return; - - var contains = stringVariable.Value.Contains(containsString.Value); - - if (storeResult != null) - { - storeResult.Value = contains; - } - - if (contains && trueEvent != null) - { - Fsm.Event(trueEvent); - return; - } - - if (!contains && falseEvent != null) - { - Fsm.Event(falseEvent); - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringContains.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/StringContains.cs.meta deleted file mode 100644 index ccb4e75f7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringContains.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 29907e54ec98f8f40991caa82ab032b7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringSwitch.cs b/Assets/ThirdParty/PlayMaker/Actions/Logic/StringSwitch.cs deleted file mode 100644 index 9e6f89470..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringSwitch.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Logic)] - [Tooltip("Sends an Event based on the value of a String Variable.")] - public class StringSwitch : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString stringVariable; - [CompoundArray("String Switches", "Compare String", "Send Event")] - public FsmString[] compareTo; - public FsmEvent[] sendEvent; - public bool everyFrame; - - public override void Reset() - { - stringVariable = null; - compareTo = new FsmString[1]; - sendEvent = new FsmEvent[1]; - everyFrame = false; - } - - public override void OnEnter() - { - DoStringSwitch(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoStringSwitch(); - } - - void DoStringSwitch() - { - if (stringVariable.IsNone) - return; - - for (int i = 0; i < compareTo.Length; i++) - { - if (stringVariable.Value == compareTo[i].Value) - { - Fsm.Event(sendEvent[i]); - return; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringSwitch.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Logic/StringSwitch.cs.meta deleted file mode 100644 index 2b38ed9a1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Logic/StringSwitch.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 75c736ea0ec04004fbd1ec30b144f0cf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material.meta b/Assets/ThirdParty/PlayMaker/Actions/Material.meta deleted file mode 100644 index 406f7b61e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 46c5eb368a163e34ab25065d2890d7eb -folderAsset: yes -timeCreated: 1504546557 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterial.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterial.cs deleted file mode 100644 index 7f0ee91d4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterial.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// Thanks to: Giyomu -// http://hutonggames.com/playmakerforum/index.php?topic=400.0 - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Material)] - [Tooltip("Get a material at index on a gameObject and store it in a variable")] - public class GetMaterial : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Renderer))] - [Tooltip("The GameObject the Material is applied to.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The index of the Material in the Materials array.")] - public FsmInt materialIndex; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the material in a variable.")] - public FsmMaterial material; - - [Tooltip("Get the shared material of this object. NOTE: Modifying the shared material will change the appearance of all objects using this material, and change material settings that are stored in the project too.")] - public bool getSharedMaterial; - - public override void Reset() - { - gameObject = null; - material = null; - materialIndex = 0; - getSharedMaterial = false; - } - - public override void OnEnter () - { - DoGetMaterial(); - Finish(); - } - - void DoGetMaterial() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - if (materialIndex.Value == 0 && !getSharedMaterial) - { - material.Value = renderer.material; - } - - else if(materialIndex.Value == 0 && getSharedMaterial) - { - material.Value = renderer.sharedMaterial; - } - - else if (renderer.materials.Length > materialIndex.Value && !getSharedMaterial) - { - var materials = renderer.materials; - material.Value = materials[materialIndex.Value]; - renderer.materials = materials; - } - - else if (renderer.materials.Length > materialIndex.Value && getSharedMaterial) - { - var materials = renderer.sharedMaterials; - material.Value = materials[materialIndex.Value]; - renderer.sharedMaterials = materials; - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterial.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterial.cs.meta deleted file mode 100644 index 250d73bfe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterial.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 77990142c9a8a824a895f46131a474f7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterialTexture.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterialTexture.cs deleted file mode 100644 index 48249404f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterialTexture.cs +++ /dev/null @@ -1,88 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// Thanks to: Giyomu -// http://hutonggames.com/playmakerforum/index.php?topic=401.0 - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Material)] - [Tooltip("Get a texture from a material on a GameObject")] - public class GetMaterialTexture : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Renderer))] - [Tooltip("The GameObject the Material is applied to.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The index of the Material in the Materials array.")] - public FsmInt materialIndex; - - [UIHint(UIHint.NamedTexture)] - [Tooltip("The texture to get. See Unity Shader docs for names.")] - public FsmString namedTexture; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Title("StoreTexture")] // fix parameter name - [Tooltip("Store the texture in a variable.")] - public FsmTexture storedTexture; - - [Tooltip("Get the shared version of the texture.")] - public bool getFromSharedMaterial; - - public override void Reset() - { - gameObject = null; - materialIndex = 0; - namedTexture = "_MainTex"; - storedTexture = null; - getFromSharedMaterial = false; - } - - public override void OnEnter() - { - DoGetMaterialTexture(); - Finish(); - } - - void DoGetMaterialTexture() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var namedTex = namedTexture.Value; - if (namedTex == "") - { - namedTex = "_MainTex"; - } - - if (materialIndex.Value == 0 && !getFromSharedMaterial) - { - storedTexture.Value = renderer.material.GetTexture(namedTex); - } - - else if (materialIndex.Value == 0 && getFromSharedMaterial) - { - storedTexture.Value = renderer.sharedMaterial.GetTexture(namedTex); - } - - else if (renderer.materials.Length > materialIndex.Value && !getFromSharedMaterial) - { - var materials = renderer.materials; - storedTexture.Value = renderer.materials[materialIndex.Value].GetTexture(namedTex); - renderer.materials = materials; - } - - else if (renderer.materials.Length > materialIndex.Value && getFromSharedMaterial) - { - var materials = renderer.sharedMaterials; - storedTexture.Value = renderer.sharedMaterials[materialIndex.Value].GetTexture(namedTex); - renderer.materials = materials; - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterialTexture.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterialTexture.cs.meta deleted file mode 100644 index 36b04aebd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/GetMaterialTexture.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f52eb48d413c85b46bccfe0d6e75098b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterial.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterial.cs deleted file mode 100644 index 2dc7aa61b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterial.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Material)] - [Tooltip("Sets the material on a game object.")] - public class SetMaterial : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Renderer))] - public FsmOwnerDefault gameObject; - - public FsmInt materialIndex; - - [RequiredField] - public FsmMaterial material; - - public override void Reset() - { - gameObject = null; - material = null; - materialIndex = 0; - } - - public override void OnEnter() - { - DoSetMaterial(); - - Finish(); - } - - void DoSetMaterial() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - if (materialIndex.Value == 0) - { - renderer.material = material.Value; - } - else if (renderer.materials.Length > materialIndex.Value) - { - var materials = renderer.materials; - materials[materialIndex.Value] = material.Value; - renderer.materials = materials; - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, material); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterial.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterial.cs.meta deleted file mode 100644 index 4210634c7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterial.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2123b532aa5869945839a781ff8b14e4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialColor.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialColor.cs deleted file mode 100644 index c668aac65..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialColor.cs +++ /dev/null @@ -1,95 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Material)] - [Tooltip("Sets a named color value in a game object's material.")] - public class SetMaterialColor : ComponentAction - { - [Tooltip("The GameObject that the material is applied to.")] - [CheckForComponent(typeof(Renderer))] - public FsmOwnerDefault gameObject; - - [Tooltip("GameObjects can have multiple materials. Specify an index to target a specific material.")] - public FsmInt materialIndex; - - [Tooltip("Alternatively specify a Material instead of a GameObject and Index.")] - public FsmMaterial material; - - [UIHint(UIHint.NamedColor)] - [Tooltip("A named color parameter in the shader.")] - public FsmString namedColor; - - [RequiredField] - [Tooltip("Set the parameter value.")] - public FsmColor color; - - [Tooltip("Repeat every frame. Useful if the value is animated.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - materialIndex = 0; - material = null; - namedColor = "_Color"; - color = Color.black; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetMaterialColor(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetMaterialColor(); - } - - void DoSetMaterialColor() - { - if (color.IsNone) - { - return; - } - - var colorName = namedColor.Value; - if (colorName == "") colorName = "_Color"; - - if (material.Value != null) - { - material.Value.SetColor(colorName, color.Value); - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - if (renderer.material == null) - { - LogError("Missing Material!"); - return; - } - - if (materialIndex.Value == 0) - { - renderer.material.SetColor(colorName, color.Value); - } - else if (renderer.materials.Length > materialIndex.Value) - { - var materials = renderer.materials; - materials[materialIndex.Value].SetColor(colorName, color.Value); - renderer.materials = materials; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialColor.cs.meta deleted file mode 100644 index 946b39555..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7dce87cf3a14d854785f521c2fb24485 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialFloat.cs deleted file mode 100644 index aa3ed20fc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialFloat.cs +++ /dev/null @@ -1,89 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Material)] - [Tooltip("Sets a named float in a game object's material.")] - public class SetMaterialFloat : ComponentAction - { - [Tooltip("The GameObject that the material is applied to.")] - [CheckForComponent(typeof(Renderer))] - public FsmOwnerDefault gameObject; - - [Tooltip("GameObjects can have multiple materials. Specify an index to target a specific material.")] - public FsmInt materialIndex; - - [Tooltip("Alternatively specify a Material instead of a GameObject and Index.")] - public FsmMaterial material; - - [RequiredField] - [Tooltip("A named float parameter in the shader.")] - public FsmString namedFloat; - - [RequiredField] - [Tooltip("Set the parameter value.")] - public FsmFloat floatValue; - - [Tooltip("Repeat every frame. Useful if the value is animated.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - materialIndex = 0; - material = null; - namedFloat = ""; - floatValue = 0f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetMaterialFloat(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate () - { - DoSetMaterialFloat(); - } - - void DoSetMaterialFloat() - { - if (material.Value != null) - { - material.Value.SetFloat(namedFloat.Value, floatValue.Value); - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - if (renderer.material == null) - { - LogError("Missing Material!"); - return; - } - - if (materialIndex.Value == 0) - { - renderer.material.SetFloat(namedFloat.Value, floatValue.Value); - } - else if (renderer.materials.Length > materialIndex.Value) - { - var materials = renderer.materials; - materials[materialIndex.Value].SetFloat(namedFloat.Value, floatValue.Value); - renderer.materials = materials; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialFloat.cs.meta deleted file mode 100644 index 2d0645cde..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialFloat.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: dc52acf5cae52fa489222cdac12fed77 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialMovieTexture.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialMovieTexture.cs deleted file mode 100644 index 29ac75189..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialMovieTexture.cs +++ /dev/null @@ -1,88 +0,0 @@ -// (c) Copyright HutongGames, LLC. All rights reserved. - -#if !(UNITY_2019_3_OR_NEWER ||UNITY_SWITCH || UNITY_TVOS || UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_FLASH || UNITY_PS3 || UNITY_PS4 || UNITY_XBOXONE || UNITY_BLACKBERRY || UNITY_METRO || UNITY_WP8 || UNITY_PSM || UNITY_WEBGL) - -using UnityEngine; - -#pragma warning disable 618 - -namespace HutongGames.PlayMaker.Actions -{ - - [ActionCategory(ActionCategory.Material)] - [Tooltip("Sets a named texture in a game object's material to a movie texture.")] - public class SetMaterialMovieTexture : ComponentAction - { - [Tooltip("The GameObject that the material is applied to.")] - [CheckForComponent(typeof(Renderer))] - public FsmOwnerDefault gameObject; - - [Tooltip("GameObjects can have multiple materials. Specify an index to target a specific material.")] - public FsmInt materialIndex; - - [Tooltip("Alternatively specify a Material instead of a GameObject and Index.")] - public FsmMaterial material; - - [UIHint(UIHint.NamedTexture)] - [Tooltip("A named texture in the shader.")] - public FsmString namedTexture; - - [RequiredField] - [ObjectType(typeof(MovieTexture))] - public FsmObject movieTexture; - - public override void Reset() - { - gameObject = null; - materialIndex = 0; - material = null; - namedTexture = "_MainTex"; - movieTexture = null; - } - - public override void OnEnter() - { - DoSetMaterialTexture(); - Finish(); - } - - void DoSetMaterialTexture() - { - var movie = movieTexture.Value as MovieTexture; - - var namedTex = namedTexture.Value; - if (namedTex == "") namedTex = "_MainTex"; - - if (material.Value != null) - { - material.Value.SetTexture(namedTex, movie); - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - if (renderer.material == null) - { - LogError("Missing Material!"); - return; - } - - if (materialIndex.Value == 0) - { - renderer.material.SetTexture(namedTex, movie); - } - else if (renderer.materials.Length > materialIndex.Value) - { - var materials = renderer.materials; - materials[materialIndex.Value].SetTexture(namedTex, movie); - renderer.materials = materials; - } - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialMovieTexture.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialMovieTexture.cs.meta deleted file mode 100644 index 8636acd23..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialMovieTexture.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4009754d7567217489725d4c2d5e9255 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialTexture.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialTexture.cs deleted file mode 100644 index 6dcd2e1de..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialTexture.cs +++ /dev/null @@ -1,77 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Material)] - [Tooltip("Sets a named texture in a game object's material.")] - public class SetMaterialTexture : ComponentAction - { - [Tooltip("The GameObject that the material is applied to.")] - [CheckForComponent(typeof(Renderer))] - public FsmOwnerDefault gameObject; - - [Tooltip("GameObjects can have multiple materials. Specify an index to target a specific material.")] - public FsmInt materialIndex; - - [Tooltip("Alternatively specify a Material instead of a GameObject and Index.")] - public FsmMaterial material; - - [UIHint(UIHint.NamedTexture)] - [Tooltip("A named parameter in the shader.")] - public FsmString namedTexture; - - public FsmTexture texture; - - public override void Reset() - { - gameObject = null; - materialIndex = 0; - material = null; - namedTexture = "_MainTex"; - texture = null; - } - - public override void OnEnter() - { - DoSetMaterialTexture(); - Finish(); - } - - void DoSetMaterialTexture() - { - var namedTex = namedTexture.Value; - if (namedTex == "") namedTex = "_MainTex"; - - if (material.Value != null) - { - material.Value.SetTexture(namedTex, texture.Value); - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - if (renderer.material == null) - { - LogError("Missing Material!"); - return; - } - - if (materialIndex.Value == 0) - { - renderer.material.SetTexture(namedTex, texture.Value); - } - else if (renderer.materials.Length > materialIndex.Value) - { - var materials = renderer.materials; - materials[materialIndex.Value].SetTexture(namedTex, texture.Value); - renderer.materials = materials; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialTexture.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialTexture.cs.meta deleted file mode 100644 index a3b54aae7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetMaterialTexture.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 79fb97dbd1751784d9f8e987bca0cbfb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetRandomMaterial.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/SetRandomMaterial.cs deleted file mode 100644 index 5f3488b75..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetRandomMaterial.cs +++ /dev/null @@ -1,59 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Material)] - [Tooltip("Sets a Game Object's material randomly from an array of Materials.")] - public class SetRandomMaterial : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Renderer))] - public FsmOwnerDefault gameObject; - public FsmInt materialIndex; - public FsmMaterial[] materials; - - public override void Reset() - { - gameObject = null; - materialIndex = 0; - materials = new FsmMaterial[3]; - } - - public override void OnEnter() - { - DoSetRandomMaterial(); - Finish(); - } - - void DoSetRandomMaterial() - { - if (materials == null) return; - if (materials.Length == 0) return; - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - if (renderer.material == null) - { - LogError("Missing Material!"); - return; - } - - if (materialIndex.Value == 0) - { - renderer.material = materials[Random.Range(0, materials.Length)].Value; - } - else if (renderer.materials.Length > materialIndex.Value) - { - var newMaterials = renderer.materials; - newMaterials[materialIndex.Value] = materials[Random.Range(0, materials.Length)].Value; - renderer.materials = newMaterials; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetRandomMaterial.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/SetRandomMaterial.cs.meta deleted file mode 100644 index 1ea0cc5ec..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetRandomMaterial.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4d27db5568595374abb4629346811b05 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureOffset.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureOffset.cs deleted file mode 100644 index 7bd3f3f6f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureOffset.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Material)] - [Tooltip("Sets the Offset of a named texture in a Game Object's Material. Useful for scrolling texture effects.")] - public class SetTextureOffset : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Renderer))] - public FsmOwnerDefault gameObject; - public FsmInt materialIndex; - [RequiredField] - [UIHint(UIHint.NamedColor)] - public FsmString namedTexture; - [RequiredField] - public FsmFloat offsetX; - [RequiredField] - public FsmFloat offsetY; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - materialIndex = 0; - namedTexture = "_MainTex"; - offsetX = 0; - offsetY = 0; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetTextureOffset(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetTextureOffset(); - } - - void DoSetTextureOffset() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - if (renderer.material == null) - { - LogError("Missing Material!"); - return; - } - - if (materialIndex.Value == 0) - { - renderer.material.SetTextureOffset(namedTexture.Value, new Vector2(offsetX.Value, offsetY.Value)); - } - else if (renderer.materials.Length > materialIndex.Value) - { - var materials = renderer.materials; - materials[materialIndex.Value].SetTextureOffset(namedTexture.Value, new Vector2(offsetX.Value, offsetY.Value)); - renderer.materials = materials; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureOffset.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureOffset.cs.meta deleted file mode 100644 index a1aed59a7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureOffset.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 68195895c1254ea4189e215accbd3e5f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureScale.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureScale.cs deleted file mode 100644 index a8ff4d6cd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureScale.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Material)] - [Tooltip("Sets the Scale of a named texture in a Game Object's Material. Useful for special effects.")] - public class SetTextureScale : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Renderer))] - public FsmOwnerDefault gameObject; - public FsmInt materialIndex; - [UIHint(UIHint.NamedColor)] - public FsmString namedTexture; - [RequiredField] - public FsmFloat scaleX; - [RequiredField] - public FsmFloat scaleY; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - materialIndex = 0; - namedTexture = "_MainTex"; - scaleX = 1; - scaleY = 1; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetTextureScale(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetTextureScale(); - } - - void DoSetTextureScale() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - if (renderer.material == null) - { - LogError("Missing Material!"); - return; - } - - if (materialIndex.Value == 0) - { - renderer.material.SetTextureScale(namedTexture.Value, new Vector2(scaleX.Value, scaleY.Value)); - } - else if (renderer.materials.Length > materialIndex.Value) - { - var materials = renderer.materials; - materials[materialIndex.Value].SetTextureScale(namedTexture.Value, new Vector2(scaleX.Value, scaleY.Value)); - renderer.materials = materials; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureScale.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureScale.cs.meta deleted file mode 100644 index a79979e79..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetTextureScale.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e63285cfd221ed0439232ef382291332 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetVisibility.cs b/Assets/ThirdParty/PlayMaker/Actions/Material/SetVisibility.cs deleted file mode 100644 index a10a64e9d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetVisibility.cs +++ /dev/null @@ -1,83 +0,0 @@ -// Thanks MaDDoX: http://hutonggames.com/playmakerforum/index.php?topic=159.0 - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Material)] - [Tooltip("Sets the visibility of a GameObject. Note: this action sets the GameObject Renderer's enabled state.")] - public class SetVisibility : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Renderer))] - public FsmOwnerDefault gameObject; - - //[UIHint(UIHint.Variable)] - [Tooltip("Should the object visibility be toggled?\nHas priority over the 'visible' setting")] - public FsmBool toggle; - - //[UIHint(UIHint.Variable)] - [Tooltip("Should the object be set to visible or invisible?")] - public FsmBool visible; - - [Tooltip("Resets to the initial visibility when it leaves the state")] - public bool resetOnExit; - - private bool initialVisibility; - - public override void Reset() - { - gameObject = null; - toggle = false; - visible = false; - resetOnExit = true; - initialVisibility = false; - } - - public override void OnEnter() - { - DoSetVisibility(Fsm.GetOwnerDefaultTarget(gameObject)); - - Finish(); - } - - void DoSetVisibility(GameObject go) - { - if (!UpdateCache(go)) - { - return; - } - - // remember initial visibility - initialVisibility = renderer.enabled; - - // if 'toggle' is not set, simply sets visibility to new value - if (toggle.Value == false) - { - renderer.enabled = visible.Value; - return; - } - - // otherwise, toggles the visibility - renderer.enabled = !renderer.enabled; - } - - public override void OnExit() - { - if (resetOnExit) - { - ResetVisibility(); - } - } - - void ResetVisibility() - { - if (renderer != null) - { - renderer.enabled = initialVisibility; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Material/SetVisibility.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Material/SetVisibility.cs.meta deleted file mode 100644 index 64d31820f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Material/SetVisibility.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 273f126d8ce4d96439b1cf9a1066c453 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math.meta b/Assets/ThirdParty/PlayMaker/Actions/Math.meta deleted file mode 100644 index bf28d5f36..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: c84c072cf9b062a4599085f2ab1b8f6e -folderAsset: yes -timeCreated: 1504500830 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/BoolFlip.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/BoolFlip.cs deleted file mode 100644 index f0466c5e1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/BoolFlip.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Flips the value of a Bool Variable.")] - public class BoolFlip : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Bool variable to flip.")] - public FsmBool boolVariable; - - public override void Reset() - { - boolVariable = null; - } - - public override void OnEnter() - { - boolVariable.Value = !boolVariable.Value; - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/BoolFlip.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/BoolFlip.cs.meta deleted file mode 100644 index c9e940e5e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/BoolFlip.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6b06d7bf2a25452478dd3e5d5445a896 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAbs.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAbs.cs deleted file mode 100644 index 9c63648dd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAbs.cs +++ /dev/null @@ -1,45 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Sets a Float variable to its absolute value.")] - public class FloatAbs : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Float variable.")] - public FsmFloat floatVariable; - - [Tooltip("Repeat every frame. Useful if the Float variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - floatVariable = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoFloatAbs(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoFloatAbs(); - } - - void DoFloatAbs() - { - floatVariable.Value = Mathf.Abs(floatVariable.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAbs.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAbs.cs.meta deleted file mode 100644 index 844b86235..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAbs.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 86b3f8142ff1f964f9217d989dc943ea -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAdd.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAdd.cs deleted file mode 100644 index 3d354fd80..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAdd.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Adds a value to a Float Variable.")] - public class FloatAdd : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The Float variable to add to.")] - public FsmFloat floatVariable; - - [RequiredField] - [Tooltip("Amount to add.")] - public FsmFloat add; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - [Tooltip("Used with Every Frame. Adds the value over one second to make the operation frame rate independent.")] - public bool perSecond; - - public override void Reset() - { - floatVariable = null; - add = null; - everyFrame = false; - perSecond = false; - } - - public override void OnEnter() - { - DoFloatAdd(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoFloatAdd(); - } - - void DoFloatAdd() - { - if (!perSecond) - { - floatVariable.Value += add.Value; - } - else - { - floatVariable.Value += add.Value * Time.deltaTime; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAdd.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAdd.cs.meta deleted file mode 100644 index abf82ba4e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAdd.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a0ffdc9f499e2c84fa4d1fb276692d35 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAddMultiple.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAddMultiple.cs deleted file mode 100644 index f1f0933d0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAddMultiple.cs +++ /dev/null @@ -1,53 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Adds multiple float variables to float variable.")] - public class FloatAddMultiple : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("The float variables to add.")] - public FsmFloat[] floatVariables; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Add to this variable.")] - public FsmFloat addTo; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - floatVariables = null; - addTo = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoFloatAdd(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoFloatAdd(); - } - - void DoFloatAdd() - { - for (var i = 0; i < floatVariables.Length; i++) - { - addTo.Value += floatVariables[i].Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAddMultiple.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAddMultiple.cs.meta deleted file mode 100644 index ad811ee0b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatAddMultiple.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 30f480222cbd14e46a7dfdb3ec00fb35 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatClamp.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatClamp.cs deleted file mode 100644 index f535466ab..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatClamp.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Clamps the value of Float Variable to a Min/Max range.")] - public class FloatClamp : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Float variable to clamp.")] - public FsmFloat floatVariable; - - [RequiredField] - [Tooltip("The minimum value.")] - public FsmFloat minValue; - - [RequiredField] - [Tooltip("The maximum value.")] - public FsmFloat maxValue; - - [Tooltip("Repeat every frame. Useful if the float variable is changing.")] - public bool everyFrame; - - public override void Reset() - { - floatVariable = null; - minValue = null; - maxValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoClamp(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoClamp(); - } - - void DoClamp() - { - floatVariable.Value = Mathf.Clamp(floatVariable.Value, minValue.Value, maxValue.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatClamp.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatClamp.cs.meta deleted file mode 100644 index ccb922a2d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatClamp.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2f5ef85fe3e4c3a43afe1812481a2438 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatDivide.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatDivide.cs deleted file mode 100644 index 37da630f8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatDivide.cs +++ /dev/null @@ -1,45 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Divides one Float by another.")] - public class FloatDivide : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The float variable to divide.")] - public FsmFloat floatVariable; - - [RequiredField] - [Tooltip("Divide the float variable by this value.")] - public FsmFloat divideBy; - - [Tooltip("Repeat every frame. Useful if the variables are changing.")] - public bool everyFrame; - - public override void Reset() - { - floatVariable = null; - divideBy = null; - everyFrame = false; - } - - public override void OnEnter() - { - floatVariable.Value /= divideBy.Value; - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - floatVariable.Value /= divideBy.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatDivide.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatDivide.cs.meta deleted file mode 100644 index 6152750a6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatDivide.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e496791d0542b1f44a5b37d81d2822f8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatInterpolate.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatInterpolate.cs deleted file mode 100644 index e62b5152a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatInterpolate.cs +++ /dev/null @@ -1,108 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Interpolates between 2 Float values over a specified Time.")] - public class FloatInterpolate : FsmStateAction - { - [Tooltip("Interpolation mode: Linear or EaseInOut.")] - public InterpolationType mode; - - [RequiredField] - [Tooltip("Interpolate from this value.")] - public FsmFloat fromFloat; - - [RequiredField] - [Tooltip("Interpolate to this value.")] - public FsmFloat toFloat; - - [RequiredField] - [Tooltip("Interpolate over this amount of time in seconds.")] - public FsmFloat time; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the current value in a float variable.")] - public FsmFloat storeResult; - - [Tooltip("Event to send when the interpolation is finished.")] - public FsmEvent finishEvent; - - [Tooltip("Ignore TimeScale. Useful if the game is paused (Time scaled to 0).")] - public bool realTime; - - private float startTime; - private float currentTime; - - public override void Reset() - { - mode = InterpolationType.Linear; - fromFloat = null; - toFloat = null; - time = 1.0f; - storeResult = null; - finishEvent = null; - realTime = false; - } - - public override void OnEnter() - { - startTime = FsmTime.RealtimeSinceStartup; - currentTime = 0f; - - if (storeResult == null) - { - Finish(); - } - else - { - storeResult.Value = fromFloat.Value; - } - } - - public override void OnUpdate() - { - // update time - - if (realTime) - { - currentTime = FsmTime.RealtimeSinceStartup - startTime; - } - else - { - currentTime += Time.deltaTime; - } - - var lerpTime = currentTime/time.Value; - - switch (mode) { - - case InterpolationType.Linear: - - storeResult.Value = Mathf.Lerp(fromFloat.Value, toFloat.Value, lerpTime); - - break; - - case InterpolationType.EaseInOut: - - storeResult.Value = Mathf.SmoothStep(fromFloat.Value, toFloat.Value, lerpTime); - - break; - } - - if (lerpTime >= 1) - { - if (finishEvent != null) - { - Fsm.Event(finishEvent); - } - - Finish(); - } - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatInterpolate.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatInterpolate.cs.meta deleted file mode 100644 index 6a22789fb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatInterpolate.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: da7a2fec57b3dc14c9acf45e26522b9f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatMultiply.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatMultiply.cs deleted file mode 100644 index a3e23810b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatMultiply.cs +++ /dev/null @@ -1,45 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Multiplies one Float by another.")] - public class FloatMultiply : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The float variable to multiply.")] - public FsmFloat floatVariable; - - [RequiredField] - [Tooltip("Multiply the float variable by this value.")] - public FsmFloat multiplyBy; - - [Tooltip("Repeat every frame. Useful if the variables are changing.")] - public bool everyFrame; - - public override void Reset() - { - floatVariable = null; - multiplyBy = null; - everyFrame = false; - } - - public override void OnEnter() - { - floatVariable.Value *= multiplyBy.Value; - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - floatVariable.Value *= multiplyBy.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatMultiply.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatMultiply.cs.meta deleted file mode 100644 index e45516f4e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatMultiply.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4e9857c05ad00264d90da0f1c9568695 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatOperator.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatOperator.cs deleted file mode 100644 index 8c4517c2c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatOperator.cs +++ /dev/null @@ -1,97 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Performs math operations on 2 Floats: Add, Subtract, Multiply, Divide, Min, Max.")] - public class FloatOperator : FsmStateAction - { - public enum Operation - { - Add, - Subtract, - Multiply, - Divide, - Min, - Max - } - - [RequiredField] - [Tooltip("The first float.")] - public FsmFloat float1; - - [RequiredField] - [Tooltip("The second float.")] - public FsmFloat float2; - - [Tooltip("The math operation to perform on the floats.")] - public Operation operation = Operation.Add; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result of the operation in a float variable.")] - public FsmFloat storeResult; - - [Tooltip("Repeat every frame. Useful if the variables are changing.")] - public bool everyFrame; - - public override void Reset() - { - float1 = null; - float2 = null; - operation = Operation.Add; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoFloatOperator(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoFloatOperator(); - } - - void DoFloatOperator() - { - var v1 = float1.Value; - var v2 = float2.Value; - - switch (operation) - { - case Operation.Add: - storeResult.Value = v1 + v2; - break; - - case Operation.Subtract: - storeResult.Value = v1 - v2; - break; - - case Operation.Multiply: - storeResult.Value = v1 * v2; - break; - - case Operation.Divide: - storeResult.Value = v1 / v2; - break; - - case Operation.Min: - storeResult.Value = Mathf.Min(v1, v2); - break; - - case Operation.Max: - storeResult.Value = Mathf.Max(v1, v2); - break; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatOperator.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatOperator.cs.meta deleted file mode 100644 index 6193d4e82..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatOperator.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9ce19b54bb8fac84f887039b47e758ec -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatSubtract.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatSubtract.cs deleted file mode 100644 index b76875330..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatSubtract.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// Simple custom action by Tobbe Olsson - www.tobbeo.net - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Subtracts a value from a Float Variable.")] - public class FloatSubtract : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The float variable to subtract from.")] - public FsmFloat floatVariable; - - [RequiredField] - [Tooltip("Value to subtract from the float variable.")] - public FsmFloat subtract; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - [Tooltip("Used with Every Frame. Adds the value over one second to make the operation frame rate independent.")] - public bool perSecond; - - public override void Reset() - { - floatVariable = null; - subtract = null; - everyFrame = false; - perSecond = false; - } - - public override void OnEnter() - { - DoFloatSubtract(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoFloatSubtract(); - } - - void DoFloatSubtract() - { - if (!perSecond) - { - floatVariable.Value -= subtract.Value; - } - else - { - floatVariable.Value -= subtract.Value * Time.deltaTime; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatSubtract.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/FloatSubtract.cs.meta deleted file mode 100644 index 99143eac0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/FloatSubtract.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e8d5cba22795e2f45b0248bf64ecc255 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/IntAdd.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/IntAdd.cs deleted file mode 100644 index 392c06be1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/IntAdd.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Adds a value to an Integer Variable.")] - public class IntAdd : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt intVariable; - [RequiredField] - public FsmInt add; - public bool everyFrame; - - public override void Reset() - { - intVariable = null; - add = null; - everyFrame = false; - } - - public override void OnEnter() - { - intVariable.Value += add.Value; - - if (!everyFrame) - Finish(); - } - - // NOTE: very frame rate dependent! - public override void OnUpdate() - { - intVariable.Value += add.Value; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, intVariable, add); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/IntAdd.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/IntAdd.cs.meta deleted file mode 100644 index e3ad2e603..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/IntAdd.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1fda73f7935c7864c8ac48592bafa1af -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/IntClamp.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/IntClamp.cs deleted file mode 100644 index cea008397..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/IntClamp.cs +++ /dev/null @@ -1,46 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Clamp the value of an Integer Variable to a Min/Max range.")] - public class IntClamp : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt intVariable; - [RequiredField] - public FsmInt minValue; - [RequiredField] - public FsmInt maxValue; - public bool everyFrame; - - public override void Reset() - { - intVariable = null; - minValue = null; - maxValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoClamp(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoClamp(); - } - - void DoClamp() - { - intVariable.Value = Mathf.Clamp(intVariable.Value, minValue.Value, maxValue.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/IntClamp.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/IntClamp.cs.meta deleted file mode 100644 index f56e5b2ad..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/IntClamp.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0f29dfbf16228f64d8c404892dc184f1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/IntOperator.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/IntOperator.cs deleted file mode 100644 index 52b2d08ca..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/IntOperator.cs +++ /dev/null @@ -1,87 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Performs math operation on 2 Integers: Add, Subtract, Multiply, Divide, Min, Max.")] - public class IntOperator : FsmStateAction - { - public enum Operation - { - Add, - Subtract, - Multiply, - Divide, - Min, - Max - } - - [RequiredField] - public FsmInt integer1; - [RequiredField] - public FsmInt integer2; - public Operation operation = Operation.Add; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt storeResult; - public bool everyFrame; - - public override void Reset() - { - integer1 = null; - integer2 = null; - operation = Operation.Add; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoIntOperator(); - - if (!everyFrame) - Finish(); - } - - // NOTE: very frame rate dependent! - public override void OnUpdate() - { - DoIntOperator(); - } - - void DoIntOperator() - { - int v1 = integer1.Value; - int v2 = integer2.Value; - - switch (operation) - { - case Operation.Add: - storeResult.Value = v1 + v2; - break; - - case Operation.Subtract: - storeResult.Value = v1 - v2; - break; - - case Operation.Multiply: - storeResult.Value = v1 * v2; - break; - - case Operation.Divide: - storeResult.Value = v1 / v2; - break; - - case Operation.Min: - storeResult.Value = Mathf.Min(v1, v2); - break; - - case Operation.Max: - storeResult.Value = Mathf.Max(v1, v2); - break; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/IntOperator.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/IntOperator.cs.meta deleted file mode 100644 index 23c20375b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/IntOperator.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 704e5a23542193949a1a4ac4eb074e2e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomBool.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/RandomBool.cs deleted file mode 100644 index 05f58305c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomBool.cs +++ /dev/null @@ -1,26 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Sets a Bool Variable to True or False randomly.")] - public class RandomBool : FsmStateAction - { - [UIHint(UIHint.Variable)] - public FsmBool storeResult; - - public override void Reset() - { - storeResult = null; - } - - public override void OnEnter() - { - storeResult.Value = Random.Range(0, 100) < 50; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomBool.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/RandomBool.cs.meta deleted file mode 100644 index 37c3a1cba..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomBool.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c525f93e2aecb3649be85ef27f41001c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/RandomFloat.cs deleted file mode 100644 index 14df2f9fe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomFloat.cs +++ /dev/null @@ -1,33 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Sets a Float Variable to a random value between Min/Max.")] - public class RandomFloat : FsmStateAction - { - [RequiredField] - public FsmFloat min; - [RequiredField] - public FsmFloat max; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - - public override void Reset() - { - min = 0f; - max = 1f; - storeResult = null; - } - - public override void OnEnter() - { - storeResult.Value = Random.Range(min.Value, max.Value); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/RandomFloat.cs.meta deleted file mode 100644 index 4b044e873..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomFloat.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f0884723e2cedce4e96387c846f324fb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomInt.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/RandomInt.cs deleted file mode 100644 index c71d474eb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomInt.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. -// 'inclusiveMax' option added by MaDDoX (@brenoazevedo) - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Sets an Integer Variable to a random value between Min/Max.")] - public class RandomInt : FsmStateAction - { - [RequiredField] - [Tooltip("Minimum value for the random number.")] - public FsmInt min; - - [RequiredField] - [Tooltip("Maximim value for the random number.")] - public FsmInt max; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in an Integer variable.")] - public FsmInt storeResult; - - [Tooltip("Should the Max value be included in the possible results?")] - public bool inclusiveMax; - - [Tooltip("Don't repeat the same value twice.")] - public FsmBool noRepeat; - - private int randomIndex; - private int lastIndex = -1; - - public override void Reset() - { - min = 0; - max = 100; - storeResult = null; - // make default false to not break old behavior. - inclusiveMax = false; - noRepeat = true; - } - - public override void OnEnter() - { - PickRandom(); - Finish(); - } - - void PickRandom() - { - if (noRepeat.Value && max.Value != min.Value && (!inclusiveMax && (Mathf.Abs (max.Value - min.Value) > 1) )) - { - do - { - randomIndex = (inclusiveMax) ? - Random.Range(min.Value, max.Value + 1) : - Random.Range(min.Value, max.Value); - } while (randomIndex == lastIndex); - - lastIndex = randomIndex; - storeResult.Value = randomIndex; - - } - else - { - randomIndex = (inclusiveMax) ? - Random.Range(min.Value, max.Value + 1) : - Random.Range(min.Value, max.Value); - storeResult.Value = randomIndex; - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomInt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/RandomInt.cs.meta deleted file mode 100644 index 80b6c3067..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/RandomInt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f75a76cb3f87b8847b792a044ff76217 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/SampleCurve.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/SampleCurve.cs deleted file mode 100644 index 10be12141..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/SampleCurve.cs +++ /dev/null @@ -1,49 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Gets the value of a curve at a given time and stores it in a Float Variable. NOTE: This can be used for more than just animation! It's a general way to transform an input number into an output number using a curve (e.g., linear input -> bell curve).")] - public class SampleCurve : FsmStateAction - { - [RequiredField] - public FsmAnimationCurve curve; - [RequiredField] - public FsmFloat sampleAt; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat storeValue; - public bool everyFrame; - - public override void Reset() - { - curve = null; - sampleAt = null; - storeValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSampleCurve(); - - if(!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSampleCurve(); - } - - void DoSampleCurve() - { - if (curve == null || curve.curve == null || storeValue == null) - return; - - storeValue.Value = curve.curve.Evaluate(sampleAt.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/SampleCurve.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/SampleCurve.cs.meta deleted file mode 100644 index d14e52d5d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/SampleCurve.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ff6ea1c567e6324418af3ce38d21ad15 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/SetBoolValue.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/SetBoolValue.cs deleted file mode 100644 index 522b35fa0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/SetBoolValue.cs +++ /dev/null @@ -1,36 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Sets the value of a Bool Variable.")] - public class SetBoolValue : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmBool boolVariable; - [RequiredField] - public FsmBool boolValue; - public bool everyFrame; - - public override void Reset() - { - boolVariable = null; - boolValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - boolVariable.Value = boolValue.Value; - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - boolVariable.Value = boolValue.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/SetBoolValue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/SetBoolValue.cs.meta deleted file mode 100644 index 5713880f4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/SetBoolValue.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 00be43d651f0337439b458939d103490 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/SetFloatValue.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/SetFloatValue.cs deleted file mode 100644 index 8b48cd5a2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/SetFloatValue.cs +++ /dev/null @@ -1,36 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Sets the value of a Float Variable.")] - public class SetFloatValue : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat floatVariable; - [RequiredField] - public FsmFloat floatValue; - public bool everyFrame; - - public override void Reset() - { - floatVariable = null; - floatValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - floatVariable.Value = floatValue.Value; - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - floatVariable.Value = floatValue.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/SetFloatValue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/SetFloatValue.cs.meta deleted file mode 100644 index ee951b6b2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/SetFloatValue.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d61549e2ee237ae4e9aa9e73d547c3fc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntFromFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntFromFloat.cs deleted file mode 100644 index 404282059..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntFromFloat.cs +++ /dev/null @@ -1,35 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Sets the value of an integer variable using a float value.")] - public class SetIntFromFloat : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt intVariable; - public FsmFloat floatValue; - public bool everyFrame; - - public override void Reset() - { - intVariable = null; - floatValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - intVariable.Value = (int)floatValue.Value; - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - intVariable.Value = (int)floatValue.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntFromFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntFromFloat.cs.meta deleted file mode 100644 index c95af8834..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntFromFloat.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 45ae843950627624cac9f7ca42305c34 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntValue.cs b/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntValue.cs deleted file mode 100644 index 6c9e55d19..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntValue.cs +++ /dev/null @@ -1,50 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Math)] - [Tooltip("Sets the value of an Integer Variable.")] - public class SetIntValue : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Int Variable to Set")] - public FsmInt intVariable; - - [RequiredField] - [Tooltip("Int Value")] - public FsmInt intValue; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - intVariable = null; - intValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - intVariable.Value = intValue.Value; - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - intVariable.Value = intValue.Value; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameSetVar(this, intVariable, intValue); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntValue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntValue.cs.meta deleted file mode 100644 index 26785e143..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Math/SetIntValue.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 71d9b78292d7cb84d9dc9013fd4b9fb9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Mesh.meta b/Assets/ThirdParty/PlayMaker/Actions/Mesh.meta deleted file mode 100644 index bdda7f40f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Mesh.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 891b532df30d8e643ab7903463d14324 -folderAsset: yes -timeCreated: 1504547261 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexCount.cs b/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexCount.cs deleted file mode 100644 index 05bacd2ff..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexCount.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("Mesh")] - [Tooltip("Gets the number of vertices in a GameObject's mesh. Useful in conjunction with GetVertexPosition.")] - public class GetVertexCount : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(MeshFilter))] - [Tooltip("The GameObject to check.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the vertex count in a variable.")] - public FsmInt storeCount; - - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - storeCount = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetVertexCount(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetVertexCount(); - } - - void DoGetVertexCount() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go != null) - { - var meshFilter = go.GetComponent(); - - if (meshFilter == null) - { - LogError("Missing MeshFilter!"); - return; - } - - storeCount.Value = meshFilter.mesh.vertexCount; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexCount.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexCount.cs.meta deleted file mode 100644 index f1eeec2ff..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexCount.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fecfe57495f66e0459a41b4f8b76048e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexPosition.cs b/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexPosition.cs deleted file mode 100644 index e2f00463a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexPosition.cs +++ /dev/null @@ -1,82 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("Mesh")] - [Tooltip("Gets the position of a vertex in a GameObject's mesh. Hint: Use GetVertexCount to get the number of vertices in a mesh.")] - public class GetVertexPosition : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(MeshFilter))] - [Tooltip("The GameObject to check.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The index of the vertex.")] - public FsmInt vertexIndex; - - [Tooltip("Coordinate system to use.")] - public Space space; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the vertex position in a variable.")] - public FsmVector3 storePosition; - - [Tooltip("Repeat every frame. Useful if the mesh is animated.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - space = Space.World; - storePosition = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetVertexPosition(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetVertexPosition(); - } - - void DoGetVertexPosition() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go != null) - { - var meshFilter = go.GetComponent(); - - if (meshFilter == null) - { - LogError("Missing MeshFilter!"); - return; - } - - switch (space) - { - case Space.World: - var position = meshFilter.mesh.vertices[vertexIndex.Value]; - storePosition.Value = go.transform.TransformPoint(position); - break; - - case Space.Self: - storePosition.Value = meshFilter.mesh.vertices[vertexIndex.Value]; - break; - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexPosition.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexPosition.cs.meta deleted file mode 100644 index a02811a2a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Mesh/GetVertexPosition.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b45c4d3e58758da40900db1acddb5dd0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Movie.meta b/Assets/ThirdParty/PlayMaker/Actions/Movie.meta deleted file mode 100644 index 23ff79226..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Movie.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 5dc33b5e989b544488c5300fb806deac -folderAsset: yes -timeCreated: 1504547178 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Movie/MovieTextureAudioSettings.cs b/Assets/ThirdParty/PlayMaker/Actions/Movie/MovieTextureAudioSettings.cs deleted file mode 100644 index 93c667346..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Movie/MovieTextureAudioSettings.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC. All rights reserved. - -#if !(UNITY_2019_3_OR_NEWER ||UNITY_SWITCH || UNITY_TVOS || UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_FLASH || UNITY_PS3 || UNITY_PS4 || UNITY_XBOXONE || UNITY_BLACKBERRY || UNITY_WP8 || UNITY_PSM || UNITY_WEBGL) - -using UnityEngine; - -#pragma warning disable 618 - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Movie)] - [Tooltip("Sets the Game Object as the Audio Source associated with the Movie Texture. The Game Object must have an AudioSource Component.")] - public class MovieTextureAudioSettings : FsmStateAction - { - [RequiredField] - [ObjectType(typeof(MovieTexture))] - public FsmObject movieTexture; - - [RequiredField] - [CheckForComponent(typeof(AudioSource))] - public FsmGameObject gameObject; - - // this gets overridden by AudioPlay... - //public FsmFloat volume; - - public override void Reset() - { - movieTexture = null; - gameObject = null; - //volume = 1; - } - - public override void OnEnter() - { - var movie = movieTexture.Value as MovieTexture; - - if (movie != null && gameObject.Value != null) - { - var audio = gameObject.Value.GetComponent(); - if (audio != null) - { - audio.clip = movie.audioClip; - - //if (!volume.IsNone) - // audio.volume = volume.Value; - } - } - - Finish(); - } - } -} - -#endif - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Movie/MovieTextureAudioSettings.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Movie/MovieTextureAudioSettings.cs.meta deleted file mode 100644 index 37abe9d30..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Movie/MovieTextureAudioSettings.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7aa1526fff0dd6849a045425bad3900f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Movie/PauseMovieTexture.cs b/Assets/ThirdParty/PlayMaker/Actions/Movie/PauseMovieTexture.cs deleted file mode 100644 index 2e79244b9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Movie/PauseMovieTexture.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC. All rights reserved. - -#if !(UNITY_2019_3_OR_NEWER || UNITY_SWITCH || UNITY_TVOS || UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_FLASH || UNITY_PS3 || UNITY_PS4 || UNITY_XBOXONE || UNITY_BLACKBERRY || UNITY_METRO || UNITY_WP8 || UNITY_PSM || UNITY_WEBGL) - -using UnityEngine; - -#pragma warning disable 618 - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Movie)] - [Tooltip("Pauses a Movie Texture.")] - public class PauseMovieTexture : FsmStateAction - { - [RequiredField] - [ObjectType(typeof(MovieTexture))] - public FsmObject movieTexture; - - public override void Reset() - { - movieTexture = null; - } - - public override void OnEnter() - { - var movie = movieTexture.Value as MovieTexture; - - if (movie != null) - { - movie.Pause(); - } - - Finish(); - } - } -} - -#endif diff --git a/Assets/ThirdParty/PlayMaker/Actions/Movie/PauseMovieTexture.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Movie/PauseMovieTexture.cs.meta deleted file mode 100644 index 72dd02192..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Movie/PauseMovieTexture.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8695e994d952a1c408bd5df7a7dcfd76 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Movie/PlayMovieTexture.cs b/Assets/ThirdParty/PlayMaker/Actions/Movie/PlayMovieTexture.cs deleted file mode 100644 index 89c329b20..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Movie/PlayMovieTexture.cs +++ /dev/null @@ -1,42 +0,0 @@ -// (c) Copyright HutongGames, LLC. All rights reserved. - -#if !(UNITY_2019_3_OR_NEWER ||UNITY_SWITCH || UNITY_TVOS || UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_FLASH || UNITY_PS3 || UNITY_PS4 || UNITY_XBOXONE || UNITY_BLACKBERRY || UNITY_METRO || UNITY_WP8 || UNITY_PSM || UNITY_WEBGL) - -using UnityEngine; - -#pragma warning disable 618 - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Movie)] - [Tooltip("Plays a Movie Texture. Use the Movie Texture in a Material, or in the GUI.")] - public class PlayMovieTexture : FsmStateAction - { - [RequiredField] - [ObjectType(typeof(MovieTexture))] - public FsmObject movieTexture; - - public FsmBool loop; - - public override void Reset() - { - movieTexture = null; - loop = false; - } - - public override void OnEnter() - { - var movie = movieTexture.Value as MovieTexture; - - if (movie != null) - { - movie.loop = loop.Value; - movie.Play(); - } - - Finish(); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Movie/PlayMovieTexture.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Movie/PlayMovieTexture.cs.meta deleted file mode 100644 index dc7857f20..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Movie/PlayMovieTexture.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bfac80dc19eabec408d1d615352c1209 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Movie/StopMovieTexture.cs b/Assets/ThirdParty/PlayMaker/Actions/Movie/StopMovieTexture.cs deleted file mode 100644 index a28ecdb09..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Movie/StopMovieTexture.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC. All rights reserved. - -#if !(UNITY_2019_3_OR_NEWER || UNITY_SWITCH || UNITY_TVOS || UNITY_IPHONE || UNITY_IOS || UNITY_ANDROID || UNITY_FLASH || UNITY_PS3 || UNITY_PS4 || UNITY_XBOXONE || UNITY_BLACKBERRY || UNITY_METRO || UNITY_WP8 || UNITY_PSM || UNITY_WEBGL) - -using UnityEngine; - -#pragma warning disable 618 - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Movie)] - [Tooltip("Stops playing the Movie Texture, and rewinds it to the beginning.")] - public class StopMovieTexture : FsmStateAction - { - [RequiredField] - [ObjectType(typeof(MovieTexture))] - public FsmObject movieTexture; - - public override void Reset() - { - movieTexture = null; - } - - public override void OnEnter() - { - var movie = movieTexture.Value as MovieTexture; - - if (movie != null) - { - movie.Stop(); - } - - Finish(); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Movie/StopMovieTexture.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Movie/StopMovieTexture.cs.meta deleted file mode 100644 index f34498cca..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Movie/StopMovieTexture.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ba927a406ee51c64b993fbeeb5da2abe -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics.meta deleted file mode 100644 index 4e1ca29a9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 90033253a50cfff4d986e7549d57a831 -folderAsset: yes -timeCreated: 1504500480 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddExplosionForce.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/AddExplosionForce.cs deleted file mode 100644 index 443f0cfe3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddExplosionForce.cs +++ /dev/null @@ -1,77 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Applies a force to a Game Object that simulates explosion effects. The explosion force will fall off linearly with distance. Hint: Use the Explosion Action instead to apply an explosion force to all objects in a blast radius.")] - public class AddExplosionForce : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - [Tooltip("The GameObject to add the explosion force to.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The center of the explosion. Hint: this is often the position returned from a GetCollisionInfo action.")] - public FsmVector3 center; - - [RequiredField] - [Tooltip("The strength of the explosion.")] - public FsmFloat force; - - [RequiredField] - [Tooltip("The radius of the explosion. Force falls off linearly with distance.")] - public FsmFloat radius; - - [Tooltip("Applies the force as if it was applied from beneath the object. This is useful since explosions that throw things up instead of pushing things to the side look cooler. A value of 2 will apply a force as if it is applied from 2 meters below while not changing the actual explosion position.")] - public FsmFloat upwardsModifier; - - [Tooltip("The type of force to apply. See Unity Physics docs.")] - public ForceMode forceMode; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - center = new FsmVector3 { UseVariable = true }; - upwardsModifier = 0f; - forceMode = ForceMode.Force; - everyFrame = false; - } - - public override void OnPreprocess() - { - Fsm.HandleFixedUpdate = true; - } - - public override void OnEnter() - { - DoAddExplosionForce(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - DoAddExplosionForce(); - } - - void DoAddExplosionForce() - { - var go = gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value; - if (center == null || !UpdateCache(go)) - { - return; - } - - rigidbody.AddExplosionForce(force.Value, center.Value, radius.Value, upwardsModifier.Value, forceMode); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddExplosionForce.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/AddExplosionForce.cs.meta deleted file mode 100644 index 70f5148f9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddExplosionForce.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4646286250465e744b99a313370fda17 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddForce.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/AddForce.cs deleted file mode 100644 index f5cdec7f9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddForce.cs +++ /dev/null @@ -1,111 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Adds a force to a Game Object. Use Vector3 variable and/or Float variables for each axis.")] - public class AddForce : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - [Tooltip("The GameObject to apply the force to.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Optionally apply the force at a position on the object. This will also add some torque. The position is often returned from MousePick or GetCollisionInfo actions.")] - public FsmVector3 atPosition; - - [UIHint(UIHint.Variable)] - [Tooltip("A Vector3 force to add. Optionally override any axis with the X, Y, Z parameters.")] - public FsmVector3 vector; - - [Tooltip("Force along the X axis. To leave unchanged, set to 'None'.")] - public FsmFloat x; - - [Tooltip("Force along the Y axis. To leave unchanged, set to 'None'.")] - public FsmFloat y; - - [Tooltip("Force along the Z axis. To leave unchanged, set to 'None'.")] - public FsmFloat z; - - [Tooltip("Apply the force in world or local space.")] - public Space space; - - [Tooltip("The type of force to apply. See Unity Physics docs.")] - public ForceMode forceMode; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - atPosition = new FsmVector3 { UseVariable = true }; - vector = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - z = new FsmFloat { UseVariable = true }; - space = Space.World; - forceMode = ForceMode.Force; - everyFrame = false; - } - - public override void OnPreprocess() - { - Fsm.HandleFixedUpdate = true; - } - - public override void OnEnter() - { - DoAddForce(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - DoAddForce(); - } - - void DoAddForce() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var force = vector.IsNone ? new Vector3() : vector.Value; - - // override any axis - - if (!x.IsNone) force.x = x.Value; - if (!y.IsNone) force.y = y.Value; - if (!z.IsNone) force.z = z.Value; - - // apply force - - if (space == Space.World) - { - if (!atPosition.IsNone) - { - rigidbody.AddForceAtPosition(force, atPosition.Value, forceMode); - } - else - { - rigidbody.AddForce(force, forceMode); - } - } - else - { - rigidbody.AddRelativeForce(force,forceMode); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddForce.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/AddForce.cs.meta deleted file mode 100644 index b6b148ee7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddForce.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 58ff055ba918aaa48b2f142ed5b7a00e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddTorque.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/AddTorque.cs deleted file mode 100644 index 96b44bc6d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddTorque.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Adds torque (rotational force) to a Game Object.")] - public class AddTorque : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - [Tooltip("The GameObject to add torque to.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("A Vector3 torque. Optionally override any axis with the X, Y, Z parameters.")] - public FsmVector3 vector; - - [Tooltip("Torque around the X axis. To leave unchanged, set to 'None'.")] - public FsmFloat x; - - [Tooltip("Torque around the Y axis. To leave unchanged, set to 'None'.")] - public FsmFloat y; - - [Tooltip("Torque around the Z axis. To leave unchanged, set to 'None'.")] - public FsmFloat z; - - [Tooltip("Apply the force in world or local space.")] - public Space space; - - [Tooltip("The type of force to apply. See Unity Physics docs.")] - public ForceMode forceMode; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - z = new FsmFloat { UseVariable = true }; - space = Space.World; - forceMode = ForceMode.Force; - everyFrame = false; - } - - public override void OnPreprocess() - { - Fsm.HandleFixedUpdate = true; - } - - public override void OnEnter() - { - DoAddTorque(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - DoAddTorque(); - } - - void DoAddTorque() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var torque = vector.IsNone ? new Vector3(x.Value, y.Value, z.Value) : vector.Value; - - // override any axis - - if (!x.IsNone) torque.x = x.Value; - if (!y.IsNone) torque.y = y.Value; - if (!z.IsNone) torque.z = z.Value; - - // apply - - if (space == Space.World) - { - rigidbody.AddTorque(torque, forceMode); - } - else - { - rigidbody.AddRelativeTorque(torque, forceMode); - } - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddTorque.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/AddTorque.cs.meta deleted file mode 100644 index 2112500fe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/AddTorque.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d610dcc6fcb188943808607777423c4f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/CollisionEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/CollisionEvent.cs deleted file mode 100644 index cd17d03f9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/CollisionEvent.cs +++ /dev/null @@ -1,290 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Detect collisions between Game Objects that have RigidBody/Collider components.")] - public class CollisionEvent : FsmStateAction - { - [Tooltip("The GameObject to detect collisions on.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The type of collision to detect.")] - public CollisionType collision; - - [UIHint(UIHint.TagMenu)] - [Tooltip("Filter by Tag.")] - public FsmString collideTag; - - [Tooltip("Event to send if a collision is detected.")] - public FsmEvent sendEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the GameObject that collided with the Owner of this FSM.")] - public FsmGameObject storeCollider; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the force of the collision. NOTE: Use Get Collision Info to get more info about the collision.")] - public FsmFloat storeForce; - - // cached proxy component for callbacks - private PlayMakerProxyBase cachedProxy; - - public override void Reset() - { - gameObject = null; - collision = CollisionType.OnCollisionEnter; - collideTag = ""; - sendEvent = null; - storeCollider = null; - storeForce = null; - } - - public override void OnPreprocess() - { - if (gameObject == null) gameObject = new FsmOwnerDefault(); - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - { - switch (collision) - { - case CollisionType.OnCollisionEnter: - Fsm.HandleCollisionEnter = true; - break; - case CollisionType.OnCollisionStay: - Fsm.HandleCollisionStay = true; - break; - case CollisionType.OnCollisionExit: - Fsm.HandleCollisionExit = true; - break; - case CollisionType.OnControllerColliderHit: - Fsm.HandleControllerColliderHit = true; - break; - case CollisionType.OnParticleCollision: - Fsm.HandleParticleCollision = true; - break; - } - } - else - { - // Add proxy components now if we can - GetProxyComponent(); - } - } - - public override void OnEnter() - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - return; - - if (cachedProxy == null) - GetProxyComponent(); - - AddCallback(); - - gameObject.GameObject.OnChange += UpdateCallback; - } - - public override void OnExit() - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - return; - - RemoveCallback(); - - gameObject.GameObject.OnChange -= UpdateCallback; - } - - private void UpdateCallback() - { - RemoveCallback(); - GetProxyComponent(); - AddCallback(); - } - - private void GetProxyComponent() - { - cachedProxy = null; - var source = gameObject.GameObject.Value; - if (source == null) - return; - - switch (collision) - { - case CollisionType.OnCollisionEnter: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case CollisionType.OnCollisionStay: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case CollisionType.OnCollisionExit: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case CollisionType.OnParticleCollision: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case CollisionType.OnControllerColliderHit: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - } - } - - private void AddCallback() - { - if (cachedProxy == null) - return; - - switch (collision) - { - case CollisionType.OnCollisionEnter: - cachedProxy.AddCollisionEventCallback(CollisionEnter); - break; - case CollisionType.OnCollisionStay: - cachedProxy.AddCollisionEventCallback(CollisionStay); - break; - case CollisionType.OnCollisionExit: - cachedProxy.AddCollisionEventCallback(CollisionExit); - break; - case CollisionType.OnParticleCollision: - cachedProxy.AddParticleCollisionEventCallback(ParticleCollision); - break; - case CollisionType.OnControllerColliderHit: - cachedProxy.AddControllerCollisionEventCallback(ControllerColliderHit); - break; - } - } - - private void RemoveCallback() - { - if (cachedProxy == null) - return; - - switch (collision) - { - case CollisionType.OnCollisionEnter: - cachedProxy.RemoveCollisionEventCallback(CollisionEnter); - break; - case CollisionType.OnCollisionStay: - cachedProxy.RemoveCollisionEventCallback(CollisionStay); - break; - case CollisionType.OnCollisionExit: - cachedProxy.RemoveCollisionEventCallback(CollisionExit); - break; - case CollisionType.OnParticleCollision: - cachedProxy.RemoveParticleCollisionEventCallback(ParticleCollision); - break; - case CollisionType.OnControllerColliderHit: - cachedProxy.RemoveControllerCollisionEventCallback(ControllerColliderHit); - break; - } - } - - private void StoreCollisionInfo(Collision collisionInfo) - { - storeCollider.Value = collisionInfo.gameObject; - storeForce.Value = collisionInfo.relativeVelocity.magnitude; - } - - public override void DoCollisionEnter(Collision collisionInfo) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - CollisionEnter(collisionInfo); - } - - public override void DoCollisionStay(Collision collisionInfo) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - CollisionStay(collisionInfo); - } - - public override void DoCollisionExit(Collision collisionInfo) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - CollisionExit(collisionInfo); - } - - public override void DoControllerColliderHit(ControllerColliderHit collisionInfo) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - ControllerColliderHit(collisionInfo); - } - - public override void DoParticleCollision(GameObject other) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - ParticleCollision(other); - } - - private void CollisionEnter(Collision collisionInfo) - { - if (collision == CollisionType.OnCollisionEnter) - { - if (TagMatches(collideTag, collisionInfo)) - { - StoreCollisionInfo(collisionInfo); - Fsm.Event(sendEvent); - } - } - } - - private void CollisionStay(Collision collisionInfo) - { - if (collision == CollisionType.OnCollisionStay) - { - if (TagMatches(collideTag, collisionInfo)) - { - StoreCollisionInfo(collisionInfo); - Fsm.Event(sendEvent); - } - } - } - - private void CollisionExit(Collision collisionInfo) - { - if (collision == CollisionType.OnCollisionExit) - { - if (TagMatches(collideTag, collisionInfo)) - { - StoreCollisionInfo(collisionInfo); - Fsm.Event(sendEvent); - } - } - } - - private void ControllerColliderHit(ControllerColliderHit collisionInfo) - { - if (collision == CollisionType.OnControllerColliderHit) - { - if (TagMatches(collideTag, collisionInfo)) - { - if (storeCollider != null) - storeCollider.Value = collisionInfo.gameObject; - - storeForce.Value = 0f; //TODO: impact force? - Fsm.Event(sendEvent); - } - } - } - - private void ParticleCollision(GameObject other) - { - if (collision == CollisionType.OnParticleCollision) - { - if (TagMatches(collideTag, other)) - { - if (storeCollider != null) - storeCollider.Value = other; - - storeForce.Value = 0f; //TODO: impact force? - Fsm.Event(sendEvent); - } - } - } - - public override string ErrorCheck() - { - return ActionHelpers.CheckPhysicsSetup(Fsm.GetOwnerDefaultTarget(gameObject)); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/CollisionEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/CollisionEvent.cs.meta deleted file mode 100644 index 910301737..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/CollisionEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6a06ca6d8ec9db846a1d5d88107777cf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/Explosion.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/Explosion.cs deleted file mode 100644 index 6a09e5fcc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/Explosion.cs +++ /dev/null @@ -1,91 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Applies an explosion Force to all Game Objects with a Rigid Body inside a Radius.")] - public class Explosion : FsmStateAction - { - [RequiredField] - [Tooltip("The world position of the center of the explosion.")] - public FsmVector3 center; - - [RequiredField] - [Tooltip("The strength of the explosion.")] - public FsmFloat force; - - [RequiredField] - [Tooltip("The radius of the explosion. Force falls of linearly with distance.")] - public FsmFloat radius; - - [Tooltip("Applies the force as if it was applied from beneath the object. This is useful since explosions that throw things up instead of pushing things to the side look cooler. A value of 2 will apply a force as if it is applied from 2 meters below while not changing the actual explosion position.")] - public FsmFloat upwardsModifier; - - [Tooltip("The type of force to apply.")] - public ForceMode forceMode; - - [UIHint(UIHint.Layer)] - public FsmInt layer; - - [UIHint(UIHint.Layer)] - [Tooltip("Layers to effect.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you effect all layers except those defined above.")] - public FsmBool invertMask; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - public override void Reset() - { - center = null; - upwardsModifier = 0f; - forceMode = ForceMode.Force; - everyFrame = false; - } - - public override void OnPreprocess() - { - Fsm.HandleFixedUpdate = true; - } - - public override void OnEnter() - { - DoExplosion(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - DoExplosion(); - } - - void DoExplosion() - { - var colliders = Physics.OverlapSphere(center.Value, radius.Value); - - foreach (var hit in colliders) - { - var rigidBody = hit.gameObject.GetComponent(); - if (rigidBody != null && ShouldApplyForce(hit.gameObject)) - { - rigidBody.AddExplosionForce(force.Value, center.Value, radius.Value, upwardsModifier.Value, forceMode); - } - } - } - - bool ShouldApplyForce(GameObject go) - { - var mask = ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value); - - return ((1 << go.layer) & mask) > 0; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/Explosion.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/Explosion.cs.meta deleted file mode 100644 index 445d09a27..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/Explosion.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1c95111a2f820ea4db52a880cefdf3d4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetCollisionInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetCollisionInfo.cs deleted file mode 100644 index b25121f91..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetCollisionInfo.cs +++ /dev/null @@ -1,71 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Gets info on the last collision event and store in variables. See Unity Physics docs.")] - public class GetCollisionInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Get the GameObject hit.")] - public FsmGameObject gameObjectHit; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the relative velocity of the collision.")] - public FsmVector3 relativeVelocity; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the relative speed of the collision. Useful for controlling reactions. E.g., selecting an appropriate sound fx.")] - public FsmFloat relativeSpeed; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the world position of the collision contact. Useful for spawning effects etc.")] - public FsmVector3 contactPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the collision normal vector. Useful for aligning spawned effects etc.")] - public FsmVector3 contactNormal; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the name of the physics material of the colliding GameObject. Useful for triggering different effects. Audio, particles...")] - public FsmString physicsMaterialName; - - public override void Reset() - { - gameObjectHit = null; - relativeVelocity = null; - relativeSpeed = null; - contactPoint = null; - contactNormal = null; - physicsMaterialName = null; - } - - void StoreCollisionInfo() - { - if (Fsm.CollisionInfo == null) - { - return; - } - - gameObjectHit.Value = Fsm.CollisionInfo.gameObject; - relativeSpeed.Value = Fsm.CollisionInfo.relativeVelocity.magnitude; - relativeVelocity.Value = Fsm.CollisionInfo.relativeVelocity; - physicsMaterialName.Value = Fsm.CollisionInfo.collider.material.name; - - if (Fsm.CollisionInfo.contacts != null && Fsm.CollisionInfo.contacts.Length > 0) - { - contactPoint.Value = Fsm.CollisionInfo.contacts[0].point; - contactNormal.Value = Fsm.CollisionInfo.contacts[0].normal; - } - } - - public override void OnEnter() - { - StoreCollisionInfo(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetCollisionInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetCollisionInfo.cs.meta deleted file mode 100644 index f8c5bdc3f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetCollisionInfo.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8241c7f0706b3bc41a7e3a8155be2824 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetJointBreakInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetJointBreakInfo.cs deleted file mode 100644 index 1963140c3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetJointBreakInfo.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Gets info on the last joint break event.")] - public class GetJointBreakInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Get the force that broke the joint.")] - public FsmFloat breakForce; - - public override void Reset() - { - breakForce = null; - } - - public override void OnEnter() - { - breakForce.Value = Fsm.JointBreakForce; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetJointBreakInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetJointBreakInfo.cs.meta deleted file mode 100644 index 7e097f643..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetJointBreakInfo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: e18d717e00e358c4a8d8c88c592d617a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetMass.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetMass.cs deleted file mode 100644 index 9c2c542b5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetMass.cs +++ /dev/null @@ -1,43 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Gets the Mass of a Game Object's Rigid Body.")] - public class GetMass : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - [Tooltip("The GameObject that owns the Rigidbody")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the mass in a float variable.")] - public FsmFloat storeResult; - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - DoGetMass(); - - Finish(); - } - - void DoGetMass() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - storeResult.Value = rigidbody.mass; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetMass.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetMass.cs.meta deleted file mode 100644 index 66444bce4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetMass.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ffabb4161e65b10469326724e680a136 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetParticleCollisionInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetParticleCollisionInfo.cs deleted file mode 100644 index bbcb24315..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetParticleCollisionInfo.cs +++ /dev/null @@ -1,32 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// TODO: Needs to support: ParticlePhysicsExtensions.GetCollisionEvents - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Gets info on the last particle collision event. See Unity Particle System docs.")] - public class GetParticleCollisionInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Get the GameObject hit.")] - public FsmGameObject gameObjectHit; - public override void Reset() - { - gameObjectHit = null; - } - - private void StoreCollisionInfo() - { - gameObjectHit.Value = Fsm.ParticleCollisionGO; - } - - public override void OnEnter() - { - StoreCollisionInfo(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetParticleCollisionInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetParticleCollisionInfo.cs.meta deleted file mode 100644 index af88a019e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetParticleCollisionInfo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b6a2db5246415d044a8274bff429538d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastAllInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastAllInfo.cs deleted file mode 100644 index f8fe64d6e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastAllInfo.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Gets info on the last RaycastAll and store in array variables.")] - public class GetRaycastAllInfo : FsmStateAction - { - - [Tooltip("Store the GameObjects hit in an array variable.")] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.GameObject)] - public FsmArray storeHitObjects; - - [Tooltip("Get the world position of all ray hit point and store them in an array variable.")] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.Vector3)] - public FsmArray points; - - [Tooltip("Get the normal at all hit points and store them in an array variable.")] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.Vector3)] - public FsmArray normals; - - [Tooltip("Get the distance along the ray to all hit points and store them in an array variable.")] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.Float)] - public FsmArray distances; - - [Tooltip("Repeat every frame. Warning, this could be affecting performances")] - public bool everyFrame; - - public override void Reset() - { - storeHitObjects = null; - points = null; - normals = null; - distances = null; - everyFrame = false; - } - - void StoreRaycastAllInfo() - { - if (RaycastAll.RaycastAllHitInfo == null) - { - return; - } - - storeHitObjects.Resize(RaycastAll.RaycastAllHitInfo.Length); - points.Resize(RaycastAll.RaycastAllHitInfo.Length); - normals.Resize(RaycastAll.RaycastAllHitInfo.Length); - distances.Resize(RaycastAll.RaycastAllHitInfo.Length); - - for (int i = 0; i < RaycastAll.RaycastAllHitInfo.Length; i++) - { - storeHitObjects.Values[i] = RaycastAll.RaycastAllHitInfo[i].collider.gameObject; - - points.Values[i] = RaycastAll.RaycastAllHitInfo[i].point; - normals.Values[i] = RaycastAll.RaycastAllHitInfo[i].normal; - distances.Values[i] = RaycastAll.RaycastAllHitInfo[i].distance; - } - } - - public override void OnEnter() - { - StoreRaycastAllInfo(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - StoreRaycastAllInfo(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastAllInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastAllInfo.cs.meta deleted file mode 100644 index bf127eaf1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastAllInfo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9626a726ea59d47c5aaea0539fbcd170 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastHitInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastHitInfo.cs deleted file mode 100644 index 30324c976..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastHitInfo.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Gets info on the last Raycast and store in variables.")] - public class GetRaycastHitInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Get the GameObject hit by the last Raycast and store it in a variable.")] - public FsmGameObject gameObjectHit; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the world position of the ray hit point and store it in a variable.")] - [Title("Hit Point")] - public FsmVector3 point; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the normal at the hit point and store it in a variable.")] - public FsmVector3 normal; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the distance along the ray to the hit point and store it in a variable.")] - public FsmFloat distance; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObjectHit = null; - point = null; - normal = null; - distance = null; - everyFrame = false; - } - - void StoreRaycastInfo() - { - if (Fsm.RaycastHitInfo.collider != null) - { - gameObjectHit.Value = Fsm.RaycastHitInfo.collider.gameObject; - point.Value = Fsm.RaycastHitInfo.point; - normal.Value = Fsm.RaycastHitInfo.normal; - distance.Value = Fsm.RaycastHitInfo.distance; - } - } - - public override void OnEnter() - { - StoreRaycastInfo(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - StoreRaycastInfo(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastHitInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastHitInfo.cs.meta deleted file mode 100644 index 6dbc50c51..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetRaycastHitInfo.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c5e7185b5f18b7548800c0ab7d5c3cae -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetSpeed.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetSpeed.cs deleted file mode 100644 index e504f3b7f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetSpeed.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Gets the Speed of a Game Object and stores it in a Float Variable. NOTE: The Game Object must have a rigid body.")] - public class GetSpeed : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - [Tooltip("The GameObject with a Rigidbody.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the speed in a float variable.")] - public FsmFloat storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetSpeed(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetSpeed(); - } - - void DoGetSpeed() - { - if (storeResult == null) - { - return; - } - - var go = gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value; - if (UpdateCache(go)) - { - var velocity = rigidbody.linearVelocity; - storeResult.Value = velocity.magnitude; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetSpeed.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetSpeed.cs.meta deleted file mode 100644 index 9c75aab11..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetSpeed.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8c8f62156b62b7c42953ef79868fc3a2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetTriggerInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetTriggerInfo.cs deleted file mode 100644 index b127a8139..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetTriggerInfo.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Gets info on the last Trigger event and store in variables.")] - public class GetTriggerInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - public FsmGameObject gameObjectHit; - [UIHint(UIHint.Variable)] - [Tooltip("Useful for triggering different effects. Audio, particles...")] - public FsmString physicsMaterialName; - - public override void Reset() - { - gameObjectHit = null; - physicsMaterialName = null; - } - - void StoreTriggerInfo() - { - if (Fsm.TriggerCollider == null) return; - - gameObjectHit.Value = Fsm.TriggerCollider.gameObject; - physicsMaterialName.Value = Fsm.TriggerCollider.material.name; - } - - public override void OnEnter() - { - StoreTriggerInfo(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetTriggerInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetTriggerInfo.cs.meta deleted file mode 100644 index 2e938ac65..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetTriggerInfo.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c04fdb2a67228ba4283a7e3d6f2c6707 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetVelocity.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetVelocity.cs deleted file mode 100644 index 4918e7d30..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetVelocity.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Gets the Velocity of a Game Object and stores it in a Vector3 Variable or each Axis in a Float Variable. NOTE: The Game Object must have a Rigid Body.")] - public class GetVelocity : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.Variable)] - public FsmVector3 vector; - [UIHint(UIHint.Variable)] - public FsmFloat x; - [UIHint(UIHint.Variable)] - public FsmFloat y; - [UIHint(UIHint.Variable)] - public FsmFloat z; - public Space space; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - vector = null; - x = null; - y = null; - z = null; - space = Space.World; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetVelocity(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetVelocity(); - } - - void DoGetVelocity() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var velocity = rigidbody.linearVelocity; - if (space == Space.Self) - { - velocity = go.transform.InverseTransformDirection(velocity); - } - - vector.Value = velocity; - x.Value = velocity.x; - y.Value = velocity.y; - z.Value = velocity.z; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetVelocity.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/GetVelocity.cs.meta deleted file mode 100644 index 2229d28f3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/GetVelocity.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6e1a910972bc068458cecb4dfbfd02c1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/IsKinematic.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/IsKinematic.cs deleted file mode 100644 index 768a7f0c8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/IsKinematic.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Tests if a Game Object's Rigid Body is Kinematic.")] - public class IsKinematic : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - - public FsmEvent trueEvent; - - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - public FsmBool store; - - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - trueEvent = null; - falseEvent = null; - store = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoIsKinematic(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoIsKinematic(); - } - - void DoIsKinematic() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - var isKinematic = rigidbody.isKinematic; - store.Value = isKinematic; - Fsm.Event(isKinematic ? trueEvent : falseEvent); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/IsKinematic.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/IsKinematic.cs.meta deleted file mode 100644 index 3ce60bc46..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/IsKinematic.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3cb26a81ea0a0ba4aad053f9de8bd150 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/IsSleeping.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/IsSleeping.cs deleted file mode 100644 index 17bc6fb71..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/IsSleeping.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Tests if a Game Object's Rigid Body is sleeping.")] - public class IsSleeping : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - - public FsmEvent trueEvent; - - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - public FsmBool store; - - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - trueEvent = null; - falseEvent = null; - store = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoIsSleeping(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoIsSleeping(); - } - - void DoIsSleeping() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - var isSleeping = rigidbody.IsSleeping(); - store.Value = isSleeping; - Fsm.Event(isSleeping ? trueEvent : falseEvent); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/IsSleeping.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/IsSleeping.cs.meta deleted file mode 100644 index 35572430a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/IsSleeping.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0cf2655596bafec45b50c15fe3785020 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/Raycast.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/Raycast.cs deleted file mode 100644 index 4aae179fb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/Raycast.cs +++ /dev/null @@ -1,167 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Casts a Ray against all Colliders in the scene. Use either a Game Object or Vector3 world position as the origin of the ray. Use GetRaycastInfo to get more detailed info.")] - public class Raycast : FsmStateAction - { - //[ActionSection("Setup Raycast")] - - [Tooltip("Start ray at game object position. \nOr use From Position parameter.")] - public FsmOwnerDefault fromGameObject; - - [Tooltip("Start ray at a vector3 world position. \nOr use Game Object parameter.")] - public FsmVector3 fromPosition; - - [Tooltip("A vector3 direction vector")] - public FsmVector3 direction; - - [Tooltip("Cast the ray in world or local space. Note if no Game Object is specified, the direction is in world space.")] - public Space space; - - [Tooltip("The length of the ray. Set to -1 for infinity.")] - public FsmFloat distance; - - [ActionSection("Result")] - - [Tooltip("Event to send if the ray hits an object.")] - [UIHint(UIHint.Variable)] - public FsmEvent hitEvent; - - [Tooltip("Set a bool variable to true if hit something, otherwise false.")] - [UIHint(UIHint.Variable)] - public FsmBool storeDidHit; - - [Tooltip("Store the game object hit in a variable.")] - [UIHint(UIHint.Variable)] - public FsmGameObject storeHitObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the world position of the ray hit point and store it in a variable.")] - public FsmVector3 storeHitPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the normal at the hit point and store it in a variable.")] - public FsmVector3 storeHitNormal; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the distance along the ray to the hit point and store it in a variable.")] - public FsmFloat storeHitDistance; - - [ActionSection("Filter")] - - [Tooltip("Set how often to cast a ray. 0 = once, don't repeat; 1 = everyFrame; 2 = every other frame... \nSince raycasts can get expensive use the highest repeat interval you can get away with.")] - public FsmInt repeatInterval; - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [ActionSection("Debug")] - - [Tooltip("The color to use for the debug line.")] - public FsmColor debugColor; - - [Tooltip("Draw a debug line. Note: Check Gizmos in the Game View to see it in game.")] - public FsmBool debug; - - int repeat; - - public override void Reset() - { - fromGameObject = null; - fromPosition = new FsmVector3 { UseVariable = true }; - direction = new FsmVector3 { UseVariable = true }; - space = Space.Self; - distance = 100; - hitEvent = null; - storeDidHit = null; - storeHitObject = null; - storeHitPoint = null; - storeHitNormal = null; - storeHitDistance = null; - repeatInterval = 1; - layerMask = new FsmInt[0]; - invertMask = false; - debugColor = Color.yellow; - debug = false; - } - - public override void OnEnter() - { - DoRaycast(); - - if (repeatInterval.Value == 0) - { - Finish(); - } - } - - public override void OnUpdate() - { - repeat--; - - if (repeat == 0) - { - DoRaycast(); - } - } - - void DoRaycast() - { - repeat = repeatInterval.Value; - - if (distance.Value == 0) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(fromGameObject); - - var originPos = go != null ? go.transform.position : fromPosition.Value; - - var rayLength = Mathf.Infinity; - if (distance.Value > 0 ) - { - rayLength = distance.Value; - } - - var dirVector = direction.Value; - if(go != null && space == Space.Self) - { - dirVector = go.transform.TransformDirection(direction.Value); - } - - RaycastHit hitInfo; - Physics.Raycast(originPos, dirVector, out hitInfo, rayLength, ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - - Fsm.RaycastHitInfo = hitInfo; - - var didHit = hitInfo.collider != null; - - storeDidHit.Value = didHit; - - if (didHit) - { - storeHitObject.Value = hitInfo.collider.gameObject; - storeHitPoint.Value = Fsm.RaycastHitInfo.point; - storeHitNormal.Value = Fsm.RaycastHitInfo.normal; - storeHitDistance.Value = Fsm.RaycastHitInfo.distance; - Fsm.Event(hitEvent); - } - - if (debug.Value) - { - var debugRayLength = Mathf.Min(rayLength, 1000); - Debug.DrawLine(originPos, originPos + dirVector * debugRayLength, debugColor.Value); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/Raycast.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/Raycast.cs.meta deleted file mode 100644 index fd9f26fc0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/Raycast.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b2f50df742f99db41ac598460ff5e062 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/RaycastAll.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/RaycastAll.cs deleted file mode 100644 index 0b42befe7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/RaycastAll.cs +++ /dev/null @@ -1,173 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Casts a Ray against all Colliders in the scene. Use either a GameObject or Vector3 world position as the origin of the ray. Use GetRaycastAllInfo to get more detailed info.")] - public class RaycastAll : FsmStateAction - { - public static RaycastHit[] RaycastAllHitInfo; - - //[ActionSection("Setup Raycast")] - - [Tooltip("Start ray at game object position. \nOr use From Position parameter.")] - public FsmOwnerDefault fromGameObject; - - [Tooltip("Start ray at a vector3 world position. \nOr use Game Object parameter.")] - public FsmVector3 fromPosition; - - [Tooltip("A vector3 direction vector")] - public FsmVector3 direction; - - [Tooltip("Cast the ray in world or local space. Note if no Game Object is specified, the direction is in world space.")] - public Space space; - - [Tooltip("The length of the ray. Set to -1 for infinity.")] - public FsmFloat distance; - - [ActionSection("Result")] - - [Tooltip("Event to send if the ray hits an object.")] - [UIHint(UIHint.Variable)] - public FsmEvent hitEvent; - - [Tooltip("Set a bool variable to true if hit something, otherwise false.")] - [UIHint(UIHint.Variable)] - public FsmBool storeDidHit; - - [Tooltip("Store the GameObjects hit in an array variable.")] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.GameObject)] - public FsmArray storeHitObjects; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the world position of the ray hit point and store it in a variable.")] - public FsmVector3 storeHitPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the normal at the hit point and store it in a variable.")] - public FsmVector3 storeHitNormal; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the distance along the ray to the hit point and store it in a variable.")] - public FsmFloat storeHitDistance; - - [ActionSection("Filter")] - - [Tooltip("Set how often to cast a ray. 0 = once, don't repeat; 1 = everyFrame; 2 = every other frame... \nSince raycasts can get expensive use the highest repeat interval you can get away with.")] - public FsmInt repeatInterval; - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [ActionSection("Debug")] - - [Tooltip("The color to use for the debug line.")] - public FsmColor debugColor; - - [Tooltip("Draw a debug line. Note: Check Gizmos in the Game View to see it in game.")] - public FsmBool debug; - - int repeat; - - public override void Reset() - { - fromGameObject = null; - fromPosition = new FsmVector3 { UseVariable = true }; - direction = new FsmVector3 { UseVariable = true }; - space = Space.Self; - distance = 100; - hitEvent = null; - storeDidHit = null; - storeHitObjects = null; - storeHitPoint = null; - storeHitNormal = null; - storeHitDistance = null; - repeatInterval = 1; - layerMask = new FsmInt[0]; - invertMask = false; - debugColor = Color.yellow; - debug = false; - } - - public override void OnEnter() - { - DoRaycast(); - - if (repeatInterval.Value == 0) - { - Finish(); - } - } - - public override void OnUpdate() - { - repeat--; - - if (repeat == 0) - { - DoRaycast(); - } - } - - void DoRaycast() - { - repeat = repeatInterval.Value; - - if (distance.Value == 0) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(fromGameObject); - - var originPos = go != null ? go.transform.position : fromPosition.Value; - - var rayLength = Mathf.Infinity; - if (distance.Value > 0 ) - { - rayLength = distance.Value; - } - - var dirVector = direction.Value; - if(go != null && space == Space.Self) - { - dirVector = go.transform.TransformDirection(direction.Value); - } - - RaycastAllHitInfo = Physics.RaycastAll(originPos, dirVector, rayLength, ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - - var didHit = RaycastAllHitInfo.Length > 0; - storeDidHit.Value = didHit; - - if (didHit) - { - var gameObjectsHit = new GameObject[RaycastAllHitInfo.Length]; - for (int i = 0; i < RaycastAllHitInfo.Length; i++) - { - var hit = RaycastAllHitInfo[i]; - gameObjectsHit[i] = hit.collider.gameObject; - } - - storeHitObjects.Values = gameObjectsHit; - storeHitPoint.Value = Fsm.RaycastHitInfo.point; - storeHitNormal.Value = Fsm.RaycastHitInfo.normal; - storeHitDistance.Value = Fsm.RaycastHitInfo.distance; - Fsm.Event(hitEvent); - } - - if (debug.Value) - { - var debugRayLength = Mathf.Min(rayLength, 1000); - Debug.DrawLine(originPos, originPos + dirVector * debugRayLength, debugColor.Value); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/RaycastAll.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/RaycastAll.cs.meta deleted file mode 100644 index b74d0a69e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/RaycastAll.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: eb7dfc6b98090c944b4795e08c211a16 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetDrag.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetDrag.cs deleted file mode 100644 index d4c4ad849..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetDrag.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// Thanks Lane - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [HelpUrl("http://hutonggames.com/playmakerforum/index.php?topic=4734.0")] - [Tooltip("Sets the Drag of a Game Object's Rigid Body.")] - public class SetDrag : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - - [RequiredField] - [HasFloatSlider(0.0f,10f)] - public FsmFloat drag; - - [Tooltip("Repeat every frame. Typically this would be set to True.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - drag = 1; - } - - public override void OnEnter() - { - DoSetDrag(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetDrag(); - } - - void DoSetDrag() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - rigidbody.linearDamping = drag.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetDrag.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetDrag.cs.meta deleted file mode 100644 index fb3aeb5ff..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetDrag.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 03b227b3a99567c42913b4110ea8a32f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetGravity.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetGravity.cs deleted file mode 100644 index 14d3bfb24..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetGravity.cs +++ /dev/null @@ -1,53 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Sets the gravity vector, or individual axis.")] - public class SetGravity : FsmStateAction - { - public FsmVector3 vector; - public FsmFloat x; - public FsmFloat y; - public FsmFloat z; - public bool everyFrame; - - public override void Reset() - { - vector = null; - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - z = new FsmFloat { UseVariable = true }; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetGravity(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetGravity(); - } - - void DoSetGravity() - { - Vector3 gravity = vector.Value; - - if (!x.IsNone) - gravity.x = x.Value; - if (!y.IsNone) - gravity.y = y.Value; - if (!z.IsNone) - gravity.z = z.Value; - - Physics.gravity = gravity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetGravity.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetGravity.cs.meta deleted file mode 100644 index fd5e161f4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetGravity.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ca0c224d55f487d43903c2fa2652b48e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetIsKinematic.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetIsKinematic.cs deleted file mode 100644 index a56f5c63f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetIsKinematic.cs +++ /dev/null @@ -1,39 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Controls whether physics affects the Game Object.")] - public class SetIsKinematic : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmBool isKinematic; - - public override void Reset() - { - gameObject = null; - isKinematic = false; - } - - public override void OnEnter() - { - DoSetIsKinematic(); - Finish(); - } - - void DoSetIsKinematic() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - rigidbody.isKinematic = isKinematic.Value; - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetIsKinematic.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetIsKinematic.cs.meta deleted file mode 100644 index 8318d3dea..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetIsKinematic.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a6f45b23344dd264e83751bb05e0d8b0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetJointConnectedBody.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetJointConnectedBody.cs deleted file mode 100644 index abb287873..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetJointConnectedBody.cs +++ /dev/null @@ -1,42 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Connect a joint to a game object.")] - public class SetJointConnectedBody : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Joint))] - [Tooltip("The joint to connect. Requires a Joint component.")] - public FsmOwnerDefault joint; - - [CheckForComponent(typeof (Rigidbody))] - [Tooltip("The game object to connect to the Joint. Set to none to connect the Joint to the world.")] - public FsmGameObject rigidBody; - - public override void Reset() - { - joint = null; - rigidBody = null; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(joint); - if (go != null) - { - var jointComponent = go.GetComponent(); - - if (jointComponent != null) - { - jointComponent.connectedBody = rigidBody.Value == null ? null : rigidBody.Value.GetComponent(); - } - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetJointConnectedBody.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetJointConnectedBody.cs.meta deleted file mode 100644 index 36014083e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetJointConnectedBody.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 054c73a768a9deb4d9d225f0dd1b6f34 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetMass.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetMass.cs deleted file mode 100644 index 603e2d635..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetMass.cs +++ /dev/null @@ -1,40 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Sets the Mass of a Game Object's Rigid Body.")] - public class SetMass : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - [RequiredField] - [HasFloatSlider(0.1f,10f)] - public FsmFloat mass; - - public override void Reset() - { - gameObject = null; - mass = 1; - } - - public override void OnEnter() - { - DoSetMass(); - - Finish(); - } - - void DoSetMass() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - rigidbody.mass = mass.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetMass.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetMass.cs.meta deleted file mode 100644 index 3193bbe24..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetMass.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 50a58cb3b1615c64b9adc636459d5099 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetVelocity.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetVelocity.cs deleted file mode 100644 index 39a0e217f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetVelocity.cs +++ /dev/null @@ -1,96 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Sets the Velocity of a Game Object. To leave any axis unchanged, set variable to 'None'. NOTE: Game object must have a rigidbody.")] - public class SetVelocity : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - public FsmVector3 vector; - - public FsmFloat x; - public FsmFloat y; - public FsmFloat z; - - public Space space; - - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - vector = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - z = new FsmFloat { UseVariable = true }; - space = Space.Self; - everyFrame = false; - } - - public override void OnPreprocess() - { - Fsm.HandleFixedUpdate = true; - } - - // TODO: test this works in OnEnter! - public override void OnEnter() - { - DoSetVelocity(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - DoSetVelocity(); - - if (!everyFrame) - Finish(); - } - - void DoSetVelocity() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - // init position - - Vector3 velocity; - - if (vector.IsNone) - { - velocity = space == Space.World ? - rigidbody.linearVelocity : - go.transform.InverseTransformDirection(rigidbody.linearVelocity); - } - else - { - velocity = vector.Value; - } - - // override any axis - - if (!x.IsNone) velocity.x = x.Value; - if (!y.IsNone) velocity.y = y.Value; - if (!z.IsNone) velocity.z = z.Value; - - // apply - - rigidbody.linearVelocity = space == Space.World ? velocity : go.transform.TransformDirection(velocity); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetVelocity.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/SetVelocity.cs.meta deleted file mode 100644 index a9179cef6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/SetVelocity.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1c20dda97df3fd54cab324f8e260fab7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/Sleep.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/Sleep.cs deleted file mode 100644 index b14f47783..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/Sleep.cs +++ /dev/null @@ -1,35 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Forces a Game Object's Rigid Body to Sleep at least one frame.")] - public class Sleep : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - DoSleep(); - Finish(); - } - - void DoSleep() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - rigidbody.Sleep(); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/Sleep.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/Sleep.cs.meta deleted file mode 100644 index 4cca59a2e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/Sleep.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c111cfc52d5612a41916fa6f4f7ff780 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/TriggerEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/TriggerEvent.cs deleted file mode 100644 index 1d5f2b515..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/TriggerEvent.cs +++ /dev/null @@ -1,218 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Detect trigger collisions between GameObjects that have RigidBody/Collider components.")] - public class TriggerEvent : FsmStateAction - { - [Tooltip("The GameObject to detect trigger events on.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The type of trigger event to detect.")] - public TriggerType trigger; - - [UIHint(UIHint.TagMenu)] - [Tooltip("Filter by Tag.")] - public FsmString collideTag; - - [Tooltip("Event to send if the trigger event is detected.")] - public FsmEvent sendEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the GameObject that collided with the Owner of this FSM.")] - public FsmGameObject storeCollider; - - // cached proxy component for callbacks - private PlayMakerProxyBase cachedProxy; - - public override void Reset() - { - gameObject = null; - trigger = TriggerType.OnTriggerEnter; - collideTag = ""; - sendEvent = null; - storeCollider = null; - } - - public override void OnPreprocess() - { - if (gameObject == null) gameObject = new FsmOwnerDefault(); - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - { - switch (trigger) - { - case TriggerType.OnTriggerEnter: - Fsm.HandleTriggerEnter = true; - break; - case TriggerType.OnTriggerStay: - Fsm.HandleTriggerStay = true; - break; - case TriggerType.OnTriggerExit: - Fsm.HandleTriggerExit = true; - break; - } - } - else - { - // Add proxy components now if we can - GetProxyComponent(); - } - } - - public override void OnEnter() - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - return; - - if (cachedProxy == null) - GetProxyComponent(); - - AddCallback(); - - gameObject.GameObject.OnChange += UpdateCallback; - } - - public override void OnExit() - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - return; - - RemoveCallback(); - - gameObject.GameObject.OnChange -= UpdateCallback; - } - - private void UpdateCallback() - { - RemoveCallback(); - GetProxyComponent(); - AddCallback(); - } - - private void GetProxyComponent() - { - cachedProxy = null; - var source = gameObject.GameObject.Value; - if (source == null) - return; - - switch (trigger) - { - case TriggerType.OnTriggerEnter: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case TriggerType.OnTriggerStay: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case TriggerType.OnTriggerExit: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - } - } - - private void AddCallback() - { - if (cachedProxy == null) - return; - - switch (trigger) - { - case TriggerType.OnTriggerEnter: - cachedProxy.AddTriggerEventCallback(TriggerEnter); - break; - case TriggerType.OnTriggerStay: - cachedProxy.AddTriggerEventCallback(TriggerStay); - break; - case TriggerType.OnTriggerExit: - cachedProxy.AddTriggerEventCallback(TriggerExit); - break; - } - } - - private void RemoveCallback() - { - if (cachedProxy == null) - return; - - switch (trigger) - { - case TriggerType.OnTriggerEnter: - cachedProxy.RemoveTriggerEventCallback(TriggerEnter); - break; - case TriggerType.OnTriggerStay: - cachedProxy.RemoveTriggerEventCallback(TriggerStay); - break; - case TriggerType.OnTriggerExit: - cachedProxy.RemoveTriggerEventCallback(TriggerExit); - break; - } - } - - private void StoreCollisionInfo(Collider collisionInfo) - { - storeCollider.Value = collisionInfo.gameObject; - } - - public override void DoTriggerEnter(Collider other) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - TriggerEnter(other); - } - - public override void DoTriggerStay(Collider other) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - TriggerStay(other); - } - - public override void DoTriggerExit(Collider other) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - TriggerExit(other); - } - - private void TriggerEnter(Collider other) - { - if (trigger == TriggerType.OnTriggerEnter) - { - if (TagMatches(collideTag, other)) - { - StoreCollisionInfo(other); - Fsm.Event(sendEvent); - } - } - } - - private void TriggerStay(Collider other) - { - if (trigger == TriggerType.OnTriggerStay) - { - if (TagMatches(collideTag, other)) - { - StoreCollisionInfo(other); - Fsm.Event(sendEvent); - } - } - } - - private void TriggerExit(Collider other) - { - if (trigger == TriggerType.OnTriggerExit) - { - if (TagMatches(collideTag, other)) - { - StoreCollisionInfo(other); - Fsm.Event(sendEvent); - } - } - } - - public override string ErrorCheck() - { - return ActionHelpers.CheckPhysicsSetup(Fsm.GetOwnerDefaultTarget(gameObject)); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/TriggerEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/TriggerEvent.cs.meta deleted file mode 100644 index f23fa7e09..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/TriggerEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f9b2aeda5f6da8e449f7450fcb104bfd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/UseGravity.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/UseGravity.cs deleted file mode 100644 index b6607d925..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/UseGravity.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Sets whether a Game Object's Rigidbody is affected by Gravity.")] - public class UseGravity : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmBool useGravity; - - public override void Reset() - { - gameObject = null; - useGravity = true; - } - - public override void OnEnter() - { - DoUseGravity(); - Finish(); - } - - void DoUseGravity() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - rigidbody.useGravity = useGravity.Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/UseGravity.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/UseGravity.cs.meta deleted file mode 100644 index 6d185410f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/UseGravity.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3c5807ddf1f36fe4ea8d1a60993eef7a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeAllRigidBodies.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeAllRigidBodies.cs deleted file mode 100644 index f7d99a2b1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeAllRigidBodies.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Rigid bodies start sleeping when they come to rest. This action wakes up all rigid bodies in the scene. E.g., if you Set Gravity and want objects at rest to respond.")] - public class WakeAllRigidBodies : FsmStateAction - { - public bool everyFrame; - - private Rigidbody[] bodies; - - public override void Reset() - { - everyFrame = false; - } - - public override void OnEnter() - { - bodies = Object.FindObjectsOfType(typeof(Rigidbody)) as Rigidbody[]; - - DoWakeAll(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoWakeAll(); - } - - void DoWakeAll() - { - bodies = Object.FindObjectsOfType(typeof(Rigidbody)) as Rigidbody[]; - - if (bodies != null) - { - foreach (var body in bodies) - { - body.WakeUp(); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeAllRigidBodies.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeAllRigidBodies.cs.meta deleted file mode 100644 index 6ea17176c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeAllRigidBodies.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ce2109e54235fa04d94f4dd2ac2228d7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeUp.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeUp.cs deleted file mode 100644 index 91b75074d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeUp.cs +++ /dev/null @@ -1,35 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics)] - [Tooltip("Forces a Game Object's Rigid Body to wake up.")] - public class WakeUp : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - DoWakeUp(); - Finish(); - } - - void DoWakeUp() - { - var go = gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value; - if (UpdateCache(go)) - { - rigidbody.WakeUp(); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeUp.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeUp.cs.meta deleted file mode 100644 index 03a89d516..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics/WakeUp.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b1e7040dc5830cc4796345b20f1a26d7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D.meta deleted file mode 100644 index 809c6aa03..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: f7559b81e1169174593b218d637d28be -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddForce2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddForce2d.cs deleted file mode 100644 index 6c0f9cc28..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddForce2d.cs +++ /dev/null @@ -1,112 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Adds a 2d force to a Game Object. Use Vector2 variable and/or Float variables for each axis.")] - public class AddForce2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject to apply the force to.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Option for applying the force")] - public ForceMode2D forceMode; - - [UIHint(UIHint.Variable)] - [Tooltip("Optionally apply the force at a position on the object. This will also add some torque. The position is often returned from MousePick or GetCollision2dInfo actions.")] - public FsmVector2 atPosition; - - [UIHint(UIHint.Variable)] - [Tooltip("A Vector2 force to add. Optionally override any axis with the X, Y parameters.")] - public FsmVector2 vector; - - [Tooltip("Force along the X axis. To leave unchanged, set to 'None'.")] - public FsmFloat x; - - [Tooltip("Force along the Y axis. To leave unchanged, set to 'None'.")] - public FsmFloat y; - - [Tooltip("A Vector3 force to add. z is ignored")] - public FsmVector3 vector3; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - - public override void Reset() - { - gameObject = null; - atPosition = new FsmVector2 { UseVariable = true }; - forceMode = ForceMode2D.Force; - vector = null; - vector3 = new FsmVector3 {UseVariable = true}; - - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - everyFrame = false; - } - - - public override void OnPreprocess() - { - Fsm.HandleFixedUpdate = true; - } - - public override void OnEnter() - { - DoAddForce(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - DoAddForce(); - } - - void DoAddForce() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var force = vector.IsNone ? new Vector2(x.Value, y.Value) : vector.Value; - - if (!vector3.IsNone) - { - force.x = vector3.Value.x; - force.y = vector3.Value.y; - } - - // override any axis - - if (!x.IsNone) force.x = x.Value; - if (!y.IsNone) force.y = y.Value; - - // apply force - - if (!atPosition.IsNone) - { - rigidbody2d.AddForceAtPosition(force, atPosition.Value,forceMode); - } - else - { - rigidbody2d.AddForce(force,forceMode); - } - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddForce2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddForce2d.cs.meta deleted file mode 100644 index ab0ecddd7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddForce2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: eaf0f3ed6b5d242d9af3ee4525911244 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddRelativeForce2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddRelativeForce2d.cs deleted file mode 100644 index d1b1f9318..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddRelativeForce2d.cs +++ /dev/null @@ -1,101 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Adds a relative 2d force to a Game Object. Use Vector2 variable and/or Float variables for each axis.")] - public class AddRelativeForce2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject to apply the force to.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Option for applying the force")] - public ForceMode2D forceMode; - - [UIHint(UIHint.Variable)] - [Tooltip("A Vector2 force to add. Optionally override any axis with the X, Y parameters.")] - public FsmVector2 vector; - - [Tooltip("Force along the X axis. To leave unchanged, set to 'None'.")] - public FsmFloat x; - - [Tooltip("Force along the Y axis. To leave unchanged, set to 'None'.")] - public FsmFloat y; - - [Tooltip("A Vector3 force to add. z is ignored")] - public FsmVector3 vector3; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - - public override void Reset() - { - gameObject = null; - forceMode = ForceMode2D.Force; - vector = null; - vector3 = new FsmVector3 {UseVariable = true}; - - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - everyFrame = false; - } - - - public override void OnPreprocess() - { - Fsm.HandleFixedUpdate = true; - } - - public override void OnEnter() - { - DoAddRelativeForce(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - DoAddRelativeForce(); - } - - void DoAddRelativeForce() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var force = vector.IsNone ? new Vector2(x.Value, y.Value) : vector.Value; - - if (!vector3.IsNone) - { - force.x = vector3.Value.x; - force.y = vector3.Value.y; - } - - // override any axis - - if (!x.IsNone) force.x = x.Value; - if (!y.IsNone) force.y = y.Value; - - // apply relative force - - rigidbody2d.AddRelativeForce(force,forceMode); - - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddRelativeForce2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddRelativeForce2d.cs.meta deleted file mode 100644 index 4c4e33d82..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddRelativeForce2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fbe344e9aae6545be9e9ed66c2c4e021 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddTorque2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddTorque2d.cs deleted file mode 100644 index 69dab7970..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddTorque2d.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Adds a 2d torque (rotational force) to a Game Object.")] - public class AddTorque2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject to add torque to.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Option for applying the force")] - public ForceMode2D forceMode; - - [Tooltip("Torque")] - public FsmFloat torque; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - - public override void OnPreprocess() - { - Fsm.HandleFixedUpdate = true; - } - - public override void Reset() - { - gameObject = null; - torque = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoAddTorque(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - DoAddTorque(); - } - - void DoAddTorque() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - rigidbody2d.AddTorque(torque.Value,forceMode); - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddTorque2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddTorque2d.cs.meta deleted file mode 100644 index 9bff35f6d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/AddTorque2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b6dd6adf8d6ac4bb6ad3d0021c9b8aa0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Collision2dEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Collision2dEvent.cs deleted file mode 100644 index 220bd7679..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Collision2dEvent.cs +++ /dev/null @@ -1,256 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Detect collisions between Game Objects that have RigidBody2D/Collider2D components.")] - public class Collision2dEvent : FsmStateAction - { - [Tooltip("The GameObject to detect collisions on.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The type of collision to detect.")] - public Collision2DType collision; - - [UIHint(UIHint.TagMenu)] - [Tooltip("Filter by Tag.")] - public FsmString collideTag; - - [Tooltip("Event to send if a collision is detected.")] - public FsmEvent sendEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the GameObject that collided with the Owner of this FSM.")] - public FsmGameObject storeCollider; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the force of the collision. NOTE: Use Get Collision 2D Info to get more info about the collision.")] - public FsmFloat storeForce; - - // cached proxy component for callbacks - private PlayMakerProxyBase cachedProxy; - - public override void Reset() - { - collision = Collision2DType.OnCollisionEnter2D; - collideTag = ""; - sendEvent = null; - storeCollider = null; - storeForce = null; - } - - public override void OnPreprocess() - { - if (gameObject == null) gameObject = new FsmOwnerDefault(); - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - { - switch (collision) - { - case Collision2DType.OnCollisionEnter2D: - Fsm.HandleCollisionEnter2D = true; - break; - case Collision2DType.OnCollisionStay2D: - Fsm.HandleCollisionStay2D = true; - break; - case Collision2DType.OnCollisionExit2D: - Fsm.HandleCollisionExit2D = true; - break; - case Collision2DType.OnParticleCollision: - Fsm.HandleParticleCollision = true; - break; - } - } - else - { - // Add proxy components now if we can - GetProxyComponent(); - } - } - - public override void OnEnter() - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - return; - - if (cachedProxy == null) - GetProxyComponent(); - - AddCallback(); - - gameObject.GameObject.OnChange += UpdateCallback; - } - - public override void OnExit() - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - return; - - RemoveCallback(); - - gameObject.GameObject.OnChange -= UpdateCallback; - } - - private void UpdateCallback() - { - RemoveCallback(); - GetProxyComponent(); - AddCallback(); - } - - private void GetProxyComponent() - { - cachedProxy = null; - var source = gameObject.GameObject.Value; - if (source == null) - return; - - switch (collision) - { - case Collision2DType.OnCollisionEnter2D: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case Collision2DType.OnCollisionStay2D: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case Collision2DType.OnCollisionExit2D: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case Collision2DType.OnParticleCollision: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - } - } - - private void AddCallback() - { - if (cachedProxy == null) - return; - - switch (collision) - { - case Collision2DType.OnCollisionEnter2D: - cachedProxy.AddCollision2DEventCallback(CollisionEnter2D); - break; - case Collision2DType.OnCollisionStay2D: - cachedProxy.AddCollision2DEventCallback(CollisionStay2D); - break; - case Collision2DType.OnCollisionExit2D: - cachedProxy.AddCollision2DEventCallback(CollisionExit2D); - break; - case Collision2DType.OnParticleCollision: - cachedProxy.AddParticleCollisionEventCallback(ParticleCollision); - break; - } - } - - private void RemoveCallback() - { - if (cachedProxy == null) - return; - - switch (collision) - { - case Collision2DType.OnCollisionEnter2D: - cachedProxy.RemoveCollision2DEventCallback(CollisionEnter2D); - break; - case Collision2DType.OnCollisionStay2D: - cachedProxy.RemoveCollision2DEventCallback(CollisionStay2D); - break; - case Collision2DType.OnCollisionExit2D: - cachedProxy.RemoveCollision2DEventCallback(CollisionExit2D); - break; - case Collision2DType.OnParticleCollision: - cachedProxy.RemoveParticleCollisionEventCallback(ParticleCollision); - break; - } - } - - private void StoreCollisionInfo(Collision2D collisionInfo) - { - storeCollider.Value = collisionInfo.gameObject; - storeForce.Value = collisionInfo.relativeVelocity.magnitude; - } - - public override void DoCollisionEnter2D(Collision2D collisionInfo) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - CollisionEnter2D(collisionInfo); - } - - public override void DoCollisionStay2D(Collision2D collisionInfo) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - CollisionStay2D(collisionInfo); - } - - public override void DoCollisionExit2D(Collision2D collisionInfo) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - CollisionExit2D(collisionInfo); - } - - public override void DoParticleCollision(GameObject other) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - ParticleCollision(other); - } - - private void CollisionEnter2D(Collision2D collisionInfo) - { - if (collision == Collision2DType.OnCollisionEnter2D) - { - if (TagMatches(collideTag, collisionInfo)) - { - StoreCollisionInfo(collisionInfo); - Fsm.Event(sendEvent); - } - } - } - - private void CollisionStay2D(Collision2D collisionInfo) - { - if (collision == Collision2DType.OnCollisionStay2D) - { - if (TagMatches(collideTag, collisionInfo)) - { - StoreCollisionInfo(collisionInfo); - Fsm.Event(sendEvent); - } - } - } - - private void CollisionExit2D(Collision2D collisionInfo) - { - if (collision == Collision2DType.OnCollisionExit2D) - { - if (TagMatches(collideTag, collisionInfo)) - { - StoreCollisionInfo(collisionInfo); - Fsm.Event(sendEvent); - } - } - } - - private void ParticleCollision(GameObject other) - { - if (collision == Collision2DType.OnParticleCollision) - { - if (TagMatches(collideTag, other)) - { - if (storeCollider != null) - storeCollider.Value = other; - - storeForce.Value = 0f; //TODO: impact force? - Fsm.Event(sendEvent); - } - } - } - - public override string ErrorCheck() - { - return ActionHelpers.CheckPhysics2dSetup(Fsm.GetOwnerDefaultTarget(gameObject)); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Collision2dEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Collision2dEvent.cs.meta deleted file mode 100644 index f8389197a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Collision2dEvent.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3fe37d4f2887249fbacdb30745b10d5f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetCollision2dInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetCollision2dInfo.cs deleted file mode 100644 index 0abb91500..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetCollision2dInfo.cs +++ /dev/null @@ -1,75 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Gets info on the last collision 2D event and store in variables. See Unity and PlayMaker docs on Unity 2D physics.")] - public class GetCollision2dInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Get the GameObject hit.")] - public FsmGameObject gameObjectHit; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the relative velocity of the collision.")] - public FsmVector3 relativeVelocity; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the relative speed of the collision. Useful for controlling reactions. E.g., selecting an appropriate sound fx.")] - public FsmFloat relativeSpeed; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the world position of the collision contact. Useful for spawning effects etc.")] - public FsmVector3 contactPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the collision normal vector. Useful for aligning spawned effects etc.")] - public FsmVector3 contactNormal; - - [UIHint(UIHint.Variable)] - [Tooltip("The number of separate shaped regions in the collider.")] - public FsmInt shapeCount; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the name of the physics 2D material of the colliding GameObject. Useful for triggering different effects. Audio, particles...")] - public FsmString physics2dMaterialName; - - public override void Reset() - { - gameObjectHit = null; - relativeVelocity = null; - relativeSpeed = null; - contactPoint = null; - contactNormal = null; - shapeCount = null; - physics2dMaterialName = null; - } - - void StoreCollisionInfo() - { - if (Fsm.Collision2DInfo == null) return; - - gameObjectHit.Value = Fsm.Collision2DInfo.gameObject; - relativeSpeed.Value = Fsm.Collision2DInfo.relativeVelocity.magnitude; - relativeVelocity.Value = Fsm.Collision2DInfo.relativeVelocity; - physics2dMaterialName.Value = Fsm.Collision2DInfo.collider.sharedMaterial != null ? Fsm.Collision2DInfo.collider.sharedMaterial.name : ""; - - shapeCount.Value = Fsm.Collision2DInfo.collider.shapeCount; - - if (Fsm.Collision2DInfo.contacts != null && Fsm.Collision2DInfo.contacts.Length > 0) - { - contactPoint.Value = Fsm.Collision2DInfo.contacts[0].point; - contactNormal.Value = Fsm.Collision2DInfo.contacts[0].normal; - } - } - - public override void OnEnter() - { - StoreCollisionInfo(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetCollision2dInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetCollision2dInfo.cs.meta deleted file mode 100644 index fa4019995..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetCollision2dInfo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 63a94df6a55a542188e33a6ea28a9bde -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetJointBreak2dInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetJointBreak2dInfo.cs deleted file mode 100644 index 0b4b63325..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetJointBreak2dInfo.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Gets info on the last joint break 2D event.")] - public class GetJointBreak2dInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - [ObjectType(typeof(Joint2D))] - [Tooltip("Get the broken joint.")] - public FsmObject brokenJoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the reaction force exerted by the broken joint. Unity 5.3+")] - public FsmVector2 reactionForce; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the magnitude of the reaction force exerted by the broken joint. Unity 5.3+")] - public FsmFloat reactionForceMagnitude; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the reaction torque exerted by the broken joint. Unity 5.3+")] - public FsmFloat reactionTorque; - - public override void Reset() - { - brokenJoint = null; - reactionForce = null; - reactionTorque = null; - } - - private void StoreInfo() - { - if (Fsm.BrokenJoint2D == null) return; - - brokenJoint.Value = Fsm.BrokenJoint2D; - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - reactionForce.Value = Fsm.BrokenJoint2D.reactionForce; - reactionForceMagnitude.Value = Fsm.BrokenJoint2D.reactionForce.magnitude; - reactionTorque.Value = Fsm.BrokenJoint2D.reactionTorque; -#endif - } - - public override void OnEnter() - { - StoreInfo(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetJointBreak2dInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetJointBreak2dInfo.cs.meta deleted file mode 100644 index 54609c7d3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetJointBreak2dInfo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: eeba2151d9713fb4ea9dae19319c9c44 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetMass2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetMass2d.cs deleted file mode 100644 index d57371903..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetMass2d.cs +++ /dev/null @@ -1,45 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Gets the Mass of a Game Object's Rigid Body 2D.")] - public class GetMass2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with a Rigidbody2D attached.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the mass of gameObject.")] - public FsmFloat storeResult; - - public override void Reset() - { - gameObject = null; - storeResult = null; - } - - public override void OnEnter() - { - DoGetMass(); - - Finish(); - } - - void DoGetMass() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - storeResult.Value = rigidbody2d.mass; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetMass2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetMass2d.cs.meta deleted file mode 100644 index 8bf1fa9a9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetMass2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dbc5681b28fff4b5782c9d86facecc4a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextLineCast2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextLineCast2d.cs deleted file mode 100644 index e8a25f393..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextLineCast2d.cs +++ /dev/null @@ -1,200 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Iterate through a list of all colliders detected by a LineCast" + - "The colliders iterated are sorted in order of increasing Z coordinate. No iteration will take place if there are no colliders within the area.")] - public class GetNextLineCast2d: FsmStateAction - { - [ActionSection("Setup")] - - [Tooltip("Start ray at game object position. \nOr use From Position parameter.")] - public FsmOwnerDefault fromGameObject; - - [Tooltip("Start ray at a vector2 world position. \nOr use fromGameObject parameter. If both define, will add fromPosition to the fromGameObject position")] - public FsmVector2 fromPosition; - - [Tooltip("End ray at game object position. \nOr use From Position parameter.")] - public FsmGameObject toGameObject; - - [Tooltip("End ray at a vector2 world position. \nOr use fromGameObject parameter. If both define, will add toPosition to the ToGameObject position")] - public FsmVector2 toPosition; - - [Tooltip("Only include objects with a Z coordinate (depth) greater than this value. leave to none for no effect")] - public FsmInt minDepth; - - [Tooltip("Only include objects with a Z coordinate (depth) less than this value. leave to none")] - public FsmInt maxDepth; - - [Tooltip("If you want to reset the iteration, raise this flag to true when you enter the state, it will indicate you want to start from the beginning again")] - [UIHint(UIHint.Variable)] - public FsmBool resetFlag; - - [ActionSection("Filter")] - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [ActionSection("Result")] - - [Tooltip("Store the number of colliders found for this overlap.")] - [UIHint(UIHint.Variable)] - public FsmInt collidersCount; - - - [UIHint(UIHint.Variable)] - [Tooltip("Store the next collider in a GameObject variable.")] - public FsmGameObject storeNextCollider; - - [Tooltip("Get the 2d position of the next ray hit point and store it in a variable.")] - public FsmVector2 storeNextHitPoint; - - [Tooltip("Get the 2d normal at the next hit point and store it in a variable.")] - public FsmVector2 storeNextHitNormal; - - [Tooltip("Get the distance along the ray to the next hit point and store it in a variable.")] - public FsmFloat storeNextHitDistance; - - [Tooltip("Event to send to get the next collider.")] - public FsmEvent loopEvent; - - [Tooltip("Event to send when there are no more colliders to iterate.")] - public FsmEvent finishedEvent; - - - private RaycastHit2D[] hits; - - private int colliderCount; - - // increment an index as we loop through children - private int nextColliderIndex; - - public override void Reset() - { - fromGameObject = null; - fromPosition = new FsmVector2 { UseVariable = true }; - - toGameObject = null; - toPosition = new FsmVector2 { UseVariable = true }; - - minDepth = new FsmInt { UseVariable = true }; - maxDepth = new FsmInt { UseVariable = true }; - - layerMask = new FsmInt[0]; - invertMask = false; - resetFlag = null; - collidersCount = null; - storeNextCollider = null; - storeNextHitPoint = null; - storeNextHitNormal = null; - storeNextHitDistance = null; - loopEvent = null; - finishedEvent = null; - } - - public override void OnEnter() - { - if (hits == null || resetFlag.Value) - { - nextColliderIndex = 0; - hits = GetLineCastAll(); - colliderCount = hits.Length; - collidersCount.Value = colliderCount; - resetFlag.Value = false; - } - - DoGetNextCollider(); - - Finish(); - - } - - private void DoGetNextCollider() - { - - // no more colliders? - // check first to avoid errors. - - if (nextColliderIndex >= colliderCount) - { - hits = null; - nextColliderIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // get next collider - Fsm.RecordLastRaycastHit2DInfo(Fsm, hits[nextColliderIndex]); - storeNextCollider.Value = hits[nextColliderIndex].collider.gameObject; - storeNextHitPoint.Value = hits[nextColliderIndex].point; - storeNextHitNormal.Value = hits[nextColliderIndex].normal; - storeNextHitDistance.Value = hits[nextColliderIndex].fraction; - - // no more colliders? - // check a second time to avoid process lock and possible infinite loop if the action is called again. - // Practically, this enabled calling again this state and it will start again iterating from the first child. - - if (nextColliderIndex >= colliderCount) - { - hits = new RaycastHit2D[0]; - nextColliderIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // iterate the next collider - nextColliderIndex++; - - if (loopEvent != null) - { - Fsm.Event(loopEvent); - } - } - - - private RaycastHit2D[] GetLineCastAll() - { - - var fromPos = fromPosition.Value; - - var fromGo = Fsm.GetOwnerDefaultTarget(fromGameObject); - - if (fromGo!=null) - { - fromPos.x += fromGo.transform.position.x; - fromPos.y += fromGo.transform.position.y; - } - - var toPos = toPosition.Value; - - var toGo = toGameObject.Value; - - if (toGo!=null) - { - toPos.x += toGo.transform.position.x; - toPos.y += toGo.transform.position.y; - } - - - if (minDepth.IsNone && maxDepth.IsNone) - { - return Physics2D.LinecastAll(fromPos,toPos,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - }else{ - var _minDepth = minDepth.IsNone? Mathf.NegativeInfinity : minDepth.Value; - var _maxDepth = maxDepth.IsNone? Mathf.Infinity : maxDepth.Value; - return Physics2D.LinecastAll(fromPos,toPos,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value),_minDepth,_maxDepth); - } - - - } - - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextLineCast2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextLineCast2d.cs.meta deleted file mode 100644 index cc1cf6b3c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextLineCast2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a70b105d5eff843e49ed438d206f1c1c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapArea2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapArea2d.cs deleted file mode 100644 index 2d9a60200..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapArea2d.cs +++ /dev/null @@ -1,182 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Iterate through a list of all colliders that fall within a rectangular area." + - "The colliders iterated are sorted in order of increasing Z coordinate. No iteration will take place if there are no colliders within the area.")] - public class GetNextOverlapArea2d : FsmStateAction - { - [ActionSection("Setup")] - - [Tooltip("First corner of the rectangle area using the game object position. \nOr use firstCornerPosition parameter.")] - public FsmOwnerDefault firstCornerGameObject; - - [Tooltip("First Corner of the rectangle area as a world position. \nOr use FirstCornerGameObject parameter. If both define, will add firstCornerPosition to the FirstCornerGameObject position")] - public FsmVector2 firstCornerPosition; - - - [Tooltip("Second corner of the rectangle area using the game object position. \nOr use secondCornerPosition parameter.")] - public FsmGameObject secondCornerGameObject; - - [Tooltip("Second Corner rectangle area as a world position. \nOr use SecondCornerGameObject parameter. If both define, will add secondCornerPosition to the SecondCornerGameObject position")] - public FsmVector2 secondCornerPosition; - - [Tooltip("Only include objects with a Z coordinate (depth) greater than this value. leave to none for no effect")] - public FsmInt minDepth; - - [Tooltip("Only include objects with a Z coordinate (depth) less than this value. leave to none")] - public FsmInt maxDepth; - - [Tooltip("If you want to reset the iteration, raise this flag to true when you enter the state, it will indicate you want to start from the beginning again")] - [UIHint(UIHint.Variable)] - public FsmBool resetFlag; - - [ActionSection("Filter")] - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - - [ActionSection("Result")] - - [Tooltip("Store the number of colliders found for this overlap.")] - [UIHint(UIHint.Variable)] - public FsmInt collidersCount; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the next collider in a GameObject variable.")] - public FsmGameObject storeNextCollider; - - [Tooltip("Event to send to get the next collider.")] - public FsmEvent loopEvent; - - [Tooltip("Event to send when there are no more colliders to iterate.")] - public FsmEvent finishedEvent; - - - private Collider2D[] colliders; - - private int colliderCount; - - // increment a child index as we loop through children - private int nextColliderIndex; - - public override void Reset() - { - firstCornerGameObject = null; - firstCornerPosition = new FsmVector2 { UseVariable = true }; - - secondCornerGameObject = null; - secondCornerPosition = new FsmVector2 { UseVariable = true }; - - minDepth = new FsmInt { UseVariable = true }; - maxDepth = new FsmInt { UseVariable = true }; - - layerMask = new FsmInt[0]; - invertMask = false; - resetFlag = null; - collidersCount = null; - storeNextCollider = null; - loopEvent = null; - finishedEvent = null; - } - - public override void OnEnter() - { - if (colliders == null || resetFlag.Value) - { - nextColliderIndex = 0; - colliders = GetOverlapAreaAll(); - colliderCount = colliders.Length; - collidersCount.Value = colliderCount; - resetFlag.Value = false; - } - - DoGetNextCollider(); - - Finish(); - - } - - private void DoGetNextCollider() - { - - // no more colliders? - // check first to avoid errors. - - if (nextColliderIndex >= colliderCount) - { - nextColliderIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // get next collider - - storeNextCollider.Value = colliders[nextColliderIndex].gameObject; - - - // no more colliders? - // check a second time to avoid process lock and possible infinite loop if the action is called again. - // Practically, this enabled calling again this state and it will start again iterating from the first child. - - if (nextColliderIndex >= colliderCount) - { - colliders = null; - nextColliderIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // iterate the next collider - nextColliderIndex++; - - if (loopEvent != null) - { - Fsm.Event(loopEvent); - } - } - - - private Collider2D[] GetOverlapAreaAll() - { - var firstGo = Fsm.GetOwnerDefaultTarget(firstCornerGameObject); - - var firstCornerPos = firstCornerPosition.Value; - - if (firstGo!=null) - { - firstCornerPos.x += firstGo.transform.position.x; - firstCornerPos.y += firstGo.transform.position.y; - } - - var secondGo = secondCornerGameObject.Value; - - var secondCornerPos = secondCornerPosition.Value; - - if (secondGo!=null) - { - secondCornerPos.x += secondGo.transform.position.x; - secondCornerPos.y += secondGo.transform.position.y; - } - - if (minDepth.IsNone && maxDepth.IsNone) - { - return Physics2D.OverlapAreaAll(firstCornerPos,secondCornerPos,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - }else{ - var _minDepth = minDepth.IsNone? Mathf.NegativeInfinity:minDepth.Value; - var _maxDepth = maxDepth.IsNone? Mathf.Infinity:maxDepth.Value; - return Physics2D.OverlapAreaAll(firstCornerPos,secondCornerPos,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value),_minDepth,_maxDepth); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapArea2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapArea2d.cs.meta deleted file mode 100644 index d05c762ce..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapArea2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c018c087b7b4a4ef3a62da064be8c749 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapCircle2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapCircle2d.cs deleted file mode 100644 index ed7068ef4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapCircle2d.cs +++ /dev/null @@ -1,169 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Iterate through a list of all colliders that fall within a circular area." + - "The colliders iterated are sorted in order of increasing Z coordinate. No iteration will take place if there are no colliders within the area.")] - public class GetNextOverlapCircle2d: FsmStateAction - { - [ActionSection("Setup")] - - [Tooltip("Center of the circle area. \nOr use From Position parameter.")] - public FsmOwnerDefault fromGameObject; - - [Tooltip("CEnter of the circle area as a world position. \nOr use fromGameObject parameter. If both define, will add fromPosition to the fromGameObject position")] - public FsmVector2 fromPosition; - - [Tooltip("The circle radius")] - public FsmFloat radius; - - [Tooltip("Only include objects with a Z coordinate (depth) greater than this value. leave to none for no effect")] - public FsmInt minDepth; - - [Tooltip("Only include objects with a Z coordinate (depth) less than this value. leave to none")] - public FsmInt maxDepth; - - [Tooltip("If you want to reset the iteration, raise this flag to true when you enter the state, it will indicate you want to start from the beginning again")] - [UIHint(UIHint.Variable)] - public FsmBool resetFlag; - - [ActionSection("Filter")] - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - - [ActionSection("Result")] - - [Tooltip("Store the number of colliders found for this overlap.")] - [UIHint(UIHint.Variable)] - public FsmInt collidersCount; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the next collider in a GameObject variable.")] - public FsmGameObject storeNextCollider; - - [Tooltip("Event to send to get the next collider.")] - public FsmEvent loopEvent; - - [Tooltip("Event to send when there are no more colliders to iterate.")] - public FsmEvent finishedEvent; - - - private Collider2D[] colliders; - - private int colliderCount; - - // increment an index as we loop through children - private int nextColliderIndex; - - public override void Reset() - { - fromGameObject = null; - fromPosition = new FsmVector2 { UseVariable = true }; - - radius = 10; - - minDepth = new FsmInt { UseVariable = true }; - maxDepth = new FsmInt { UseVariable = true }; - - layerMask = new FsmInt[0]; - invertMask = false; - resetFlag = null; - collidersCount = null; - storeNextCollider = null; - loopEvent = null; - finishedEvent = null; - } - - public override void OnEnter() - { - if (colliders == null || resetFlag.Value) - { - nextColliderIndex = 0; - colliders = GetOverlapCircleAll(); - colliderCount = colliders.Length; - collidersCount.Value = colliderCount; - resetFlag.Value = false; - } - - DoGetNextCollider(); - - Finish(); - - } - - private void DoGetNextCollider() - { - - // no more colliders? - // check first to avoid errors. - - if (nextColliderIndex >= colliderCount) - { - nextColliderIndex = 0; - colliders = null; - Fsm.Event(finishedEvent); - return; - } - - // get next collider - - storeNextCollider.Value = colliders[nextColliderIndex].gameObject; - - - // no more colliders? - // check a second time to avoid process lock and possible infinite loop if the action is called again. - // Practically, this enabled calling again this state and it will start again iterating from the first child. - - if (nextColliderIndex >= colliderCount) - { - colliders = null; - nextColliderIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // iterate the next collider - nextColliderIndex++; - - if (loopEvent != null) - { - Fsm.Event(loopEvent); - } - } - - - private Collider2D[] GetOverlapCircleAll() - { - var fromGo = Fsm.GetOwnerDefaultTarget(fromGameObject); - - var fromPos = fromPosition.Value; - - if (fromGo!=null) - { - fromPos.x += fromGo.transform.position.x; - fromPos.y += fromGo.transform.position.y; - } - - - if (minDepth.IsNone && maxDepth.IsNone) - { - return Physics2D.OverlapCircleAll(fromPos,radius.Value,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - } - - var _minDepth = minDepth.IsNone? Mathf.NegativeInfinity:minDepth.Value; - var _maxDepth = maxDepth.IsNone? Mathf.Infinity:maxDepth.Value; - return Physics2D.OverlapCircleAll(fromPos,radius.Value,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value),_minDepth,_maxDepth); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapCircle2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapCircle2d.cs.meta deleted file mode 100644 index 6eeb68284..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapCircle2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 53e4c920ba9794755b18dd5cca83846b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapPoint2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapPoint2d.cs deleted file mode 100644 index c16cd893f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapPoint2d.cs +++ /dev/null @@ -1,164 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Iterate through a list of all colliders that overlap a point in space." + - "The colliders iterated are sorted in order of increasing Z coordinate. No iteration will take place if there are no colliders overlap this point.")] - public class GetNextOverlapPoint2d : FsmStateAction - { - [ActionSection("Setup")] - - [Tooltip("Point using the gameObject position. \nOr use From Position parameter.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Point as a world position. \nOr use gameObject parameter. If both define, will add position to the gameObject position")] - public FsmVector2 position; - - [Tooltip("Only include objects with a Z coordinate (depth) greater than this value. leave to none for no effect")] - public FsmInt minDepth; - - [Tooltip("Only include objects with a Z coordinate (depth) less than this value. leave to none")] - public FsmInt maxDepth; - - [Tooltip("If you want to reset the iteration, raise this flag to true when you enter the state, it will indicate you want to start from the beginning again")] - [UIHint(UIHint.Variable)] - public FsmBool resetFlag; - - [ActionSection("Filter")] - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - - [ActionSection("Result")] - - [Tooltip("Store the number of colliders found for this overlap.")] - [UIHint(UIHint.Variable)] - public FsmInt collidersCount; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the next collider in a GameObject variable.")] - public FsmGameObject storeNextCollider; - - [Tooltip("Event to send to get the next collider.")] - public FsmEvent loopEvent; - - [Tooltip("Event to send when there are no more colliders to iterate.")] - public FsmEvent finishedEvent; - - - private Collider2D[] colliders; - - private int colliderCount; - - // increment an index as we loop through children - private int nextColliderIndex; - - public override void Reset() - { - gameObject = null; - position = new FsmVector2 { UseVariable = true }; - - minDepth = new FsmInt { UseVariable = true }; - maxDepth = new FsmInt { UseVariable = true }; - - layerMask = new FsmInt[0]; - invertMask = false; - resetFlag = null; - collidersCount = null; - storeNextCollider = null; - loopEvent = null; - finishedEvent = null; - } - - public override void OnEnter() - { - if (colliders == null || resetFlag.Value) - { - nextColliderIndex = 0; - colliders = GetOverlapPointAll(); - colliderCount = colliders.Length; - collidersCount.Value = colliderCount; - resetFlag.Value = false; - } - - DoGetNextCollider(); - - Finish(); - - } - - private void DoGetNextCollider() - { - - // no more colliders? - // check first to avoid errors. - - if (nextColliderIndex >= colliderCount) - { - nextColliderIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // get next collider - - storeNextCollider.Value = colliders[nextColliderIndex].gameObject; - - - // no more colliders? - // check a second time to avoid process lock and possible infinite loop if the action is called again. - // Practically, this enabled calling again this state and it will start again iterating from the first child. - - if (nextColliderIndex >= colliderCount) - { - colliders = null; - nextColliderIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // iterate the next collider - nextColliderIndex++; - - if (loopEvent != null) - { - Fsm.Event(loopEvent); - } - } - - - private Collider2D[] GetOverlapPointAll() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - var pos = position.Value; - - if (go!=null) - { - pos.x += go.transform.position.x; - pos.y += go.transform.position.y; - } - - - if (minDepth.IsNone && maxDepth.IsNone) - { - return Physics2D.OverlapPointAll(pos,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - }else{ - var _minDepth = minDepth.IsNone? Mathf.NegativeInfinity:minDepth.Value; - var _maxDepth = maxDepth.IsNone? Mathf.Infinity:maxDepth.Value; - return Physics2D.OverlapPointAll(pos,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value),_minDepth,_maxDepth); - } - } - - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapPoint2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapPoint2d.cs.meta deleted file mode 100644 index cd93494dd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextOverlapPoint2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a5fdbda89cf314991b58ea3e6b4eee19 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextRayCast2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextRayCast2d.cs deleted file mode 100644 index e0f81ed47..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextRayCast2d.cs +++ /dev/null @@ -1,223 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Iterate through a list of all colliders detected by a RayCast" + - "The colliders iterated are sorted in order of increasing Z coordinate. No iteration will take place if there are no colliders within the area.")] - public class GetNextRayCast2d: FsmStateAction - { - [ActionSection("Setup")] - - [Tooltip("Start ray at game object position. \nOr use From Position parameter.")] - public FsmOwnerDefault fromGameObject; - - [Tooltip("Start ray at a vector2 world position. \nOr use Game Object parameter.")] - public FsmVector2 fromPosition; - - [Tooltip("A vector2 direction vector")] - public FsmVector2 direction; - - [Tooltip("Cast the ray in world or local space. Note if no Game Object is specified, the direction is in world space.")] - public Space space; - - [Tooltip("The length of the ray. Set to -1 for infinity.")] - public FsmFloat distance; - - [Tooltip("Only include objects with a Z coordinate (depth) greater than this value. leave to none for no effect")] - public FsmInt minDepth; - - [Tooltip("Only include objects with a Z coordinate (depth) less than this value. leave to none")] - public FsmInt maxDepth; - - [Tooltip("If you want to reset the iteration, raise this flag to true when you enter the state, it will indicate you want to start from the beginning again")] - [UIHint(UIHint.Variable)] - public FsmBool resetFlag; - - [ActionSection("Filter")] - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [ActionSection("Result")] - - [Tooltip("Store the number of colliders found for this overlap.")] - [UIHint(UIHint.Variable)] - public FsmInt collidersCount; - - - [UIHint(UIHint.Variable)] - [Tooltip("Store the next collider in a GameObject variable.")] - public FsmGameObject storeNextCollider; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the 2d position of the next ray hit point and store it in a variable.")] - public FsmVector2 storeNextHitPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the 2d normal at the next hit point and store it in a variable.")] - public FsmVector2 storeNextHitNormal; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the distance along the ray to the next hit point and store it in a variable.")] - public FsmFloat storeNextHitDistance; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the fraction along the ray to the hit point and store it in a variable. If the ray's direction vector is normalized then this value is simply the distance between the origin and the hit point. If the direction is not normalized then this distance is expressed as a 'fraction' (which could be greater than 1) of the vector's magnitude.")] - public FsmFloat storeNextHitFraction; - - [Tooltip("Event to send to get the next collider.")] - public FsmEvent loopEvent; - - [Tooltip("Event to send when there are no more colliders to iterate.")] - public FsmEvent finishedEvent; - - - private RaycastHit2D[] hits; - - private int colliderCount; - - // increment an index as we loop through children - private int nextColliderIndex; - - public override void Reset() - { - fromGameObject = null; - fromPosition = new FsmVector2 { UseVariable = true }; - - direction = new FsmVector2 { UseVariable = true }; - - space = Space.Self; - - minDepth = new FsmInt { UseVariable = true }; - maxDepth = new FsmInt { UseVariable = true }; - - layerMask = new FsmInt[0]; - invertMask = false; - resetFlag = null; - collidersCount = null; - storeNextCollider = null; - storeNextHitPoint = null; - storeNextHitNormal = null; - storeNextHitDistance = null; - storeNextHitFraction = null; - loopEvent = null; - finishedEvent = null; - } - - public override void OnEnter() - { - if (hits == null || resetFlag.Value) - { - nextColliderIndex = 0; - hits = GetRayCastAll(); - colliderCount = hits.Length; - collidersCount.Value = colliderCount; - resetFlag.Value = false; - } - - DoGetNextCollider(); - - Finish(); - - } - - private void DoGetNextCollider() - { - - // no more colliders? - // check first to avoid errors. - - if (nextColliderIndex >= colliderCount) - { - hits = null; - nextColliderIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // get next collider - Fsm.RecordLastRaycastHit2DInfo(Fsm, hits[nextColliderIndex]); - storeNextCollider.Value = hits[nextColliderIndex].collider.gameObject; - storeNextHitPoint.Value = hits[nextColliderIndex].point; - storeNextHitNormal.Value = hits[nextColliderIndex].normal; - storeNextHitDistance.Value = hits[nextColliderIndex].distance; - storeNextHitFraction.Value = hits[nextColliderIndex].fraction; - - // no more colliders? - // check a second time to avoid process lock and possible infinite loop if the action is called again. - // Practically, this enabled calling again this state and it will start again iterating from the first child. - - if (nextColliderIndex >= colliderCount) - { - hits = new RaycastHit2D[0]; - nextColliderIndex = 0; - Fsm.Event(finishedEvent); - return; - } - - // iterate the next collider - nextColliderIndex++; - - if (loopEvent != null) - { - Fsm.Event(loopEvent); - } - } - - - private RaycastHit2D[] GetRayCastAll() - { - if (Math.Abs(distance.Value) < Mathf.Epsilon) - { - return new RaycastHit2D[0]; - } - - var go = Fsm.GetOwnerDefaultTarget(fromGameObject); - - var originPos = fromPosition.Value; - - if (go!=null) - { - originPos.x += go.transform.position.x; - originPos.y += go.transform.position.y; - } - - var rayLength = Mathf.Infinity; - if (distance.Value > 0 ) - { - rayLength = distance.Value; - } - - var dirVector2 = direction.Value.normalized; // normalized to get the proper distance later using fraction from the rayCastHitinfo. - - if(go != null && space == Space.Self) - { - - var dirVector = go.transform.TransformDirection(new Vector3(direction.Value.x,direction.Value.y,0f)); - dirVector2.x = dirVector.x; - dirVector2.y = dirVector.y; - } - - if (minDepth.IsNone && maxDepth.IsNone) - { - return Physics2D.RaycastAll(originPos,dirVector2,rayLength,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - }else{ - var _minDepth = minDepth.IsNone? Mathf.NegativeInfinity : minDepth.Value; - var _maxDepth = maxDepth.IsNone? Mathf.Infinity : maxDepth.Value; - return Physics2D.RaycastAll(originPos,dirVector2,rayLength,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value),_minDepth,_maxDepth); - } - - - } - - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextRayCast2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextRayCast2d.cs.meta deleted file mode 100644 index eb35786a4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetNextRayCast2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 58c2549eaa2174377a282d8c32fc1a35 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetRayCastHit2dInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetRayCastHit2dInfo.cs deleted file mode 100644 index cb590c166..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetRayCastHit2dInfo.cs +++ /dev/null @@ -1,65 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Gets info on the last 2d Raycast or LineCast and store in variables.")] - public class GetRayCastHit2dInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Get the GameObject hit by the last Raycast and store it in a variable.")] - public FsmGameObject gameObjectHit; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the world position of the ray hit point and store it in a variable.")] - [Title("Hit Point")] - public FsmVector2 point; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the normal at the hit point and store it in a variable.")] - public FsmVector3 normal; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the distance along the ray to the hit point and store it in a variable.")] - public FsmFloat distance; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObjectHit = null; - point = null; - normal = null; - distance = null; - everyFrame = false; - } - - public override void OnEnter() - { - StoreRaycastInfo(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - StoreRaycastInfo(); - } - - private void StoreRaycastInfo() - { - var _info = Fsm.GetLastRaycastHit2DInfo(Fsm); - if (_info.collider != null) - { - gameObjectHit.Value = _info.collider.gameObject; - point.Value = _info.point; - normal.Value = _info.normal; - distance.Value = _info.fraction; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetRayCastHit2dInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetRayCastHit2dInfo.cs.meta deleted file mode 100644 index 9a82980ad..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetRayCastHit2dInfo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b2e6f1fa5f4be42e58970f5beda35efc -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetSpeed2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetSpeed2d.cs deleted file mode 100644 index c71000df2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetSpeed2d.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Gets the 2d Speed of a Game Object and stores it in a Float Variable. NOTE: The Game Object must have a rigid body 2D.")] - public class GetSpeed2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with the Rigidbody2D attached")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The speed, or in technical terms: velocity magnitude")] - public FsmFloat storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetSpeed(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetSpeed(); - } - - void DoGetSpeed() - { - if (storeResult.IsNone) return; - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - storeResult.Value = rigidbody2d.linearVelocity.magnitude; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetSpeed2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetSpeed2d.cs.meta deleted file mode 100644 index a57c07b85..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetSpeed2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 75c2e65656a6142e19b0a37ad0ed8611 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetTrigger2dInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetTrigger2dInfo.cs deleted file mode 100644 index 9327d33b6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetTrigger2dInfo.cs +++ /dev/null @@ -1,46 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Gets info on the last Trigger 2d event and store in variables. See Unity and PlayMaker docs on Unity 2D physics.")] - public class GetTrigger2dInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Get the GameObject hit.")] - public FsmGameObject gameObjectHit; - - [UIHint(UIHint.Variable)] - [Tooltip("The number of separate shaped regions in the collider.")] - public FsmInt shapeCount; - - [UIHint(UIHint.Variable)] - [Tooltip("Useful for triggering different effects. Audio, particles...")] - public FsmString physics2dMaterialName; - - public override void Reset() - { - gameObjectHit = null; - shapeCount = null; - physics2dMaterialName = null; - } - - void StoreTriggerInfo() - { - if (Fsm.TriggerCollider2D == null) return; - - gameObjectHit.Value = Fsm.TriggerCollider2D.gameObject; - shapeCount.Value = Fsm.TriggerCollider2D.shapeCount; - physics2dMaterialName.Value = Fsm.TriggerCollider2D.sharedMaterial != null ? Fsm.TriggerCollider2D.sharedMaterial.name : ""; - } - - public override void OnEnter() - { - StoreTriggerInfo(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetTrigger2dInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetTrigger2dInfo.cs.meta deleted file mode 100644 index 1df82d84f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetTrigger2dInfo.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4720828ffbc044f9aad6b1b164bc38eb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetVelocity2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetVelocity2d.cs deleted file mode 100644 index c651bc9d7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetVelocity2d.cs +++ /dev/null @@ -1,80 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Gets the 2d Velocity of a Game Object and stores it in a Vector2 Variable or each Axis in a Float Variable. NOTE: The Game Object must have a Rigid Body 2D.")] - public class GetVelocity2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with the Rigidbody2D attached")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("The velocity")] - public FsmVector2 vector; - - [UIHint(UIHint.Variable)] - [Tooltip("The x value of the velocity")] - public FsmFloat x; - - [UIHint(UIHint.Variable)] - [Tooltip("The y value of the velocity")] - public FsmFloat y; - - [Tooltip("The space reference to express the velocity")] - public Space space; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - vector = null; - x = null; - y = null; - - space = Space.World; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetVelocity(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetVelocity(); - } - - void DoGetVelocity() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var velocity = rigidbody2d.linearVelocity; - - if (space == Space.Self) - { - velocity = rigidbody2d.transform.InverseTransformDirection(velocity); - } - - vector.Value = velocity; - x.Value = velocity.x; - y.Value = velocity.y; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetVelocity2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetVelocity2d.cs.meta deleted file mode 100644 index 701b73601..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/GetVelocity2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c6c7f18245c1945cd87f8f62e48df25f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsFixedAngle2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsFixedAngle2d.cs deleted file mode 100644 index 7ea730e1e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsFixedAngle2d.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - #pragma warning disable 618 - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Is the rigidbody2D constrained from rotating?" + - "Note: Prefer SetRigidBody2dConstraints when working in Unity 5")] - public class IsFixedAngle2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with the Rigidbody2D attached")] - public FsmOwnerDefault gameObject; - - [Tooltip("Event sent if the Rigidbody2D does have fixed angle")] - public FsmEvent trueEvent; - - [Tooltip("Event sent if the Rigidbody2D doesn't have fixed angle")] - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the fixedAngle flag")] - public FsmBool store; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - trueEvent = null; - falseEvent = null; - store = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoIsFixedAngle(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoIsFixedAngle(); - } - - void DoIsFixedAngle() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - bool isfixedAngle = false; - - #if UNITY_5_3_5 || UNITY_5_4_OR_NEWER - isfixedAngle = (rigidbody2d.constraints & RigidbodyConstraints2D.FreezeRotation) != 0; - #else - isfixedAngle = rigidbody2d.fixedAngle; - #endif - - store.Value = isfixedAngle; - - Fsm.Event(isfixedAngle ? trueEvent : falseEvent); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsFixedAngle2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsFixedAngle2d.cs.meta deleted file mode 100644 index e4c195bda..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsFixedAngle2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 13aca478d9cc64a5998d7c7f459f5016 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsKinematic2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsKinematic2d.cs deleted file mode 100644 index db9661bc6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsKinematic2d.cs +++ /dev/null @@ -1,69 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Tests if a Game Object's Rigid Body 2D is Kinematic.")] - public class IsKinematic2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("the GameObject with a Rigidbody2D attached")] - public FsmOwnerDefault gameObject; - - [Tooltip("Event Sent if Kinematic")] - public FsmEvent trueEvent; - - [Tooltip("Event sent if not Kinematic")] - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the Kinematic state")] - public FsmBool store; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - trueEvent = null; - falseEvent = null; - store = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoIsKinematic(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoIsKinematic(); - } - - void DoIsKinematic() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var isKinematic = rigidbody2d.isKinematic; - store.Value = isKinematic; - - Fsm.Event(isKinematic ? trueEvent : falseEvent); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsKinematic2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsKinematic2d.cs.meta deleted file mode 100644 index ca0d98c75..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsKinematic2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3326f7bf3c61f489ba5b2a7a817bd9bd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsSleeping2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsSleeping2d.cs deleted file mode 100644 index a4dc5a7d0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsSleeping2d.cs +++ /dev/null @@ -1,69 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Tests if a Game Object's Rigidbody 2D is sleeping.")] - public class IsSleeping2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with the Rigidbody2D attached")] - public FsmOwnerDefault gameObject; - - [Tooltip("Event sent if sleeping")] - public FsmEvent trueEvent; - - [Tooltip("Event sent if not sleeping")] - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the value in a Boolean variable")] - public FsmBool store; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - trueEvent = null; - falseEvent = null; - store = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoIsSleeping(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoIsSleeping(); - } - - void DoIsSleeping() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - var isSleeping = rigidbody2d.IsSleeping(); - store.Value = isSleeping; - - Fsm.Event(isSleeping ? trueEvent : falseEvent); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsSleeping2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsSleeping2d.cs.meta deleted file mode 100644 index 5c315cc10..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/IsSleeping2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 9ad0f181793d744abbfb5f25ef0cf183 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LineCast2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LineCast2d.cs deleted file mode 100644 index 592fd00fd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LineCast2d.cs +++ /dev/null @@ -1,197 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Casts a Ray against all Colliders in the scene." + - "A linecast is an imaginary line between two points in world space. Any object making contact with the beam can be detected and reported. This differs from the similar raycast in that raycasting specifies the line using an origin and direction." + - "Use GetRaycastHit2dInfo to get more detailed info.")] - public class LineCast2d : FsmStateAction - { - [ActionSection("Setup")] - - [Tooltip("Start ray at game object position. \nOr use From Position parameter.")] - public FsmOwnerDefault fromGameObject; - - [Tooltip("Start ray at a vector2 world position. \nOr use fromGameObject parameter. If both define, will add fromPosition to the fromGameObject position")] - public FsmVector2 fromPosition; - - [Tooltip("End ray at game object position. \nOr use From Position parameter.")] - public FsmGameObject toGameObject; - - [Tooltip("End ray at a vector2 world position. \nOr use fromGameObject parameter. If both define, will add toPosition to the ToGameObject position")] - public FsmVector2 toPosition; - - [Tooltip("Only include objects with a Z coordinate (depth) greater than this value. leave to none for no effect")] - public FsmInt minDepth; - - [Tooltip("Only include objects with a Z coordinate (depth) less than this value. leave to none")] - public FsmInt maxDepth; - - [ActionSection("Result")] - - [Tooltip("Event to send if the ray hits an object.")] - [UIHint(UIHint.Variable)] - public FsmEvent hitEvent; - - [Tooltip("Set a bool variable to true if hit something, otherwise false.")] - [UIHint(UIHint.Variable)] - public FsmBool storeDidHit; - - [Tooltip("Store the game object hit in a variable.")] - [UIHint(UIHint.Variable)] - public FsmGameObject storeHitObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the 2d position of the ray hit point and store it in a variable.")] - public FsmVector2 storeHitPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the 2d normal at the hit point and store it in a variable.")] - public FsmVector2 storeHitNormal; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the distance along the ray to the hit point and store it in a variable.")] - public FsmFloat storeHitDistance; - - [ActionSection("Filter")] - - [Tooltip("Set how often to cast a ray. 0 = once, don't repeat; 1 = everyFrame; 2 = every other frame... \nSince raycasts can get expensive use the highest repeat interval you can get away with.")] - public FsmInt repeatInterval; - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [ActionSection("Debug")] - - [Tooltip("The color to use for the debug line.")] - public FsmColor debugColor; - - [Tooltip("Draw a debug line. Note: Check Gizmos in the Game View to see it in game.")] - public FsmBool debug; - - - private Transform _fromTrans; - private Transform _toTrans; - - private int repeat; - - public override void Reset() - { - fromGameObject = null; - fromPosition = new FsmVector2 { UseVariable = true }; - - toGameObject = null; - toPosition = new FsmVector2 { UseVariable = true }; - - hitEvent = null; - storeDidHit = null; - storeHitObject = null; - storeHitPoint = null; - storeHitNormal = null; - storeHitDistance = null; - repeatInterval = 1; - layerMask = new FsmInt[0]; - invertMask = false; - debugColor = Color.yellow; - debug = false; - } - - public override void OnEnter() - { - var fromGo = Fsm.GetOwnerDefaultTarget(fromGameObject); - if (fromGo!=null) - { - _fromTrans = fromGo.transform; - } - - var toGo = toGameObject.Value; - if (toGo!=null) - { - _toTrans = toGo.transform; - } - - DoRaycast(); - - if (repeatInterval.Value == 0) - { - Finish(); - } - } - - public override void OnUpdate() - { - repeat--; - - if (repeat == 0) - { - DoRaycast(); - } - } - - private void DoRaycast() - { - repeat = repeatInterval.Value; - - var fromPos = fromPosition.Value; - - if (_fromTrans!=null) - { - fromPos.x += _fromTrans.position.x; - fromPos.y += _fromTrans.position.y; - } - - var toPos = toPosition.Value; - - if (_toTrans!=null) - { - toPos.x += _toTrans.position.x; - toPos.y += _toTrans.position.y; - } - - - RaycastHit2D hitInfo; - - if (minDepth.IsNone && maxDepth.IsNone) - { - hitInfo = Physics2D.Linecast(fromPos,toPos,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - } - else - { - var _minDepth = minDepth.IsNone? Mathf.NegativeInfinity : minDepth.Value; - var _maxDepth = maxDepth.IsNone? Mathf.Infinity : maxDepth.Value; - hitInfo = Physics2D.Linecast(fromPos,toPos,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value),_minDepth,_maxDepth); - } - - Fsm.RecordLastRaycastHit2DInfo(Fsm,hitInfo); - - var didHit = hitInfo.collider != null; - - storeDidHit.Value = didHit; - - if (didHit) - { - storeHitObject.Value = hitInfo.collider.gameObject; - storeHitPoint.Value = hitInfo.point; - storeHitNormal.Value = hitInfo.normal; - storeHitDistance.Value = hitInfo.fraction; - Fsm.Event(hitEvent); - } - - if (debug.Value) - { - var start = new Vector3(fromPos.x,fromPos.y,0); - var end = new Vector3(toPos.x,toPos.y,0); - - Debug.DrawLine(start,end, debugColor.Value); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LineCast2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LineCast2d.cs.meta deleted file mode 100644 index b4af17a9a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LineCast2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: fa8453cad78b5434b80dc68fef4c5512 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2d.cs deleted file mode 100644 index 9b55d1cd4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2d.cs +++ /dev/null @@ -1,91 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. -// original action created by collidernyc: http://hutonggames.com/playmakerforum/index.php?topic=7075.msg37373#msg37373 - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Rotates a 2d Game Object on it's z axis so its forward vector points at a 2d or 3d position.")] - public class LookAt2d : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to rotate.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The 2d position to Look At.")] - public FsmVector2 vector2Target; - - [Tooltip("The 3d position to Look At. If not set to none, will be added to the 2d target")] - public FsmVector3 vector3Target; - - [Tooltip("Set the GameObject starting offset. In degrees. 0 if your object is facing right, 180 if facing left etc...")] - public FsmFloat rotationOffset; - - [Title("Draw Debug Line")] - [Tooltip("Draw a debug line from the GameObject to the Target.")] - public FsmBool debug; - - [Tooltip("Color to use for the debug line.")] - public FsmColor debugLineColor; - - [Tooltip("Repeat every frame.")] - public bool everyFrame = true; - - public override void Reset() - { - gameObject = null; - - vector2Target = null; - vector3Target = new FsmVector3() {UseVariable=true}; - - debug = false; - debugLineColor = Color.green; - everyFrame = true; - } - - public override void OnEnter() - { - DoLookAt(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoLookAt(); - } - - void DoLookAt() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var target = new Vector3(vector2Target.Value.x,vector2Target.Value.y,0f); - if (!vector3Target.IsNone) - { - target += vector3Target.Value; - } - - var diff = target - go.transform.position; - diff.Normalize(); - - - var rot_z = Mathf.Atan2(diff.y, diff.x) * Mathf.Rad2Deg; - go.transform.rotation = Quaternion.Euler(0f, 0f, rot_z - rotationOffset.Value); - - if (debug.Value) - { - Debug.DrawLine(go.transform.position, target, debugLineColor.Value); - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2d.cs.meta deleted file mode 100644 index b5c95bead..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d4400294ba87f4057a2bc118f8ec8ca2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2dGameObject.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2dGameObject.cs deleted file mode 100644 index 4ec469740..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2dGameObject.cs +++ /dev/null @@ -1,83 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. -// original action created by collidernyc: http://hutonggames.com/playmakerforum/index.php?topic=7075.msg37373#msg37373 - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Rotates a 2d Game Object on it's z axis so its forward vector points at a Target.")] - public class LookAt2dGameObject : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to rotate.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The GameObject to Look At.")] - public FsmGameObject targetObject; - - [Tooltip("Set the GameObject starting offset. In degrees. 0 if your object is facing right, 180 if facing left etc...")] - public FsmFloat rotationOffset; - - [Title("Draw Debug Line")] - [Tooltip("Draw a debug line from the GameObject to the Target.")] - public FsmBool debug; - - [Tooltip("Color to use for the debug line.")] - public FsmColor debugLineColor; - - [Tooltip("Repeat every frame.")] - public bool everyFrame = true; - - private GameObject go; - private GameObject goTarget; - - public override void Reset() - { - gameObject = null; - targetObject = null; - debug = false; - debugLineColor = Color.green; - everyFrame = true; - } - - public override void OnEnter() - { - DoLookAt(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoLookAt(); - } - - void DoLookAt() - { - go = Fsm.GetOwnerDefaultTarget(gameObject); - goTarget = targetObject.Value; - - if (go == null || targetObject == null) - { - return; - } - - var diff = goTarget.transform.position - go.transform.position; - diff.Normalize(); - - var rot_z = Mathf.Atan2(diff.y, diff.x) * Mathf.Rad2Deg; - go.transform.rotation = Quaternion.Euler(0f, 0f, rot_z - rotationOffset.Value); - - if (debug.Value) - { - Debug.DrawLine(go.transform.position, goTarget.transform.position, debugLineColor.Value); - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2dGameObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2dGameObject.cs.meta deleted file mode 100644 index 91b88f973..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/LookAt2dGameObject.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 15bd8590a698546aab33e8cd4ec9006b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2d.cs deleted file mode 100644 index 8a863624d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2d.cs +++ /dev/null @@ -1,83 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Perform a Mouse Pick on a 2d scene and stores the results. Use Ray Distance to set how close the camera must be to pick the 2d object.")] - public class MousePick2d : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Store if a GameObject was picked in a Bool variable. True if a GameObject was picked, otherwise false.")] - public FsmBool storeDidPickObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the picked GameObject in a variable.")] - public FsmGameObject storeGameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the picked point in a variable.")] - public FsmVector2 storePoint; - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - storeDidPickObject = null; - storeGameObject = null; - storePoint = null; - layerMask = new FsmInt[0]; - invertMask = false; - everyFrame = false; - } - - public override void OnEnter() - { - DoMousePick2d(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoMousePick2d(); - } - - void DoMousePick2d() - { - - var hitInfo = Physics2D.GetRayIntersection( - Camera.main.ScreenPointToRay(Input.mousePosition), - Mathf.Infinity, - ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - - var didPick = hitInfo.collider != null; - storeDidPickObject.Value = didPick; - - if (didPick) - { - storeGameObject.Value = hitInfo.collider.gameObject; - storePoint.Value = hitInfo.point; - } - else - { - // TODO: not sure if this is the right strategy... - storeGameObject.Value = null; - storePoint.Value = Vector3.zero; - } - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2d.cs.meta deleted file mode 100644 index 00d851fe9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: da62defbd3fe34f0d979fbf900a1a9ba -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2dEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2dEvent.cs deleted file mode 100644 index 565dd6a5f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2dEvent.cs +++ /dev/null @@ -1,118 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Sends Events based on mouse interactions with a 2d Game Object: MouseOver, MouseDown, MouseUp, MouseOff.")] - public class MousePick2dEvent : FsmStateAction - { - [CheckForComponent(typeof(Collider2D))] - [Tooltip("The GameObject with a Collider2D attached.")] - public FsmOwnerDefault GameObject; - - [Tooltip("Event to send when the mouse is over the GameObject.")] - public FsmEvent mouseOver; - - [Tooltip("Event to send when the mouse is pressed while over the GameObject.")] - public FsmEvent mouseDown; - - [Tooltip("Event to send when the mouse is released while over the GameObject.")] - public FsmEvent mouseUp; - - [Tooltip("Event to send when the mouse moves off the GameObject.")] - public FsmEvent mouseOff; - - [Tooltip("Pick only from these layers.")] - [UIHint(UIHint.Layer)] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - GameObject = null; - mouseOver = null; - mouseDown = null; - mouseUp = null; - mouseOff = null; - layerMask = new FsmInt[0]; - invertMask = false; - everyFrame = true; - } - - public override void OnEnter() - { - DoMousePickEvent(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoMousePickEvent(); - } - - void DoMousePickEvent() - { - // Do the raycast - - var isMouseOver = DoRaycast(); - - // Send events based on the raycast and mouse buttons - - if (isMouseOver) - { - if (mouseDown != null && Input.GetMouseButtonDown(0)) - { - Fsm.Event(mouseDown); - } - - if (mouseOver != null) - { - Fsm.Event(mouseOver); - } - - if (mouseUp != null &&Input.GetMouseButtonUp(0)) - { - Fsm.Event(mouseUp); - } - } - else - { - if (mouseOff != null) - { - Fsm.Event(mouseOff); - } - } - } - - bool DoRaycast() - { - var testObject = GameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : GameObject.GameObject.Value; - - // ActionHelpers uses a cache to try and minimize Raycasts - var hitInfo = Physics2D.GetRayIntersection(Camera.main.ScreenPointToRay(Input.mousePosition),Mathf.Infinity,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - - // Store mouse pick info so it can be seen by Get Raycast Hit Info action - Fsm.RecordLastRaycastHit2DInfo(Fsm,hitInfo); - - if (hitInfo.transform != null) - { - if (hitInfo.transform.gameObject == testObject) - { - return true; - } - } - return false; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2dEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2dEvent.cs.meta deleted file mode 100644 index 3228bb802..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/MousePick2dEvent.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 19bec85c3f4fe43bd9365e5ee05b1cb8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/RayCast2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/RayCast2d.cs deleted file mode 100644 index daa07028b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/RayCast2d.cs +++ /dev/null @@ -1,216 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Casts a Ray against all Colliders in the scene. " + - "A raycast is conceptually like a laser beam that is fired from a point in space along a particular direction. Any object making contact with the beam can be detected and reported. " + - "Use GetRaycastHit2dInfo to get more detailed info.")] - public class RayCast2d : FsmStateAction - { - [ActionSection("Setup")] - - [Tooltip("Start ray at game object position. \nOr use From Position parameter.")] - public FsmOwnerDefault fromGameObject; - - [Tooltip("Start ray at a vector2 world position. \nOr use Game Object parameter.")] - public FsmVector2 fromPosition; - - [Tooltip("A vector2 direction vector")] - public FsmVector2 direction; - - [Tooltip("Cast the ray in world or local space. Note if no Game Object is specified, the direction is in world space.")] - public Space space; - - [Tooltip("The length of the ray. Set to -1 for infinity.")] - public FsmFloat distance; - - [Tooltip("Only include objects with a Z coordinate (depth) greater than this value. leave to none for no effect")] - public FsmInt minDepth; - - [Tooltip("Only include objects with a Z coordinate (depth) less than this value. leave to none")] - public FsmInt maxDepth; - - [ActionSection("Result")] - - [Tooltip("Event to send if the ray hits an object.")] - [UIHint(UIHint.Variable)] - public FsmEvent hitEvent; - - [Tooltip("Set a bool variable to true if hit something, otherwise false.")] - [UIHint(UIHint.Variable)] - public FsmBool storeDidHit; - - [Tooltip("Store the game object hit in a variable.")] - [UIHint(UIHint.Variable)] - public FsmGameObject storeHitObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the 2d position of the ray hit point and store it in a variable.")] - public FsmVector2 storeHitPoint; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the 2d normal at the hit point and store it in a variable.")] - public FsmVector2 storeHitNormal; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the distance along the ray to the hit point and store it in a variable.")] - public FsmFloat storeHitDistance; - - [UIHint(UIHint.Variable)] - [Tooltip("Get the fraction along the ray to the hit point and store it in a variable. If the ray's direction vector is normalized then this value is simply the distance between the origin and the hit point. If the direction is not normalized then this distance is expressed as a 'fraction' (which could be greater than 1) of the vector's magnitude.")] - public FsmFloat storeHitFraction; - - [ActionSection("Filter")] - - [Tooltip("Set how often to cast a ray. 0 = once, don't repeat; 1 = everyFrame; 2 = every other frame... \nSince raycasts can get expensive use the highest repeat interval you can get away with.")] - public FsmInt repeatInterval; - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [ActionSection("Debug")] - - [Tooltip("The color to use for the debug line.")] - public FsmColor debugColor; - - [Tooltip("Draw a debug line. Note: Check Gizmos in the Game View to see it in game.")] - public FsmBool debug; - - private Transform _transform; - private int repeat; - - public override void Reset() - { - fromGameObject = null; - fromPosition = new FsmVector2 { UseVariable = true }; - direction = new FsmVector2 { UseVariable = true }; - - space = Space.Self; - - minDepth = new FsmInt {UseVariable =true}; - maxDepth = new FsmInt {UseVariable =true}; - - distance = 100; - hitEvent = null; - storeDidHit = null; - storeHitObject = null; - storeHitPoint = null; - storeHitNormal = null; - storeHitDistance = null; - storeHitFraction = null; - repeatInterval = 1; - layerMask = new FsmInt[0]; - invertMask = false; - debugColor = Color.yellow; - debug = false; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(fromGameObject); - if (go!=null) - { - _transform = go.transform; - } - - DoRaycast(); - - if (repeatInterval.Value == 0) - { - Finish(); - } - } - - public override void OnUpdate() - { - repeat--; - - if (repeat == 0) - { - DoRaycast(); - } - } - - private void DoRaycast() - { - repeat = repeatInterval.Value; - - if (Math.Abs(distance.Value) < Mathf.Epsilon) - { - return; - } - - var originPos = fromPosition.Value; - - if (_transform!=null) - { - originPos.x += _transform.position.x; - originPos.y += _transform.position.y; - } - - var rayLength = Mathf.Infinity; - if (distance.Value > 0 ) - { - rayLength = distance.Value; - } - - var dirVector2 = direction.Value.normalized; // normalized to get the proper distance later using fraction from the rayCastHitinfo. - - if(_transform != null && space == Space.Self) - { - - var dirVector = _transform.TransformDirection(new Vector3(direction.Value.x,direction.Value.y,0f)); - dirVector2.x = dirVector.x; - dirVector2.y = dirVector.y; - } - - RaycastHit2D hitInfo; - - if (minDepth.IsNone && maxDepth.IsNone) - { - hitInfo = Physics2D.Raycast(originPos,dirVector2,rayLength,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - } - else - { - var _minDepth = minDepth.IsNone? Mathf.NegativeInfinity : minDepth.Value; - var _maxDepth = maxDepth.IsNone? Mathf.Infinity : maxDepth.Value; - hitInfo = Physics2D.Raycast(originPos,dirVector2,rayLength,ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value),_minDepth,_maxDepth); - } - - Fsm.RecordLastRaycastHit2DInfo(Fsm, hitInfo); - - var didHit = hitInfo.collider != null; - - storeDidHit.Value = didHit; - - if (didHit) - { - storeHitObject.Value = hitInfo.collider.gameObject; - storeHitPoint.Value = hitInfo.point; - storeHitNormal.Value = hitInfo.normal; - storeHitDistance.Value = hitInfo.distance; - storeHitFraction.Value = hitInfo.fraction; - Fsm.Event(hitEvent); - } - - if (debug.Value) - { - var debugRayLength = Mathf.Min(rayLength, 1000); - var start = new Vector3(originPos.x,originPos.y,0); - var dirVector3 = new Vector3(dirVector2.x,dirVector2.y,0); - var end = start + dirVector3 * debugRayLength; - - Debug.DrawLine(start,end, debugColor.Value); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/RayCast2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/RayCast2d.cs.meta deleted file mode 100644 index 3ce7b1ff3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/RayCast2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 65a21c82c06664d47801e02b7a7ccbf3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/ScreenPick2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/ScreenPick2d.cs deleted file mode 100644 index 7f360f388..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/ScreenPick2d.cs +++ /dev/null @@ -1,118 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Perform a raycast into the 2d scene using screen coordinates and stores the results. Use Ray Distance to set how close the camera must be to pick the 2d object. NOTE: Uses the MainCamera!")] - public class ScreenPick2d : FsmStateAction - { - [Tooltip("A Vector3 screen position. Commonly stored by other actions.")] - public FsmVector3 screenVector; - - [Tooltip ("X position on screen.")] - public FsmFloat screenX; - - [Tooltip ("Y position on screen.")] - public FsmFloat screenY; - - [Tooltip("Are the supplied screen coordinates normalized (0-1), or in pixels.")] - public FsmBool normalized; - - [UIHint(UIHint.Variable)] - [Tooltip("Store whether the Screen pick did pick a GameObject")] - public FsmBool storeDidPickObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the picked GameObject")] - public FsmGameObject storeGameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the picked position in world Space")] - public FsmVector3 storePoint; - - [UIHint(UIHint.Layer)] - [Tooltip("Pick only from these layers.")] - public FsmInt[] layerMask; - - [Tooltip("Invert the mask, so you pick from all layers except those defined above.")] - public FsmBool invertMask; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - screenVector = new FsmVector3 { UseVariable = true }; - screenX = new FsmFloat { UseVariable = true }; - screenY = new FsmFloat { UseVariable = true }; - normalized = false; - - storeDidPickObject = null; - storeGameObject = null; - storePoint = null; - layerMask = new FsmInt[0]; - invertMask = false; - everyFrame = false; - } - - public override void OnEnter() - { - DoScreenPick(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoScreenPick(); - } - - void DoScreenPick() - { - if (Camera.main == null) - { - LogError("No MainCamera defined!"); - Finish(); - return; - } - - var rayStart = Vector3.zero; - - if (!screenVector.IsNone) rayStart = screenVector.Value; - if (!screenX.IsNone) rayStart.x = screenX.Value; - if (!screenY.IsNone) rayStart.y = screenY.Value; - - if (normalized.Value) - { - rayStart.x *= Screen.width; - rayStart.y *= Screen.height; - } - - var hitInfo = Physics2D.GetRayIntersection( - Camera.main.ScreenPointToRay(rayStart), - Mathf.Infinity, - ActionHelpers.LayerArrayToLayerMask(layerMask, invertMask.Value)); - - var didPick = hitInfo.collider != null; - storeDidPickObject.Value = didPick; - - if (didPick) - { - storeGameObject.Value = hitInfo.collider.gameObject; - storePoint.Value = hitInfo.point; - } - else - { - // TODO: not sure if this is the right strategy... - storeGameObject.Value = null; - storePoint.Value = Vector3.zero; - } - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/ScreenPick2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/ScreenPick2d.cs.meta deleted file mode 100644 index 670c77280..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/ScreenPick2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: b5c41daa984094cecbcfd973cad60d26 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetCollider2dIsTrigger.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetCollider2dIsTrigger.cs deleted file mode 100644 index ea5a2e98b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetCollider2dIsTrigger.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Set the isTrigger option of a Collider2D. Optionally set all collider2D found on the gameobject Target.")] - public class SetCollider2dIsTrigger : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Collider2D))] - [Tooltip("The GameObject with the Collider2D attached")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The flag value")] - public FsmBool isTrigger; - - [Tooltip("Set all Colliders on the GameObject target")] - public bool setAllColliders; - - public override void Reset() - { - gameObject = null; - isTrigger = false; - setAllColliders = false; - } - - public override void OnEnter() - { - DoSetIsTrigger(); - - Finish(); - } - - void DoSetIsTrigger() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - - if (setAllColliders) - { - // Find all of the colliders on the gameobject and set them all to be triggers. - Collider2D[] cols = go.GetComponents (); - foreach (Collider2D c in cols) { - c.isTrigger = isTrigger.Value; - } - }else{ - if (go.GetComponent() != null)go.GetComponent().isTrigger = isTrigger.Value; - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetCollider2dIsTrigger.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetCollider2dIsTrigger.cs.meta deleted file mode 100644 index 07ef05302..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetCollider2dIsTrigger.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ea55526fdaa943b4bba87169f67a12f7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2d.cs deleted file mode 100644 index 240eecd5d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2d.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Sets the gravity vector, or individual axis.")] - public class SetGravity2d : FsmStateAction - { - [Tooltip("Gravity as Vector2.")] - public FsmVector2 vector; - - [Tooltip("Override the x value of the gravity")] - public FsmFloat x; - [Tooltip("Override the y value of the gravity")] - public FsmFloat y; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - public override void Reset() - { - vector = null; - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetGravity(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetGravity(); - } - - void DoSetGravity() - { - Vector2 gravity = vector.Value; - - if (!x.IsNone) - gravity.x = x.Value; - if (!y.IsNone) - gravity.y = y.Value; - - Physics2D.gravity = gravity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2d.cs.meta deleted file mode 100644 index c67532676..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2e993b15a1ec247ca83fa651a184812a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2dScale.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2dScale.cs deleted file mode 100644 index 389f345e5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2dScale.cs +++ /dev/null @@ -1,43 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Sets The degree to which this object is affected by gravity. NOTE: Game object must have a rigidbody 2D.")] - public class SetGravity2dScale : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with a Rigidbody 2d attached")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The gravity scale effect")] - public FsmFloat gravityScale; - - public override void Reset() - { - gameObject = null; - gravityScale = 1f; - } - - public override void OnEnter() - { - DoSetGravityScale(); - Finish(); - } - - void DoSetGravityScale() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - rigidbody2d.gravityScale = gravityScale.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2dScale.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2dScale.cs.meta deleted file mode 100644 index 4802430ae..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetGravity2dScale.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8813d3367d00848619fb51a65822460b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetHingeJoint2dProperties.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetHingeJoint2dProperties.cs deleted file mode 100644 index 8f967e580..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetHingeJoint2dProperties.cs +++ /dev/null @@ -1,134 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Sets the various properties of a HingeJoint2d component")] - public class SetHingeJoint2dProperties : FsmStateAction - { - - [RequiredField] - [Tooltip("The HingeJoint2d target")] - [CheckForComponent(typeof(HingeJoint2D))] - public FsmOwnerDefault gameObject; - - [ActionSection("Limits")] - - [Tooltip("Should limits be placed on the range of rotation?")] - public FsmBool useLimits; - - [Tooltip("Lower angular limit of rotation.")] - public FsmFloat min; - - [Tooltip("Upper angular limit of rotation")] - public FsmFloat max; - - - [ActionSection("Motor")] - - [Tooltip("Should a motor force be applied automatically to the Rigidbody2D?")] - public FsmBool useMotor; - - [Tooltip("The desired speed for the Rigidbody2D to reach as it moves with the joint.")] - public FsmFloat motorSpeed; - - [Tooltip("The maximum force that can be applied to the Rigidbody2D at the joint to attain the target speed.")] - public FsmFloat maxMotorTorque; - - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - HingeJoint2D _joint; - JointMotor2D _motor; - JointAngleLimits2D _limits; - - public override void Reset() - { - - useLimits = new FsmBool() {UseVariable=true}; - min = new FsmFloat() {UseVariable=true}; - max = new FsmFloat() {UseVariable=true}; - - useMotor = new FsmBool() {UseVariable=true}; - motorSpeed = new FsmFloat() {UseVariable=true}; - maxMotorTorque = new FsmFloat() {UseVariable=true}; - - - everyFrame = false; - - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go != null) - { - _joint = go.GetComponent(); - - if(_joint!=null) - { - _motor = _joint.motor; - _limits = _joint.limits; - } - } - - SetProperties(); - - if(!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - SetProperties(); - } - - void SetProperties() - { - if(_joint==null) - { - return; - } - - if (!useMotor.IsNone) - { - _joint.useMotor = useMotor.Value; - } - - if (!motorSpeed.IsNone) - { - _motor.motorSpeed = motorSpeed.Value; - _joint.motor = _motor; - } - if (!maxMotorTorque.IsNone) - { - _motor.maxMotorTorque = maxMotorTorque.Value; - _joint.motor = _motor; - } - - if (!useLimits.IsNone) - { - _joint.useLimits = useLimits.Value; - } - - if (!min.IsNone) - { - _limits.min = min.Value; - _joint.limits = _limits; - } - if (!max.IsNone) - { - _limits.max = max.Value; - _joint.limits = _limits; - } - - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetHingeJoint2dProperties.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetHingeJoint2dProperties.cs.meta deleted file mode 100644 index 859a73b79..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetHingeJoint2dProperties.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0f35a67104d8a4d4aa91cf73117249f9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsFixedAngle2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsFixedAngle2d.cs deleted file mode 100644 index f43fd131e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsFixedAngle2d.cs +++ /dev/null @@ -1,69 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - #pragma warning disable 618 - [Obsolete("This action is obsolete; use Constraints instead.")] - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Controls whether the rigidbody 2D should be prevented from rotating")] - public class SetIsFixedAngle2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with the Rigidbody2D attached")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The flag value")] - public FsmBool isFixedAngle; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - isFixedAngle = false; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetIsFixedAngle(); - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetIsFixedAngle(); - } - - void DoSetIsFixedAngle() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - #if UNITY_5_3_5 || UNITY_5_4_OR_NEWER - if (isFixedAngle.Value) { - rigidbody2d.constraints = rigidbody2d.constraints | RigidbodyConstraints2D.FreezeRotation; - }else{ - - rigidbody2d.constraints = rigidbody2d.constraints & ~RigidbodyConstraints2D.FreezeRotation; - } - #else - rigidbody2d.fixedAngle = isFixedAngle.Value; - #endif - - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsFixedAngle2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsFixedAngle2d.cs.meta deleted file mode 100644 index 5adedc155..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsFixedAngle2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 163a4c6c323834651b53b6165c36392e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsKinematic2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsKinematic2d.cs deleted file mode 100644 index 8fa02366b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsKinematic2d.cs +++ /dev/null @@ -1,44 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Controls whether 2D physics affects the Game Object.")] - public class SetIsKinematic2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with the Rigidbody2D attached")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The isKinematic value")] - public FsmBool isKinematic; - - public override void Reset() - { - gameObject = null; - isKinematic = false; - } - - public override void OnEnter() - { - DoSetIsKinematic(); - Finish(); - } - - void DoSetIsKinematic() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - rigidbody2d.isKinematic = isKinematic.Value; - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsKinematic2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsKinematic2d.cs.meta deleted file mode 100644 index a52611f5f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetIsKinematic2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 203a12a4280db43fb9cb2650b4c470dd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetMass2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetMass2d.cs deleted file mode 100644 index 3a29a9c9a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetMass2d.cs +++ /dev/null @@ -1,45 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Sets the Mass of a Game Object's Rigid Body 2D.")] - public class SetMass2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with the Rigidbody2D attached")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [HasFloatSlider(0.1f,10f)] - [Tooltip("The Mass")] - public FsmFloat mass; - - public override void Reset() - { - gameObject = null; - mass = 1; - } - - public override void OnEnter() - { - DoSetMass(); - - Finish(); - } - - void DoSetMass() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - rigidbody2d.mass = mass.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetMass2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetMass2d.cs.meta deleted file mode 100644 index cb20a9b45..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetMass2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6b165ecceb37e450e82a58ba6bd21853 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetVelocity2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetVelocity2d.cs deleted file mode 100644 index 3193363f9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetVelocity2d.cs +++ /dev/null @@ -1,98 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Sets the 2d Velocity of a Game Object. To leave any axis unchanged, set variable to 'None'. NOTE: Game object must have a rigidbody 2D.")] - public class SetVelocity2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with the Rigidbody2D attached")] - public FsmOwnerDefault gameObject; - - [Tooltip("A Vector2 value for the velocity")] - public FsmVector2 vector; - - [Tooltip("The y value of the velocity. Overrides 'Vector' x value if set")] - public FsmFloat x; - - [Tooltip("The y value of the velocity. Overrides 'Vector' y value if set")] - public FsmFloat y; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - vector = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - - everyFrame = false; - } - - public override void Awake() - { - Fsm.HandleFixedUpdate = true; - } - - // TODO: test this works in OnEnter! - public override void OnEnter() - { - DoSetVelocity(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - DoSetVelocity(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetVelocity() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - // init position - - Vector2 velocity; - - if (vector.IsNone) - { - velocity = rigidbody2d.linearVelocity; - - } - else - { - velocity = vector.Value; - } - - // override any axis - - if (!x.IsNone) velocity.x = x.Value; - if (!y.IsNone) velocity.y = y.Value; - - // apply - - rigidbody2d.linearVelocity = velocity; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetVelocity2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetVelocity2d.cs.meta deleted file mode 100644 index 625f74744..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetVelocity2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 58252178b9646486b9dda57c812ce9e1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetWheelJoint2dProperties.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetWheelJoint2dProperties.cs deleted file mode 100644 index b04b9b7f0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetWheelJoint2dProperties.cs +++ /dev/null @@ -1,133 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if !UNITY_4_3 - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Sets the various properties of a WheelJoint2d component")] - public class SetWheelJoint2dProperties : FsmStateAction - { - - [RequiredField] - [Tooltip("The WheelJoint2d target")] - [CheckForComponent(typeof(WheelJoint2D))] - public FsmOwnerDefault gameObject; - - [ActionSection("Motor")] - - [Tooltip("Should a motor force be applied automatically to the Rigidbody2D?")] - public FsmBool useMotor; - - [Tooltip("The desired speed for the Rigidbody2D to reach as it moves with the joint.")] - public FsmFloat motorSpeed; - - [Tooltip("The maximum force that can be applied to the Rigidbody2D at the joint to attain the target speed.")] - public FsmFloat maxMotorTorque; - - [ActionSection("Suspension")] - - [Tooltip("The world angle along which the suspension will move. This provides 2D constrained motion similar to a SliderJoint2D. This is typically how suspension works in the real world.")] - public FsmFloat angle; - - [Tooltip("The amount by which the suspension spring force is reduced in proportion to the movement speed.")] - public FsmFloat dampingRatio; - - [Tooltip("The frequency at which the suspension spring oscillates.")] - public FsmFloat frequency; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - WheelJoint2D _wj2d; - JointMotor2D _motor; - JointSuspension2D _suspension; - public override void Reset() - { - useMotor = new FsmBool() {UseVariable=true}; - - motorSpeed = new FsmFloat() {UseVariable=true}; - maxMotorTorque = new FsmFloat() {UseVariable=true}; - angle = new FsmFloat() {UseVariable=true}; - dampingRatio = new FsmFloat() {UseVariable=true}; - frequency = new FsmFloat() {UseVariable=true}; - - everyFrame = false; - - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go != null) - { - _wj2d = go.GetComponent(); - - if(_wj2d!=null) - { - _motor = _wj2d.motor; - _suspension = _wj2d.suspension; - } - } - - SetProperties(); - - if(!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - SetProperties(); - } - - void SetProperties() - { - if(_wj2d==null) - { - return; - } - - if (!useMotor.IsNone) - { - _wj2d.useMotor = useMotor.Value; - } - - if (!motorSpeed.IsNone) - { - _motor.motorSpeed = motorSpeed.Value; - _wj2d.motor = _motor; - } - if (!maxMotorTorque.IsNone) - { - _motor.maxMotorTorque = maxMotorTorque.Value; - _wj2d.motor = _motor; - } - - if (!angle.IsNone) - { - _suspension.angle = angle.Value; - _wj2d.suspension = _suspension; - } - - if (!dampingRatio.IsNone) - { - _suspension.dampingRatio = dampingRatio.Value; - _wj2d.suspension = _suspension; - } - - if (!frequency.IsNone) - { - _suspension.frequency = frequency.Value; - _wj2d.suspension = _suspension; - } - } - - } -} -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetWheelJoint2dProperties.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetWheelJoint2dProperties.cs.meta deleted file mode 100644 index aeaff20e4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SetWheelJoint2dProperties.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 369d94b9cb1275c41a665a7f3171689d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Sleep2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Sleep2d.cs deleted file mode 100644 index 44f16ded6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Sleep2d.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Forces a Game Object's Rigid Body 2D to Sleep at least one frame.")] - public class Sleep2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with a Rigidbody2d attached")] - public FsmOwnerDefault gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - DoSleep(); - Finish(); - } - - void DoSleep() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - rigidbody2d.Sleep(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Sleep2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Sleep2d.cs.meta deleted file mode 100644 index 6bdac7d5e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Sleep2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0660988017b964055a4f2c8f4ea48a2c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SmoothLookAt2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SmoothLookAt2d.cs deleted file mode 100644 index 899b67c65..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SmoothLookAt2d.cs +++ /dev/null @@ -1,153 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Smoothly Rotates a 2d Game Object so its right vector points at a Target. The target can be defined as a 2d Game Object or a 2d/3d world Position. If you specify both, then the position will be used as a local offset from the object's position.")] - public class SmoothLookAt2d : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to rotate to face a target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("A target GameObject.")] - public FsmGameObject targetObject; - - [Tooltip("A target position. If a Target Object is defined, this is used as a local offset.")] - public FsmVector2 targetPosition2d; - - [Tooltip("A target position. If a Target Object is defined, this is used as a local offset.")] - public FsmVector3 targetPosition; - - [Tooltip("Set the GameObject starting offset. In degrees. 0 if your object is facing right, 180 if facing left etc...")] - public FsmFloat rotationOffset; - - [HasFloatSlider(0.5f,15)] - [Tooltip("How fast the look at moves.")] - public FsmFloat speed; - - [Tooltip("Draw a line in the Scene View to the look at position.")] - public FsmBool debug; - - [Tooltip("If the angle to the target is less than this, send the Finish Event below. Measured in degrees.")] - public FsmFloat finishTolerance; - - [Tooltip("Event to send if the angle to target is less than the Finish Tolerance.")] - public FsmEvent finishEvent; - - private GameObject previousGo; // track game object so we can re-initialize when it changes. - private Quaternion lastRotation; - private Quaternion desiredRotation; - - public override void Reset() - { - gameObject = null; - targetObject = null; - targetPosition2d = new FsmVector2 { UseVariable = true}; - targetPosition = new FsmVector3 { UseVariable = true}; - rotationOffset = 0; - debug = false; - speed = 5; - finishTolerance = 1; - finishEvent = null; - } - - public override void OnPreprocess() - { - Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - previousGo = null; - } - - public override void OnLateUpdate() - { - DoSmoothLookAt(); - } - - void DoSmoothLookAt() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var goTarget = targetObject.Value; - - // re-initialize if game object has changed - - if (previousGo != go) - { - lastRotation = go.transform.rotation; - desiredRotation = lastRotation; - previousGo = go; - } - - // desired look at position - - var lookAtPos = new Vector3(targetPosition2d.Value.x,targetPosition2d.Value.y,0f); - if (!targetPosition.IsNone) - { - lookAtPos += targetPosition.Value; - } - - if (goTarget != null) - { - lookAtPos = goTarget.transform.position; - var _offset = Vector3.zero; - - if (!targetPosition.IsNone) - { - _offset +=targetPosition.Value; - } - if (!targetPosition2d.IsNone) - { - _offset.x = _offset.x+ targetPosition2d.Value.x; - _offset.y = _offset.y+ targetPosition2d.Value.y; - } - - if (!targetPosition2d.IsNone || !targetPosition.IsNone) - { - lookAtPos += goTarget.transform.TransformPoint(targetPosition2d.Value); - } - } - - var diff = lookAtPos - go.transform.position; - diff.Normalize(); - - - var rot_z = Mathf.Atan2(diff.y, diff.x) * Mathf.Rad2Deg; - desiredRotation = Quaternion.Euler(0f, 0f, rot_z - rotationOffset.Value); - - - lastRotation = Quaternion.Slerp(lastRotation, desiredRotation, speed.Value * Time.deltaTime); - go.transform.rotation = lastRotation; - - // debug line to target - - if (debug.Value) - { - Debug.DrawLine(go.transform.position, lookAtPos, Color.grey); - } - - // send finish event? - - if (finishEvent != null) - { - //var targetDir = lookAtPos - go.transform.position; - //var angle = Vector3.Angle(targetDir, go.transform.right) - rotationOffset.Value; - var angle = Vector3.Angle(desiredRotation.eulerAngles,lastRotation.eulerAngles); - if (Mathf.Abs(angle ) <= finishTolerance.Value) - { - Fsm.Event(finishEvent); - } - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SmoothLookAt2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SmoothLookAt2d.cs.meta deleted file mode 100644 index 0f7bb8f02..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/SmoothLookAt2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d6a02eab34e764d49930524cabac32c6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Touch Object 2d Event.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Touch Object 2d Event.cs deleted file mode 100644 index 79d6b5609..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Touch Object 2d Event.cs +++ /dev/null @@ -1,126 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Device)] - [Tooltip("Sends events when a 2d object is touched. Optionally filter by a fingerID. NOTE: Uses the MainCamera!")] - public class TouchObject2dEvent : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Collider2D))] - [Tooltip("The Game Object to detect touches on.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Only detect touches that match this fingerID, or set to None.")] - public FsmInt fingerId; - - [ActionSection("Events")] - - [Tooltip("Event to send on touch began.")] - public FsmEvent touchBegan; - - [Tooltip("Event to send on touch moved.")] - public FsmEvent touchMoved; - - [Tooltip("Event to send on stationary touch.")] - public FsmEvent touchStationary; - - [Tooltip("Event to send on touch ended.")] - public FsmEvent touchEnded; - - [Tooltip("Event to send on touch cancel.")] - public FsmEvent touchCanceled; - - [ActionSection("Store Results")] - - [UIHint(UIHint.Variable)] - [Tooltip("Store the fingerId of the touch.")] - public FsmInt storeFingerId; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the 2d position where the object was touched.")] - public FsmVector2 storeHitPoint; - - public override void Reset() - { - gameObject = null; - fingerId = new FsmInt { UseVariable = true }; - - touchBegan = null; - touchMoved = null; - touchStationary = null; - touchEnded = null; - touchCanceled = null; - - storeFingerId = null; - storeHitPoint = null; - } - - public override void OnUpdate() - { - if (Camera.main == null) - { - LogError("No MainCamera defined!"); - Finish(); - return; - } - - if (Input.touchCount > 0) - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - foreach (var touch in Input.touches) - { - if (fingerId.IsNone || touch.fingerId == fingerId.Value) - { - var screenPos = touch.position; - - var hitInfo = Physics2D.GetRayIntersection(Camera.main.ScreenPointToRay(screenPos),Mathf.Infinity); - - // Store hitInfo so it can be accessed by other actions - // E.g., Get Raycast Hit 2d Info - Fsm.RecordLastRaycastHit2DInfo(Fsm,hitInfo); - - if (hitInfo.transform != null) - { - if (hitInfo.transform.gameObject == go) - { - storeFingerId.Value = touch.fingerId; - storeHitPoint.Value = hitInfo.point; - - switch (touch.phase) - { - case TouchPhase.Began: - Fsm.Event(touchBegan); - return; - - case TouchPhase.Moved: - Fsm.Event(touchMoved); - return; - - case TouchPhase.Stationary: - Fsm.Event(touchStationary); - return; - - case TouchPhase.Ended: - Fsm.Event(touchEnded); - return; - - case TouchPhase.Canceled: - Fsm.Event(touchCanceled); - return; - } - } - } - } - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Touch Object 2d Event.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Touch Object 2d Event.cs.meta deleted file mode 100644 index ef24f59d9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Touch Object 2d Event.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a6627f26893aa4ef2a2e9b51d93efbda -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Trigger2dEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Trigger2dEvent.cs deleted file mode 100644 index e1e48cfcc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Trigger2dEvent.cs +++ /dev/null @@ -1,218 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Detect 2D trigger collisions between Game Objects that have RigidBody2D/Collider2D components.")] - public class Trigger2dEvent : FsmStateAction - { - [Tooltip("The GameObject to detect collisions on.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The type of trigger event to detect.")] - public Trigger2DType trigger; - - [UIHint(UIHint.TagMenu)] - [Tooltip("Filter by Tag.")] - public FsmString collideTag; - - [Tooltip("Event to send if the trigger event is detected.")] - public FsmEvent sendEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the GameObject that collided with the Owner of this FSM.")] - public FsmGameObject storeCollider; - - // cached proxy component for callbacks - private PlayMakerProxyBase cachedProxy; - - public override void Reset() - { - gameObject = null; - trigger = Trigger2DType.OnTriggerEnter2D; - collideTag = ""; - sendEvent = null; - storeCollider = null; - } - - public override void OnPreprocess() - { - if (gameObject == null) gameObject = new FsmOwnerDefault(); - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - { - switch (trigger) - { - case Trigger2DType.OnTriggerEnter2D: - Fsm.HandleTriggerEnter2D = true; - break; - case Trigger2DType.OnTriggerStay2D: - Fsm.HandleTriggerStay2D = true; - break; - case Trigger2DType.OnTriggerExit2D: - Fsm.HandleTriggerExit2D = true; - break; - } - } - else - { - // Add proxy components now if we can - GetProxyComponent(); - } - } - - public override void OnEnter() - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - return; - - if (cachedProxy == null) - GetProxyComponent(); - - AddCallback(); - - gameObject.GameObject.OnChange += UpdateCallback; - } - - public override void OnExit() - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - return; - - RemoveCallback(); - - gameObject.GameObject.OnChange -= UpdateCallback; - } - - private void UpdateCallback() - { - RemoveCallback(); - GetProxyComponent(); - AddCallback(); - } - - private void GetProxyComponent() - { - cachedProxy = null; - var source = gameObject.GameObject.Value; - if (source == null) - return; - - switch (trigger) - { - case Trigger2DType.OnTriggerEnter2D: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case Trigger2DType.OnTriggerStay2D: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - case Trigger2DType.OnTriggerExit2D: - cachedProxy = PlayMakerFSM.GetEventHandlerComponent(source); - break; - } - } - - private void AddCallback() - { - if (cachedProxy == null) - return; - - switch (trigger) - { - case Trigger2DType.OnTriggerEnter2D: - cachedProxy.AddTrigger2DEventCallback(TriggerEnter2D); - break; - case Trigger2DType.OnTriggerStay2D: - cachedProxy.AddTrigger2DEventCallback(TriggerStay2D); - break; - case Trigger2DType.OnTriggerExit2D: - cachedProxy.AddTrigger2DEventCallback(TriggerExit2D); - break; - } - } - - private void RemoveCallback() - { - if (cachedProxy == null) - return; - - switch (trigger) - { - case Trigger2DType.OnTriggerEnter2D: - cachedProxy.RemoveTrigger2DEventCallback(TriggerEnter2D); - break; - case Trigger2DType.OnTriggerStay2D: - cachedProxy.RemoveTrigger2DEventCallback(TriggerStay2D); - break; - case Trigger2DType.OnTriggerExit2D: - cachedProxy.RemoveTrigger2DEventCallback(TriggerExit2D); - break; - } - } - - private void StoreCollisionInfo(Collider2D collisionInfo) - { - storeCollider.Value = collisionInfo.gameObject; - } - - public override void DoTriggerEnter2D(Collider2D other) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - TriggerEnter2D(other); - } - - public override void DoTriggerStay2D(Collider2D other) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - TriggerStay2D(other); - } - - public override void DoTriggerExit2D(Collider2D other) - { - if (gameObject.OwnerOption == OwnerDefaultOption.UseOwner) - TriggerExit2D(other); - } - - private void TriggerEnter2D(Collider2D other) - { - if (trigger == Trigger2DType.OnTriggerEnter2D) - { - if (TagMatches(collideTag, other)) - { - StoreCollisionInfo(other); - Fsm.Event(sendEvent); - } - } - } - - private void TriggerStay2D(Collider2D other) - { - if (trigger == Trigger2DType.OnTriggerStay2D) - { - if (TagMatches(collideTag, other)) - { - StoreCollisionInfo(other); - Fsm.Event(sendEvent); - } - } - } - - private void TriggerExit2D(Collider2D other) - { - if (trigger == Trigger2DType.OnTriggerExit2D) - { - if (TagMatches(collideTag, other)) - { - StoreCollisionInfo(other); - Fsm.Event(sendEvent); - } - } - } - - public override string ErrorCheck() - { - return ActionHelpers.CheckPhysics2dSetup(Fsm.GetOwnerDefaultTarget(gameObject)); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Trigger2dEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Trigger2dEvent.cs.meta deleted file mode 100644 index c29e2201a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/Trigger2dEvent.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 195f05ad3f0fd4ccb9fa0e9e2607aefe -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeAllRigidBodies2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeAllRigidBodies2d.cs deleted file mode 100644 index 7adedc29b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeAllRigidBodies2d.cs +++ /dev/null @@ -1,46 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Rigid bodies 2D start sleeping when they come to rest. This action wakes up all rigid bodies 2D in the scene. E.g., if you Set Gravity 2D and want objects at rest to respond.")] - public class WakeAllRigidBodies2d : FsmStateAction - { - [Tooltip("Repeat every frame. Note: This would be very expensive!")] - public bool everyFrame; - - public override void Reset() - { - everyFrame = false; - } - - public override void OnEnter() - { - DoWakeAll(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoWakeAll(); - } - - void DoWakeAll() - { - var bodies = Object.FindObjectsOfType(typeof(Rigidbody2D)) as Rigidbody2D[]; - if (bodies != null) - { - foreach (var body in bodies) - { - body.WakeUp(); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeAllRigidBodies2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeAllRigidBodies2d.cs.meta deleted file mode 100644 index 2455c068f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeAllRigidBodies2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 3173d61ebbbc544d3964fd6488da8c4d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeUp2d.cs b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeUp2d.cs deleted file mode 100644 index c9e96351c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeUp2d.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Physics2D)] - [Tooltip("Forces a Game Object's Rigid Body 2D to wake up.")] - public class WakeUp2d : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody2D))] - [Tooltip("The GameObject with a Rigidbody2d attached")] - public FsmOwnerDefault gameObject; - - public override void Reset() - { - gameObject = null; - } - - public override void OnEnter() - { - DoWakeUp(); - Finish(); - } - - void DoWakeUp() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (!UpdateCache(go)) - { - return; - } - - rigidbody2d.WakeUp(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeUp2d.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeUp2d.cs.meta deleted file mode 100644 index ec4c06193..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Physics2D/WakeUp2d.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 0599ede9318874bb8806f153794ea3db -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs.meta b/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs.meta deleted file mode 100644 index 067c39768..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs.meta +++ /dev/null @@ -1,2 +0,0 @@ -fileFormatVersion: 2 -guid: 2102b3262c20c4599a88a8a3250d1299 diff --git a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteAll.cs b/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteAll.cs deleted file mode 100644 index e1603d891..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteAll.cs +++ /dev/null @@ -1,21 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("PlayerPrefs")] - [Tooltip("Removes all keys and values from the preferences. Use with caution.")] - public class PlayerPrefsDeleteAll : FsmStateAction - { - public override void Reset() - { - } - - public override void OnEnter() - { - PlayerPrefs.DeleteAll(); - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteAll.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteAll.cs.meta deleted file mode 100644 index e3a6028e4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteAll.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5501f7a70d7cf49629369f172e27da15 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteKey.cs b/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteKey.cs deleted file mode 100644 index 7eda5db28..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteKey.cs +++ /dev/null @@ -1,34 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("PlayerPrefs")] - [Tooltip("Removes key and its corresponding value from the preferences.")] - public class PlayerPrefsDeleteKey : FsmStateAction - { - public FsmString key; - - public override void Reset() - { - key = ""; - } - - public override void OnEnter() - { - if(!key.IsNone && !key.Value.Equals("")) PlayerPrefs.DeleteKey(key.Value); - Finish(); - } - -#if UNITY_EDITOR - - public override string AutoName() - { - return ActionHelpers.AutoName("PlayerPrefsDelete", key); - } - -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteKey.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteKey.cs.meta deleted file mode 100644 index 865f35d1b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsDeleteKey.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 127b0deba2e8e4726be24dafbcf9a6d5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsGetFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsGetFloat.cs deleted file mode 100644 index ad4d1bd4c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/PlayerPrefs/PlayerPrefsGetFloat.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -using UnityEngine; -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("PlayerPrefs")] - [Tooltip("Returns the value corresponding to key in the preference file if it exists.")] - public class PlayerPrefsGetFloat : FsmStateAction - { - [CompoundArray("Count", "Key", "Variable")] - [Tooltip("Case sensitive key.")] - public FsmString[] keys; - [UIHint(UIHint.Variable)] - public FsmFloat[] variables; - - public override void Reset() - { - keys = new FsmString[1]; - variables = new FsmFloat[1]; - } - - public override void OnEnter() - { - for(int i = 0; i 1-Quaternion.kEpsilon; - - equal.Value = _equal; - - if (_equal) - { - Fsm.Event(equalEvent); - }else{ - Fsm.Event(notEqualEvent); - } - - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionCompare.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionCompare.cs.meta deleted file mode 100644 index 8dbb01206..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionCompare.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 109faef134f274d3c8f0073c027ec212 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionEuler.cs b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionEuler.cs deleted file mode 100644 index 1997d8188..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionEuler.cs +++ /dev/null @@ -1,68 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Quaternion)] - [Tooltip("Returns a rotation that rotates z degrees around the z axis, x degrees around the x axis, and y degrees around the y axis (in that order).")] - public class QuaternionEuler : QuaternionBaseAction - { - [RequiredField] - [Tooltip("The Euler angles.")] - public FsmVector3 eulerAngles; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the euler angles of this quaternion variable.")] - public FsmQuaternion result; - - - public override void Reset() - { - eulerAngles = null; - result = null; - everyFrame = true; - everyFrameOption = QuaternionBaseAction.everyFrameOptions.Update; - } - - public override void OnEnter() - { - DoQuatEuler(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - if (everyFrameOption == everyFrameOptions.Update ) - { - DoQuatEuler(); - } - } - public override void OnLateUpdate() - { - if (everyFrameOption == everyFrameOptions.LateUpdate ) - { - DoQuatEuler(); - } - } - - public override void OnFixedUpdate() - { - if (everyFrameOption == everyFrameOptions.FixedUpdate ) - { - DoQuatEuler(); - } - } - - void DoQuatEuler() - { - result.Value = Quaternion.Euler(eulerAngles.Value); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionEuler.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionEuler.cs.meta deleted file mode 100644 index 44d6140cd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionEuler.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1dfae9aec90344b698eb3a1bb52c7e7a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionInverse.cs b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionInverse.cs deleted file mode 100644 index 6ed256164..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionInverse.cs +++ /dev/null @@ -1,67 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Quaternion)] - [Tooltip("Inverse a quaternion")] - public class QuaternionInverse : QuaternionBaseAction - { - [RequiredField] - [Tooltip("the rotation")] - public FsmQuaternion rotation; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the inverse of the rotation variable.")] - public FsmQuaternion result; - - public override void Reset() - { - rotation = null; - result = null; - everyFrame = true; - everyFrameOption = QuaternionBaseAction.everyFrameOptions.Update; - } - - public override void OnEnter() - { - DoQuatInverse(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - if (everyFrameOption == everyFrameOptions.Update ) - { - DoQuatInverse(); - } - } - public override void OnLateUpdate() - { - if (everyFrameOption == everyFrameOptions.LateUpdate ) - { - DoQuatInverse(); - } - } - - public override void OnFixedUpdate() - { - if (everyFrameOption == everyFrameOptions.FixedUpdate ) - { - DoQuatInverse(); - } - } - - void DoQuatInverse() - { - result.Value = Quaternion.Inverse(rotation.Value); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionInverse.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionInverse.cs.meta deleted file mode 100644 index 1e058de56..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionInverse.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: d981ac06313624fb3a1002f6e2b6af5f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLerp.cs b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLerp.cs deleted file mode 100644 index 8e58204f4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLerp.cs +++ /dev/null @@ -1,80 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Quaternion)] - [Tooltip("Interpolates between from and to by t and normalizes the result afterwards.")] - public class QuaternionLerp : QuaternionBaseAction - { - - [RequiredField] - [Tooltip("From Quaternion.")] - public FsmQuaternion fromQuaternion; - - [RequiredField] - [Tooltip("To Quaternion.")] - public FsmQuaternion toQuaternion; - - [RequiredField] - [Tooltip("Interpolate between fromQuaternion and toQuaternion by this amount. Value is clamped to 0-1 range. 0 = fromQuaternion; 1 = toQuaternion; 0.5 = half way between.")] - [HasFloatSlider(0f, 1f)] - public FsmFloat amount; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in this quaternion variable.")] - public FsmQuaternion storeResult; - - - public override void Reset() - { - fromQuaternion = new FsmQuaternion { UseVariable = true }; - toQuaternion = new FsmQuaternion { UseVariable = true }; - amount = 0.5f; - storeResult = null; - everyFrame = true; - everyFrameOption = everyFrameOptions.Update; - } - - - public override void OnEnter() - { - DoQuatLerp(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - if (everyFrameOption == everyFrameOptions.Update ) - { - DoQuatLerp(); - } - } - public override void OnLateUpdate() - { - if (everyFrameOption == everyFrameOptions.LateUpdate ) - { - DoQuatLerp(); - } - } - - public override void OnFixedUpdate() - { - if (everyFrameOption == everyFrameOptions.FixedUpdate ) - { - DoQuatLerp(); - } - } - - void DoQuatLerp() - { - storeResult.Value = Quaternion.Lerp(fromQuaternion.Value, toQuaternion.Value, amount.Value); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLerp.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLerp.cs.meta deleted file mode 100644 index 1029e7275..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLerp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: c8fb9a75de503405bafbc360167a41f3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLookRotation.cs b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLookRotation.cs deleted file mode 100644 index e72ccf2c4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLookRotation.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Quaternion)] - [Tooltip("Creates a rotation that looks along forward with the head upwards along upwards.")] - public class QuaternionLookRotation : QuaternionBaseAction - { - [RequiredField] - [Tooltip("the rotation direction")] - public FsmVector3 direction; - - [Tooltip("The up direction")] - public FsmVector3 upVector; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the inverse of the rotation variable.")] - public FsmQuaternion result; - - public override void Reset() - { - direction = null; - upVector = new FsmVector3(){UseVariable=true}; - result = null; - everyFrame = true; - everyFrameOption = QuaternionBaseAction.everyFrameOptions.Update; - } - - public override void OnEnter() - { - DoQuatLookRotation(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - if (everyFrameOption == everyFrameOptions.Update ) - { - DoQuatLookRotation(); - } - } - public override void OnLateUpdate() - { - if (everyFrameOption == everyFrameOptions.LateUpdate ) - { - DoQuatLookRotation(); - } - } - - public override void OnFixedUpdate() - { - if (everyFrameOption == everyFrameOptions.FixedUpdate ) - { - DoQuatLookRotation(); - } - } - - void DoQuatLookRotation() - { - if (!upVector.IsNone) - { - result.Value = Quaternion.LookRotation(direction.Value,upVector.Value); - } - else - { - result.Value = Quaternion.LookRotation(direction.Value); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLookRotation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLookRotation.cs.meta deleted file mode 100644 index 2e03b004e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLookRotation.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1ad91f05541104be0b4db97046df4dff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLowPassFilter.cs b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLowPassFilter.cs deleted file mode 100644 index 127af648d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLowPassFilter.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Quaternion)] - [Tooltip("Use a low pass filter to reduce the influence of sudden changes in a quaternion Variable.")] - public class QuaternionLowPassFilter : QuaternionBaseAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("quaternion Variable to filter. Should generally come from some constantly updated input")] - public FsmQuaternion quaternionVariable; - [Tooltip("Determines how much influence new changes have. E.g., 0.1 keeps 10 percent of the unfiltered quaternion and 90 percent of the previously filtered value.")] - public FsmFloat filteringFactor; - - Quaternion filteredQuaternion; - - public override void Reset() - { - quaternionVariable = null; - filteringFactor = 0.1f; - - everyFrame = true; - everyFrameOption = QuaternionBaseAction.everyFrameOptions.Update; - } - - public override void OnEnter() - { - filteredQuaternion = new Quaternion(quaternionVariable.Value.x, quaternionVariable.Value.y, quaternionVariable.Value.z,quaternionVariable.Value.w); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - if (everyFrameOption == everyFrameOptions.Update ) - { - DoQuatLowPassFilter(); - } - } - public override void OnLateUpdate() - { - if (everyFrameOption == everyFrameOptions.LateUpdate ) - { - DoQuatLowPassFilter(); - } - } - - public override void OnFixedUpdate() - { - if (everyFrameOption == everyFrameOptions.FixedUpdate ) - { - DoQuatLowPassFilter(); - } - } - - void DoQuatLowPassFilter() - { - filteredQuaternion.x = (quaternionVariable.Value.x * filteringFactor.Value) + (filteredQuaternion.x * (1.0f - filteringFactor.Value)); - filteredQuaternion.y = (quaternionVariable.Value.y * filteringFactor.Value) + (filteredQuaternion.y * (1.0f - filteringFactor.Value)); - filteredQuaternion.z = (quaternionVariable.Value.z * filteringFactor.Value) + (filteredQuaternion.z * (1.0f - filteringFactor.Value)); - filteredQuaternion.w = (quaternionVariable.Value.w * filteringFactor.Value) + (filteredQuaternion.w * (1.0f - filteringFactor.Value)); - - quaternionVariable.Value = new Quaternion(filteredQuaternion.x,filteredQuaternion.y,filteredQuaternion.z,filteredQuaternion.w); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLowPassFilter.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLowPassFilter.cs.meta deleted file mode 100644 index b10d5f8af..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionLowPassFilter.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 43aeb9060224147eda2dede205adf166 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionRotateTowards.cs b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionRotateTowards.cs deleted file mode 100644 index 889de5ef4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionRotateTowards.cs +++ /dev/null @@ -1,79 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Quaternion)] - [Tooltip("Rotates a rotation from towards to. This is essentially the same as Quaternion.Slerp but instead the function will ensure that the angular speed never exceeds maxDegreesDelta. Negative values of maxDegreesDelta pushes the rotation away from to.")] - public class QuaternionRotateTowards : QuaternionBaseAction - { - - [RequiredField] - [Tooltip("From Quaternion.")] - public FsmQuaternion fromQuaternion; - - [RequiredField] - [Tooltip("To Quaternion.")] - public FsmQuaternion toQuaternion; - - [RequiredField] - [Tooltip("The angular speed never exceeds maxDegreesDelta. Negative values of maxDegreesDelta pushes the rotation away from to.")] - public FsmFloat maxDegreesDelta; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in this quaternion variable.")] - public FsmQuaternion storeResult; - - - - public override void Reset() - { - fromQuaternion = new FsmQuaternion { UseVariable = true }; - toQuaternion = new FsmQuaternion { UseVariable = true }; - maxDegreesDelta = 10f; - storeResult = null; - everyFrame = true; - everyFrameOption = everyFrameOptions.Update; - } - - public override void OnEnter() - { - DoQuatRotateTowards(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - if (everyFrameOption == everyFrameOptions.Update ) - { - DoQuatRotateTowards(); - } - } - public override void OnLateUpdate() - { - if (everyFrameOption == everyFrameOptions.LateUpdate ) - { - DoQuatRotateTowards(); - } - } - public override void OnFixedUpdate() - { - if (everyFrameOption == everyFrameOptions.FixedUpdate ) - { - DoQuatRotateTowards(); - } - } - - void DoQuatRotateTowards() - { - storeResult.Value = Quaternion.RotateTowards(fromQuaternion.Value, toQuaternion.Value, maxDegreesDelta.Value); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionRotateTowards.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionRotateTowards.cs.meta deleted file mode 100644 index 422203dae..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionRotateTowards.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2eb0ae435013f4b73a5eade1acd952c7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionSlerp.cs b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionSlerp.cs deleted file mode 100644 index 95bb69cf8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionSlerp.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Quaternion)] - [Tooltip("Spherically interpolates between from and to by t.")] - public class QuaternionSlerp : QuaternionBaseAction - { - - [RequiredField] - [Tooltip("From Quaternion.")] - public FsmQuaternion fromQuaternion; - - [RequiredField] - [Tooltip("To Quaternion.")] - public FsmQuaternion toQuaternion; - - [RequiredField] - [Tooltip("Interpolate between fromQuaternion and toQuaternion by this amount. Value is clamped to 0-1 range. 0 = fromQuaternion; 1 = toQuaternion; 0.5 = half way between.")] - [HasFloatSlider(0f, 1f)] - public FsmFloat amount; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in this quaternion variable.")] - public FsmQuaternion storeResult; - - public override void Reset() - { - fromQuaternion = new FsmQuaternion { UseVariable = true }; - toQuaternion = new FsmQuaternion { UseVariable = true }; - amount = 0.1f; - storeResult = null; - everyFrame = true; - everyFrameOption = everyFrameOptions.Update; - } - - public override void OnEnter() - { - DoQuatSlerp(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - if (everyFrameOption == everyFrameOptions.Update ) - { - DoQuatSlerp(); - } - } - public override void OnLateUpdate() - { - if (everyFrameOption == everyFrameOptions.LateUpdate ) - { - DoQuatSlerp(); - } - } - public override void OnFixedUpdate() - { - if (everyFrameOption == everyFrameOptions.FixedUpdate ) - { - DoQuatSlerp(); - } - } - - void DoQuatSlerp() - { - storeResult.Value = Quaternion.Slerp(fromQuaternion.Value, toQuaternion.Value, amount.Value); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionSlerp.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionSlerp.cs.meta deleted file mode 100644 index 246db77e9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Quaternion/QuaternionSlerp.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 4f3507d7651cd4beab8dfd4bf8a35aa8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect.meta b/Assets/ThirdParty/PlayMaker/Actions/Rect.meta deleted file mode 100644 index 2fc262a6a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 6e3d9073e70d11444b8c96e0e71fb25a -folderAsset: yes -timeCreated: 1504500678 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect/GetRectFields.cs b/Assets/ThirdParty/PlayMaker/Actions/Rect/GetRectFields.cs deleted file mode 100644 index 13e1c8a85..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect/GetRectFields.cs +++ /dev/null @@ -1,67 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Rect)] - [Tooltip("Get the individual fields of a Rect Variable and store them in Float Variables.")] - public class GetRectFields : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmRect rectVariable; - - [UIHint(UIHint.Variable)] - public FsmFloat storeX; - - [UIHint(UIHint.Variable)] - public FsmFloat storeY; - - [UIHint(UIHint.Variable)] - public FsmFloat storeWidth; - - [UIHint(UIHint.Variable)] - public FsmFloat storeHeight; - - public bool everyFrame; - - public override void Reset() - { - rectVariable = null; - storeX = null; - storeY = null; - storeWidth = null; - storeHeight = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetRectFields(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetRectFields(); - } - - void DoGetRectFields() - { - if (rectVariable.IsNone) - { - return; - } - - storeX.Value = rectVariable.Value.x; - storeY.Value = rectVariable.Value.y; - storeWidth.Value = rectVariable.Value.width; - storeHeight.Value = rectVariable.Value.height; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect/GetRectFields.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Rect/GetRectFields.cs.meta deleted file mode 100644 index 3f6781a38..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect/GetRectFields.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6d1407ee3c78d9f46b206f60ca49806a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect/RectContains.cs b/Assets/ThirdParty/PlayMaker/Actions/Rect/RectContains.cs deleted file mode 100644 index 92cdf3882..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect/RectContains.cs +++ /dev/null @@ -1,98 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Rect)] - [Tooltip("Tests if a point is inside a rectangle.")] - public class RectContains : FsmStateAction - { - [RequiredField] - [Tooltip("Rectangle to test.")] - public FsmRect rectangle; - - [Tooltip("Point to test.")] - public FsmVector3 point; - - [Tooltip("Specify/override X value.")] - public FsmFloat x; - - [Tooltip("Specify/override Y value.")] - public FsmFloat y; - - //[ActionSection("")] - - [Tooltip("Event to send if the Point is inside the Rectangle.")] - public FsmEvent trueEvent; - - [Tooltip("Event to send if the Point is outside the Rectangle.")] - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a variable.")] - public FsmBool storeResult; - - //[ActionSection("")] - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - rectangle = new FsmRect { UseVariable = true }; - point = new FsmVector3 { UseVariable = true }; - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - storeResult = null; - trueEvent = null; - falseEvent = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoRectContains(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoRectContains(); - } - - void DoRectContains() - { - if (rectangle.IsNone) - { - return; - } - - // get point to test from inputs - - var testPoint = point.Value; - - if (!x.IsNone) - { - testPoint.x = x.Value; - } - - if (!y.IsNone) - { - testPoint.y = y.Value; - } - - // do results - - var contained = rectangle.Value.Contains(testPoint); - - storeResult.Value = contained; - - Fsm.Event(contained ? trueEvent : falseEvent); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect/RectContains.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Rect/RectContains.cs.meta deleted file mode 100644 index 89e132349..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect/RectContains.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3879258ccc484f541aa411a7b6a16cc3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect/RectOverlaps.cs b/Assets/ThirdParty/PlayMaker/Actions/Rect/RectOverlaps.cs deleted file mode 100644 index 499ea9a3e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect/RectOverlaps.cs +++ /dev/null @@ -1,90 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Rect)] - [Tooltip("Tests if 2 Rects overlap.")] - public class RectOverlaps : FsmStateAction - { - [RequiredField] - [Tooltip("First Rectangle.")] - public FsmRect rect1; - - [RequiredField] - [Tooltip("Second Rectangle.")] - public FsmRect rect2; - - [Tooltip("Event to send if the Rects overlap.")] - public FsmEvent trueEvent; - - [Tooltip("Event to send if the Rects do not overlap.")] - public FsmEvent falseEvent; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result in a variable.")] - public FsmBool storeResult; - - //[ActionSection("")] - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - rect1 = new FsmRect { UseVariable = true }; - rect2 = new FsmRect { UseVariable = true }; - storeResult = null; - trueEvent = null; - falseEvent = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoRectOverlap(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoRectOverlap(); - } - - void DoRectOverlap() - { - if (rect1.IsNone || rect2.IsNone) - { - return; - } - - var overlapping = Intersect(rect1.Value, rect2.Value); - storeResult.Value = overlapping; - Fsm.Event(overlapping ? trueEvent : falseEvent); - } - - public static bool Intersect(Rect a, Rect b) - { - FlipNegative(ref a); - FlipNegative(ref b); - bool c1 = a.xMin < b.xMax; - bool c2 = a.xMax > b.xMin; - bool c3 = a.yMin < b.yMax; - bool c4 = a.yMax > b.yMin; - return c1 && c2 && c3 && c4; - } - - public static void FlipNegative(ref Rect r) - { - if (r.width < 0) - r.x -= (r.width *= -1); - if (r.height < 0) - r.y -= (r.height *= -1); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect/RectOverlaps.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Rect/RectOverlaps.cs.meta deleted file mode 100644 index cd9813365..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect/RectOverlaps.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 28b208024f55972479e3c39902c27282 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectFields.cs b/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectFields.cs deleted file mode 100644 index 1b1805343..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectFields.cs +++ /dev/null @@ -1,77 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Rect)] - [Tooltip("Sets the individual fields of a Rect Variable. To leave any field unchanged, set variable to 'None'.")] - public class SetRectFields : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmRect rectVariable; - - public FsmFloat x; - public FsmFloat y; - public FsmFloat width; - public FsmFloat height; - - public bool everyFrame; - - public override void Reset() - { - rectVariable = null; - x = new FsmFloat {UseVariable = true}; - y = new FsmFloat { UseVariable = true }; - width = new FsmFloat { UseVariable = true }; - height = new FsmFloat { UseVariable = true }; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetRectFields(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetRectFields(); - } - - void DoSetRectFields() - { - if (rectVariable.IsNone) - { - return; - } - - var newRect = rectVariable.Value; - - if (!x.IsNone) - { - newRect.x = x.Value; - } - - if (!y.IsNone) - { - newRect.y = y.Value; - } - - if (!width.IsNone) - { - newRect.width = width.Value; - } - - if (!height.IsNone) - { - newRect.height = height.Value; - } - - rectVariable.Value = newRect; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectFields.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectFields.cs.meta deleted file mode 100644 index 23b68815e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectFields.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0d7c17ad7518dfd439fde3f3ea8aaa26 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectValue.cs b/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectValue.cs deleted file mode 100644 index bb2d38c12..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectValue.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Rect)] - [Tooltip("Sets the value of a Rect Variable.")] - public class SetRectValue : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmRect rectVariable; - [RequiredField] - public FsmRect rectValue; - public bool everyFrame; - - public override void Reset() - { - rectVariable = null; - rectValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - rectVariable.Value = rectValue.Value; - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - rectVariable.Value = rectValue.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectValue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectValue.cs.meta deleted file mode 100644 index 49f0d4368..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Rect/SetRectValue.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 161bec3e164de4442986daf9a21e98a0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform.meta deleted file mode 100644 index 220655ca7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 4643a124bd26e2e4487e123156d17249 -folderAsset: yes -timeCreated: 1505070778 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformContainsScreenPoint.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformContainsScreenPoint.cs deleted file mode 100644 index 5b9ea3a44..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformContainsScreenPoint.cs +++ /dev/null @@ -1,128 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. - -using UnityEngine; -using UnityEngine.EventSystems; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Check if a RectTransform contains the screen point as seen from the given camera.")] - public class RectTransformContainsScreenPoint : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The screenPoint as a Vector2. Leave to none if you want to use the Vector3 alternative")] - public FsmVector2 screenPointVector2; - - [Tooltip("The screenPoint as a Vector3. Leave to none if you want to use the Vector2 alternative")] - public FsmVector3 orScreenPointVector3; - - [Tooltip("Define if screenPoint are expressed as normalized screen coordinates (0-1). Otherwise coordinates are in pixels.")] - public bool normalizedScreenPoint; - - [Tooltip("The Camera. For a RectTransform in a Canvas set to Screen Space - Overlay mode, the cam parameter should be set to null explicitly (default).\n" + - "Leave to none and the camera will be the one from EventSystem.current.camera")] - [CheckForComponent(typeof(Camera))] - public FsmGameObject camera; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - [ActionSection("Result")] - - [Tooltip("Store the result.")] - [UIHint(UIHint.Variable)] - public FsmBool isContained; - - [Tooltip("Event sent if screenPoint is contained in RectTransform.")] - public FsmEvent isContainedEvent; - - [Tooltip("Event sent if screenPoint is NOT contained in RectTransform.")] - public FsmEvent isNotContainedEvent; - - RectTransform _rt; - Camera _camera; - - public override void Reset() - { - gameObject = null; - screenPointVector2 = null; - orScreenPointVector3 = new FsmVector3(){UseVariable=true}; - normalizedScreenPoint = false; - camera = null; - everyFrame = false; - - isContained = null; - isContainedEvent = null; - isNotContainedEvent = null; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - if (!camera.IsNone) - { - _camera = camera.Value.GetComponent(); - }else{ - _camera = EventSystem.current.GetComponent(); - } - - DoCheck(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoCheck(); - } - - void DoCheck() - { - if (_rt==null) - { - return; - } - - Vector2 _screenPoint = screenPointVector2.Value; - if (!orScreenPointVector3.IsNone) - { - _screenPoint.x = orScreenPointVector3.Value.x; - _screenPoint.y = orScreenPointVector3.Value.y; - } - - if (normalizedScreenPoint) - { - _screenPoint.x *= Screen.width; - _screenPoint.y *= Screen.height; - } - - bool _result = RectTransformUtility.RectangleContainsScreenPoint(_rt,_screenPoint,_camera); - if (!isContained.IsNone) - { - isContained.Value = _result; - } - - if (_result) - { - if (isContainedEvent!=null) Fsm.Event(isContainedEvent); - }else{ - if (isNotContainedEvent!=null) Fsm.Event(isNotContainedEvent); - } - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformContainsScreenPoint.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformContainsScreenPoint.cs.meta deleted file mode 100644 index ce56c264f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformContainsScreenPoint.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 03cccf469d7b9407bba43ec3b6a74a65 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformFlipLayoutAxes.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformFlipLayoutAxes.cs deleted file mode 100644 index 2d2999619..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformFlipLayoutAxes.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Flips the horizontal and vertical axes of the RectTransform size and alignment, and optionally its children as well.")] - public class RectTransformFlipLayoutAxis : FsmStateAction - { - - public enum RectTransformFlipOptions {Horizontal,Vertical,Both}; - - - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The axis to flip")] - public RectTransformFlipOptions axis; - - [Tooltip("Flips around the pivot if true. Flips within the parent rect if false.")] - public FsmBool keepPositioning; - - [Tooltip("Flip the children as well?")] - public FsmBool recursive; - - - public override void Reset() - { - gameObject = null; - axis = RectTransformFlipOptions.Both; - keepPositioning = null; - recursive = null; - } - - public override void OnEnter() - { - - DoFlip(); - - Finish(); - - } - - void DoFlip() - { - - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - RectTransform _rt = go.GetComponent(); - if (_rt!=null) - { - if (axis== RectTransformFlipOptions.Both) - { - RectTransformUtility.FlipLayoutAxes(_rt,keepPositioning.Value,recursive.Value); - }else if (axis== RectTransformFlipOptions.Horizontal) - { - RectTransformUtility.FlipLayoutOnAxis(_rt,0,keepPositioning.Value,recursive.Value); - }else if (axis== RectTransformFlipOptions.Vertical) - { - RectTransformUtility.FlipLayoutOnAxis(_rt,1,keepPositioning.Value,recursive.Value); - } - } - } - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformFlipLayoutAxes.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformFlipLayoutAxes.cs.meta deleted file mode 100644 index d931794cd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformFlipLayoutAxes.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: b8f571f0f22d445fa9030e09c0d49211 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMax.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMax.cs deleted file mode 100644 index 9f82aca7d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMax.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Get the normalized position in the parent RectTransform that the upper right corner is anchored to.")] - public class RectTransformGetAnchorMax : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The anchorMax")] - [UIHint(UIHint.Variable)] - public FsmVector2 anchorMax; - - [Tooltip("The x component of the anchorMax")] - [UIHint(UIHint.Variable)] - public FsmFloat x; - - [Tooltip("The y component of the anchorMax")] - [UIHint(UIHint.Variable)] - public FsmFloat y; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - anchorMax = null; - x = null; - y = null; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - - if (!anchorMax.IsNone) anchorMax.Value = _rt.anchorMax; - if (!x.IsNone) x.Value = _rt.anchorMax.x; - if (!y.IsNone) y.Value = _rt.anchorMax.y; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMax.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMax.cs.meta deleted file mode 100644 index 63b861409..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMax.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 62c4fca36b7724c0492d4338dadfd69a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMin.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMin.cs deleted file mode 100644 index d1625b162..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMin.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Get the normalized position in the parent RectTransform that the lower left corner is anchored to.")] - public class RectTransformGetAnchorMin : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The anchorMin")] - [UIHint(UIHint.Variable)] - public FsmVector2 anchorMin; - - [Tooltip("The x component of the anchorMin")] - [UIHint(UIHint.Variable)] - public FsmFloat x; - - [Tooltip("The y component of the anchorMin")] - [UIHint(UIHint.Variable)] - public FsmFloat y; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - anchorMin = null; - x = null; - y = null; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - - if (!anchorMin.IsNone) anchorMin.Value = _rt.anchorMin; - if (!x.IsNone) x.Value = _rt.anchorMin.x; - if (!y.IsNone) y.Value = _rt.anchorMin.y; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMin.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMin.cs.meta deleted file mode 100644 index d596a5809..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMin.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 69084d4ee3ae142ac97b27c960de5ebb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMinAndMax.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMinAndMax.cs deleted file mode 100644 index da6126b80..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMinAndMax.cs +++ /dev/null @@ -1,91 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. -// Combined Action by djaydino - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("The normalized position in the parent RectTransform that the upper right corner is anchored to. This is relative screen space, values ranges from 0 to 1")] - public class RectTransformGetAnchorMinAndMax : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The Vector2 anchor max. Set to none for no effect, and/or set individual axis below.")] - public FsmVector2 anchorMax; - - [Tooltip("The Vector2 anchor min. Set to none for no effect, and/or set individual axis below.")] - public FsmVector2 anchorMin; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMax x value if set. Set to none for no effect")] - public FsmFloat xMax; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMax x value if set. Set to none for no effect")] - public FsmFloat yMax; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMin x value if set. Set to none for no effect")] - public FsmFloat xMin; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMin x value if set. Set to none for no effect")] - public FsmFloat yMin; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - anchorMax = null; - anchorMin = null; - xMax = null; - yMax = null; - xMin = null; - yMin = null; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - - - - // override any axis - if (!anchorMax.IsNone) anchorMax.Value = _rt.anchorMax; - if (!anchorMin.IsNone) anchorMin.Value = _rt.anchorMax; - if (!xMax.IsNone) xMax.Value = _rt.anchorMax.x; - if (!yMax.IsNone) yMax.Value = _rt.anchorMax.y; - if (!xMin.IsNone) xMin.Value = _rt.anchorMin.x; - if (!yMin.IsNone) yMin.Value = _rt.anchorMin.y; - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMinAndMax.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMinAndMax.cs.meta deleted file mode 100644 index f8e8f1362..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchorMinAndMax.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: f60074867f2974228ad6f5de5639e362 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchoredPosition.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchoredPosition.cs deleted file mode 100644 index d9f83d5db..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchoredPosition.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Get the position of the pivot of this RectTransform relative to the anchor reference point.")] - public class RectTransformGetAnchoredPosition : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The anchored Position")] - [UIHint(UIHint.Variable)] - public FsmVector2 position; - - [Tooltip("The x component of the anchored Position")] - [UIHint(UIHint.Variable)] - public FsmFloat x; - - [Tooltip("The y component of the anchored Position")] - [UIHint(UIHint.Variable)] - public FsmFloat y; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - position = null; - x = null; - y = null; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - - if (!position.IsNone) position.Value = _rt.anchoredPosition; - if (!x.IsNone) x.Value = _rt.anchoredPosition.x; - if (!y.IsNone) y.Value = _rt.anchoredPosition.y; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchoredPosition.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchoredPosition.cs.meta deleted file mode 100644 index b20b8834b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetAnchoredPosition.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: a2efd8a5f23ac4d078559a59e7231e58 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalPosition.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalPosition.cs deleted file mode 100644 index 3052165e9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalPosition.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Get the Local position of this RectTransform. This is Screen Space values using the anchoring as reference, so 0,0 is the center of the screen if the anchor is te center of the screen.")] - public class RectTransformGetLocalPosition : BaseUpdateAction - { - - public enum LocalPositionReference {Anchor,CenterPosition}; - - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - public LocalPositionReference reference; - - [Tooltip("The position")] - [UIHint(UIHint.Variable)] - public FsmVector3 position; - - [Tooltip("The position in a Vector 2d ")] - [UIHint(UIHint.Variable)] - public FsmVector2 position2d; - - [Tooltip("The x component of the Position")] - [UIHint(UIHint.Variable)] - public FsmFloat x; - - [Tooltip("The y component of the Position")] - [UIHint(UIHint.Variable)] - public FsmFloat y; - - [Tooltip("The z component of the Position")] - [UIHint(UIHint.Variable)] - public FsmFloat z; - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - reference = LocalPositionReference.Anchor; - position = null; - position2d = null; - x = null; - y = null; - z = null; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - if (_rt==null) - { - return; - } - - Vector3 _pos = _rt.localPosition; - - if (reference == LocalPositionReference.CenterPosition) - { - _pos.x += _rt.rect.center.x; - _pos.y += _rt.rect.center.y; - } - - if (!position.IsNone) position.Value = _pos; - - if (!position2d.IsNone) position2d.Value = new Vector2(_pos.x,_pos.y); - - if (!x.IsNone) x.Value = _pos.x; - if (!y.IsNone) y.Value = _pos.y; - if (!z.IsNone) z.Value = _pos.z; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalPosition.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalPosition.cs.meta deleted file mode 100644 index 99c1173f5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalPosition.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 395f041d4f95642d2a4e8075e0ac7479 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalRotation.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalRotation.cs deleted file mode 100644 index 880e75c47..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalRotation.cs +++ /dev/null @@ -1,75 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Gets the local rotation of this RectTransform.")] - public class RectTransformGetLocalRotation : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The rotation")] - public FsmVector3 rotation; - - [Tooltip("The x component of the rotation")] - public FsmFloat x; - - [Tooltip("The y component of the rotation")] - public FsmFloat y; - - [Tooltip("The z component of the rotation")] - public FsmFloat z; - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - rotation = new FsmVector3(){UseVariable=true}; - x = new FsmFloat(){UseVariable=true}; - y = new FsmFloat(){UseVariable=true}; - z = new FsmFloat(){UseVariable=true}; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - if (_rt==null) - { - return; - } - - if (!rotation.IsNone) rotation.Value = _rt.eulerAngles; - - if (!x.IsNone) x.Value = _rt.eulerAngles.x; - if (!y.IsNone) y.Value = _rt.eulerAngles.y; - if (!z.IsNone) z.Value = _rt.eulerAngles.z; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalRotation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalRotation.cs.meta deleted file mode 100644 index 9b965a1c0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetLocalRotation.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: fd1549d63863d4d77850ec8fd09ead7d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMax.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMax.cs deleted file mode 100644 index cdae56e8b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMax.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Get the offset of the upper right corner of the rectangle relative to the upper right anchor")] - public class RectTransformGetOffsetMax : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The offsetMax")] - [UIHint(UIHint.Variable)] - public FsmVector2 offsetMax; - - [Tooltip("The x component of the offsetMax")] - [UIHint(UIHint.Variable)] - public FsmFloat x; - - [Tooltip("The y component of the offsetMax")] - [UIHint(UIHint.Variable)] - public FsmFloat y; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - offsetMax = null; - x = null; - y = null; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - - if (!offsetMax.IsNone) offsetMax.Value = _rt.offsetMax; - if (!x.IsNone) x.Value = _rt.offsetMax.x; - if (!y.IsNone) y.Value = _rt.offsetMax.y; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMax.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMax.cs.meta deleted file mode 100644 index a8ac32580..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMax.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 921c6be49b81d4087ba7ff0f115739ac -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMin.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMin.cs deleted file mode 100644 index b37252aa3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMin.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Get the offset of the lower left corner of the rectangle relative to the lower left anchor")] - public class RectTransformGetOffsetMin : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The offsetMin")] - [UIHint(UIHint.Variable)] - public FsmVector2 offsetMin; - - [Tooltip("The x component of the offsetMin")] - [UIHint(UIHint.Variable)] - public FsmFloat x; - - [Tooltip("The y component of the offsetMin")] - [UIHint(UIHint.Variable)] - public FsmFloat y; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - offsetMin = null; - x = null; - y = null; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - - if (!offsetMin.IsNone) offsetMin.Value = _rt.offsetMin; - if (!x.IsNone) x.Value = _rt.offsetMin.x; - if (!y.IsNone) y.Value = _rt.offsetMin.y; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMin.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMin.cs.meta deleted file mode 100644 index e05a1c167..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetOffsetMin.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 5d2bd73c15cbb4bec873a6d6a9c94485 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetPivot.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetPivot.cs deleted file mode 100644 index b4809abd2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetPivot.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Get the normalized position in this RectTransform that it rotates around.")] - public class RectTransformGetPivot : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The pivot")] - [UIHint(UIHint.Variable)] - public FsmVector2 pivot; - - [Tooltip("The x component of the pivot")] - [UIHint(UIHint.Variable)] - public FsmFloat x; - - [Tooltip("The y component of the pivot")] - [UIHint(UIHint.Variable)] - public FsmFloat y; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - pivot = null; - x = null; - y = null; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - - if (!pivot.IsNone) pivot.Value = _rt.pivot; - if (!x.IsNone) x.Value = _rt.pivot.x; - if (!y.IsNone) y.Value = _rt.pivot.y; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetPivot.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetPivot.cs.meta deleted file mode 100644 index 3914d3795..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetPivot.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 23e17a363790043c5b6b0daa3bd2d7e3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetRect.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetRect.cs deleted file mode 100644 index 7304a2b20..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetRect.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("The calculated rectangle in the local space of the Transform.")] - public class RectTransformGetRect : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("The rect")] - public FsmRect rect; - - [UIHint(UIHint.Variable)] - public FsmFloat x; - - [UIHint(UIHint.Variable)] - public FsmFloat y; - - [UIHint(UIHint.Variable)] - public FsmFloat width; - - [UIHint(UIHint.Variable)] - public FsmFloat height; - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - rect = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - width = new FsmFloat { UseVariable = true }; - height = new FsmFloat { UseVariable = true }; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - - if (!rect.IsNone) rect.Value = _rt.rect; - - if (!x.IsNone) x.Value = _rt.rect.x; - if (!y.IsNone) y.Value = _rt.rect.y; - if (!width.IsNone) width.Value = _rt.rect.width; - if (!height.IsNone) height.Value = _rt.rect.height; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetRect.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetRect.cs.meta deleted file mode 100644 index cf4ddff1c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetRect.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: cb48b6d50ca0248c9988d927cc968605 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetSizeDelta.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetSizeDelta.cs deleted file mode 100644 index db5ba5863..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetSizeDelta.cs +++ /dev/null @@ -1,69 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Get the size of this RectTransform relative to the distances between the anchors. this is the 'Width' and 'Height' values in the RectTransform inspector.")] - public class RectTransformGetSizeDelta : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The sizeDelta")] - [UIHint(UIHint.Variable)] - public FsmVector2 sizeDelta; - - [Tooltip("The x component of the sizeDelta, the width.")] - [UIHint(UIHint.Variable)] - public FsmFloat width; - - [Tooltip("The y component of the sizeDelta, the height")] - [UIHint(UIHint.Variable)] - public FsmFloat height; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - sizeDelta = null; - width = null; - height = null; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoGetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoGetValues(); - } - - void DoGetValues() - { - if (!sizeDelta.IsNone) sizeDelta.Value = _rt.sizeDelta; - if (!width.IsNone) width.Value = _rt.sizeDelta.x; - if (!height.IsNone) height.Value = _rt.sizeDelta.y; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetSizeDelta.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetSizeDelta.cs.meta deleted file mode 100644 index ba54b9898..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformGetSizeDelta.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 528fc693ed7c24a83a122d54ca5bfe5a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustPoint.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustPoint.cs deleted file mode 100644 index 2a64d9956..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustPoint.cs +++ /dev/null @@ -1,87 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Convert a given point in screen space into a pixel correct point.")] - public class RectTransformPixelAdjustPoint : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [CheckForComponent(typeof(Canvas))] - [Tooltip("The canvas. Leave to none to use the canvas of the gameObject")] - public FsmGameObject canvas; - - [Tooltip("The screen position.")] - public FsmVector2 screenPoint; - - [ActionSection("Result")] - [RequiredField] - [Tooltip("Pixel adjusted point from the screen position.")] - [UIHint(UIHint.Variable)] - public FsmVector2 pixelPoint; - - RectTransform _rt; - Canvas _canvas; - - - public override void Reset() - { - base.Reset(); - gameObject = null; - canvas = new FsmGameObject(){UseVariable=true}; - - screenPoint = null; - pixelPoint = null; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - GameObject goCanvas = canvas.Value; - if (goCanvas != null) - { - _canvas = goCanvas.GetComponent(); - } - - if (_canvas==null && go!=null) - { - var _ui = go.GetComponent(); - if (_ui!=null) - { - _canvas = _ui.canvas; - } - } - - DoAction(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoAction(); - } - - - void DoAction() - { - pixelPoint.Value = RectTransformUtility.PixelAdjustPoint(screenPoint.Value,_rt,_canvas); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustPoint.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustPoint.cs.meta deleted file mode 100644 index 46d2fefa9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustPoint.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: d83b0b1f83ea94434b4197ac34c8524f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustRect.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustRect.cs deleted file mode 100644 index b937b7fee..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustRect.cs +++ /dev/null @@ -1,84 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Given a rect transform, return the corner points in pixel accurate coordinates.")] - public class RectTransformPixelAdjustRect : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [CheckForComponent(typeof(Canvas))] - [Tooltip("The canvas. Leave to none to use the canvas of the gameObject")] - public FsmGameObject canvas; - - [ActionSection("Result")] - [RequiredField] - [Tooltip("Pixel adjusted rect.")] - [UIHint(UIHint.Variable)] - public FsmRect pixelRect; - - RectTransform _rt; - Canvas _canvas; - - - public override void Reset() - { - base.Reset(); - gameObject = null; - canvas = new FsmGameObject(){UseVariable=true}; - - pixelRect = null; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - GameObject goCanvas = canvas.Value; - if (goCanvas != null) - { - _canvas = goCanvas.GetComponent(); - } - - if (_canvas==null && go!=null) - { - var _ui = go.GetComponent(); - if (_ui!=null) - { - _canvas = _ui.canvas; - } - } - - DoAction(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoAction(); - } - - - void DoAction() - { - pixelRect.Value = RectTransformUtility.PixelAdjustRect(_rt,_canvas); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustRect.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustRect.cs.meta deleted file mode 100644 index dcfe4d1a8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformPixelAdjustRect.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: edb44f32f47de4ce2b04f9b7e3a4f2c9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToLocalPointInRectangle.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToLocalPointInRectangle.cs deleted file mode 100644 index a261e0401..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToLocalPointInRectangle.cs +++ /dev/null @@ -1,153 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; -using UnityEngine.EventSystems; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Transform a screen space point to a local position that is on the plane of the given RectTransform. Also check if the plane of the RectTransform is hit, regardless of whether the point is inside the rectangle.")] - public class RectTransformScreenPointToLocalPointInRectangle : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The screenPoint as a Vector2. Leave to none if you want to use the Vector3 alternative")] - public FsmVector2 screenPointVector2; - - [Tooltip("The screenPoint as a Vector3. Leave to none if you want to use the Vector2 alternative")] - public FsmVector3 orScreenPointVector3; - - [Tooltip("Define if screenPoint are expressed as normalized screen coordinates (0-1). Otherwise coordinates are in pixels.")] - public bool normalizedScreenPoint; - - [Tooltip("The Camera. For a RectTransform in a Canvas set to Screen Space - Overlay mode, the cam parameter should be set to null explicitly (default).\n" + - "Leave to none and the camera will be the one from EventSystem.current.camera")] - [CheckForComponent(typeof(Camera))] - public FsmGameObject camera; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - [ActionSection("Result")] - - [Tooltip("Store the local Position as a vector3 of the screenPoint on the RectTransform Plane.")] - [UIHint(UIHint.Variable)] - public FsmVector3 localPosition; - - [Tooltip("Store the local Position as a vector2 of the screenPoint on the RectTransform Plane.")] - [UIHint(UIHint.Variable)] - public FsmVector2 localPosition2d; - - [Tooltip("True if the plane of the RectTransform is hit, regardless of whether the point is inside the rectangle.")] - [UIHint(UIHint.Variable)] - public FsmBool isHit; - - [Tooltip("Event sent if the plane of the RectTransform is hit, regardless of whether the point is inside the rectangle.")] - public FsmEvent hitEvent; - - [Tooltip("Event sent if the plane of the RectTransform is NOT hit, regardless of whether the point is inside the rectangle.")] - public FsmEvent noHitEvent; - - RectTransform _rt; - Camera _camera; - - public override void Reset() - { - gameObject = null; - screenPointVector2 = null; - orScreenPointVector3 = new FsmVector3(){UseVariable=true}; - normalizedScreenPoint = false; - camera = new FsmGameObject(){UseVariable=true}; - everyFrame = false; - - localPosition = null; - localPosition2d = null; - - isHit = null; - hitEvent = null; - noHitEvent = null; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - if (!camera.IsNone) - { - _camera = camera.Value.GetComponent(); - }else{ - _camera = EventSystem.current.GetComponent(); - } - - DoCheck(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoCheck(); - } - - void DoCheck() - { - if (_rt==null) - { - return; - } - - Vector2 _screenPoint = screenPointVector2.Value; - if (!orScreenPointVector3.IsNone) - { - _screenPoint.x = orScreenPointVector3.Value.x; - _screenPoint.y = orScreenPointVector3.Value.y; - } - - if (normalizedScreenPoint) - { - _screenPoint.x *= Screen.width; - _screenPoint.y *= Screen.height; - } - Vector2 _localPosition; - - bool _result = false; - - _result = RectTransformUtility.ScreenPointToLocalPointInRectangle(_rt,_screenPoint,_camera,out _localPosition); - - if (!localPosition2d.IsNone) - { - localPosition2d.Value = _localPosition; - } - - if (!localPosition.IsNone) - { - localPosition.Value = new Vector3(_localPosition.x,_localPosition.y,0f); - } - - if (!isHit.IsNone) - { - isHit.Value = _result; - } - - if (_result) - { - if (hitEvent!=null) Fsm.Event(hitEvent); - }else{ - if (noHitEvent!=null) Fsm.Event(noHitEvent); - } - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToLocalPointInRectangle.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToLocalPointInRectangle.cs.meta deleted file mode 100644 index 59a0fd4cf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToLocalPointInRectangle.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: bee22ad6c779442f381783a3c565fa9f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToWorldPointInRectangle.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToWorldPointInRectangle.cs deleted file mode 100644 index b22ec790f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToWorldPointInRectangle.cs +++ /dev/null @@ -1,141 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; -using UnityEngine.EventSystems; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Transform a screen space point to a world position that is on the plane of the given RectTransform. Also check if the plane of the RectTransform is hit, regardless of whether the point is inside the rectangle.")] - public class RectTransformScreenPointToWorldPointInRectangle : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The screenPoint as a Vector2. Leave to none if you want to use the Vector3 alternative")] - public FsmVector2 screenPointVector2; - - [Tooltip("The screenPoint as a Vector3. Leave to none if you want to use the Vector2 alternative")] - public FsmVector3 orScreenPointVector3; - - [Tooltip("Define if screenPoint are expressed as normalized screen coordinates (0-1). Otherwise coordinates are in pixels.")] - public bool normalizedScreenPoint; - - [Tooltip("The Camera. For a RectTransform in a Canvas set to Screen Space - Overlay mode, the cam parameter should be set to null explicitly (default).\n" + - "Leave to none and the camera will be the one from EventSystem.current.camera")] - [CheckForComponent(typeof(Camera))] - public FsmGameObject camera; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - [ActionSection("Result")] - - [Tooltip("Store the world Position of the screenPoint on the RectTransform Plane.")] - [UIHint(UIHint.Variable)] - public FsmVector3 worldPosition; - - [Tooltip("True if the plane of the RectTransform is hit, regardless of whether the point is inside the rectangle.")] - [UIHint(UIHint.Variable)] - public FsmBool isHit; - - [Tooltip("Event sent if the plane of the RectTransform is hit, regardless of whether the point is inside the rectangle.")] - public FsmEvent hitEvent; - - [Tooltip("Event sent if the plane of the RectTransform is NOT hit, regardless of whether the point is inside the rectangle.")] - public FsmEvent noHitEvent; - - RectTransform _rt; - Camera _camera; - - public override void Reset() - { - gameObject = null; - screenPointVector2 = null; - orScreenPointVector3 = new FsmVector3(){UseVariable=true}; - normalizedScreenPoint = false; - camera = new FsmGameObject(){UseVariable=true}; - everyFrame = false; - - worldPosition = null; - - isHit = null; - hitEvent = null; - noHitEvent = null; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - if (! camera.IsNone) - { - _camera = camera.Value.GetComponent(); - }else{ - _camera = EventSystem.current.GetComponent(); - } - - DoCheck(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoCheck(); - } - - void DoCheck() - { - if (_rt==null) - { - return; - } - - Vector2 _screenPoint = screenPointVector2.Value; - if (!orScreenPointVector3.IsNone) - { - _screenPoint.x = orScreenPointVector3.Value.x; - _screenPoint.y = orScreenPointVector3.Value.y; - } - - if (normalizedScreenPoint) - { - _screenPoint.x *= Screen.width; - _screenPoint.y *= Screen.height; - } - Vector3 _worldPosition; - - bool _result = false; - - _result = RectTransformUtility.ScreenPointToWorldPointInRectangle(_rt,_screenPoint,_camera,out _worldPosition); - - - worldPosition.Value = _worldPosition; - - if (!isHit.IsNone) - { - isHit.Value = _result; - } - - if (_result) - { - if (hitEvent!=null) Fsm.Event(hitEvent); - }else{ - if (noHitEvent!=null) Fsm.Event(noHitEvent); - } - - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToWorldPointInRectangle.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToWorldPointInRectangle.cs.meta deleted file mode 100644 index 538f36570..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformScreenPointToWorldPointInRectangle.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: fa9e7f797ef274a9ba6e1f0397bb78c4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMax.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMax.cs deleted file mode 100644 index d83f77f69..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMax.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("The normalized position in the parent RectTransform that the upper right corner is anchored to. This is relative screen space, values ranges from 0 to 1")] - public class RectTransformSetAnchorMax : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The Vector2 anchor. Set to none for no effect, and/or set individual axis below.")] - public FsmVector2 anchorMax; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMax x value if set. Set to none for no effect")] - public FsmFloat x; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMax x value if set. Set to none for no effect")] - public FsmFloat y; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - anchorMax = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetAnchorMax(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetAnchorMax(); - } - - void DoSetAnchorMax() - { - // init position - Vector2 _anchor = _rt.anchorMax; - - if (!anchorMax.IsNone) - { - _anchor = anchorMax.Value; - } - - // override any axis - if (!x.IsNone) _anchor.x = x.Value; - if (!y.IsNone) _anchor.y = y.Value; - - // apply - _rt.anchorMax = _anchor; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMax.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMax.cs.meta deleted file mode 100644 index 2b4ed72e4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMax.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 9cb540e77793f4c059ec35c21b3abaa3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMin.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMin.cs deleted file mode 100644 index dbcee3113..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMin.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("The normalized position in the parent RectTransform that the lower left corner is anchored to. This is relative screen space, values ranges from 0 to 1")] - public class RectTransformSetAnchorMin : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The Vector2 anchor. Set to none for no effect, and/or set individual axis below.")] - public FsmVector2 anchorMin; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMin x value if set. Set to none for no effect")] - public FsmFloat x; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMin x value if set. Set to none for no effect")] - public FsmFloat y; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - anchorMin = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetAnchorMin(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetAnchorMin(); - } - - void DoSetAnchorMin() - { - // init position - Vector2 _anchor = _rt.anchorMin; - - if (!anchorMin.IsNone) - { - _anchor = anchorMin.Value; - } - - // override any axis - if (!x.IsNone) _anchor.x = x.Value; - if (!y.IsNone) _anchor.y = y.Value; - - // apply - _rt.anchorMin = _anchor; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMin.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMin.cs.meta deleted file mode 100644 index 4f6aef9d4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMin.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: fba31cbc48aa54bd2846080b8a5e255b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMinAndMax.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMinAndMax.cs deleted file mode 100644 index 5e74514ab..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMinAndMax.cs +++ /dev/null @@ -1,101 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. -// Combined Action for easier use by djaydino - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("The normalized position in the parent RectTransform that the upper right corner is anchored to. This is relative screen space, values ranges from 0 to 1")] - public class RectTransformSetAnchorMinAndMax : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The Vector2 anchor max. Set to none for no effect, and/or set individual axis below.")] - public FsmVector2 anchorMax; - - [Tooltip("The Vector2 anchor min. Set to none for no effect, and/or set individual axis below.")] - public FsmVector2 anchorMin; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMax x value if set. Set to none for no effect")] - public FsmFloat xMax; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMax x value if set. Set to none for no effect")] - public FsmFloat yMax; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMin x value if set. Set to none for no effect")] - public FsmFloat xMin; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides anchorMin x value if set. Set to none for no effect")] - public FsmFloat yMin; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - anchorMax = null; - anchorMin = null; - // default axis to variable dropdown with None selected. - xMax = new FsmFloat { UseVariable = true }; - yMax = new FsmFloat { UseVariable = true }; - xMin = new FsmFloat { UseVariable = true }; - yMin = new FsmFloat { UseVariable = true }; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetAnchorMax(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetAnchorMax(); - } - - void DoSetAnchorMax() - { - // init position - Vector2 _anchorMax = _rt.anchorMax; - Vector2 _anchorMin = _rt.anchorMin; - - if (!anchorMax.IsNone) - { - _anchorMax = anchorMax.Value; - _anchorMin = anchorMin.Value; - } - - // override any axis - if (!xMax.IsNone) _anchorMax.x = xMax.Value; - if (!yMax.IsNone) _anchorMax.y = yMax.Value; - if (!xMin.IsNone) _anchorMin.x = xMin.Value; - if (!yMin.IsNone) _anchorMin.y = yMin.Value; - - // apply - _rt.anchorMax = _anchorMax; - _rt.anchorMin = _anchorMin; - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMinAndMax.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMinAndMax.cs.meta deleted file mode 100644 index b634a7443..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorMinAndMax.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: c9ad718ea37064d20bfba4dc30ebd6b8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorRectPosition.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorRectPosition.cs deleted file mode 100644 index d2765adac..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorRectPosition.cs +++ /dev/null @@ -1,162 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2014. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("The position ( normalized or not) in the parent RectTransform keeping the anchor rect size intact. This lets you position the whole Rect in one go. Use this to easily animate movement (like IOS sliding UIView)")] - public class RectTransformSetAnchorRectPosition : BaseUpdateAction - { - public enum AnchorReference {TopLeft,Top,TopRight,Right,BottomRight,Bottom,BottomLeft,Left,Center}; - - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The reference for the given position")] - public AnchorReference anchorReference; - - [Tooltip("Are the supplied screen coordinates normalized (0-1), or in pixels.")] - public FsmBool normalized; - - [Tooltip("The Vector2 position, and/or set individual axis below.")] - public FsmVector2 anchor; - - [HasFloatSlider(0f,1f)] - public FsmFloat x; - - [HasFloatSlider(0f,1f)] - public FsmFloat y; - - RectTransform _rt; - - Rect _anchorRect; - - public override void Reset() - { - base.Reset(); - - normalized = true; - gameObject = null; - anchorReference = AnchorReference.BottomLeft; - anchor= null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetAnchor(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetAnchor(); - } - - void DoSetAnchor() - { - - _anchorRect = new Rect(); - _anchorRect.min = _rt.anchorMin; - _anchorRect.max = _rt.anchorMax; - - // init position - Vector2 _anchor = Vector2.zero; - _anchor = _anchorRect.min; - - if (!anchor.IsNone) - { - if (normalized.Value) - { - _anchor = anchor.Value; - }else{ - _anchor.x = anchor.Value.x / Screen.width; - _anchor.y = anchor.Value.y / Screen.height; - } - - } - // override any axis - - if (!x.IsNone) - { - if (normalized.Value) - { - _anchor.x = x.Value; - }else{ - _anchor.x = x.Value / Screen.width; - } - } - - if (!y.IsNone) - { - if (normalized.Value) - { - _anchor.y = y.Value; - }else{ - _anchor.y = y.Value / Screen.height; - } - } - - - if (anchorReference == AnchorReference.BottomLeft) - { - _anchorRect.x = _anchor.x; - _anchorRect.y = _anchor.y; - - }else if (anchorReference == AnchorReference.Left) - { - _anchorRect.x = _anchor.x; - _anchorRect.y = _anchor.y - 0.5f; - }else if (anchorReference == AnchorReference.TopLeft) - { - _anchorRect.x = _anchor.x; - _anchorRect.y = _anchor.y - 1f; - }else if (anchorReference == AnchorReference.Top) - { - _anchorRect.x = _anchor.x - 0.5f; - _anchorRect.y = _anchor.y - 1f; - }else if (anchorReference == AnchorReference.TopRight) - { - _anchorRect.x = _anchor.x - 1f; - _anchorRect.y = _anchor.y - 1f; - }else if (anchorReference == AnchorReference.Right) - { - _anchorRect.x = _anchor.x - 1f; - _anchorRect.y = _anchor.y - 0.5f; - }else if (anchorReference == AnchorReference.BottomRight) - { - _anchorRect.x = _anchor.x - 1f; - _anchorRect.y = _anchor.y; - }else if (anchorReference == AnchorReference.Bottom) - { - _anchorRect.x = _anchor.x - 0.5f; - _anchorRect.y = _anchor.y; - }else if (anchorReference == AnchorReference.Center) - { - _anchorRect.x = _anchor.x - 0.5f; - _anchorRect.y = _anchor.y - 0.5f; - } - - - // apply - _rt.anchorMin = _anchorRect.min; - _rt.anchorMax = _anchorRect.max; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorRectPosition.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorRectPosition.cs.meta deleted file mode 100644 index c0fe41000..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchorRectPosition.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 3a943d0ac6a074637bd0f922808b7be8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchoredPosition.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchoredPosition.cs deleted file mode 100644 index 582eeecfd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchoredPosition.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("The position of the pivot of this RectTransform relative to the anchor reference point." + - "The anchor reference point is where the anchors are. " + - "If the anchor are not together, the four anchor positions are interpolated according to the pivot normalized values.")] - public class RectTransformSetAnchoredPosition : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The Vector2 position. Set to none for no effect, and/or set individual axis below. ")] - public FsmVector2 position; - - [Tooltip("Setting only the x value. Overrides position x value if set. Set to none for no effect")] - public FsmFloat x; - - [Tooltip("Setting only the y value. Overrides position x value if set. Set to none for no effect")] - public FsmFloat y; - - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - position = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetAnchoredPosition(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetAnchoredPosition(); - } - - void DoSetAnchoredPosition() - { - // init position - Vector2 _position = _rt.anchoredPosition; - - if (!position.IsNone) - { - _position = position.Value; - } - - // override any axis - if (!x.IsNone) _position.x = x.Value; - if (!y.IsNone) _position.y = y.Value; - - // apply - _rt.anchoredPosition = _position; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchoredPosition.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchoredPosition.cs.meta deleted file mode 100644 index 92d39d10c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetAnchoredPosition.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 623d39a841fa1423c9390b9e289254d9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalPosition.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalPosition.cs deleted file mode 100644 index 69ba2a7b6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalPosition.cs +++ /dev/null @@ -1,90 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Set the local position of this RectTransform.")] - public class RectTransformSetLocalPosition : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The position. Set to none for no effect")] - public FsmVector2 position2d; - - [Tooltip("Or the 3d position. Set to none for no effect")] - public FsmVector3 position; - - [Tooltip("The x component of the rotation. Set to none for no effect")] - public FsmFloat x; - - [Tooltip("The y component of the rotation. Set to none for no effect")] - public FsmFloat y; - - [Tooltip("The z component of the rotation. Set to none for no effect")] - public FsmFloat z; - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - position2d = new FsmVector2(){UseVariable=true}; - position = new FsmVector3(){UseVariable=true}; - x = new FsmFloat(){UseVariable=true}; - y = new FsmFloat(){UseVariable=true}; - z = new FsmFloat(){UseVariable=true}; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetValues(); - } - - void DoSetValues() - { - if (_rt==null) - { - return; - } - - Vector3 _pos = _rt.localPosition; - - if (!position.IsNone) _pos = position.Value; - - if (!position2d.IsNone) - { - _pos.x = position2d.Value.x; - _pos.y = position2d.Value.y; - } - - if (!x.IsNone) _pos.x = x.Value; - if (!y.IsNone) _pos.y = y.Value; - if (!z.IsNone) _pos.z = z.Value; - - _rt.localPosition = _pos; - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalPosition.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalPosition.cs.meta deleted file mode 100644 index fe23e45a5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalPosition.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: faf73d6609ec84b028ac998ec8349a21 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalRotation.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalRotation.cs deleted file mode 100644 index 7b77432c8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalRotation.cs +++ /dev/null @@ -1,80 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Set the local rotation of this RectTransform.")] - public class RectTransformSetLocalRotation : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The rotation. Set to none for no effect")] - public FsmVector3 rotation; - - [Tooltip("The x component of the rotation. Set to none for no effect")] - public FsmFloat x; - - [Tooltip("The y component of the rotation. Set to none for no effect")] - public FsmFloat y; - - [Tooltip("The z component of the rotation. Set to none for no effect")] - public FsmFloat z; - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - rotation = new FsmVector3(){UseVariable=true}; - x = new FsmFloat(){UseVariable=true}; - y = new FsmFloat(){UseVariable=true}; - z = new FsmFloat(){UseVariable=true}; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetValues(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetValues(); - } - - void DoSetValues() - { - if (_rt==null) - { - return; - } - - Vector3 _rot = _rt.eulerAngles; - - if (!rotation.IsNone) _rot = rotation.Value; - - if (!x.IsNone) _rot.x = x.Value; - if (!y.IsNone) _rot.y = y.Value; - if (!z.IsNone) _rot.z = z.Value; - - _rt.eulerAngles = _rot; - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalRotation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalRotation.cs.meta deleted file mode 100644 index d59e9f2a8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetLocalRotation.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 69eb6edc496684ea0ba433e220ae6f31 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMax.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMax.cs deleted file mode 100644 index 76ef023e1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMax.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip(" The offset of the upper right corner of the rectangle relative to the upper right anchor.")] - public class RectTransformSetOffsetMax : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The Vector2 offsetMax. Set to none for no effect, and/or set individual axis below.")] - public FsmVector2 offsetMax; - - [Tooltip("Setting only the x value. Overrides offsetMax x value if set. Set to none for no effect")] - public FsmFloat x; - - [Tooltip("Setting only the y value. Overrides offsetMax y value if set. Set to none for no effect")] - public FsmFloat y; - - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - offsetMax = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetOffsetMax(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetOffsetMax(); - } - - void DoSetOffsetMax() - { - // init position - Vector2 _offset = _rt.offsetMax; - - if (!offsetMax.IsNone) - { - _offset = offsetMax.Value; - } - // override any axis - if (!x.IsNone) _offset.x = x.Value; - if (!y.IsNone) _offset.y = y.Value; - - // apply - _rt.offsetMax = _offset; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMax.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMax.cs.meta deleted file mode 100644 index f35143516..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMax.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 2e15192c18427430fb99aaf26ca9f03a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMin.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMin.cs deleted file mode 100644 index e568993a7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMin.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("The offset of the lower left corner of the rectangle relative to the lower left anchor.")] - public class RectTransformSetOffsetMin : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The Vector2 offsetMin. Set to none for no effect, and/or set individual axis below.")] - public FsmVector2 offsetMin; - - [Tooltip("Setting only the x value. Overrides offsetMin x value if set. Set to none for no effect")] - public FsmFloat x; - - [Tooltip("Setting only the x value. Overrides offsetMin y value if set. Set to none for no effect")] - public FsmFloat y; - - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - offsetMin = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetOffsetMin(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetOffsetMin(); - } - - void DoSetOffsetMin() - { - // init position - Vector2 _offset = _rt.offsetMin; - - if (!offsetMin.IsNone) - { - _offset = offsetMin.Value; - } - // override any axis - if (!x.IsNone) _offset.x = x.Value; - if (!y.IsNone) _offset.y = y.Value; - - // apply - _rt.offsetMin = _offset; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMin.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMin.cs.meta deleted file mode 100644 index 2eff7ce87..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetOffsetMin.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: f840a00d914b04d1594460583eefa062 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetPivot.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetPivot.cs deleted file mode 100644 index 743eb3450..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetPivot.cs +++ /dev/null @@ -1,82 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("The normalized position in this RectTransform that it rotates around.")] - public class RectTransformSetPivot : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The Vector2 pivot. Set to none for no effect, and/or set individual axis below.")] - public FsmVector2 pivot; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides pivot x value if set. Set to none for no effect")] - public FsmFloat x; - - [HasFloatSlider(0f,1f)] - [Tooltip("Setting only the x value. Overrides pivot y value if set. Set to none for no effect")] - public FsmFloat y; - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - - gameObject = null; - pivot = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetPivotPosition(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetPivotPosition(); - } - - void DoSetPivotPosition() - { - // init position - Vector2 _pivot = _rt.pivot; - - if (!pivot.IsNone) - { - _pivot = pivot.Value; - } - // override any axis - - if (!x.IsNone) _pivot.x = x.Value; - if (!y.IsNone) _pivot.y = y.Value; - - // apply - - _rt.pivot = _pivot; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetPivot.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetPivot.cs.meta deleted file mode 100644 index ac68483ba..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetPivot.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 2208b217ef60a47afbac882f698a70c6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetSizeDelta.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetSizeDelta.cs deleted file mode 100644 index 9daae7b5d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetSizeDelta.cs +++ /dev/null @@ -1,79 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("Set the size of this RectTransform relative to the distances between the anchors. this is the 'Width' and 'Height' values in the RectTransform inspector.")] - public class RectTransformSetSizeDelta : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("TheVector2 sizeDelta. Set to none for no effect, and/or set individual axis below.")] - public FsmVector2 sizeDelta; - - [Tooltip("Setting only the x value. Overrides sizeDelta x value if set. Set to none for no effect")] - public FsmFloat x; - - [Tooltip("Setting only the x value. Overrides sizeDelta y value if set. Set to none for no effect")] - public FsmFloat y; - - - - RectTransform _rt; - - public override void Reset() - { - base.Reset(); - gameObject = null; - sizeDelta = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - DoSetSizeDelta(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoSetSizeDelta(); - } - - void DoSetSizeDelta() - { - // init position - Vector2 _sizeDelta = _rt.sizeDelta; - - if (!sizeDelta.IsNone) - { - _sizeDelta = sizeDelta.Value; - } - - // override any axis - if (!x.IsNone) _sizeDelta.x = x.Value; - if (!y.IsNone) _sizeDelta.y = y.Value; - - // apply - _rt.sizeDelta = _sizeDelta; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetSizeDelta.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetSizeDelta.cs.meta deleted file mode 100644 index 9ce6ae571..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformSetSizeDelta.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 4a14471aeacad41ed84f860ed1d6718e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformWorldToScreenPoint.cs b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformWorldToScreenPoint.cs deleted file mode 100644 index 566caf536..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformWorldToScreenPoint.cs +++ /dev/null @@ -1,94 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2015. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory("RectTransform")] - [Tooltip("RectTransforms position from world space into screen space. Leave the camera to none for default behavior")] - public class RectTransformWorldToScreenPoint : BaseUpdateAction - { - [RequiredField] - [CheckForComponent(typeof(RectTransform))] - [Tooltip("The GameObject target.")] - public FsmOwnerDefault gameObject; - - [CheckForComponent(typeof(Camera))] - [Tooltip("The camera to perform the calculation. Leave to none for default behavior")] - public FsmOwnerDefault camera; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the screen position in a Vector3 Variable. Z will equal zero.")] - public FsmVector3 screenPoint; - [UIHint(UIHint.Variable)] - [Tooltip("Store the screen X position in a Float Variable.")] - public FsmFloat screenX; - [UIHint(UIHint.Variable)] - [Tooltip("Store the screen Y position in a Float Variable.")] - public FsmFloat screenY; - [Tooltip("Normalize screen coordinates (0-1). Otherwise coordinates are in pixels.")] - public FsmBool normalize; - - RectTransform _rt; - Camera _cam = null; - - public override void Reset() - { - base.Reset(); - gameObject = null; - camera = new FsmOwnerDefault(); - camera.OwnerOption = OwnerDefaultOption.SpecifyGameObject; - camera.GameObject = new FsmGameObject(){UseVariable=true}; - - screenPoint = null; - screenX = null; - screenY = null; - everyFrame = false; - } - - public override void OnEnter() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - _rt = go.GetComponent(); - } - - GameObject goCam = Fsm.GetOwnerDefaultTarget(camera); - if (goCam != null) - { - _cam = go.GetComponent(); - } - - DoWorldToScreenPoint(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnActionUpdate() - { - DoWorldToScreenPoint(); - } - - - void DoWorldToScreenPoint() - { - var position = RectTransformUtility.WorldToScreenPoint(_cam,_rt.position); - - if (normalize.Value) - { - position.x /= Screen.width; - position.y /= Screen.height; - } - - screenPoint.Value = position; - screenX.Value = position.x; - screenY.Value = position.y; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformWorldToScreenPoint.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformWorldToScreenPoint.cs.meta deleted file mode 100644 index 3ef1b00b6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RectTransform/RectTransformWorldToScreenPoint.cs.meta +++ /dev/null @@ -1,10 +0,0 @@ -fileFormatVersion: 2 -guid: 30303df36b762460b81b61be1357af9e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings.meta b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings.meta deleted file mode 100644 index a89a81b5a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 408616fb23a0c6b4788575cadc48282a -folderAsset: yes -timeCreated: 1504546797 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/EnableFog.cs b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/EnableFog.cs deleted file mode 100644 index 6507488c1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/EnableFog.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.RenderSettings)] - [Tooltip("Enables/Disables Fog in the scene.")] - public class EnableFog : FsmStateAction - { - [Tooltip("Set to True to enable, False to disable.")] - public FsmBool enableFog; - - [Tooltip("Repeat every frame. Useful if the Enable Fog setting is changing.")] - public bool everyFrame; - - public override void Reset() - { - enableFog = true; - everyFrame = false; - } - - public override void OnEnter() - { - RenderSettings.fog = enableFog.Value; - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - RenderSettings.fog = enableFog.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/EnableFog.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/EnableFog.cs.meta deleted file mode 100644 index 6064c1f5f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/EnableFog.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d36d3bc3048b4bc4c88d96241817350f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetAmbientLight.cs b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetAmbientLight.cs deleted file mode 100644 index 376ba7c81..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetAmbientLight.cs +++ /dev/null @@ -1,39 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.RenderSettings)] - [Tooltip("Sets the Ambient Light Color for the scene.")] - public class SetAmbientLight : FsmStateAction - { - [RequiredField] - public FsmColor ambientColor; - public bool everyFrame; - - public override void Reset() - { - ambientColor = Color.gray; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetAmbientColor(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetAmbientColor(); - } - - void DoSetAmbientColor() - { - RenderSettings.ambientLight = ambientColor.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetAmbientLight.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetAmbientLight.cs.meta deleted file mode 100644 index 7d4d21929..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetAmbientLight.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 79e8a1aed82f7364eb7f2e89cb0a1b30 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFlareStrength.cs b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFlareStrength.cs deleted file mode 100644 index c5ba77910..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFlareStrength.cs +++ /dev/null @@ -1,39 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.RenderSettings)] - [Tooltip("Sets the intensity of all Flares in the scene.")] - public class SetFlareStrength : FsmStateAction - { - [RequiredField] - public FsmFloat flareStrength; - public bool everyFrame; - - public override void Reset() - { - flareStrength = 0.2f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetFlareStrength(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetFlareStrength(); - } - - void DoSetFlareStrength() - { - RenderSettings.flareStrength = flareStrength.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFlareStrength.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFlareStrength.cs.meta deleted file mode 100644 index feefb8b65..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFlareStrength.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 735bc38edeae5794887f61622d0fb8f3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogColor.cs b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogColor.cs deleted file mode 100644 index a8a0a2e42..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogColor.cs +++ /dev/null @@ -1,39 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.RenderSettings)] - [Tooltip("Sets the color of the Fog in the scene.")] - public class SetFogColor : FsmStateAction - { - [RequiredField] - public FsmColor fogColor; - public bool everyFrame; - - public override void Reset() - { - fogColor = Color.white; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetFogColor(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetFogColor(); - } - - void DoSetFogColor() - { - RenderSettings.fogColor = fogColor.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogColor.cs.meta deleted file mode 100644 index 652ca9a3e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c42fbae9cb61ffa4bbcc4725b19e802e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogDensity.cs b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogDensity.cs deleted file mode 100644 index 5d8961584..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogDensity.cs +++ /dev/null @@ -1,39 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.RenderSettings)] - [Tooltip("Sets the density of the Fog in the scene.")] - public class SetFogDensity : FsmStateAction - { - [RequiredField] - public FsmFloat fogDensity; - public bool everyFrame; - - public override void Reset() - { - fogDensity = 0.5f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetFogDensity(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetFogDensity(); - } - - void DoSetFogDensity() - { - RenderSettings.fogDensity = fogDensity.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogDensity.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogDensity.cs.meta deleted file mode 100644 index d1436c201..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetFogDensity.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 732d8e7e400e6d04eb7d25a443e6bb1a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetHaloStrength.cs b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetHaloStrength.cs deleted file mode 100644 index 5f2032b69..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetHaloStrength.cs +++ /dev/null @@ -1,39 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.RenderSettings)] - [Tooltip("Sets the size of light halos.")] - public class SetHaloStrength : FsmStateAction - { - [RequiredField] - public FsmFloat haloStrength; - public bool everyFrame; - - public override void Reset() - { - haloStrength = 0.5f; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetHaloStrength(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetHaloStrength(); - } - - void DoSetHaloStrength() - { - RenderSettings.haloStrength = haloStrength.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetHaloStrength.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetHaloStrength.cs.meta deleted file mode 100644 index 8e0f3c526..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetHaloStrength.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: dfa3230224ccfea46b26c5cba7cbea76 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetSkybox.cs b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetSkybox.cs deleted file mode 100644 index 3668c0bee..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetSkybox.cs +++ /dev/null @@ -1,35 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.RenderSettings)] - [Tooltip("Sets the global Skybox.")] - public class SetSkybox : FsmStateAction - { - public FsmMaterial skybox; - [Tooltip("Repeat every frame. Useful if the Skybox is changing.")] - public bool everyFrame; - - public override void Reset() - { - skybox = null; - } - - public override void OnEnter() - { - RenderSettings.skybox = skybox.Value; - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - RenderSettings.skybox = skybox.Value; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetSkybox.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetSkybox.cs.meta deleted file mode 100644 index ba40e711d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/RenderSettings/SetSkybox.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 928fc049037e6ed449289cc393fbc2c0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager.meta deleted file mode 100644 index 39f2b5bc6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: a68bb0431436a4c7eafe8183cc97caa5 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/AllowSceneActivation.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/AllowSceneActivation.cs deleted file mode 100644 index 9f4b47f96..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/AllowSceneActivation.cs +++ /dev/null @@ -1,90 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Allow scenes to be activated. Use this after LoadSceneAsynch where you did not activated the scene upon loading")] - public class AllowSceneActivation : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The name of the new scene. It cannot be empty or null, or same as the name of the existing scenes.")] - public FsmInt aSynchOperationHashCode; - - [Tooltip("Allow the scene to be activated")] - public FsmBool allowSceneActivation; - - [ActionSection("Result")] - - [Tooltip("The loading's progress.")] - [UIHint(UIHint.Variable)] - public FsmFloat progress; - - [Tooltip("True when loading is done")] - [UIHint(UIHint.Variable)] - public FsmBool isDone; - - [Tooltip("Event sent when scene loading is done")] - public FsmEvent doneEvent; - - [Tooltip("Event sent when action could not be performed. Check Log for more information")] - public FsmEvent failureEvent; - - public override void Reset() - { - aSynchOperationHashCode = null; - allowSceneActivation = true; - - progress = null; - isDone = null; - doneEvent = null; - failureEvent = null; - } - - public override void OnEnter() - { - DoAllowSceneActivation (); - } - - public override void OnUpdate() - { - if (!progress.IsNone) - progress.Value = LoadSceneAsynch.aSyncOperationLUT [aSynchOperationHashCode.Value].progress; - - if (!isDone.IsNone) { - isDone.Value = LoadSceneAsynch.aSyncOperationLUT [aSynchOperationHashCode.Value].isDone; - } - - if (LoadSceneAsynch.aSyncOperationLUT [aSynchOperationHashCode.Value].isDone) { - LoadSceneAsynch.aSyncOperationLUT.Remove (aSynchOperationHashCode.Value); - Fsm.Event (doneEvent); - Finish (); - return; - } - } - - - void DoAllowSceneActivation() - { - if (aSynchOperationHashCode.IsNone || - allowSceneActivation.IsNone || - LoadSceneAsynch.aSyncOperationLUT==null || - !LoadSceneAsynch.aSyncOperationLUT.ContainsKey(aSynchOperationHashCode.Value) - ) { - Fsm.Event(failureEvent); - Finish(); - return; - } - - LoadSceneAsynch.aSyncOperationLUT [aSynchOperationHashCode.Value].allowSceneActivation = allowSceneActivation.Value; - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/AllowSceneActivation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/AllowSceneActivation.cs.meta deleted file mode 100644 index 466c24df1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/AllowSceneActivation.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 911d2fa2643584b6db0943fe49dbfff4 -timeCreated: 1470822133 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/CreateScene.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/CreateScene.cs deleted file mode 100644 index a8636bf86..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/CreateScene.cs +++ /dev/null @@ -1,33 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if !UNITY_5_3_0 && !UNITY_5_3_1 && ( UNITY_5_3 || UNITY_5_3_OR_NEWER ) - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Create an empty new scene with the given name additively. The path of the new scene will be empty")] - public class CreateScene : FsmStateAction - { - [RequiredField] - [Tooltip("The name of the new scene. It cannot be empty or null, or same as the name of the existing scenes.")] - public FsmString sceneName; - - public override void Reset() - { - sceneName = null; - } - - public override void OnEnter() - { - SceneManager.CreateScene(sceneName.Value); - - Finish(); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/CreateScene.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/CreateScene.cs.meta deleted file mode 100644 index ce0dd2088..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/CreateScene.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: fba62adf50a5b4e649873bcc688cf19f -timeCreated: 1470822133 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor.meta deleted file mode 100644 index 95a9220ce..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: 6ed292b8a927448abb08a49c44642eaa -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneBuildIndexCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneBuildIndexCustomEditor.cs deleted file mode 100644 index 880eba5dc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneBuildIndexCustomEditor.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetSceneBuildIndex))] -public class GetSceneBuildIndexCustomEditor : GetSceneActionBaseCustomEditor -{ - public override bool OnGUI() - { - bool changed = EditSceneReferenceField(); - - EditField("buildIndex"); - - EditSceneReferenceResultFields (); - - return GUI.changed || changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneBuildIndexCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneBuildIndexCustomEditor.cs.meta deleted file mode 100644 index 6132990a8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneBuildIndexCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 39fcf4e939f8c4b55a73e6d4b2c33890 -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsDirtyCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsDirtyCustomEditor.cs deleted file mode 100644 index 6441b64ba..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsDirtyCustomEditor.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetSceneIsDirty))] -public class GetSceneIsDirtyCustomEditor : GetSceneActionBaseCustomEditor -{ - public override bool OnGUI() - { - bool changed = EditSceneReferenceField(); - - EditField("isDirty"); - EditField("isDirtyEvent"); - EditField("isNotDirtyEvent"); - - EditSceneReferenceResultFields(); - - return GUI.changed || changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsDirtyCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsDirtyCustomEditor.cs.meta deleted file mode 100644 index f91d5855e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsDirtyCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: cd2786161e0de4d9db05b192a7d20370 -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsLoadedCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsLoadedCustomEditor.cs deleted file mode 100644 index a4f4980a9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsLoadedCustomEditor.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetSceneIsLoaded))] -public class GetSceneIsLoadedCustomEditor : GetSceneActionBaseCustomEditor -{ - public override bool OnGUI() - { - bool changed = EditSceneReferenceField(); - - EditField("isLoaded"); - EditField("isLoadedEvent"); - EditField("isNotLoadedEvent"); - - EditSceneReferenceResultFields(); - - return GUI.changed || changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsLoadedCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsLoadedCustomEditor.cs.meta deleted file mode 100644 index 68e1b70aa..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsLoadedCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f456a637d9e9542738c7682e5b39dc3a -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsValidCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsValidCustomEditor.cs deleted file mode 100644 index a2b054d49..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsValidCustomEditor.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetSceneIsValid))] -public class GetSceneIsValidCustomEditor : GetSceneActionBaseCustomEditor -{ - public override bool OnGUI() - { - bool changed = EditSceneReferenceField(); - - EditField("isValid"); - EditField("isValidEvent"); - EditField("isNotValidEvent"); - - EditSceneReferenceResultFields(); - - return GUI.changed || changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsValidCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsValidCustomEditor.cs.meta deleted file mode 100644 index 449d9934a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneIsValidCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 90603514cf20149f78a2f93b5d50475c -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneNameCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneNameCustomEditor.cs deleted file mode 100644 index 695d60767..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneNameCustomEditor.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetSceneName))] -public class GetSceneNameCustomEditor : GetSceneActionBaseCustomEditor -{ - public override bool OnGUI() - { - bool changed = EditSceneReferenceField(); - - EditField("name"); - - EditSceneReferenceResultFields (); - - return GUI.changed || changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneNameCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneNameCustomEditor.cs.meta deleted file mode 100644 index c403dfd86..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneNameCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: ae6e38f5b5f754a2e9de33529519bef5 -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetScenePathCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetScenePathCustomEditor.cs deleted file mode 100644 index 51f4744f6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetScenePathCustomEditor.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetScenePath))] -public class GetScenePathCustomEditor : GetSceneActionBaseCustomEditor -{ - public override bool OnGUI() - { - bool changed = EditSceneReferenceField(); - - EditField("path"); - - EditSceneReferenceResultFields (); - - return GUI.changed || changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetScenePathCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetScenePathCustomEditor.cs.meta deleted file mode 100644 index 0ad198280..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetScenePathCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 4df77c150640c4ce6b6b0bcbfc332a67 -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootCountCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootCountCustomEditor.cs deleted file mode 100644 index 5f47931a4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootCountCustomEditor.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetSceneRootCount))] -public class GetSceneRootCountCustomEditor : GetSceneActionBaseCustomEditor -{ - public override bool OnGUI() - { - bool changed = EditSceneReferenceField(); - - EditField("rootCount"); - - EditSceneReferenceResultFields (); - - return GUI.changed || changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootCountCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootCountCustomEditor.cs.meta deleted file mode 100644 index 34c3daf67..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootCountCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 1039d90d85fd64be39d369cd163b30d4 -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootGameObjectsCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootGameObjectsCustomEditor.cs deleted file mode 100644 index 19e0197a2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootGameObjectsCustomEditor.cs +++ /dev/null @@ -1,25 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if !UNITY_5_3_0 && !UNITY_5_3_1 && ( UNITY_5_3 || UNITY_5_3_OR_NEWER ) - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(GetSceneRootGameObjects))] -public class GetSceneRootGameObjectsCustomEditor : GetSceneActionBaseCustomEditor -{ - public override bool OnGUI() - { - bool changed = EditSceneReferenceField(); - - EditField("rootGameObjects"); - - EditSceneReferenceResultFields (); - - return GUI.changed || changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootGameObjectsCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootGameObjectsCustomEditor.cs.meta deleted file mode 100644 index 45a264734..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/GetSceneRootGameObjectsCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 80125b1787e8b41a1a10e3f12dd78eac -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/Internal.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/Internal.meta deleted file mode 100644 index 8dbb202b1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/Internal.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: caf13a0ff66d1479c9e473f74925cb24 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/Internal/GetSceneActionBaseCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/Internal/GetSceneActionBaseCustomEditor.cs deleted file mode 100644 index d03fd329a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/Internal/GetSceneActionBaseCustomEditor.cs +++ /dev/null @@ -1,58 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; -using UnityEditor; -using UnityEngine; - - -public class GetSceneActionBaseCustomEditor : CustomActionEditor { - - public override bool OnGUI() - { - return false; - } - - GetSceneActionBase _action; - - public bool EditSceneReferenceField() - { - _action = (GetSceneActionBase)target; - - EditField ("sceneReference"); - - switch (_action.sceneReference) { - case GetSceneActionBase.SceneAllReferenceOptions.ActiveScene: - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneAtIndex: - EditField ("sceneAtIndex"); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByName: - EditField ("sceneByName"); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByPath: - EditField ("sceneByPath"); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByGameObject: - EditField ("sceneByGameObject"); - break; - } - - return GUI.changed; - } - - public void EditSceneReferenceResultFields() - { - EditField ("sceneFound"); - EditField ("sceneFoundEvent"); - EditField ("sceneNotFoundEvent"); - } - - -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/Internal/GetSceneActionBaseCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/Internal/GetSceneActionBaseCustomEditor.cs.meta deleted file mode 100644 index 3b508dc53..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/Internal/GetSceneActionBaseCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: fea833dbe36ce4e9aa991c765914b553 -timeCreated: 1471001192 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneAsynchCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneAsynchCustomEditor.cs deleted file mode 100644 index 59b9dcc9c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneAsynchCustomEditor.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(LoadSceneAsynch))] -public class LoadSceneAsynchCustomEditor : CustomActionEditor -{ - LoadSceneAsynch _target ; - - public override bool OnGUI() - { - _target = (LoadSceneAsynch)target; - - EditField ("sceneReference"); - - if (_target.sceneReference == GetSceneActionBase.SceneSimpleReferenceOptions.SceneAtIndex) { - EditField ("sceneAtIndex"); - } else { - EditField ("sceneByName"); - } - - - EditField ("loadSceneMode"); - - EditField("allowSceneActivation"); - EditField("operationPriority"); - - - - EditField ("aSyncOperationHashCode"); - EditField("progress"); - EditField("pendingActivation"); - EditField("isDone"); - - EditField("doneEvent"); - EditField("pendingActivationEvent"); - EditField("sceneNotFoundEvent"); - - return GUI.changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneAsynchCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneAsynchCustomEditor.cs.meta deleted file mode 100644 index dc27e3527..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneAsynchCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 5f75dd5cdbbff41059666f2fa0e54303 -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneCustomEditor.cs deleted file mode 100644 index 46d2d730b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneCustomEditor.cs +++ /dev/null @@ -1,37 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(LoadScene))] -public class LoadSceneCustomEditor : CustomActionEditor -{ - LoadScene _target ; - - public override bool OnGUI() - { - _target = (LoadScene)target; - - EditField ("sceneReference"); - - if (_target.sceneReference == GetSceneActionBase.SceneSimpleReferenceOptions.SceneAtIndex) { - EditField ("sceneAtIndex"); - } else { - EditField ("sceneByName"); - } - - EditField ("loadSceneMode"); - - EditField("success"); - EditField("successEvent"); - EditField("failureEvent"); - - return GUI.changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneCustomEditor.cs.meta deleted file mode 100644 index 0ebd266b4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/LoadSceneCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a80337176c55645fb874f43f22145d96 -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MergeScenesCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MergeScenesCustomEditor.cs deleted file mode 100644 index b999a4428..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MergeScenesCustomEditor.cs +++ /dev/null @@ -1,66 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(MergeScenes))] -public class MergeScenesCustomEditor : CustomActionEditor -{ - MergeScenes _target ; - - public override bool OnGUI() - { - _target = (MergeScenes)target; - - - EditField ("sourceReference"); - - switch (_target.sourceReference) { - case GetSceneActionBase.SceneAllReferenceOptions.ActiveScene: - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneAtIndex: - EditField ("sourceAtIndex"); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByName: - EditField ("sourceByName"); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByPath: - EditField ("sourceByPath"); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByGameObject: - EditField ("sourceByGameObject"); - break; - } - - EditField ("destinationReference"); - - switch (_target.destinationReference) { - case GetSceneActionBase.SceneAllReferenceOptions.ActiveScene: - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneAtIndex: - EditField ("destinationAtIndex"); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByName: - EditField ("destinationByName"); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByPath: - EditField ("destinationByPath"); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByGameObject: - EditField ("destinationByGameObject"); - break; - } - - EditField ("success"); - EditField ("successEvent"); - EditField ("failureEvent"); - - return GUI.changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MergeScenesCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MergeScenesCustomEditor.cs.meta deleted file mode 100644 index 9aab48900..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MergeScenesCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: af7980687034c48748608b105260b06c -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MoveGameObjectToSceneCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MoveGameObjectToSceneCustomEditor.cs deleted file mode 100644 index 465403fa5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MoveGameObjectToSceneCustomEditor.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(MoveGameObjectToScene))] -public class MoveGameObjectToSceneCustomEditor : GetSceneActionBaseCustomEditor -{ - public override bool OnGUI() - { - EditField ("gameObject"); - EditField("findRootIfNecessary"); - - bool changed = EditSceneReferenceField(); - - EditField ("success"); - EditField ("successEvent"); - EditField ("failureEvent"); - - EditSceneReferenceResultFields(); - - return GUI.changed || changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MoveGameObjectToSceneCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MoveGameObjectToSceneCustomEditor.cs.meta deleted file mode 100644 index d43f3be20..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/MoveGameObjectToSceneCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 322495cc6c839436f9ea3a1e76a8daef -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/SetActiveSceneCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/SetActiveSceneCustomEditor.cs deleted file mode 100644 index 8b8294770..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/SetActiveSceneCustomEditor.cs +++ /dev/null @@ -1,52 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(SetActiveScene))] -public class SetActiveSceneCustomEditor : CustomActionEditor -{ - SetActiveScene _target ; - - public override bool OnGUI() - { - _target = (SetActiveScene)target; - - EditField ("sceneReference"); - - switch (_target.sceneReference) { - case SetActiveScene.SceneReferenceOptions.SceneAtBuildIndex: - EditField ("sceneAtBuildIndex"); - break; - case SetActiveScene.SceneReferenceOptions.SceneAtIndex: - EditField ("sceneAtIndex"); - break; - case SetActiveScene.SceneReferenceOptions.SceneByName: - EditField ("sceneByName"); - break; - case SetActiveScene.SceneReferenceOptions.SceneByPath: - EditField ("sceneByPath"); - break; - case SetActiveScene.SceneReferenceOptions.SceneByGameObject: - EditField ("sceneAtGameObject"); - break; - default: - throw new System.ArgumentOutOfRangeException (); - } - - EditField("success"); - EditField("successEvent"); - EditField("sceneNotActivatedEvent"); - - EditField("sceneFound"); - EditField("sceneNotFoundEvent"); - - return GUI.changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/SetActiveSceneCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/SetActiveSceneCustomEditor.cs.meta deleted file mode 100644 index 5fa474b62..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/SetActiveSceneCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a5e3c0a6b4b27424787f1ebe8896dbe6 -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneAsynchCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneAsynchCustomEditor.cs deleted file mode 100644 index bbd2bedfb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneAsynchCustomEditor.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_5_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(UnloadSceneAsynch))] -public class UnLoadSceneAsynchCustomEditor : CustomActionEditor -{ - UnloadSceneAsynch _target ; - - public override bool OnGUI() - { - _target = (UnloadSceneAsynch)target; - - EditField ("sceneReference"); - - switch (_target.sceneReference) { - case UnloadSceneAsynch.SceneReferenceOptions.ActiveScene: - break; - case UnloadSceneAsynch.SceneReferenceOptions.SceneAtIndex: - EditField ("sceneAtIndex"); - break; - case UnloadSceneAsynch.SceneReferenceOptions.SceneAtBuildIndex: - EditField ("sceneAtBuildIndex"); - break; - case UnloadSceneAsynch.SceneReferenceOptions.SceneByName: - EditField ("sceneByName"); - break; - case UnloadSceneAsynch.SceneReferenceOptions.SceneByPath: - EditField ("sceneByPath"); - break; - case UnloadSceneAsynch.SceneReferenceOptions.SceneByGameObject: - EditField ("sceneByGameObject"); - break; - } - - - EditField("operationPriority"); - - - - EditField("progress"); - EditField("isDone"); - - EditField("doneEvent"); - EditField("sceneNotFoundEvent"); - - return GUI.changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneAsynchCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneAsynchCustomEditor.cs.meta deleted file mode 100644 index 3daae6707..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneAsynchCustomEditor.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 7722b8b76b31a4063b9259fffa4499e7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneCustomEditor.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneCustomEditor.cs deleted file mode 100644 index 3165b8185..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneCustomEditor.cs +++ /dev/null @@ -1,52 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#pragma warning disable 618 - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using UnityEngine; -using UnityEditor; -using HutongGames.PlayMaker.Actions; -using HutongGames.PlayMakerEditor; - -[CustomActionEditor(typeof(UnloadScene))] -public class UnloadSceneCustomEditor : CustomActionEditor -{ - UnloadScene _target ; - - public override bool OnGUI() - { - _target = (UnloadScene)target; - - EditField ("sceneReference"); - - switch (_target.sceneReference) { - case UnloadScene.SceneReferenceOptions.ActiveScene: - break; - case UnloadScene.SceneReferenceOptions.SceneAtIndex: - EditField ("sceneAtIndex"); - break; - case UnloadScene.SceneReferenceOptions.SceneAtBuildIndex: - EditField ("sceneAtBuildIndex"); - break; - case UnloadScene.SceneReferenceOptions.SceneByName: - EditField ("sceneByName"); - break; - case UnloadScene.SceneReferenceOptions.SceneByPath: - EditField ("sceneByPath"); - break; - case UnloadScene.SceneReferenceOptions.SceneByGameObject: - EditField ("sceneByGameObject"); - break; - } - - - EditField("unloaded"); - EditField("unloadedEvent"); - EditField("failureEvent"); - - return GUI.changed; - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneCustomEditor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneCustomEditor.cs.meta deleted file mode 100644 index 1833c4817..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Editor/UnLoadSceneCustomEditor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 53946e90c64f24d7ca792d32ca958658 -timeCreated: 1471000550 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneActivateChangedEventData.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneActivateChangedEventData.cs deleted file mode 100644 index 08a5a7c0c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneActivateChangedEventData.cs +++ /dev/null @@ -1,205 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_4_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get the last activateChanged Scene Event data when event was sent from the action 'SendSceneActiveChangedEvent")] - public class GetSceneActivateChangedEventData : FsmStateAction - { - - [ActionSection("New Active Scene")] - [UIHint(UIHint.Variable)] - [Tooltip("The new active scene name")] - public FsmString newName; - - [Tooltip("The new active scene path")] - [UIHint(UIHint.Variable)] - public FsmString newPath; - - [Tooltip("true if the new active scene is valid.")] - [UIHint(UIHint.Variable)] - public FsmBool newIsValid; - - [Tooltip("The new active scene Build Index")] - [UIHint(UIHint.Variable)] - public FsmInt newBuildIndex; - - [Tooltip("true if the new active scene is loaded.")] - [UIHint(UIHint.Variable)] - public FsmBool newIsLoaded; - - [UIHint(UIHint.Variable)] - [Tooltip("true if the new active scene is modified.")] - public FsmBool newIsDirty; - - [Tooltip("The new active scene RootCount")] - [UIHint(UIHint.Variable)] - public FsmInt newRootCount; - - [Tooltip("The new active scene Root GameObjects")] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.GameObject)] - public FsmArray newRootGameObjects; - - [ActionSection("Previous Active Scene")] - [UIHint(UIHint.Variable)] - [Tooltip("The previous active scene name")] - public FsmString previousName; - - [Tooltip("The previous active scene path")] - [UIHint(UIHint.Variable)] - public FsmString previousPath; - - [Tooltip("true if the previous active scene is valid.")] - [UIHint(UIHint.Variable)] - public FsmBool previousIsValid; - - [Tooltip("The previous active scene Build Index")] - [UIHint(UIHint.Variable)] - public FsmInt previousBuildIndex; - - [Tooltip("true if the previous active scene is loaded.")] - [UIHint(UIHint.Variable)] - public FsmBool previousIsLoaded; - - [UIHint(UIHint.Variable)] - [Tooltip("true if the previous active scene is modified.")] - public FsmBool previousIsDirty; - - [Tooltip("The previous active scene RootCount")] - [UIHint(UIHint.Variable)] - public FsmInt previousRootCount; - - [Tooltip("The previous active scene Root GameObjects")] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.GameObject)] - public FsmArray previousRootGameObjects; - - Scene _scene; - - public override void Reset() - { - - newName = null; - newPath = null; - newIsValid = null; - newBuildIndex = null; - newIsLoaded = null; - newRootCount = null; - newRootGameObjects = null; - newIsDirty = null; - - previousName = null; - previousPath = null; - previousIsValid = null; - previousBuildIndex = null; - previousIsLoaded = null; - previousRootCount = null; - previousRootGameObjects = null; - previousIsDirty = null; - } - - public override void OnEnter() - { - DoGetSceneProperties(); - - Finish(); - } - - public override void OnUpdate() - { - DoGetSceneProperties(); - } - - void DoGetSceneProperties() - { - - _scene = SendActiveSceneChangedEvent.lastPreviousActiveScene; - - if (!previousName.IsNone) { - previousName.Value = _scene.name; - } - - if (!previousBuildIndex.IsNone) { - previousBuildIndex.Value = _scene.buildIndex; - } - - if (!previousPath.IsNone) { - previousPath.Value = _scene.path; - } - - if (!previousIsValid.IsNone) { - previousIsValid.Value = _scene.IsValid(); - } - - if (!previousIsDirty.IsNone) { - previousIsDirty.Value = _scene.isDirty; - } - - if (!previousIsLoaded.IsNone) { - previousIsLoaded.Value = _scene.isLoaded; - } - - if (!previousRootCount.IsNone) { - previousRootCount.Value = _scene.rootCount; - } - - if (!previousRootGameObjects.IsNone) { - if (_scene.IsValid ()) { - previousRootGameObjects.Values = _scene.GetRootGameObjects (); - } else { - previousRootGameObjects.Resize (0); - } - } - - - _scene = SendActiveSceneChangedEvent.lastNewActiveScene; - - if (!newName.IsNone) { - newName.Value = _scene.name; - } - - if (!newBuildIndex.IsNone) { - newBuildIndex.Value = _scene.buildIndex; - } - - if (!newPath.IsNone) { - newPath.Value = _scene.path; - } - - if (!newIsValid.IsNone) { - newIsValid.Value = _scene.IsValid(); - } - - if (!newIsDirty.IsNone) { - newIsDirty.Value = _scene.isDirty; - } - - if (!newIsLoaded.IsNone) { - newIsLoaded.Value = _scene.isLoaded; - } - - if (!newRootCount.IsNone) { - newRootCount.Value = _scene.rootCount; - } - - if (!newRootGameObjects.IsNone) { - if (_scene.IsValid ()) { - newRootGameObjects.Values = _scene.GetRootGameObjects (); - } else { - newRootGameObjects.Resize (0); - } - } - - - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneActivateChangedEventData.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneActivateChangedEventData.cs.meta deleted file mode 100644 index 8f7f398ff..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneActivateChangedEventData.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 6f41199019f0643ea9c9f451037865f9 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneBuildIndex.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneBuildIndex.cs deleted file mode 100644 index 8455873c1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneBuildIndex.cs +++ /dev/null @@ -1,53 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Returns the index of a scene in the Build Settings. Always returns -1 if the scene was loaded through an AssetBundle.")] - public class GetSceneBuildIndex : GetSceneActionBase - { - [ActionSection("Result")] - - [Tooltip("The scene Build Index")] - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt buildIndex; - - public override void Reset() - { - base.Reset (); - - buildIndex = null; - } - - public override void OnEnter() - { - base.OnEnter (); - - DoGetSceneBuildIndex(); - - Finish(); - } - - void DoGetSceneBuildIndex() - { - if (!_sceneFound) { - return; - } - - if (!buildIndex.IsNone) { - buildIndex.Value = _scene.buildIndex; - } - - Fsm.Event(sceneFoundEvent); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneBuildIndex.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneBuildIndex.cs.meta deleted file mode 100644 index af865be0f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneBuildIndex.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b10c3e6c92801439cbf2241c71ed9d84 -timeCreated: 1470999393 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCount.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCount.cs deleted file mode 100644 index 8ab63ebe1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCount.cs +++ /dev/null @@ -1,50 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get the total number of currently loaded scenes.")] - public class GetSceneCount : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The number of currently loaded scenes.")] - public FsmInt sceneCount; - - [Tooltip("Repeat every Frame")] - public bool everyFrame; - - public override void Reset() - { - sceneCount = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetSceneCount (); - - if (!everyFrame) { - Finish (); - } - } - - public override void OnUpdate() - { - DoGetSceneCount (); - } - - void DoGetSceneCount() - { - sceneCount.Value = SceneManager.sceneCount; - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCount.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCount.cs.meta deleted file mode 100644 index d2bf86004..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCount.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 49ae585d07dad417c9c8bf850b5b067a -timeCreated: 1471511968 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCountInBuildSettings.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCountInBuildSettings.cs deleted file mode 100644 index 719bfcc89..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCountInBuildSettings.cs +++ /dev/null @@ -1,38 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get the number of scenes in Build Settings.")] - public class GetSceneCountInBuildSettings : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The number of scenes in Build Settings.")] - public FsmInt sceneCountInBuildSettings; - - public override void Reset() - { - sceneCountInBuildSettings = null; - } - - public override void OnEnter() - { - DoGetSceneCountInBuildSettings (); - - Finish (); - } - - void DoGetSceneCountInBuildSettings() - { - sceneCountInBuildSettings.Value = SceneManager.sceneCountInBuildSettings; - } - } -} -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCountInBuildSettings.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCountInBuildSettings.cs.meta deleted file mode 100644 index 04d14024a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneCountInBuildSettings.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 30805f14963c34b0dadca580c4e8b6fe -timeCreated: 1471511968 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsDirty.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsDirty.cs deleted file mode 100644 index 37b6b3d26..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsDirty.cs +++ /dev/null @@ -1,70 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get a scene isDirty flag. true if the scene is modified. ")] - public class GetSceneIsDirty : GetSceneActionBase - { - [ActionSection("Result")] - - [UIHint(UIHint.Variable)] - [Tooltip("true if the scene is modified.")] - public FsmBool isDirty; - - [Tooltip("Event sent if the scene is modified.")] - public FsmEvent isDirtyEvent; - - [Tooltip("Event sent if the scene is unmodified.")] - public FsmEvent isNotDirtyEvent; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - public override void Reset() - { - base.Reset (); - - isDirty = null; - - everyFrame = false; - } - - public override void OnEnter() - { - base.OnEnter (); - - DoGetSceneIsDirty(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetSceneIsDirty(); - } - - - void DoGetSceneIsDirty() - { - if (!_sceneFound) { - return; - } - - if (!isDirty.IsNone) { - isDirty.Value = _scene.isDirty; - } - - Fsm.Event(sceneFoundEvent); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsDirty.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsDirty.cs.meta deleted file mode 100644 index 18d74d42b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsDirty.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: f840794224eec4878802d1cb77224906 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsLoaded.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsLoaded.cs deleted file mode 100644 index 0bc715547..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsLoaded.cs +++ /dev/null @@ -1,67 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get a scene isLoaded flag.")] - public class GetSceneIsLoaded : GetSceneActionBase - { - [ActionSection("Result")] - - [Tooltip("true if the scene is loaded.")] - [UIHint(UIHint.Variable)] - public FsmBool isLoaded; - - [Tooltip("Event sent if the scene is loaded.")] - public FsmEvent isLoadedEvent; - - [Tooltip("Event sent if the scene is not loaded.")] - public FsmEvent isNotLoadedEvent; - - [Tooltip("Repeat every Frame")] - public bool everyFrame; - - public override void Reset() - { - base.Reset (); - - isLoaded = null; - everyFrame = false; - } - - public override void OnEnter() - { - base.OnEnter (); - DoGetSceneIsLoaded(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetSceneIsLoaded(); - } - - void DoGetSceneIsLoaded() - { - if (!_sceneFound) { - return; - } - - if (!isLoaded.IsNone) { - isLoaded.Value = _scene.isLoaded; - } - - Fsm.Event(sceneFoundEvent); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsLoaded.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsLoaded.cs.meta deleted file mode 100644 index e43ab3dbb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsLoaded.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 829eaeecb4f724cfa810169921765a35 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsValid.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsValid.cs deleted file mode 100644 index f1be4f433..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsValid.cs +++ /dev/null @@ -1,64 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get a scene isValid flag. A scene may be invalid if, for example, you tried to open a scene that does not exist. In this case, the scene returned from EditorSceneManager.OpenScene would return False for IsValid. ")] - public class GetSceneIsValid : GetSceneActionBase - { - [ActionSection("Result")] - - [UIHint(UIHint.Variable)] - [Tooltip("true if the scene is loaded.")] - public FsmBool isValid; - - [Tooltip("Event sent if the scene is valid.")] - public FsmEvent isValidEvent; - - [Tooltip("Event sent if the scene is not valid.")] - public FsmEvent isNotValidEvent; - - - public override void Reset() - { - base.Reset (); - - isValid = null; - } - - public override void OnEnter() - { - base.OnEnter (); - DoGetSceneIsValid(); - - Finish(); - } - - void DoGetSceneIsValid() - { - if (!_sceneFound) { - return; - } - - if (!isValid.IsNone) { - isValid.Value = _scene.IsValid(); - } - - if (_scene.IsValid ()) { - Fsm.Event (isValidEvent); - }else{ - Fsm.Event (isNotValidEvent); - } - - Fsm.Event(sceneFoundEvent); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsValid.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsValid.cs.meta deleted file mode 100644 index 103daf751..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneIsValid.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 41c9514e1366a44abb9c57101a320bb6 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneLoadedEventData.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneLoadedEventData.cs deleted file mode 100644 index ae262792f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneLoadedEventData.cs +++ /dev/null @@ -1,123 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_4_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get the last Loaded Scene Event data when event was sent from the action 'SendSceneLoadedEvent")] - public class GetSceneLoadedEventData : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("The scene loaded mode")] - [ObjectType(typeof(LoadSceneMode))] - public FsmEnum loadedMode; - - [UIHint(UIHint.Variable)] - [Tooltip("The scene name")] - public FsmString name; - - [Tooltip("The scene path")] - [UIHint(UIHint.Variable)] - public FsmString path; - - [Tooltip("true if the scene is valid.")] - [UIHint(UIHint.Variable)] - public FsmBool isValid; - - [Tooltip("The scene Build Index")] - [UIHint(UIHint.Variable)] - public FsmInt buildIndex; - - [Tooltip("true if the scene is loaded.")] - [UIHint(UIHint.Variable)] - public FsmBool isLoaded; - - [UIHint(UIHint.Variable)] - [Tooltip("true if the scene is modified.")] - public FsmBool isDirty; - - [Tooltip("The scene RootCount")] - [UIHint(UIHint.Variable)] - public FsmInt rootCount; - - [Tooltip("The scene Root GameObjects")] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.GameObject)] - public FsmArray rootGameObjects; - - Scene _scene; - - public override void Reset() - { - loadedMode = null; - name = null; - path = null; - isValid = null; - buildIndex = null; - isLoaded = null; - rootCount = null; - rootGameObjects = null; - isDirty = null; - } - - public override void OnEnter() - { - DoGetSceneProperties(); - - Finish(); - } - - void DoGetSceneProperties() - { - - _scene = SendSceneLoadedEvent.lastLoadedScene; - - if (!name.IsNone) { - loadedMode.Value = SendSceneLoadedEvent.lastLoadedMode; - } - - if (!name.IsNone) { - name.Value = _scene.name; - } - - if (!buildIndex.IsNone) { - buildIndex.Value = _scene.buildIndex; - } - - if (!path.IsNone) { - path.Value = _scene.path; - } - - if (!isValid.IsNone) { - isValid.Value = _scene.IsValid(); - } - - if (!isDirty.IsNone) { - isDirty.Value = _scene.isDirty; - } - - if (!isLoaded.IsNone) { - isLoaded.Value = _scene.isLoaded; - } - - if (!rootCount.IsNone) { - rootCount.Value = _scene.rootCount; - } - - if (!rootGameObjects.IsNone) { - if (_scene.IsValid ()) { - rootGameObjects.Values = _scene.GetRootGameObjects (); - } else { - rootGameObjects.Resize (0); - } - } - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneLoadedEventData.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneLoadedEventData.cs.meta deleted file mode 100644 index 1656601cd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneLoadedEventData.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 91bd1db18da714a29b743b2ab9f44f59 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneName.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneName.cs deleted file mode 100644 index 533046672..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneName.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get a scene name.")] - public class GetSceneName : GetSceneActionBase - { - [ActionSection("Result")] - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The scene name")] - public FsmString name; - - - public override void Reset() - { - base.Reset (); - - name = null; - } - - public override void OnEnter() - { - base.OnEnter (); - - DoGetSceneName(); - - Finish(); - } - - void DoGetSceneName() - { - if (!_sceneFound) { - return; - } - - if (!name.IsNone) { - name.Value = _scene.name; - } - - Fsm.Event(sceneFoundEvent); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneName.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneName.cs.meta deleted file mode 100644 index 77e3be31e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneName.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8c893fc99fca6474493b38581b4beda9 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetScenePath.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetScenePath.cs deleted file mode 100644 index 79fa4f89e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetScenePath.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get a scene path.")] - public class GetScenePath : GetSceneActionBase - { - [ActionSection("Result")] - - [Tooltip("The scene path")] - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString path; - - - public override void Reset() - { - base.Reset (); - - path = null; - } - - public override void OnEnter() - { - base.OnEnter (); - - DoGetScenePath(); - - Finish(); - } - - void DoGetScenePath() - { - if (!_sceneFound) { - return; - } - - if (!path.IsNone) { - path.Value = _scene.path; - } - - Fsm.Event(sceneFoundEvent); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetScenePath.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetScenePath.cs.meta deleted file mode 100644 index 11b657ac2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetScenePath.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 68571801ccda04ffbbe6d78b3eefa4f5 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneProperties.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneProperties.cs deleted file mode 100644 index 1087eb96f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneProperties.cs +++ /dev/null @@ -1,135 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get a scene isDirty flag. true if the scene is modified. ")] - public class GetSceneProperties : GetSceneActionBase - { - [ActionSection("Result")] - - [UIHint(UIHint.Variable)] - [Tooltip("The scene name")] - public FsmString name; - - [Tooltip("The scene path")] - [UIHint(UIHint.Variable)] - public FsmString path; - - [Tooltip("The scene Build Index")] - [UIHint(UIHint.Variable)] - public FsmInt buildIndex; - - [Tooltip("true if the scene is valid.")] - [UIHint(UIHint.Variable)] - public FsmBool isValid; - - [Tooltip("true if the scene is loaded.")] - [UIHint(UIHint.Variable)] - public FsmBool isLoaded; - - [UIHint(UIHint.Variable)] - [Tooltip("true if the scene is modified.")] - public FsmBool isDirty; - - [Tooltip("The scene RootCount")] - [UIHint(UIHint.Variable)] - public FsmInt rootCount; - - #if !UNITY_5_3_0 && !UNITY_5_3_1 - [Tooltip("The scene Root GameObjects")] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.GameObject)] - public FsmArray rootGameObjects; - #endif - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - public override void Reset() - { - base.Reset (); - - name = null; - path = null; - buildIndex = null; - isValid = null; - isLoaded = null; - rootCount = null; - - #if !UNITY_5_3_0 && !UNITY_5_3_1 - rootGameObjects = null; - #endif - - isDirty = null; - - everyFrame = false; - - } - - public override void OnEnter() - { - base.OnEnter (); - - DoGetSceneProperties(); - - if (!everyFrame) - Finish(); - } - - void DoGetSceneProperties() - { - if (!_sceneFound) { - return; - } - - if (!name.IsNone) { - name.Value = _scene.name; - } - - if (!buildIndex.IsNone) { - buildIndex.Value = _scene.buildIndex; - } - - if (!path.IsNone) { - path.Value = _scene.path; - } - - if (!isValid.IsNone) { - isValid.Value = _scene.IsValid(); - } - - if (!isDirty.IsNone) { - isDirty.Value = _scene.isDirty; - } - - if (!isLoaded.IsNone) { - isLoaded.Value = _scene.isLoaded; - } - - if (!rootCount.IsNone) { - rootCount.Value = _scene.rootCount; - } - - #if !UNITY_5_3_0 && !UNITY_5_3_1 - if (!rootGameObjects.IsNone ) { - if (_scene.IsValid ()) { - rootGameObjects.Values = _scene.GetRootGameObjects (); - } else { - rootGameObjects.Resize (0); - } - } - #endif - - Fsm.Event(sceneFoundEvent); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneProperties.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneProperties.cs.meta deleted file mode 100644 index 9378913b5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneProperties.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 3ded9d612cf024b8db06fb35e28aab17 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootCount.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootCount.cs deleted file mode 100644 index 8ddd7dbb6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootCount.cs +++ /dev/null @@ -1,63 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get a scene RootCount, the number of root transforms of this scene.")] - public class GetSceneRootCount : GetSceneActionBase - { - [ActionSection("Result")] - - [Tooltip("The scene RootCount")] - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt rootCount; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - public override void Reset() - { - base.Reset (); - - rootCount = null; - everyFrame = false; - } - - public override void OnEnter() - { - base.OnEnter (); - - DoGetSceneRootCount(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetSceneRootCount(); - } - - void DoGetSceneRootCount() - { - if (!_sceneFound) { - return; - } - - if (!rootCount.IsNone) { - rootCount.Value = _scene.rootCount; - } - - Fsm.Event(sceneFoundEvent); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootCount.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootCount.cs.meta deleted file mode 100644 index c6c9f2a5b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootCount.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 523cc0044551a480c989867ce0dde224 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootGameObjects.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootGameObjects.cs deleted file mode 100644 index 6d0eb94f8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootGameObjects.cs +++ /dev/null @@ -1,64 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if !UNITY_5_3_0 && !UNITY_5_3_1 && ( UNITY_5_3 || UNITY_5_3_OR_NEWER ) - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get a scene Root GameObjects.")] - public class GetSceneRootGameObjects : GetSceneActionBase - { - [ActionSection("Result")] - - [Tooltip("The scene Root GameObjects")] - [RequiredField] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.GameObject)] - public FsmArray rootGameObjects; - - [Tooltip("Repeat every Frame")] - public bool everyFrame; - - public override void Reset() - { - base.Reset (); - - rootGameObjects = null; - everyFrame = false; - } - - public override void OnEnter() - { - base.OnEnter (); - - DoGetSceneRootGameObjects(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetSceneRootGameObjects(); - } - - void DoGetSceneRootGameObjects() - { - if (!_sceneFound) { - return; - } - - if (!rootGameObjects.IsNone) { - rootGameObjects.Values = _scene.GetRootGameObjects(); - } - - Fsm.Event(sceneFoundEvent); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootGameObjects.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootGameObjects.cs.meta deleted file mode 100644 index fc35806b5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneRootGameObjects.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0dd17d5d40b304466a45f1102fd319dd -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneUnLoadedEventData.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneUnLoadedEventData.cs deleted file mode 100644 index 8abc9ab83..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneUnLoadedEventData.cs +++ /dev/null @@ -1,126 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_4_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Get the last Unloaded Scene Event data when event was sent from the action 'SendSceneUnloadedEvent")] - public class GetSceneUnloadedEventData : FsmStateAction - { - - [UIHint(UIHint.Variable)] - [Tooltip("The scene name")] - public FsmString name; - - [Tooltip("The scene path")] - [UIHint(UIHint.Variable)] - public FsmString path; - - [Tooltip("The scene Build Index")] - [UIHint(UIHint.Variable)] - public FsmInt buildIndex; - - [Tooltip("true if the scene is valid.")] - [UIHint(UIHint.Variable)] - public FsmBool isValid; - - [Tooltip("true if the scene is loaded.")] - [UIHint(UIHint.Variable)] - public FsmBool isLoaded; - - [UIHint(UIHint.Variable)] - [Tooltip("true if the scene is modified.")] - public FsmBool isDirty; - - [Tooltip("The scene RootCount")] - [UIHint(UIHint.Variable)] - public FsmInt rootCount; - - [Tooltip("The scene Root GameObjects")] - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.GameObject)] - public FsmArray rootGameObjects; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - Scene _scene; - - public override void Reset() - { - name = null; - path = null; - buildIndex = null; - isLoaded = null; - rootCount = null; - rootGameObjects = null; - isDirty = null; - - everyFrame = false; - - } - - public override void OnEnter() - { - DoGetSceneProperties(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetSceneProperties(); - } - - void DoGetSceneProperties() - { - - _scene = SendSceneUnloadedEvent.lastUnLoadedScene; - - if (!name.IsNone) { - name.Value = _scene.name; - } - - if (!buildIndex.IsNone) { - buildIndex.Value = _scene.buildIndex; - } - - if (!path.IsNone) { - path.Value = _scene.path; - } - - if (!isValid.IsNone) { - isValid.Value = _scene.IsValid(); - } - - if (!isDirty.IsNone) { - isDirty.Value = _scene.isDirty; - } - - if (!isLoaded.IsNone) { - isLoaded.Value = _scene.isLoaded; - } - - if (!rootCount.IsNone) { - rootCount.Value = _scene.rootCount; - } - - if (!rootGameObjects.IsNone) { - if (_scene.IsValid ()) { - rootGameObjects.Values = _scene.GetRootGameObjects (); - } else { - rootGameObjects.Resize (0); - } - - } - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneUnLoadedEventData.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneUnLoadedEventData.cs.meta deleted file mode 100644 index e72bcc313..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/GetSceneUnLoadedEventData.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 10094c4c303654af4b24ceee5819ad01 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Internal.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Internal.meta deleted file mode 100644 index 0906026e5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Internal.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: c1aa1b59da32743e3a43d399a8fe00f7 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Internal/GetSceneActionBase.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Internal/GetSceneActionBase.cs deleted file mode 100644 index 8321b4f36..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Internal/GetSceneActionBase.cs +++ /dev/null @@ -1,111 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - public abstract class GetSceneActionBase : FsmStateAction - { - public enum SceneReferenceOptions {SceneAtIndex,SceneByName,SceneByPath}; - public enum SceneSimpleReferenceOptions {SceneAtIndex,SceneByName}; - public enum SceneBuildReferenceOptions {SceneAtBuildIndex,SceneByName}; - public enum SceneAllReferenceOptions {ActiveScene,SceneAtIndex,SceneByName,SceneByPath,SceneByGameObject}; - - [Tooltip("The reference option of the Scene")] - public SceneAllReferenceOptions sceneReference; - - [Tooltip("The scene Index.")] - public FsmInt sceneAtIndex; - - [Tooltip("The scene Name.")] - public FsmString sceneByName; - - [Tooltip("The scene Path.")] - public FsmString sceneByPath; - - [Tooltip("The Scene of GameObject")] - public FsmOwnerDefault sceneByGameObject; - - [Tooltip("True if SceneReference resolves to a scene")] - [UIHint(UIHint.Variable)] - public FsmBool sceneFound; - - [Tooltip("Event sent if SceneReference resolves to a scene")] - public FsmEvent sceneFoundEvent; - - [Tooltip("Event sent if SceneReference do not resolve to a scene")] - public FsmEvent sceneNotFoundEvent; - - [Tooltip("The Scene Cache")] - protected Scene _scene; - - [Tooltip("True if a scene was found, use _scene to access it")] - protected bool _sceneFound; - - public override void Reset() - { - base.Reset (); - - sceneReference = SceneAllReferenceOptions.ActiveScene; - - sceneAtIndex = null; - sceneByName = null; - sceneByPath = null; - sceneByGameObject = null; - - sceneFound = null; - sceneFoundEvent = null; - sceneNotFoundEvent = null; - } - - public override void OnEnter() - { - try{ - switch (sceneReference) { - case SceneAllReferenceOptions.ActiveScene: - _scene = SceneManager.GetActiveScene (); - break; - case SceneAllReferenceOptions.SceneAtIndex: - _scene = SceneManager.GetSceneAt (sceneAtIndex.Value); - break; - case SceneAllReferenceOptions.SceneByName: - _scene = SceneManager.GetSceneByName (sceneByName.Value); - break; - case SceneAllReferenceOptions.SceneByPath: - _scene = SceneManager.GetSceneByPath (sceneByPath.Value); - break; - case SceneAllReferenceOptions.SceneByGameObject: - GameObject _go = Fsm.GetOwnerDefaultTarget (sceneByGameObject); - if (_go==null) - { - throw new Exception ("Null GameObject"); - }else{ - _scene =_go.scene; - } - break; - } - }catch(Exception e) { - LogError (e.Message); - } - - if (_scene == new Scene()) { - _sceneFound = false; - if (!sceneFound.IsNone) { - sceneFound.Value = false; - } - Fsm.Event(sceneNotFoundEvent); - } else { - _sceneFound = true; - if (!sceneFound.IsNone) { - sceneFound.Value = true; - } - } - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Internal/GetSceneActionBase.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Internal/GetSceneActionBase.cs.meta deleted file mode 100644 index 47a746f51..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/Internal/GetSceneActionBase.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 0fd373be200f04e40b713d10d6a7832b -timeCreated: 1471000294 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadScene.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadScene.cs deleted file mode 100644 index d95f561b9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadScene.cs +++ /dev/null @@ -1,94 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Loads the scene by its name or index in Build Settings. ")] - public class LoadScene : FsmStateAction - { - [Tooltip("The reference options of the Scene")] - public GetSceneActionBase.SceneSimpleReferenceOptions sceneReference; - - [Tooltip("The name of the scene to load. The given sceneName can either be the last part of the path, without .unity extension or the full path still without the .unity extension")] - public FsmString sceneByName; - - [Tooltip("The index of the scene to load.")] - public FsmInt sceneAtIndex; - - [Tooltip("Allows you to specify whether or not to load the scene additively. See LoadSceneMode Unity doc for more information about the options.")] - [ObjectType(typeof(LoadSceneMode))] - public FsmEnum loadSceneMode; - - [ActionSection("Result")] - - [Tooltip("True if the scene was loaded")] - public FsmBool success; - - [Tooltip("Event sent if the scene was loaded")] - public FsmEvent successEvent; - - [Tooltip("Event sent if a problem occurred, check log for information")] - public FsmEvent failureEvent; - - - public override void Reset() - { - sceneReference = GetSceneActionBase.SceneSimpleReferenceOptions.SceneAtIndex; - sceneByName = null; - sceneAtIndex = null; - loadSceneMode = null; - - success = null; - successEvent = null; - failureEvent = null; - } - - public override void OnEnter() - { - - bool _result = DoLoadScene (); - - if(!success.IsNone) success.Value = _result; - - if (_result) { - Fsm.Event (successEvent); - } else { - Fsm.Event (failureEvent); - } - - Finish(); - } - - bool DoLoadScene() - { - if (sceneReference == GetSceneActionBase.SceneSimpleReferenceOptions.SceneAtIndex) - { - if (SceneManager.GetActiveScene ().buildIndex == sceneAtIndex.Value) { - return false; - } else { - SceneManager.LoadScene(sceneAtIndex.Value, (LoadSceneMode)loadSceneMode.Value); - } - - } else { - if (SceneManager.GetActiveScene ().name == sceneByName.Value) { - return false; - } else { - SceneManager.LoadScene (sceneByName.Value, (LoadSceneMode)loadSceneMode.Value); - } - } - return true; - } - - - - - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadScene.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadScene.cs.meta deleted file mode 100644 index b309760b8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadScene.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: adef3568eb9dd4418893b4c592975e04 -timeCreated: 1470822133 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadSceneAsynch.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadSceneAsynch.cs deleted file mode 100644 index 98e4f43c3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadSceneAsynch.cs +++ /dev/null @@ -1,193 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using System.Collections; -using System.Collections.Generic; - -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Loads the scene by its name or index in Build Settings.")] - public class LoadSceneAsynch : FsmStateAction - { - [Tooltip("The reference options of the Scene")] - public GetSceneActionBase.SceneSimpleReferenceOptions sceneReference; - - [Tooltip("The name of the scene to load. The given sceneName can either be the last part of the path, without .unity extension or the full path still without the .unity extension")] - public FsmString sceneByName; - - [Tooltip("The index of the scene to load.")] - public FsmInt sceneAtIndex; - - [Tooltip("Allows you to specify whether or not to load the scene additively. See LoadSceneMode Unity doc for more information about the options.")] - [ObjectType(typeof(LoadSceneMode))] - public FsmEnum loadSceneMode; - - [Tooltip("Allow the scene to be activated as soon as it's ready")] - public FsmBool allowSceneActivation; - - [Tooltip("lets you tweak in which order async operation calls will be performed. Leave to none for default")] - public FsmInt operationPriority; - - [ActionSection("Result")] - - [Tooltip("Use this hash to activate the Scene if you have set 'AllowSceneActivation' to false, you'll need to use it in the action 'AllowSceneActivation' to effectively load the scene.")] - [UIHint(UIHint.Variable)] - public FsmInt aSyncOperationHashCode; - - [Tooltip("The loading's progress.")] - [UIHint(UIHint.Variable)] - public FsmFloat progress; - - [Tooltip("True when loading is done")] - [UIHint(UIHint.Variable)] - public FsmBool isDone; - - [Tooltip("True when loading is done but still waiting for scene activation")] - [UIHint(UIHint.Variable)] - public FsmBool pendingActivation; - - [Tooltip("Event sent when scene loading is done")] - public FsmEvent doneEvent; - - [Tooltip("Event sent when scene loading is done but scene not yet activated. Use aSyncOperationHashCode value in 'AllowSceneActivation' to proceed")] - public FsmEvent pendingActivationEvent; - - [Tooltip("Event sent if the scene to load was not found")] - public FsmEvent sceneNotFoundEvent; - - - AsyncOperation _asyncOperation; - int _asynchOperationUid = -1; - bool pendingActivationCallBackDone; - - - public static Dictionary aSyncOperationLUT; - static int aSynchUidCounter = 0; - - - - public override void Reset() - { - sceneReference = GetSceneActionBase.SceneSimpleReferenceOptions.SceneAtIndex; - sceneByName = null; - sceneAtIndex = null; - loadSceneMode = null; - aSyncOperationHashCode = null; - allowSceneActivation = null; - operationPriority = new FsmInt() {UseVariable=true}; - - pendingActivation = null; - pendingActivationEvent = null; - isDone = null; - progress = null; - doneEvent = null; - sceneNotFoundEvent = null; - } - - public override void OnEnter() - { - pendingActivationCallBackDone = false; - pendingActivation.Value = false; - isDone.Value = false; - progress.Value = 0f; - - bool _result = DoLoadAsynch (); - - if (!_result) { - Fsm.Event (sceneNotFoundEvent); - Finish (); - } - - } - - - bool DoLoadAsynch() - { - if (sceneReference == GetSceneActionBase.SceneSimpleReferenceOptions.SceneAtIndex) - { - if (SceneManager.GetActiveScene ().buildIndex == sceneAtIndex.Value) { - return false; - } else { - _asyncOperation = SceneManager.LoadSceneAsync (sceneAtIndex.Value, (LoadSceneMode)loadSceneMode.Value); - } - - } else { - if (SceneManager.GetActiveScene ().name == sceneByName.Value) { - return false; - } else { - _asyncOperation = SceneManager.LoadSceneAsync (sceneByName.Value, (LoadSceneMode)loadSceneMode.Value); - } - } - - if (!operationPriority.IsNone) { - _asyncOperation.priority = operationPriority.Value; - } - - _asyncOperation.allowSceneActivation = allowSceneActivation.Value; - - if (!aSyncOperationHashCode.IsNone) { - - if (aSyncOperationLUT == null) { - aSyncOperationLUT = new Dictionary (); - } - _asynchOperationUid = ++aSynchUidCounter; - aSyncOperationHashCode.Value = _asynchOperationUid; - aSyncOperationLUT.Add(_asynchOperationUid,_asyncOperation); - } - - return true; - } - - public override void OnUpdate() - { - if (_asyncOperation == null) { - return; - } - - if (_asyncOperation.isDone) { - isDone.Value = true; - progress.Value = _asyncOperation.progress; - - if (aSyncOperationLUT!=null && _asynchOperationUid!=-1 ) - { - aSyncOperationLUT.Remove(_asynchOperationUid); - } - - _asyncOperation = null; - - Fsm.Event (doneEvent); - Finish (); - - } else { - - progress.Value = _asyncOperation.progress; - - if (_asyncOperation.allowSceneActivation == false && allowSceneActivation.Value) { - _asyncOperation.allowSceneActivation = true; - } - - if (_asyncOperation.progress == 0.9f && _asyncOperation.allowSceneActivation == false && ! pendingActivationCallBackDone) { - - pendingActivationCallBackDone = true; - if (!pendingActivation.IsNone) pendingActivation.Value = true; - - Fsm.Event (pendingActivationEvent); - } - - } - } - - public override void OnExit() - { - _asyncOperation = null; - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadSceneAsynch.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadSceneAsynch.cs.meta deleted file mode 100644 index 7ef04b4ec..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/LoadSceneAsynch.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 00b2eb35e8ce945939c6d18826e53e22 -timeCreated: 1470822133 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MergeScenes.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MergeScenes.cs deleted file mode 100644 index 98bb49afe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MergeScenes.cs +++ /dev/null @@ -1,176 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("This will merge the source scene into the destinationScene. This function merges the contents of the source scene into the destination scene, and deletes the source scene. All GameObjects at the root of the source scene are moved to the root of the destination scene. NOTE: This function is destructive: The source scene will be destroyed once the merge has been completed.")] - public class MergeScenes : FsmStateAction - { - - [ActionSection("Source")] - [Tooltip("The reference options of the source Scene")] - public GetSceneActionBase.SceneAllReferenceOptions sourceReference; - - [Tooltip("The source scene Index.")] - public FsmInt sourceAtIndex; - - [Tooltip("The source scene Name.")] - public FsmString sourceByName; - - [Tooltip("The source scene Path.")] - public FsmString sourceByPath; - - [Tooltip("The source scene from GameObject")] - public FsmOwnerDefault sourceByGameObject; - - [ActionSection("Destination")] - [Tooltip("The reference options of the destination Scene")] - public GetSceneActionBase.SceneAllReferenceOptions destinationReference; - - [Tooltip("The destination scene Index.")] - public FsmInt destinationAtIndex; - - [Tooltip("The destination scene Name.")] - public FsmString destinationByName; - - [Tooltip("The destination scene Path.")] - public FsmString destinationByPath; - - [Tooltip("The destination scene from GameObject")] - public FsmOwnerDefault destinationByGameObject; - - [ActionSection("Result")] - [Tooltip("True if the merge succeeded")] - [UIHint(UIHint.Variable)] - public FsmBool success; - - [Tooltip("Event sent if merge succeeded")] - public FsmEvent successEvent; - - [Tooltip("Event sent if merge failed")] - public FsmEvent failureEvent; - - Scene _sourceScene; - bool _sourceFound; - - Scene _destinationScene; - bool _destinationFound; - - public override void Reset() - { - sourceReference = GetSceneActionBase.SceneAllReferenceOptions.SceneAtIndex; - sourceByPath = null; - sourceByName = null; - sourceAtIndex = null; - sourceByGameObject = null; - - destinationReference = GetSceneActionBase.SceneAllReferenceOptions.ActiveScene; - destinationByPath = null; - destinationByName = null; - destinationAtIndex = null; - destinationByGameObject = null; - - success = null; - successEvent = null; - failureEvent = null; - } - - public override void OnEnter() - { - GetSourceScene(); - GetDestinationScene (); - - if (_destinationFound && _sourceFound) { - - if (_destinationScene.Equals(_sourceScene)) - { - LogError("Source and Destination scenes can not be the same"); - }else{ - SceneManager.MergeScenes (_sourceScene, _destinationScene); - } - success.Value = true; - Fsm.Event(successEvent); - } else { - success.Value = false; - - Fsm.Event(failureEvent); - } - - - Finish(); - } - - void GetSourceScene() - { - try{ - switch (sourceReference) { - case GetSceneActionBase.SceneAllReferenceOptions.ActiveScene: - _sourceScene = SceneManager.GetActiveScene (); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneAtIndex: - _sourceScene = SceneManager.GetSceneAt (sourceAtIndex.Value); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByName: - _sourceScene = SceneManager.GetSceneByName (sourceByName.Value); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByPath: - _sourceScene = SceneManager.GetSceneByPath (sourceByPath.Value); - break; - } - }catch(Exception e) { - LogError (e.Message); - } - - if (_sourceScene == new Scene()) { - _sourceFound = false; - } else { - _sourceFound = true; - } - } - - void GetDestinationScene() - { - try{ - switch (sourceReference) { - case GetSceneActionBase.SceneAllReferenceOptions.ActiveScene: - _destinationScene = SceneManager.GetActiveScene (); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneAtIndex: - _destinationScene = SceneManager.GetSceneAt (destinationAtIndex.Value); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByName: - _destinationScene = SceneManager.GetSceneByName (destinationByName.Value); - break; - case GetSceneActionBase.SceneAllReferenceOptions.SceneByPath: - _destinationScene = SceneManager.GetSceneByPath (destinationByPath.Value); - break; - } - }catch(Exception e) { - LogError (e.Message); - } - - if (_destinationScene == new Scene()) { - _destinationFound = false; - } else { - _destinationFound = true; - } - } - - public override string ErrorCheck() - { - if (sourceReference == GetSceneActionBase.SceneAllReferenceOptions.ActiveScene && destinationReference == GetSceneActionBase.SceneAllReferenceOptions.ActiveScene) { - return "Source and Destination scenes can not be the same"; - } - - return string.Empty; - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MergeScenes.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MergeScenes.cs.meta deleted file mode 100644 index b9e82d7f7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MergeScenes.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c604a63d408f74f4c8cb9f2a987ae9cc -timeCreated: 1470822133 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MoveGameObjectToScene.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MoveGameObjectToScene.cs deleted file mode 100644 index 99623f33c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MoveGameObjectToScene.cs +++ /dev/null @@ -1,80 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Move a GameObject from its current scene to a new scene. It is required that the GameObject is at the root of its current scene.")] - public class MoveGameObjectToScene : GetSceneActionBase - { - [RequiredField] - [Tooltip("The Root GameObject to move to the referenced scene")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("Only root GameObject can be moved, set to true to get the root of the gameobject if necessary, else watch for failure events.")] - public FsmBool findRootIfNecessary; - - [ActionSection("Result")] - [Tooltip("True if the merge succeeded")] - [UIHint(UIHint.Variable)] - public FsmBool success; - - [Tooltip("Event sent if merge succeeded")] - public FsmEvent successEvent; - - [Tooltip("Event sent if merge failed. Check log for information")] - public FsmEvent failureEvent; - - GameObject _go; - - public override void Reset() - { - base.Reset (); - gameObject = null; - findRootIfNecessary = null; - success = null; - successEvent = null; - failureEvent = null; - } - - public override void OnEnter() - { - base.OnEnter (); - - if (_sceneFound) { - - _go = Fsm.GetOwnerDefaultTarget (gameObject); - - if (findRootIfNecessary.Value) { - _go = _go.transform.root.gameObject; - } - - if (_go.transform.parent == null) { - SceneManager.MoveGameObjectToScene(_go, _scene); - success.Value = true; - Fsm.Event (successEvent); - - }else{ - - LogError("GameObject must be a root "); - success.Value = false; - Fsm.Event(failureEvent); - } - - Fsm.Event(sceneFoundEvent); - - _go = null; - } - - Finish(); - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MoveGameObjectToScene.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MoveGameObjectToScene.cs.meta deleted file mode 100644 index 3ff49fc90..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/MoveGameObjectToScene.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 339398fa2a45746088e98779a6dd028f -timeCreated: 1470822133 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendActiveSceneChangedEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendActiveSceneChangedEvent.cs deleted file mode 100644 index 722b6fe13..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendActiveSceneChangedEvent.cs +++ /dev/null @@ -1,52 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_4_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Send an event when the active scene has changed.")] - public class SendActiveSceneChangedEvent : FsmStateAction - { - [RequiredField] - [Tooltip("The event to send when an active scene changed")] - public FsmEvent activeSceneChanged; - - public static Scene lastPreviousActiveScene; - public static Scene lastNewActiveScene; - - public override void Reset() - { - activeSceneChanged = null; - } - - public override void OnEnter() - { - SceneManager.activeSceneChanged += SceneManager_activeSceneChanged; - - Finish(); - } - - void SceneManager_activeSceneChanged (Scene previousActiveScene , Scene activeScene) - { - - lastNewActiveScene = activeScene; - lastPreviousActiveScene = previousActiveScene; - - Fsm.Event (activeSceneChanged); - - Finish (); - } - - public override void OnExit() - { - SceneManager.activeSceneChanged -= SceneManager_activeSceneChanged; - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendActiveSceneChangedEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendActiveSceneChangedEvent.cs.meta deleted file mode 100644 index 1dc0bb3c0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendActiveSceneChangedEvent.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a90d75309d44a4d06a21de65ab71b67c -timeCreated: 1471579293 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneLoadedEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneLoadedEvent.cs deleted file mode 100644 index 061d103c6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneLoadedEvent.cs +++ /dev/null @@ -1,79 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_4_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Send an event when a scene was loaded. Use the Safe version when you want to access content of the loaded scene. Use GetSceneloadedEventData to find out about the loaded Scene and load mode")] - public class SendSceneLoadedEvent : FsmStateAction - { - - [Tooltip("The event to send when a scene was loaded")] - public FsmEvent sceneLoaded; - - [Tooltip("The event to send when a scene was loaded, with a one frame delay to make sure the scene content was indeed initialized fully")] - public FsmEvent sceneLoadedSafe; - - public static Scene lastLoadedScene; - public static LoadSceneMode lastLoadedMode; - - int _loaded = -1; - - public override void Reset() - { - sceneLoaded = null; - } - - public override void OnEnter() - { - _loaded = -1; - SceneManager.sceneLoaded += SceneManager_sceneLoaded; - } - - void SceneManager_sceneLoaded (Scene scene, LoadSceneMode mode) - { - lastLoadedScene = scene; - lastLoadedMode = mode; - Fsm.Event (sceneLoaded); - - _loaded = Time.frameCount; - - if (sceneLoadedSafe == null) { - Finish (); - } - } - public override void OnUpdate() - { - - if (_loaded>-1 && Time.frameCount>_loaded) { - _loaded = -1; - Fsm.Event (sceneLoadedSafe); - Finish (); - } - - } - - - public override void OnExit() - { - SceneManager.sceneLoaded -= SceneManager_sceneLoaded; - } - - public override string ErrorCheck() - { - if (sceneLoaded == null && sceneLoadedSafe == null) { - return "At least one event setup is required"; - } - - return string.Empty; - } - - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneLoadedEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneLoadedEvent.cs.meta deleted file mode 100644 index c42ee4260..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneLoadedEvent.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 45f819b550e434d43a9207d5befb2f0a -timeCreated: 1471579293 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneUnLoadedEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneUnLoadedEvent.cs deleted file mode 100644 index 8fda5e154..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneUnLoadedEvent.cs +++ /dev/null @@ -1,51 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_4_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Send an event when a scene was unloaded.")] - public class SendSceneUnloadedEvent : FsmStateAction - { - [RequiredField] - [Tooltip("The event to send when scene was unloaded")] - public FsmEvent sceneUnloaded; - - public static Scene lastUnLoadedScene; - - public override void Reset() - { - sceneUnloaded = null; - } - - public override void OnEnter() - { - SceneManager.sceneUnloaded += SceneManager_sceneUnloaded; - - Finish(); - } - - void SceneManager_sceneUnloaded (Scene scene) - { - UnityEngine.Debug.Log(scene.name); - - lastUnLoadedScene = scene; - - Fsm.Event (sceneUnloaded); - - Finish (); - } - - public override void OnExit() - { - SceneManager.sceneUnloaded -= SceneManager_sceneUnloaded; - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneUnLoadedEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneUnLoadedEvent.cs.meta deleted file mode 100644 index e662f3ba7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SendSceneUnLoadedEvent.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: c656b1a45e24746639c434a7daaddb6e -timeCreated: 1471579293 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SetActiveScene.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SetActiveScene.cs deleted file mode 100644 index f2ecabd20..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SetActiveScene.cs +++ /dev/null @@ -1,136 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Set the scene to be active.")] - public class SetActiveScene : FsmStateAction - { - public enum SceneReferenceOptions {SceneAtBuildIndex,SceneAtIndex,SceneByName,SceneByPath,SceneByGameObject}; - - - [Tooltip("The reference options of the Scene")] - public SceneReferenceOptions sceneReference; - - [Tooltip("The name of the scene to activate. The given sceneName can either be the last part of the path, without .unity extension or the full path still without the .unity extension")] - public FsmString sceneByName; - - [Tooltip("The build index of the scene to activate.")] - public FsmInt sceneAtBuildIndex; - - [Tooltip("The index of the scene to activate.")] - public FsmInt sceneAtIndex; - - [Tooltip("The scene Path.")] - public FsmString sceneByPath; - - [Tooltip("The GameObject scene to activate")] - public FsmOwnerDefault sceneByGameObject; - - - [ActionSection("Result")] - - [Tooltip("True if set active succeeded")] - [UIHint(UIHint.Variable)] - public FsmBool success; - - [Tooltip("Event sent if setActive succeeded ")] - public FsmEvent successEvent; - - [Tooltip("True if SceneReference resolves to a scene")] - [UIHint(UIHint.Variable)] - public FsmBool sceneFound; - - [Tooltip("Event sent if scene not activated yet")] - [UIHint(UIHint.Variable)] - public FsmEvent sceneNotActivatedEvent; - - [Tooltip("Event sent if SceneReference do not resolve to a scene")] - public FsmEvent sceneNotFoundEvent; - - Scene _scene; - bool _sceneFound; - bool _success; - - public override void Reset() - { - sceneReference = SceneReferenceOptions.SceneAtIndex; - sceneByName = null; - sceneAtBuildIndex = null; - sceneAtIndex = null; - sceneByPath = null; - sceneByGameObject = null; - - success = null; - successEvent = null; - sceneFound = null; - sceneNotActivatedEvent = null; - sceneNotFoundEvent = null; - } - - public override void OnEnter() - { - DoSetActivate (); - - if (!success.IsNone) { - success.Value = _success; - } - - if (!sceneFound.IsNone) { - sceneFound.Value = _sceneFound; - } - - if (_success) { - Fsm.Event (successEvent); - } - - } - - void DoSetActivate() - { - try{ - switch (sceneReference) { - case SceneReferenceOptions.SceneAtIndex: - _scene = SceneManager.GetSceneAt (sceneAtIndex.Value); - break; - case SceneReferenceOptions.SceneByName: - _scene = SceneManager.GetSceneByName (sceneByName.Value); - break; - case SceneReferenceOptions.SceneByPath: - _scene = SceneManager.GetSceneByPath (sceneByPath.Value); - break; - case SceneReferenceOptions.SceneByGameObject: - GameObject _go = Fsm.GetOwnerDefaultTarget (sceneByGameObject); - if (_go==null) - { - throw new Exception ("Null GameObject"); - }else{ - _scene =_go.scene; - } - break; - } - }catch(Exception e) { - LogError (e.Message); - _sceneFound = false; - Fsm.Event(sceneNotFoundEvent); - return; - } - - if (_scene == new Scene()) { - _sceneFound = false; - Fsm.Event(sceneNotFoundEvent); - } else { - _success = SceneManager.SetActiveScene (_scene); - _sceneFound = true; - } - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SetActiveScene.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SetActiveScene.cs.meta deleted file mode 100644 index 417745a52..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/SetActiveScene.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: be6a8393d2b754f708a4e2f8f640d475 -timeCreated: 1470822133 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadScene.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadScene.cs deleted file mode 100644 index 74cd02814..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadScene.cs +++ /dev/null @@ -1,165 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_3 || UNITY_5_3_OR_NEWER - -using System; -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - - #pragma warning disable 162 - - #if UNITY_5_5_OR_NEWER - [Obsolete("Use UnloadSceneAsynch Instead")] - #endif - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Unload Scene. Note that assets are currently not unloaded, in order to free up asset memory call Resources.UnloadUnusedAssets.")] - public class UnloadScene : FsmStateAction - { - public enum SceneReferenceOptions {ActiveScene,SceneAtBuildIndex,SceneAtIndex,SceneByName,SceneByPath,SceneByGameObject}; - - [Tooltip("The reference options of the Scene")] - public SceneReferenceOptions sceneReference; - - [Tooltip("The name of the scene to load. The given sceneName can either be the last part of the path, without .unity extension or the full path still without the .unity extension")] - public FsmString sceneByName; - - [Tooltip("The build index of the scene to unload.")] - public FsmInt sceneAtBuildIndex; - - [Tooltip("The index of the scene to unload.")] - public FsmInt sceneAtIndex; - - [Tooltip("The scene Path.")] - public FsmString sceneByPath; - - [Tooltip("The GameObject unload scene of")] - public FsmOwnerDefault sceneByGameObject; - - - [ActionSection("Result")] - - [Tooltip("True if scene was unloaded")] - [UIHint(UIHint.Variable)] - public FsmBool unloaded; - - [Tooltip("Event sent if scene was unloaded ")] - public FsmEvent unloadedEvent; - - [Tooltip("Event sent scene was not unloaded")] - [UIHint(UIHint.Variable)] - public FsmEvent failureEvent; - - - public override void Reset() - { - sceneReference = SceneReferenceOptions.SceneAtBuildIndex; - sceneByName = null; - sceneAtBuildIndex = null; - sceneAtIndex = null; - sceneByPath = null; - sceneByGameObject = null; - - unloaded = null; - unloadedEvent = null; - failureEvent = null; - } - - public override void OnEnter() - { - bool _unloaded = false; - - try{ - switch (sceneReference) { - case SceneReferenceOptions.ActiveScene: - #if UNITY_5_4_OR_NEWER - _unloaded = SceneManager.UnloadScene(SceneManager.GetActiveScene()); - #else - LogError("SceneReferenceOptions.ActiveScene not available in this version of Unity"); - #endif - break; - case SceneReferenceOptions.SceneAtBuildIndex: - _unloaded = SceneManager.UnloadScene(sceneAtBuildIndex.Value); - break; - case SceneReferenceOptions.SceneAtIndex: - #if UNITY_5_4_OR_NEWER - _unloaded = SceneManager.UnloadScene(SceneManager.GetSceneAt(sceneAtIndex.Value)); - #else - LogError("SceneReferenceOptions.SceneAtIndex not available in this version of Unity"); - #endif - break; - case SceneReferenceOptions.SceneByName: - _unloaded = SceneManager.UnloadScene (sceneByName.Value); - break; - case SceneReferenceOptions.SceneByPath: - #if UNITY_5_4_OR_NEWER - _unloaded = SceneManager.UnloadScene(SceneManager.GetSceneByPath(sceneByPath.Value)); - #else - LogError("SceneReferenceOptions.SceneByPath not available in this version of Unity"); - #endif - break; - case SceneReferenceOptions.SceneByGameObject: - #if UNITY_5_4_OR_NEWER - GameObject _go = Fsm.GetOwnerDefaultTarget (sceneByGameObject); - if (_go==null) - { - throw new Exception ("Null GameObject"); - }else{ - _unloaded = SceneManager.UnloadScene(_go.scene); - } - #else - LogError("SceneReferenceOptions.SceneByGameObject not available in this version of Unity"); - #endif - - break; - } - }catch(Exception e) - { - LogError(e.Message); - } - - if (!unloaded.IsNone) - unloaded.Value = _unloaded; - - if (_unloaded) { - Fsm.Event (unloadedEvent); - } else { - Fsm.Event (failureEvent); - } - - Finish(); - } - - public override string ErrorCheck() - { - switch (sceneReference) { - case SceneReferenceOptions.ActiveScene: - #if ! UNITY_5_4_OR_NEWER - return "ActiveScene not available in this version of Unity"; - #endif - break; - case SceneReferenceOptions.SceneAtIndex: - #if ! UNITY_5_4_OR_NEWER - return "SceneAtIndex not available in this version of Unity"; - #endif - break; - case SceneReferenceOptions.SceneByPath: - #if ! UNITY_5_4_OR_NEWER - return "SceneByPath not available in this version of Unity"; - #endif - break; - case SceneReferenceOptions.SceneByGameObject: - #if ! UNITY_5_4_OR_NEWER - return "SceneByGameObject not available in this version of Unity"; - #endif - break; - } - - return string.Empty; - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadScene.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadScene.cs.meta deleted file mode 100644 index ce20e9f32..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadScene.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8c1cb03558b31455daf58fafd0f7b635 -timeCreated: 1470999388 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadSceneAsynch.cs b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadSceneAsynch.cs deleted file mode 100644 index 01e228e48..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadSceneAsynch.cs +++ /dev/null @@ -1,173 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2016. All rights reserved. - -#if UNITY_5_5_OR_NEWER - -using System; -using System.Collections; -using System.Collections.Generic; - -using UnityEngine; -using UnityEngine.SceneManagement; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Scene)] - [Tooltip("Unload a scene asynchronously by its name or index in Build Settings. Destroys all GameObjects associated with the given scene and removes the scene from the SceneManager.")] - public class UnloadSceneAsynch : FsmStateAction - { - - public enum SceneReferenceOptions {ActiveScene,SceneAtBuildIndex,SceneAtIndex,SceneByName,SceneByPath,SceneByGameObject}; - - [Tooltip("The reference options of the Scene")] - public SceneReferenceOptions sceneReference; - - [Tooltip("The name of the scene to load. The given sceneName can either be the last part of the path, without .unity extension or the full path still without the .unity extension")] - public FsmString sceneByName; - - [Tooltip("The build index of the scene to unload.")] - public FsmInt sceneAtBuildIndex; - - [Tooltip("The index of the scene to unload.")] - public FsmInt sceneAtIndex; - - [Tooltip("The scene Path.")] - public FsmString sceneByPath; - - [Tooltip("The GameObject unload scene of")] - public FsmOwnerDefault sceneByGameObject; - - [Tooltip("lets you tweak in which order async operation calls will be performed. Leave to none for default")] - public FsmInt operationPriority; - - [ActionSection("Result")] - - [Tooltip("The loading's progress.")] - [UIHint(UIHint.Variable)] - public FsmFloat progress; - - [Tooltip("True when loading is done")] - [UIHint(UIHint.Variable)] - public FsmBool isDone; - - [Tooltip("Event sent when scene loading is done")] - public FsmEvent doneEvent; - - [Tooltip("Event sent if the scene to load was not found")] - public FsmEvent sceneNotFoundEvent; - - - AsyncOperation _asyncOperation; - - - - public override void Reset() - { - sceneReference = SceneReferenceOptions.SceneAtBuildIndex; - sceneByName = null; - sceneAtBuildIndex = null; - sceneAtIndex = null; - sceneByPath = null; - sceneByGameObject = null; - operationPriority = new FsmInt() {UseVariable=true}; - - isDone = null; - progress = null; - doneEvent = null; - sceneNotFoundEvent = null; - } - - public override void OnEnter() - { - isDone.Value = false; - progress.Value = 0f; - - bool _result = DoUnLoadAsynch (); - - if (!_result) { - Fsm.Event (sceneNotFoundEvent); - Finish (); - } - - } - - - bool DoUnLoadAsynch() - { - - try{ - switch (sceneReference) { - case SceneReferenceOptions.ActiveScene: - - _asyncOperation = SceneManager.UnloadSceneAsync(SceneManager.GetActiveScene()); - - break; - case SceneReferenceOptions.SceneAtBuildIndex: - _asyncOperation = SceneManager.UnloadSceneAsync(sceneAtBuildIndex.Value); - break; - case SceneReferenceOptions.SceneAtIndex: - - _asyncOperation = SceneManager.UnloadSceneAsync(SceneManager.GetSceneAt(sceneAtIndex.Value)); - - break; - case SceneReferenceOptions.SceneByName: - _asyncOperation = SceneManager.UnloadSceneAsync (sceneByName.Value); - break; - case SceneReferenceOptions.SceneByPath: - _asyncOperation = SceneManager.UnloadSceneAsync(SceneManager.GetSceneByPath(sceneByPath.Value)); - - break; - case SceneReferenceOptions.SceneByGameObject: - - GameObject _go = Fsm.GetOwnerDefaultTarget (sceneByGameObject); - if (_go==null) - { - throw new Exception ("Null GameObject"); - }else{ - _asyncOperation = SceneManager.UnloadSceneAsync(_go.scene); - } - - - break; - } - }catch(Exception e) - { - LogError(e.Message); - return false; - } - - if (!operationPriority.IsNone) { - _asyncOperation.priority = operationPriority.Value; - } - - return true; - } - - public override void OnUpdate() - { - if (_asyncOperation == null) { - return; - } - - if (_asyncOperation.isDone) { - isDone.Value = true; - progress.Value = _asyncOperation.progress; - - _asyncOperation = null; - - Fsm.Event (doneEvent); - Finish (); - - } else { - - progress.Value = _asyncOperation.progress; - } - } - - public override void OnExit() - { - _asyncOperation = null; - } - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadSceneAsynch.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadSceneAsynch.cs.meta deleted file mode 100644 index da7a13434..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/SceneManager/UnloadSceneAsynch.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: dec8eb818ff5a4ab0a74eb17083f4a1a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl.meta b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl.meta deleted file mode 100644 index fd88c2103..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: c7b28704c4eb6d7469b1d89a4b3ed66b -folderAsset: yes -timeCreated: 1504502189 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AddScript.cs b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AddScript.cs deleted file mode 100644 index 3960a159a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AddScript.cs +++ /dev/null @@ -1,59 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.ScriptControl)] - [Tooltip("Adds a Script to a Game Object. Use this to change the behaviour of objects on the fly. Optionally remove the Script on exiting the state.")] - public class AddScript : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to add the script to.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The Script to add to the GameObject.")] - [UIHint(UIHint.ScriptComponent)] - public FsmString script; - - [Tooltip("Remove the script from the GameObject when this State is exited.")] - public FsmBool removeOnExit; - - Component addedComponent; - - public override void Reset() - { - gameObject = null; - script = null; - } - - public override void OnEnter() - { - DoAddComponent(gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value); - - Finish(); - } - - public override void OnExit() - { - if (removeOnExit.Value) - { - if (addedComponent != null) - { - Object.Destroy(addedComponent); - } - } - } - - void DoAddComponent(GameObject go) - { - addedComponent = go.AddComponent(ReflectionUtils.GetGlobalType(script.Value)); - - if (addedComponent == null) - { - LogError("Can't add script: " + script.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AddScript.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AddScript.cs.meta deleted file mode 100644 index 67089499b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AddScript.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3963d96ed74c6f647897199a48079bfa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AxisEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AxisEvent.cs deleted file mode 100644 index 0c07bedb8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AxisEvent.cs +++ /dev/null @@ -1,112 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Sends events based on the direction of Input Axis (Left/Right/Up/Down...).")] - public class AxisEvent : FsmStateAction - { - [Tooltip("Horizontal axis as defined in the Input Manager")] - public FsmString horizontalAxis; - - [Tooltip("Vertical axis as defined in the Input Manager")] - public FsmString verticalAxis; - - [Tooltip("Event to send if input is to the left.")] - public FsmEvent leftEvent; - - [Tooltip("Event to send if input is to the right.")] - public FsmEvent rightEvent; - - [Tooltip("Event to send if input is to the up.")] - public FsmEvent upEvent; - - [Tooltip("Event to send if input is to the down.")] - public FsmEvent downEvent; - - [Tooltip("Event to send if input is in any direction.")] - public FsmEvent anyDirection; - - [Tooltip("Event to send if no axis input (centered).")] - public FsmEvent noDirection; - - public override void Reset() - { - horizontalAxis = "Horizontal"; - verticalAxis = "Vertical"; - leftEvent = null; - rightEvent = null; - upEvent = null; - downEvent = null; - anyDirection = null; - noDirection = null; - } - - public override void OnUpdate() - { - // get axes offsets - - var x = horizontalAxis.Value != "" ? Input.GetAxis(horizontalAxis.Value) : 0; - var y = verticalAxis.Value != "" ? Input.GetAxis(verticalAxis.Value) : 0; - - // get squared offset from center - - var offset = (x * x) + (y * y); - - // no offset? - - if (offset.Equals(0)) - { - if (noDirection != null) - { - Fsm.Event(noDirection); - } - return; - } - - // get integer direction sector (4 directions) - // TODO: 8 directions? or new action? - - var angle = (Mathf.Atan2(y, x) * Mathf.Rad2Deg) + 45f; - if (angle < 0f) - { - angle += 360f; - } - - var direction = (int)(angle / 90f); - - // send events bases on direction - - if (direction == 0 && rightEvent != null) - { - Fsm.Event(rightEvent); - //Debug.Log("Right"); - } - else if (direction == 1 && upEvent != null) - { - Fsm.Event(upEvent); - //Debug.Log("Up"); - } - else if (direction == 2 && leftEvent != null) - { - Fsm.Event(leftEvent); - //Debug.Log("Left"); - } - else if (direction == 3 && downEvent != null) - { - Fsm.Event(downEvent); - //Debug.Log("Down"); - } - else if (anyDirection != null) - { - // since we already no offset > 0 - - Fsm.Event(anyDirection); - //Debug.Log("AnyDirection"); - } - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AxisEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AxisEvent.cs.meta deleted file mode 100644 index 7e5999f49..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/AxisEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8d4cd11ae3f42fd4e9a59b650d252475 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallMethod.cs b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallMethod.cs deleted file mode 100644 index 85990aea4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallMethod.cs +++ /dev/null @@ -1,300 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2012. All rights reserved. - -using System; -using System.Reflection; -using UnityEngine; -using System.Collections.Generic; -using Object = UnityEngine.Object; -using HutongGames.PlayMaker; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.ScriptControl)] - [Tooltip("Call a method in a component on a GameObject.")] - public class CallMethod : FsmStateAction - { - [ObjectType(typeof(Component))] - [Tooltip("The behaviour on a GameObject that has the method you want to call. " + - "Drag the script component from the Unity inspector into this slot. " + - "HINT: Use Lock if the script is on another GameObject." + - "\n\nNOTE: Unity Object fields only show the GameObject name, " + - "so for clarity we show the Behaviour name in a readonly field below.")] - public FsmObject behaviour; - - //[UIHint(UIHint.Method)] - [Tooltip("Name of the method to call on the component")] - public FsmString methodName; - - [Tooltip("Method parameters. NOTE: these must match the method's signature!")] - public FsmVar[] parameters; - - [ActionSection("Store Result")] - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result of the method call.")] - public FsmVar storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - [Tooltip("Use the old manual editor UI.")] - public bool manualUI; - - private FsmObject cachedBehaviour; - private FsmString cachedMethodName; - private Type cachedType; - private MethodInfo cachedMethodInfo; - private ParameterInfo[] cachedParameterInfo; - private object[] parametersArray; - private string errorString; - - public override void Reset() - { - behaviour = null; - methodName = null; - parameters = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - parametersArray = new object[parameters.Length]; - - DoMethodCall(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoMethodCall(); - } - - private void DoMethodCall() - { - if (behaviour.Value == null) - { - Finish(); - return; - } - - if (NeedToUpdateCache()) - { - if (!DoCache()) - { - Debug.LogError(errorString); - Finish(); - return; - } - } - - object result; - if (cachedParameterInfo.Length == 0) - { - result = cachedMethodInfo.Invoke(cachedBehaviour.Value, null); - } - else - { - for (var i = 0; i < parameters.Length; i++) - { - var parameter = parameters[i]; - parameter.UpdateValue(); - if (parameter.Type == VariableType.Array) - { - parameter.UpdateValue(); - var objectArray = parameter.GetValue() as object[]; - var realType = cachedParameterInfo[i].ParameterType.GetElementType(); - var convertedArray = Array.CreateInstance(realType, objectArray.Length); - for (int index = 0; index < objectArray.Length; index++) - convertedArray.SetValue(objectArray[index], index); - parametersArray[i] = convertedArray; - } - else - { - parameter.UpdateValue(); - parametersArray[i] = parameter.GetValue(); - } - } - - result = cachedMethodInfo.Invoke(cachedBehaviour.Value, parametersArray); - } - - if (storeResult != null && !storeResult.IsNone && storeResult.Type != VariableType.Unknown) - { - storeResult.SetValue(result); - } - } - - // TODO: Move tests to helper function in core - private bool NeedToUpdateCache() - { - return cachedBehaviour == null || cachedMethodName == null || // not cached yet - cachedBehaviour.Value != behaviour.Value || // behavior value changed - cachedBehaviour.Name != behaviour.Name || // behavior variable name changed - cachedMethodName.Value != methodName.Value || // methodName value changed - cachedMethodName.Name != methodName.Name; // methodName variable name changed - } - - private void ClearCache() - { - cachedBehaviour = null; - cachedMethodName = null; - cachedType = null; - cachedMethodInfo = null; - cachedParameterInfo = null; - } - - private bool DoCache() - { - //Debug.Log("DoCache"); - - ClearCache(); - errorString = string.Empty; - cachedBehaviour = new FsmObject(behaviour); - cachedMethodName = new FsmString(methodName); - - if (cachedBehaviour.Value == null) - { - if (behaviour.UsesVariable && !Application.isPlaying) - { - // Value might be set at runtime - // Display/Log this info...? - } - else - { - errorString += "Behaviour is invalid!\n"; - } - Finish(); - return false; - } - - cachedType = behaviour.Value.GetType(); - - var types = new List(parameters.Length); - foreach (var each in parameters) - { - types.Add(each.RealType); - } - -#if NETFX_CORE - var methods = cachedType.GetTypeInfo().GetDeclaredMethods(methodName.Value); - foreach (var method in methods) - { - if (TestMethodSignature(method, types)) - { - cachedMethodInfo = method; - } - } -#else - cachedMethodInfo = cachedType.GetMethod(methodName.Value, types.ToArray()); -#endif - if (cachedMethodInfo == null) - { - errorString += "Invalid Method Name or Parameters: " + methodName.Value + "\n"; - Finish(); - return false; - } - - cachedParameterInfo = cachedMethodInfo.GetParameters(); - - return true; - } - -#if NETFX_CORE - private bool TestMethodSignature(MethodInfo method, List parameterTypes) - { - if (method == null) return false; - var methodParameters = method.GetParameters(); - if (methodParameters.Length != parameterTypes.Count) return false; - for (var i = 0; i < methodParameters.Length; i++) - { - if (!ReferenceEquals(methodParameters[i].ParameterType, parameterTypes[i])) - { - return false; - } - } - return true; - } -#endif - - public override string ErrorCheck() - { - /* We could only error check if when we re-cache, - * however NeedToUpdateCache() is not super robust - * So for now we just re cache every frame in editor - * Need to test editor perf... - if (!NeedToUpdateCache()) - { - return errorString; // last error message - }*/ - - if (Application.isPlaying) - { - return errorString; // last error message - } - - if (!DoCache()) - { - return errorString; - } - - if (parameters.Length != cachedParameterInfo.Length) - { - return "Parameter count does not match method.\nMethod has " + cachedParameterInfo.Length + " parameters.\nYou specified " + parameters.Length + " paramaters."; - } - - for (var i = 0; i < parameters.Length; i++) - { - var p = parameters[i]; - var paramType = p.RealType; - var paramInfoType = cachedParameterInfo[i].ParameterType; - if (!ReferenceEquals(paramType, paramInfoType)) - { - return "Parameters do not match method signature.\nParameter " + (i + 1) + " (" + paramType + ") should be of type: " + paramInfoType; - } - } - - if (ReferenceEquals(cachedMethodInfo.ReturnType, typeof(void))) - { - if (!string.IsNullOrEmpty(storeResult.variableName)) - { - return "Method does not have return.\nSpecify 'none' in Store Result."; - } - } - else if (!ReferenceEquals(cachedMethodInfo.ReturnType, storeResult.RealType)) - { - return "Store Result is of the wrong type.\nIt should be of type: " + cachedMethodInfo.ReturnType; - } - - return string.Empty; - } - -#if UNITY_EDITOR - public override string AutoName() - { - var name = methodName + "("; - for (int i = 0; i < parameters.Length; i++) - { - var param = parameters[i]; - name += ActionHelpers.GetValueLabel(param.NamedVar); - if (i < parameters.Length - 1) - { - name += ","; - } - } - name += ")"; - - if (!storeResult.IsNone) - { - name = storeResult.variableName + "=" + name; - } - - return name; - } -#endif - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallMethod.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallMethod.cs.meta deleted file mode 100644 index a371c5ec9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallMethod.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f52c1fad52be1734a9cb9a856fe211af -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallStaticMethod.cs b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallStaticMethod.cs deleted file mode 100644 index 0fac0d01a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallStaticMethod.cs +++ /dev/null @@ -1,169 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2012. All rights reserved. - -using System; -using System.Reflection; -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.ScriptControl)] - [Tooltip("Call a static method in a class.")] - public class CallStaticMethod : FsmStateAction - { - [Tooltip("Full path to the class that contains the static method.")] - public FsmString className; - - [Tooltip("The static method to call.")] - public FsmString methodName; - - [Tooltip("Method parameters. NOTE: these must match the method's signature!")] - public FsmVar[] parameters; - - [ActionSection("Store Result")] - - [UIHint(UIHint.Variable)] - [Tooltip("Store the result of the method call.")] - public FsmVar storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private Type cachedType; - private string cachedClassName; - private string cachedMethodName; - private MethodInfo cachedMethodInfo; - private ParameterInfo[] cachedParameterInfo; - private object[] parametersArray; - private string errorString; - - public override void OnEnter() - { - parametersArray = new object[parameters.Length]; - - DoMethodCall(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoMethodCall(); - } - - private void DoMethodCall() - { - if (className == null || string.IsNullOrEmpty(className.Value)) - { - Finish(); - return; - } - - if (cachedClassName != className.Value || cachedMethodName != methodName.Value) - { - errorString = string.Empty; - if(!DoCache()) - { - Debug.LogError(errorString); - Finish(); - return; - } - } - - object result = null; - if (cachedParameterInfo.Length == 0) - { - result = cachedMethodInfo.Invoke(null, null); - } - else - { - for (var i = 0; i < parameters.Length; i++) - { - var parameter = parameters[i]; - parameter.UpdateValue(); - parametersArray[i] = parameter.GetValue(); - } - - result = cachedMethodInfo.Invoke(null, parametersArray); - } - storeResult.SetValue(result); - } - - private bool DoCache() - { - cachedType = ReflectionUtils.GetGlobalType(className.Value); - if (cachedType == null) - { - errorString += "Class is invalid: " + className.Value + "\n"; - Finish(); - return false; - } - cachedClassName = className.Value; - -#if NETFX_CORE - cachedMethodInfo = cachedType.GetTypeInfo().GetDeclaredMethod(methodName.Value); -#else - var types = new List( capacity: parameters.Length ); - foreach ( var each in parameters ) { - types.Add( each.RealType ); - } - - cachedMethodInfo = cachedType.GetMethod(methodName.Value, types.ToArray()); -#endif - if (cachedMethodInfo == null) - { - errorString += "Invalid Method Name or Parameters: " + methodName.Value +"\n"; - Finish(); - return false; - } - - cachedMethodName = methodName.Value; - cachedParameterInfo = cachedMethodInfo.GetParameters(); - return true; - } - - public override string ErrorCheck() - { - errorString = string.Empty; - DoCache(); - - if (!string.IsNullOrEmpty(errorString)) - { - return errorString; - } - - if (parameters.Length != cachedParameterInfo.Length) - { - return "Parameter count does not match method.\nMethod has " + cachedParameterInfo.Length + " parameters.\nYou specified " +parameters.Length + " paramaters."; - } - - for (var i = 0; i < parameters.Length; i++) - { - var p = parameters[i]; - var paramType = p.RealType; - var paramInfoType = cachedParameterInfo[i].ParameterType; - if (!ReferenceEquals(paramType, paramInfoType )) - { - return "Parameters do not match method signature.\nParameter " + (i + 1) + " (" + paramType + ") should be of type: " + paramInfoType; - } - } - - if (ReferenceEquals(cachedMethodInfo.ReturnType, typeof(void))) - { - if (!string.IsNullOrEmpty(storeResult.variableName)) - { - return "Method does not have return.\nSpecify 'none' in Store Result."; - } - } - else if (!ReferenceEquals(cachedMethodInfo.ReturnType,storeResult.RealType)) - { - return "Store Result is of the wrong type.\nIt should be of type: " + cachedMethodInfo.ReturnType; - } - - return string.Empty; - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallStaticMethod.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallStaticMethod.cs.meta deleted file mode 100644 index 838a78a34..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/CallStaticMethod.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0066a44ba6edb0d469cc3ac4d31ba298 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/EnableBehaviour.cs b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/EnableBehaviour.cs deleted file mode 100644 index 1ba23c1bc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/EnableBehaviour.cs +++ /dev/null @@ -1,97 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.ScriptControl)] - [Tooltip("Enables/Disables a Behaviour on a GameObject. Optionally reset the Behaviour on exit - useful if you want the Behaviour to be active only while this state is active.")] - public class EnableBehaviour : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the Behaviour.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Behaviour)] - [Tooltip("The name of the Behaviour to enable/disable.")] - public FsmString behaviour; - - [Tooltip("Optionally drag a component directly into this field (behavior name will be ignored).")] - public Component component; - - [RequiredField] - [Tooltip("Set to True to enable, False to disable.")] - public FsmBool enable; - - public FsmBool resetOnExit; - - public override void Reset() - { - gameObject = null; - behaviour = null; - component = null; - enable = true; - resetOnExit = true; - } - - Behaviour componentTarget; - - public override void OnEnter() - { - DoEnableBehaviour(Fsm.GetOwnerDefaultTarget(gameObject)); - - Finish(); - } - - void DoEnableBehaviour(GameObject go) - { - if (go == null) - { - return; - } - - if (component != null) - { - componentTarget = component as Behaviour; - } - else - { - componentTarget = go.GetComponent(ReflectionUtils.GetGlobalType(behaviour.Value)) as Behaviour; - } - - if (componentTarget == null) - { - LogWarning(" " + go.name + " missing behaviour: " + behaviour.Value); - return; - } - - componentTarget.enabled = enable.Value; - } - - public override void OnExit() - { - if (componentTarget == null) - { - return; - } - - if (resetOnExit.Value) - { - componentTarget.enabled = !enable.Value; - } - } - - public override string ErrorCheck() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go == null || component != null || behaviour.IsNone || string.IsNullOrEmpty(behaviour.Value)) - { - return null; - } - - var comp = go.GetComponent(ReflectionUtils.GetGlobalType(behaviour.Value)) as Behaviour; - return comp != null ? null : "Behaviour missing"; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/EnableBehaviour.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/EnableBehaviour.cs.meta deleted file mode 100644 index cc823bdd1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/EnableBehaviour.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d6231766398559749b2481761a8f485d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/InvokeMethod.cs b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/InvokeMethod.cs deleted file mode 100644 index 7fc005b7f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/InvokeMethod.cs +++ /dev/null @@ -1,147 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -#if UNITY_EDITOR -using System; -using System.Linq; -using System.Collections.Generic; -using System.Reflection; -#endif - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.ScriptControl)] - [Tooltip("Invokes a Method in a Behaviour attached to a Game Object. See Unity InvokeMethod docs.")] - public class InvokeMethod : FsmStateAction - { - [RequiredField] - [Tooltip("The game object that owns the behaviour.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Script)] - [Tooltip("The behaviour that contains the method.")] - public FsmString behaviour; - - [RequiredField] - [UIHint(UIHint.Method)] - [Tooltip("The name of the method to invoke.")] - public FsmString methodName; - - [HasFloatSlider(0, 10)] - [Tooltip("Optional time delay in seconds.")] - public FsmFloat delay; - - [Tooltip("Call the method repeatedly.")] - public FsmBool repeating; - - [HasFloatSlider(0, 10)] - [Tooltip("Delay between repeated calls in seconds.")] - public FsmFloat repeatDelay; - - [Tooltip("Stop calling the method when the state is exited.")] - public FsmBool cancelOnExit; - -#if UNITY_EDITOR - - private Type cachedType; - private List methodNames; - -#endif - - public override void Reset() - { - gameObject = null; - behaviour = null; - methodName = ""; - delay = null; - repeating = false; - repeatDelay = 1; - cancelOnExit = false; - } - - MonoBehaviour component; - - public override void OnEnter() - { - DoInvokeMethod(Fsm.GetOwnerDefaultTarget(gameObject)); - - Finish(); - } - - void DoInvokeMethod(GameObject go) - { - if (go == null) - { - return; - } - - component = go.GetComponent(ReflectionUtils.GetGlobalType(behaviour.Value)) as MonoBehaviour; - - if (component == null) - { - LogWarning("InvokeMethod: " + go.name + " missing behaviour: " + behaviour.Value); - return; - } - - if (repeating.Value) - { - component.InvokeRepeating(methodName.Value, delay.Value, repeatDelay.Value); - } - else - { - component.Invoke(methodName.Value, delay.Value); - } - } - - public override void OnExit() - { - if (component == null) - { - return; - } - - if (cancelOnExit.Value) - { - component.CancelInvoke(methodName.Value); - } - } - -#if UNITY_EDITOR - - - public override string ErrorCheck() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null || string.IsNullOrEmpty(behaviour.Value)) - { - return string.Empty; - } - - var type = ReflectionUtils.GetGlobalType(behaviour.Value); - if (type == null) - { - return "Missing Behaviour: " + behaviour.Value; - } - - if (cachedType != type) - { - cachedType = type; - methodNames = type.GetMethods(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic).Select(m => m.Name).ToList(); - } - - if (!string.IsNullOrEmpty(methodName.Value)) - { - if (!methodNames.Contains(methodName.Value)) - { - return "Missing Method: " + methodName.Value; - } - } - return string.Empty; - } - -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/InvokeMethod.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/InvokeMethod.cs.meta deleted file mode 100644 index ceb4a97f6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/InvokeMethod.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3a2bdf72fb05ced4294cdb1c5f847fbb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/SendMessage.cs b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/SendMessage.cs deleted file mode 100644 index f5fe2d08a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/SendMessage.cs +++ /dev/null @@ -1,142 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.ScriptControl)] - [Tooltip("Sends a Message to a Game Object. See Unity docs for SendMessage.")] - public class SendMessage : FsmStateAction - { - public enum MessageType - { - SendMessage, - SendMessageUpwards, - BroadcastMessage - } - - [RequiredField] - [Tooltip("GameObject that sends the message.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Where to send the message.\nSee Unity docs.")] - public MessageType delivery; - - [Tooltip("Send options.\nSee Unity docs.")] - public SendMessageOptions options; - - [RequiredField] - public FunctionCall functionCall; - - public override void Reset() - { - gameObject = null; - delivery = MessageType.SendMessage; - options = SendMessageOptions.DontRequireReceiver; - functionCall = null; - } - - public override void OnEnter() - { - DoSendMessage(); - - Finish(); - } - - void DoSendMessage() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - object parameter = null; - - switch (functionCall.ParameterType) - { - case "None": - break; - - case "bool": - parameter = functionCall.BoolParameter.Value; - break; - - case "int": - parameter = functionCall.IntParameter.Value; - break; - - case "float": - parameter = functionCall.FloatParameter.Value; - break; - - case "string": - parameter = functionCall.StringParameter.Value; - break; - - case "Vector2": - parameter = functionCall.Vector2Parameter.Value; - break; - - case "Vector3": - parameter = functionCall.Vector3Parameter.Value; - break; - - case "Rect": - parameter = functionCall.RectParamater.Value; - break; - - case "GameObject": - parameter = functionCall.GameObjectParameter.Value; - break; - - case "Material": - parameter = functionCall.MaterialParameter.Value; - break; - - case "Texture": - parameter = functionCall.TextureParameter.Value; - break; - - case "Color": - parameter = functionCall.ColorParameter.Value; - break; - - case "Quaternion": - parameter = functionCall.QuaternionParameter.Value; - break; - - case "Object": - parameter = functionCall.ObjectParameter.Value; - break; - - case "Enum": - parameter = functionCall.EnumParameter.Value; - break; - - case "Array": - parameter = functionCall.ArrayParameter.Values; - break; - } - - switch (delivery) - { - case MessageType.SendMessage: - - go.SendMessage(functionCall.FunctionName, parameter, options); - return; - - case MessageType.SendMessageUpwards: - - go.SendMessageUpwards(functionCall.FunctionName, parameter, options); - return; - - case MessageType.BroadcastMessage: - - go.BroadcastMessage(functionCall.FunctionName, parameter, options); - return; - - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/SendMessage.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/SendMessage.cs.meta deleted file mode 100644 index 3ca958f1e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/SendMessage.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 669e0b354c0fba34fac778911cc907b6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/StartCoroutine.cs b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/StartCoroutine.cs deleted file mode 100644 index dd71a3baf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/StartCoroutine.cs +++ /dev/null @@ -1,180 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -#if UNITY_EDITOR -using System; -using System.Linq; -using System.Collections.Generic; -using System.Reflection; -#endif - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.ScriptControl)] - [Tooltip("Start a Coroutine in a Behaviour on a Game Object. See Unity StartCoroutine docs.")] - public class StartCoroutine : FsmStateAction - { - [RequiredField] - [Tooltip("The game object that owns the Behaviour.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Behaviour)] - [Tooltip("The Behaviour that contains the method to start as a coroutine.")] - public FsmString behaviour; - - [RequiredField] - [UIHint(UIHint.Coroutine)] - [Tooltip("The name of the coroutine method.")] - public FunctionCall functionCall; - - [Tooltip("Stop the coroutine when the state is exited.")] - public bool stopOnExit; - - public override void Reset() - { - gameObject = null; - behaviour = null; - functionCall = null; - stopOnExit = false; - } - - MonoBehaviour component; - -#if UNITY_EDITOR - - private Type cachedType; - private List methodNames; - -#endif - - public override void OnEnter() - { - DoStartCoroutine(); - - Finish(); - } - - void DoStartCoroutine() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - component = go.GetComponent(ReflectionUtils.GetGlobalType(behaviour.Value)) as MonoBehaviour; - - if (component == null) - { - LogWarning("StartCoroutine: " + go.name + " missing behaviour: " + behaviour.Value); - return; - } - - switch (functionCall.ParameterType) - { - case "None": - component.StartCoroutine(functionCall.FunctionName); - return; - - case "int": - component.StartCoroutine(functionCall.FunctionName, functionCall.IntParameter.Value); - return; - - case "float": - component.StartCoroutine(functionCall.FunctionName, functionCall.FloatParameter.Value); - return; - - case "string": - component.StartCoroutine(functionCall.FunctionName, functionCall.StringParameter.Value); - return; - - case "bool": - component.StartCoroutine(functionCall.FunctionName, functionCall.BoolParameter.Value); - return; - - case "Vector2": - component.StartCoroutine(functionCall.FunctionName, functionCall.Vector2Parameter.Value); - return; - - case "Vector3": - component.StartCoroutine(functionCall.FunctionName, functionCall.Vector3Parameter.Value); - return; - - case "Rect": - component.StartCoroutine(functionCall.FunctionName, functionCall.RectParamater.Value); - return; - - case "GameObject": - component.StartCoroutine(functionCall.FunctionName, functionCall.GameObjectParameter.Value); - return; - - case "Material": - component.StartCoroutine(functionCall.FunctionName, functionCall.MaterialParameter.Value); - break; - - case "Texture": - component.StartCoroutine(functionCall.FunctionName, functionCall.TextureParameter.Value); - break; - - case "Quaternion": - component.StartCoroutine(functionCall.FunctionName, functionCall.QuaternionParameter.Value); - break; - - case "Object": - component.StartCoroutine(functionCall.FunctionName, functionCall.ObjectParameter.Value); - return; - } - } - - public override void OnExit() - { - if (component == null) - { - return; - } - - if (stopOnExit) - { - component.StopCoroutine(functionCall.FunctionName); - } - } - -#if UNITY_EDITOR - - - public override string ErrorCheck() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null || string.IsNullOrEmpty(behaviour.Value)) - { - return string.Empty; - } - - var type = ReflectionUtils.GetGlobalType(behaviour.Value); - if (type == null) - { - return "Missing Behaviour: " + behaviour.Value; - } - - if (cachedType != type) - { - cachedType = type; - methodNames = type.GetMethods(BindingFlags.Instance | BindingFlags.Public | BindingFlags.NonPublic).Select(m => m.Name).ToList(); - } - - if (!string.IsNullOrEmpty(functionCall.FunctionName)) - { - if (!methodNames.Contains(functionCall.FunctionName)) - { - return "Missing Method: " + functionCall.FunctionName; - } - } - return string.Empty; - } - -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/StartCoroutine.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/StartCoroutine.cs.meta deleted file mode 100644 index 21a2fc1a5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/ScriptControl/StartCoroutine.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 842057c7f39d18e409aa991699964102 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine.meta deleted file mode 100644 index 00df96e71..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: e540bd12688376f4eaca57f11d8e8a24 -folderAsset: yes -timeCreated: 1504501475 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableAction.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableAction.cs deleted file mode 100644 index 0dd83c2ef..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableAction.cs +++ /dev/null @@ -1,60 +0,0 @@ -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - /// - /// Base class for Get/Set FSM Variable actions - /// - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - public abstract class BaseFsmVariableAction : FsmStateAction - { - [ActionSection("Events")] - - [Tooltip("The event to send if the FSM is not found.")] - public FsmEvent fsmNotFound; - - [Tooltip("The event to send if the Variable is not found.")] - public FsmEvent variableNotFound; - - private GameObject cachedGameObject; - private string cachedFsmName; - - protected PlayMakerFSM fsm; - - public override void Reset() - { - fsmNotFound = null; - variableNotFound = null; - } - - protected bool UpdateCache(GameObject go, string fsmName) - { - if (go == null) - { - return false; - } - - if (fsm == null || cachedGameObject != go || cachedFsmName != fsmName) - { - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName); - cachedGameObject = go; - cachedFsmName = fsmName; - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName); - Fsm.Event(fsmNotFound); - } - } - - return true; - } - - protected void DoVariableNotFound(string variableName) - { - LogWarning("Could not find variable: " + variableName); - Fsm.Event(variableNotFound); - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableAction.cs.meta deleted file mode 100644 index 8c8466754..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableAction.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2417f8d9985a6a84595b4ce3ee641b63 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableIndexAction.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableIndexAction.cs deleted file mode 100644 index c6281b194..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableIndexAction.cs +++ /dev/null @@ -1,63 +0,0 @@ -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - /// - /// Base class for Get/Set FSM Variable actions - /// - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - public abstract class BaseFsmVariableIndexAction : FsmStateAction - { - [ActionSection("Events")] - - [Tooltip("The event to trigger if the index is out of range")] - public FsmEvent indexOutOfRange; - - [Tooltip("The event to send if the FSM is not found.")] - public FsmEvent fsmNotFound; - - [Tooltip("The event to send if the Variable is not found.")] - public FsmEvent variableNotFound; - - private GameObject cachedGameObject; - private string cachedFsmName; - - protected PlayMakerFSM fsm; - - public override void Reset() - { - fsmNotFound = null; - variableNotFound = null; - } - - protected bool UpdateCache(GameObject go, string fsmName) - { - if (go == null) - { - return false; - } - - if (fsm == null || cachedGameObject != go || cachedFsmName != fsmName) - { - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName); - cachedGameObject = go; - cachedFsmName = fsmName; - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName); - Fsm.Event(fsmNotFound); - } - } - - return true; - } - - protected void DoVariableNotFound(string variableName) - { - LogWarning("Could not find variable: " + variableName); - Fsm.Event(variableNotFound); - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableIndexAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableIndexAction.cs.meta deleted file mode 100644 index cf4342923..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BaseFsmVariableIndexAction.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 37ea9ae7ff8e58d4c84872f21d5c8182 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BroadcastEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BroadcastEvent.cs deleted file mode 100644 index f4c0f0ed7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BroadcastEvent.cs +++ /dev/null @@ -1,92 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [Obsolete("This action is obsolete; use Send Event with Event Target instead.")] - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Sends an Event to all FSMs in the scene or to all FSMs on a Game Object.\nNOTE: This action won't work on the very first frame of the game...")] - public class BroadcastEvent : FsmStateAction - { - [RequiredField] - public FsmString broadcastEvent; - [Tooltip("Optionally specify a game object to broadcast the event to all FSMs on that game object.")] - public FsmGameObject gameObject; - [Tooltip("Broadcast to all FSMs on the game object's children.")] - public FsmBool sendToChildren; - public FsmBool excludeSelf; - - public override void Reset() - { - broadcastEvent = null; - gameObject = null; - sendToChildren = false; - excludeSelf = false; - } - - public override void OnEnter() - { - if (!string.IsNullOrEmpty(broadcastEvent.Value)) - { - if (gameObject.Value != null) - { - Fsm.BroadcastEventToGameObject(gameObject.Value, broadcastEvent.Value, sendToChildren.Value, excludeSelf.Value); - //BroadcastToGameObject(gameObject.Value); - } - else - { - Fsm.BroadcastEvent(broadcastEvent.Value, excludeSelf.Value); - //BroadcastToAll(); - } - } - - Finish(); - } -/* - void BroadcastToAll() - { - // copy the list in case broadcast event changes Fsm.FsmList - - var fsmList = new List(Fsm.FsmList); - - //Debug.Log("BroadcastToAll"); - foreach (var fsm in fsmList) - { - if (excludeSelf.Value && fsm == Fsm) - { - continue; - } - - //Debug.Log("to: " + fsm.Name); - fsm.Event(broadcastEvent.Value); - } - } - - void BroadcastToGameObject(GameObject go) - { - if (go == null) return; - - Fsm.BroadcastEventToGameObject(go, broadcastEvent.Value, sendToChildren.Value, excludeSelf.Value); - - if (go == null) return; - - var fsmComponents = go.GetComponents(); - - foreach (var fsmComponent in fsmComponents) - { - fsmComponent.Fsm.Event(broadcastEvent.Value); - } - - if (sendToChildren.Value) - { - for (int i = 0; i < go.transform.childCount; i++) - { - BroadcastToGameObject(go.transform.GetChild(i).gameObject); - } - } - }*/ - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BroadcastEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BroadcastEvent.cs.meta deleted file mode 100644 index e542122d6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/BroadcastEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 20931335db4ccb64db86c9d91dce2617 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/EnableFSM.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/EnableFSM.cs deleted file mode 100644 index 211b26147..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/EnableFSM.cs +++ /dev/null @@ -1,91 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM),"gameObject,fsmName")] - [Tooltip("Enables/Disables an FSM component on a GameObject.")] - public class EnableFSM : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM component.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on GameObject. Useful if you have more than one FSM on a GameObject.")] - public FsmString fsmName; - - [Tooltip("Set to True to enable, False to disable.")] - public FsmBool enable; - - [Tooltip("Reset the initial enabled state when exiting the state.")] - public FsmBool resetOnExit; - - private PlayMakerFSM fsmComponent; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - enable = true; - resetOnExit = true; - } - - public override void OnEnter() - { - DoEnableFSM(); - - Finish(); - } - - void DoEnableFSM() - { - GameObject go = gameObject.OwnerOption == OwnerDefaultOption.UseOwner ? Owner : gameObject.GameObject.Value; - - if (go == null) return; - - if (!string.IsNullOrEmpty(fsmName.Value)) - { - // find by FSM component name - - var fsmComponents = go.GetComponents(); - foreach (var component in fsmComponents) - { - if (component.FsmName == fsmName.Value) - { - fsmComponent = component; - break; - } - } - } - else - { - // get first FSM component - - fsmComponent = go.GetComponent(); - } - - if (fsmComponent == null) - { - // TODO: Not sure if this is an error condition... - LogError("Missing FsmComponent!"); - return; - } - - fsmComponent.enabled = enable.Value; - } - - public override void OnExit() - { - if (fsmComponent == null) return; - - if (resetOnExit.Value) - { - fsmComponent.enabled = !enable.Value; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/EnableFSM.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/EnableFSM.cs.meta deleted file mode 100644 index 2e6f34fc3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/EnableFSM.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bff36e3d590ced345ab5630c02bde143 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/FinishFSM.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/FinishFSM.cs deleted file mode 100644 index 42e5fc3f1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/FinishFSM.cs +++ /dev/null @@ -1,17 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Note("Stop this FSM. If this FSM was launched by a Run FSM action, it will trigger a Finish event in that state.")] - [Tooltip("Stop this FSM. If this FSM was launched by a Run FSM action, it will trigger a Finish event in that state.")] - public class FinishFSM : FsmStateAction - { - public override void OnEnter() - { - Fsm.Stop(); - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/FinishFSM.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/FinishFSM.cs.meta deleted file mode 100644 index eb1d17687..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/FinishFSM.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 42de3c028956f4445a0afbc09ec326ae -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardAllEvents.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardAllEvents.cs deleted file mode 100644 index 1fa16a08e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardAllEvents.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Forwards all event received by this FSM to another target. Optionally specify a list of events to ignore.")] - public class ForwardAllEvents : FsmStateAction - { - [Tooltip("Forward to this target.")] - public FsmEventTarget forwardTo; - - [Tooltip("Don't forward these events.")] - public FsmEvent[] exceptThese; - - [Tooltip("Should this action eat the events or pass them on.")] - public bool eatEvents; - - public override void Reset() - { - forwardTo = new FsmEventTarget {target = FsmEventTarget.EventTarget.FSMComponent}; - exceptThese = new[] {FsmEvent.Finished}; - eatEvents = true; - } - - /// - /// Return true to eat the event - /// - public override bool Event(FsmEvent fsmEvent) - { - if (exceptThese != null) - { - foreach (var e in exceptThese) - { - if (e == fsmEvent) - { - return false; - } - } - } - - Fsm.Event(forwardTo, fsmEvent); - - return eatEvents; - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardAllEvents.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardAllEvents.cs.meta deleted file mode 100644 index d47c736ed..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardAllEvents.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 9c7d6f71ad43da148ad8e1a61f15041b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardEvent.cs deleted file mode 100644 index 4c2f1fcb2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardEvent.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Forward an event received by this FSM to another target.")] - public class ForwardEvent : FsmStateAction - { - [Tooltip("Forward to this target.")] - public FsmEventTarget forwardTo; - - [Tooltip("The events to forward.")] - public FsmEvent[] eventsToForward; - - [Tooltip("Should this action eat the events or pass them on.")] - public bool eatEvents; - - public override void Reset() - { - forwardTo = new FsmEventTarget { target = FsmEventTarget.EventTarget.FSMComponent }; - eventsToForward = null; - eatEvents = true; - } - - /// - /// Return true to eat the event - /// - public override bool Event(FsmEvent fsmEvent) - { - if (eventsToForward != null) - { - foreach (var e in eventsToForward) - { - if (e == fsmEvent) - { - Fsm.Event(forwardTo, fsmEvent); - - return eatEvents; - } - } - } - - return false; - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardEvent.cs.meta deleted file mode 100644 index ebd5a2826..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/ForwardEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 51bb8177791b89b4cbafaa8ba6e67eec -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventBoolData.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventBoolData.cs deleted file mode 100644 index 030983dcf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventBoolData.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Gets the Bool data from the last Event.")] - public class GetEventBoolData : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Store the bool data in a variable.")] - public FsmBool getBoolData; - - public override void Reset() - { - getBoolData = null; - } - - public override void OnEnter() - { - getBoolData.Value = Fsm.EventData.BoolData; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventBoolData.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventBoolData.cs.meta deleted file mode 100644 index 7f41fdfa2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventBoolData.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: cfbd05b45737cd240a172bc0eee8cdd8 -timeCreated: 1521392687 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventFloatData.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventFloatData.cs deleted file mode 100644 index 6e9872d76..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventFloatData.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Gets the Float data from the last Event.")] - public class GetEventFloatData : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Store the float data in a variable.")] - public FsmFloat getFloatData; - - public override void Reset() - { - getFloatData = null; - } - - public override void OnEnter() - { - getFloatData.Value = Fsm.EventData.FloatData; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventFloatData.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventFloatData.cs.meta deleted file mode 100644 index 560984e45..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventFloatData.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 57d729cd8063e064e8f3abc82a4b82e0 -timeCreated: 1521392879 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventInfo.cs deleted file mode 100644 index ac9e10cde..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventInfo.cs +++ /dev/null @@ -1,95 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Gets info on the last event that caused a state change. See also Set Event Data action.")] - public class GetEventInfo : FsmStateAction - { - [UIHint(UIHint.Variable)] - public FsmGameObject sentByGameObject; - [UIHint(UIHint.Variable)] - public FsmString fsmName; - [UIHint(UIHint.Variable)] - public FsmBool getBoolData; - [UIHint(UIHint.Variable)] - public FsmInt getIntData; - [UIHint(UIHint.Variable)] - public FsmFloat getFloatData; - [UIHint(UIHint.Variable)] - public FsmVector2 getVector2Data; - [UIHint(UIHint.Variable)] - public FsmVector3 getVector3Data; - [UIHint(UIHint.Variable)] - public FsmString getStringData; - [UIHint(UIHint.Variable)] - public FsmGameObject getGameObjectData; - [UIHint(UIHint.Variable)] - public FsmRect getRectData; - [UIHint(UIHint.Variable)] - public FsmQuaternion getQuaternionData; - [UIHint(UIHint.Variable)] - public FsmMaterial getMaterialData; - [UIHint(UIHint.Variable)] - public FsmTexture getTextureData; - [UIHint(UIHint.Variable)] - public FsmColor getColorData; - [UIHint(UIHint.Variable)] - public FsmObject getObjectData; - - public override void Reset() - { - sentByGameObject = null; - fsmName = null; - getBoolData = null; - getIntData = null; - getFloatData = null; - getVector2Data = null; - getVector3Data = null; - getStringData = null; - getGameObjectData = null; - getRectData = null; - getQuaternionData = null; - getMaterialData = null; - getTextureData = null; - getColorData = null; - getObjectData = null; - } - - public override void OnEnter() - { - if (Fsm.EventData.SentByGameObject != null) - { - sentByGameObject.Value = Fsm.EventData.SentByGameObject; - } - else if (Fsm.EventData.SentByFsm != null) - { - sentByGameObject.Value = Fsm.EventData.SentByFsm.GameObject; - fsmName.Value = Fsm.EventData.SentByFsm.Name; - } - else - { - sentByGameObject.Value = null; - fsmName.Value = ""; - } - - getBoolData.Value = Fsm.EventData.BoolData; - getIntData.Value = Fsm.EventData.IntData; - getFloatData.Value = Fsm.EventData.FloatData; - getVector2Data.Value = Fsm.EventData.Vector2Data; - getVector3Data.Value = Fsm.EventData.Vector3Data; - getStringData.Value = Fsm.EventData.StringData; - getGameObjectData.Value = Fsm.EventData.GameObjectData; - getRectData.Value = Fsm.EventData.RectData; - getQuaternionData.Value = Fsm.EventData.QuaternionData; - getMaterialData.Value = Fsm.EventData.MaterialData; - getTextureData.Value = Fsm.EventData.TextureData; - getColorData.Value = Fsm.EventData.ColorData; - getObjectData.Value = Fsm.EventData.ObjectData; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventInfo.cs.meta deleted file mode 100644 index 639c0e97d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventInfo.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bdeeb47490bb9e94ca4fcbe9b6be9a75 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventIntData.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventIntData.cs deleted file mode 100644 index e08272165..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventIntData.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Gets the Int data from the last Event.")] - public class GetEventIntData : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Store the int data in a variable.")] - public FsmInt getIntData; - - public override void Reset() - { - getIntData = null; - } - - public override void OnEnter() - { - getIntData.Value = Fsm.EventData.IntData; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventIntData.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventIntData.cs.meta deleted file mode 100644 index 6cea202df..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventIntData.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: b37d0031c0606ca4bbae8200314a8d05 -timeCreated: 1521395507 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventSentBy.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventSentBy.cs deleted file mode 100644 index af24ab81d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventSentBy.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Gets the sender of the last event.")] - public class GetEventSentBy: FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Store the GameObject that sent the event.")] - public FsmGameObject sentByGameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the name of the GameObject that sent the event.")] - public FsmString gameObjectName; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the name of the FSM that sent the event.")] - public FsmString fsmName; - - public override void Reset() - { - sentByGameObject = null; - gameObjectName = null; - fsmName = null; - } - - public override void OnEnter() - { - if (Fsm.EventData.SentByGameObject != null) - { - sentByGameObject.Value = Fsm.EventData.SentByGameObject; - } - else if (Fsm.EventData.SentByFsm != null) - { - sentByGameObject.Value = Fsm.EventData.SentByFsm.GameObject; - fsmName.Value = Fsm.EventData.SentByFsm.Name; - } - else - { - sentByGameObject.Value = null; - fsmName.Value = ""; - } - - if (sentByGameObject.Value != null) - { - gameObjectName.Value = sentByGameObject.Value.name; - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventSentBy.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventSentBy.cs.meta deleted file mode 100644 index 6f5c7753e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventSentBy.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 21d94164f734d0344931b7d6912736a5 -timeCreated: 1522202620 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventStringData.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventStringData.cs deleted file mode 100644 index 2fac46539..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventStringData.cs +++ /dev/null @@ -1,34 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Gets the String data from the last Event.")] - public class GetEventStringData : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Store the string data in a variable.")] - public FsmString getStringData; - - public override void Reset() - { - getStringData = null; - } - - public override void OnEnter() - { - getStringData.Value = Fsm.EventData.StringData; - - Finish(); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return "Get Event String > " + ActionHelpers.GetValueLabel(getStringData); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventStringData.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventStringData.cs.meta deleted file mode 100644 index e1763d1f6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventStringData.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 262543605090ec648a26cb34d45455f0 -timeCreated: 1521397671 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector2Data.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector2Data.cs deleted file mode 100644 index 04ddd2457..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector2Data.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Gets the Vector2 data from the last Event.")] - public class GetEventVector2Data : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Store the vector2 data in a variable.")] - public FsmVector2 getVector2Data; - - public override void Reset() - { - getVector2Data = null; - } - - public override void OnEnter() - { - getVector2Data.Value = Fsm.EventData.Vector2Data; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector2Data.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector2Data.cs.meta deleted file mode 100644 index b2435ebe2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector2Data.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: eabdb7627b5eabf4b97ea812480460ca -timeCreated: 1521397725 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector3Data.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector3Data.cs deleted file mode 100644 index fbc45fdea..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector3Data.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, all rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Gets the Vector3 data from the last Event.")] - public class GetEventVector3Data : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Store the vector3 data in a variable.")] - public FsmVector3 getVector3Data; - - public override void Reset() - { - getVector3Data = null; - } - - public override void OnEnter() - { - getVector3Data.Value = Fsm.EventData.Vector3Data; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector3Data.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector3Data.cs.meta deleted file mode 100644 index e58feefec..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetEventVector3Data.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 4309aaf693f60eb4083327844ab51780 -timeCreated: 1526783211 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmBool.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmBool.cs deleted file mode 100644 index 6b08be7b2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmBool.cs +++ /dev/null @@ -1,79 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a Bool Variable from another FSM.")] - public class GetFsmBool : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmBool)] - public FsmString variableName; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmBool storeValue; - - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = null; - } - - public override void OnEnter() - { - DoGetFsmBool(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetFsmBool(); - } - - private void DoGetFsmBool() - { - if (storeValue == null) return; - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) return; - - var fsmBool = fsm.FsmVariables.GetFsmBool(variableName.Value); - if (fsmBool == null) return; - - storeValue.Value = fsmBool.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmBool.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmBool.cs.meta deleted file mode 100644 index 8dfdc7aa2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmBool.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cd9621abe3cb4f14a975ab66a1d89703 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmColor.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmColor.cs deleted file mode 100644 index 62e04a40d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmColor.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a Color Variable from another FSM.")] - public class GetFsmColor : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - [RequiredField] - [UIHint(UIHint.FsmColor)] - public FsmString variableName; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmColor storeValue; - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = null; - } - - public override void OnEnter() - { - DoGetFsmColor(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetFsmColor(); - } - - private void DoGetFsmColor() - { - if (storeValue == null) return; - - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) return; - - FsmColor fsmColor = fsm.FsmVariables.GetFsmColor(variableName.Value); - - if (fsmColor == null) return; - - storeValue.Value = fsmColor.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmColor.cs.meta deleted file mode 100644 index 69a699310..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1dce27cb44453b74380717775cbf4bcf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmEnum.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmEnum.cs deleted file mode 100644 index 9af109f25..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmEnum.cs +++ /dev/null @@ -1,81 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of an Enum Variable from another FSM.")] - public class GetFsmEnum : FsmStateAction - { - [RequiredField] - [Tooltip("The target FSM")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmBool)] - public FsmString variableName; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmEnum storeValue; - - [Tooltip("Repeat every frame")] - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = null; - } - - public override void OnEnter() - { - DoGetFsmEnum(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetFsmEnum(); - } - - private void DoGetFsmEnum() - { - if (storeValue == null) return; - - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) return; - - var fsmEnum = fsm.FsmVariables.GetFsmEnum(variableName.Value); - if (fsmEnum == null) return; - - storeValue.Value = fsmEnum.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmEnum.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmEnum.cs.meta deleted file mode 100644 index 4f7cc0733..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmEnum.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c87a739e8b72e6e4e99aa78a2427fd03 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmFloat.cs deleted file mode 100644 index 26a77c1b5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmFloat.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a Float Variable from another FSM.")] - public class GetFsmFloat : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - [RequiredField] - [UIHint(UIHint.FsmFloat)] - public FsmString variableName; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat storeValue; - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = null; - } - - public override void OnEnter() - { - DoGetFsmFloat(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetFsmFloat(); - } - - private void DoGetFsmFloat() - { - if (storeValue.IsNone) return; - - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) return; - - FsmFloat fsmFloat = fsm.FsmVariables.GetFsmFloat(variableName.Value); - - if (fsmFloat == null) return; - - storeValue.Value = fsmFloat.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmFloat.cs.meta deleted file mode 100644 index ba4141683..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmFloat.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0e5e91cfed7b66c44b7f5bde1f59fe30 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmGameObject.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmGameObject.cs deleted file mode 100644 index 0d8803d44..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmGameObject.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a Game Object Variable from another FSM.")] - public class GetFsmGameObject : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - [RequiredField] - [UIHint(UIHint.FsmGameObject)] - public FsmString variableName; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmGameObject storeValue; - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = null; - } - - public override void OnEnter() - { - DoGetFsmGameObject(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetFsmGameObject(); - } - - private void DoGetFsmGameObject() - { - if (storeValue == null) return; - - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) return; - - FsmGameObject fsmGameObject = fsm.FsmVariables.GetFsmGameObject(variableName.Value); - - if (fsmGameObject == null) return; - - storeValue.Value = fsmGameObject.Value; - } - - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmGameObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmGameObject.cs.meta deleted file mode 100644 index 3e6a00583..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmGameObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 97e6a2e52290e6b4f93900fe4ad21449 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmInt.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmInt.cs deleted file mode 100644 index 9add63b09..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmInt.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of an Integer Variable from another FSM.")] - public class GetFsmInt : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - [RequiredField] - [UIHint(UIHint.FsmInt)] - public FsmString variableName; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt storeValue; - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = null; - } - - public override void OnEnter() - { - DoGetFsmInt(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetFsmInt(); - } - - private void DoGetFsmInt() - { - if (storeValue == null) return; - - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) return; - - FsmInt fsmInt = fsm.FsmVariables.GetFsmInt(variableName.Value); - - if (fsmInt == null) return; - - storeValue.Value = fsmInt.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmInt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmInt.cs.meta deleted file mode 100644 index 2cd83ac37..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmInt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2d9f76bd8ba211b488b98b673121384c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmMaterial.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmMaterial.cs deleted file mode 100644 index ccfc38bfe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmMaterial.cs +++ /dev/null @@ -1,89 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a Material Variable from another FSM.")] - public class GetFsmMaterial : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmMaterial)] - public FsmString variableName; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmMaterial storeValue; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - protected PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = ""; - storeValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetFsmVariable(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetFsmVariable(); - } - - private void DoGetFsmVariable() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null || storeValue == null) - { - return; - } - - var fsmVar = fsm.FsmVariables.GetFsmMaterial(variableName.Value); - - if (fsmVar != null) - { - storeValue.Value = fsmVar.Value; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmMaterial.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmMaterial.cs.meta deleted file mode 100644 index 235914f2b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmMaterial.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6b1ca2bc76bd8cc48bc89bd3b995d3a9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmObject.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmObject.cs deleted file mode 100644 index 627a47242..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmObject.cs +++ /dev/null @@ -1,89 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of an Object Variable from another FSM.")] - public class GetFsmObject : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmObject)] - public FsmString variableName; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmObject storeValue; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - protected PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = ""; - storeValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetFsmVariable(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetFsmVariable(); - } - - private void DoGetFsmVariable() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null || storeValue == null) - { - return; - } - - var fsmVar = fsm.FsmVariables.GetFsmObject(variableName.Value); - - if (fsmVar != null) - { - storeValue.Value = fsmVar.Value; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmObject.cs.meta deleted file mode 100644 index e29ec7ec2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0cbb971dcad5dfe41ba207cf8ddf10e8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmQuaternion.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmQuaternion.cs deleted file mode 100644 index e4e3efefc..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmQuaternion.cs +++ /dev/null @@ -1,89 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a Quaternion Variable from another FSM.")] - public class GetFsmQuaternion : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmQuaternion)] - public FsmString variableName; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmQuaternion storeValue; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - protected PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = ""; - storeValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetFsmVariable(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetFsmVariable(); - } - - private void DoGetFsmVariable() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null || storeValue == null) - { - return; - } - - var fsmVar = fsm.FsmVariables.GetFsmQuaternion(variableName.Value); - - if (fsmVar != null) - { - storeValue.Value = fsmVar.Value; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmQuaternion.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmQuaternion.cs.meta deleted file mode 100644 index 48b5ae3a5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmQuaternion.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d079cd4867c36e54faf57b52c0c7e4ee -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmRect.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmRect.cs deleted file mode 100644 index 012b15a8d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmRect.cs +++ /dev/null @@ -1,89 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a Rect Variable from another FSM.")] - public class GetFsmRect : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmRect)] - public FsmString variableName; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmRect storeValue; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - protected PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = ""; - storeValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetFsmVariable(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetFsmVariable(); - } - - private void DoGetFsmVariable() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null || storeValue == null) - { - return; - } - - var fsmVar = fsm.FsmVariables.GetFsmRect(variableName.Value); - - if (fsmVar != null) - { - storeValue.Value = fsmVar.Value; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmRect.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmRect.cs.meta deleted file mode 100644 index ca287f6d0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmRect.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 10a898a9e2d37ee469ec06b5db381052 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmState.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmState.cs deleted file mode 100644 index 9e347ca60..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmState.cs +++ /dev/null @@ -1,84 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "fsmComponent")] - [Tooltip("Gets the name of the specified FSMs current state. Either reference the fsm component directly, or find it on a game object.")] - public class GetFsmState : FsmStateAction - { - [Tooltip("Drag a PlayMakerFSM component here.")] - public PlayMakerFSM fsmComponent; - - [Tooltip("If not specifying the component above, specify the GameObject that owns the FSM")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of Fsm on Game Object. If left blank it will find the first PlayMakerFSM on the GameObject.")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the state name in a string variable.")] - public FsmString storeResult; - - [Tooltip("Repeat every frame. E.g., useful if you're waiting for the state to change.")] - public bool everyFrame; - - private PlayMakerFSM fsm; - - public override void Reset() - { - fsmComponent = null; - gameObject = null; - fsmName = ""; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetFsmState(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetFsmState(); - } - - void DoGetFsmState() - { - if (fsm == null) - { - if (fsmComponent != null) - { - fsm = fsmComponent; - } - else - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go != null) - { - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - } - - if (fsm == null) - { - storeResult.Value = ""; - return; - } - } - - storeResult.Value = fsm.ActiveStateName; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmState.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmState.cs.meta deleted file mode 100644 index af586172e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmState.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fd5aac683074ad74dbc7b5f19fe2ee26 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmString.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmString.cs deleted file mode 100644 index f1e8a1696..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmString.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a String Variable from another FSM.")] - public class GetFsmString : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - [RequiredField] - [UIHint(UIHint.FsmString)] - public FsmString variableName; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString storeValue; - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = null; - } - - public override void OnEnter() - { - DoGetFsmString(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetFsmString(); - } - - private void DoGetFsmString() - { - if (storeValue == null) return; - - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) return; - - FsmString fsmString = fsm.FsmVariables.GetFsmString(variableName.Value); - - if (fsmString == null) return; - - storeValue.Value = fsmString.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmString.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmString.cs.meta deleted file mode 100644 index cbae3bf92..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmString.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fdd74848050c6b44eab573991ac7e31d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmTexture.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmTexture.cs deleted file mode 100644 index 1d6f4ae8e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmTexture.cs +++ /dev/null @@ -1,89 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a Texture Variable from another FSM.")] - public class GetFsmTexture : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmTexture)] - public FsmString variableName; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmTexture storeValue; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - protected PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = ""; - storeValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetFsmVariable(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetFsmVariable(); - } - - private void DoGetFsmVariable() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null || storeValue == null) - { - return; - } - - var fsmVar = fsm.FsmVariables.GetFsmTexture(variableName.Value); - - if (fsmVar != null) - { - storeValue.Value = fsmVar.Value; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmTexture.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmTexture.cs.meta deleted file mode 100644 index a7d1cbee8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmTexture.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a8b2a265ff450ee418db802c965b15a8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariable.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariable.cs deleted file mode 100644 index 461cd2bc9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariable.cs +++ /dev/null @@ -1,103 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a variable in another FSM and store it in a variable of the same name in this FSM.")] - public class GetFsmVariable : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [HideTypeFilter] - [UIHint(UIHint.Variable)] - [Tooltip("Store the value of the FsmVariable")] - public FsmVar storeValue; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private GameObject cachedGO; - private string cachedFsmName; - private PlayMakerFSM sourceFsm; - private INamedVariable sourceVariable; - private NamedVariable targetVariable; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = new FsmVar(); - } - - public override void OnEnter() - { - InitFsmVar(); - - DoGetFsmVariable(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetFsmVariable(); - } - - void InitFsmVar() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != cachedGO || cachedFsmName != fsmName.Value) - { - sourceFsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - sourceVariable = sourceFsm.FsmVariables.GetVariable(storeValue.variableName); - targetVariable = Fsm.Variables.GetVariable(storeValue.variableName); - storeValue.Type = targetVariable.VariableType; - - if (!string.IsNullOrEmpty(storeValue.variableName) && sourceVariable == null) - { - LogWarning("Missing Variable: " + storeValue.variableName); - } - - cachedGO = go; - cachedFsmName = fsmName.Value; - } - } - - void DoGetFsmVariable() - { - if (storeValue.IsNone) - { - return; - } - - InitFsmVar(); - storeValue.GetValueFrom(sourceVariable); - storeValue.ApplyValueTo(targetVariable); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ("Get FSM Variable: " + ActionHelpers.GetValueLabel(storeValue.NamedVar)); - } -#endif - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariable.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariable.cs.meta deleted file mode 100644 index 415ff9639..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariable.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 36fdfdb437289ec489dd5b1133deec80 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariables.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariables.cs deleted file mode 100644 index 09a66bb39..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariables.cs +++ /dev/null @@ -1,102 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2016. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the values of multiple variables in another FSM and store in variables of the same name in this FSM.")] - public class GetFsmVariables : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [HideTypeFilter] - [UIHint(UIHint.Variable)] - [Tooltip("Store the values of the FsmVariables")] - public FsmVar[] getVariables; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private GameObject cachedGO; - private string cachedFsmName; - private PlayMakerFSM sourceFsm; - private INamedVariable[] sourceVariables; - private NamedVariable[] targetVariables; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - getVariables = null; - } - - void InitFsmVars() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != cachedGO || cachedFsmName != fsmName.Value) - { - sourceVariables = new INamedVariable[getVariables.Length]; - targetVariables = new NamedVariable[getVariables.Length]; - - for (var i = 0; i < getVariables.Length; i++) - { - var variableName = getVariables[i].variableName; - sourceFsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - sourceVariables[i] = sourceFsm.FsmVariables.GetVariable(variableName); - targetVariables[i] = Fsm.Variables.GetVariable(variableName); - getVariables[i].Type = targetVariables[i].VariableType; - - if (!string.IsNullOrEmpty(variableName) && sourceVariables[i] == null) - { - LogWarning("Missing Variable: " + variableName); - } - - cachedGO = go; - cachedFsmName = fsmName.Value; - } - } - } - - public override void OnEnter() - { - InitFsmVars(); - - DoGetFsmVariables(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetFsmVariables(); - } - - void DoGetFsmVariables() - { - InitFsmVars(); - - for (var i = 0; i < getVariables.Length; i++) - { - getVariables[i].GetValueFrom(sourceVariables[i]); - getVariables[i].ApplyValueTo(targetVariables[i]); - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariables.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariables.cs.meta deleted file mode 100644 index f69847b52..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVariables.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 46663c0db282f7045807d75af544b7f6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector2.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector2.cs deleted file mode 100644 index 1ca86cd28..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector2.cs +++ /dev/null @@ -1,87 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a Vector2 Variable from another FSM.")] - public class GetFsmVector2 : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - [RequiredField] - [UIHint(UIHint.FsmVector2)] - public FsmString variableName; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmVector2 storeValue; - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = null; - } - - public override void OnEnter() - { - DoGetFsmVector2(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetFsmVector2(); - } - - private void DoGetFsmVector2() - { - if (storeValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go == null) - { - return; - } - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - return; - } - - var fsmVector2 = fsm.FsmVariables.GetFsmVector2(variableName.Value); - - if (fsmVector2 == null) - { - return; - } - - storeValue.Value = fsmVector2.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector2.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector2.cs.meta deleted file mode 100644 index e78b60e30..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector2.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a755290c09b78ed44bd915310300b42c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector3.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector3.cs deleted file mode 100644 index 2d2f9c100..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector3.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Get the value of a Vector3 Variable from another FSM.")] - public class GetFsmVector3 : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - [RequiredField] - [UIHint(UIHint.FsmVector3)] - public FsmString variableName; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmVector3 storeValue; - public bool everyFrame; - - private GameObject goLastFrame; - private string fsmNameLastFrame; - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - storeValue = null; - } - - public override void OnEnter() - { - DoGetFsmVector3(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetFsmVector3(); - } - - private void DoGetFsmVector3() - { - if (storeValue == null) return; - - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) return; - - FsmVector3 fsmVector3 = fsm.FsmVariables.GetFsmVector3(variableName.Value); - - if (fsmVector3 == null) return; - - storeValue.Value = fsmVector3.Value; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector3.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector3.cs.meta deleted file mode 100644 index 770afec51..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetFsmVector3.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 46c8c8bb1397d144d9adb770445ab086 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetLastEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetLastEvent.cs deleted file mode 100644 index 365c7c78d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetLastEvent.cs +++ /dev/null @@ -1,26 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Gets the event that caused the transition to the current state, and stores it in a String Variable.")] - public class GetLastEvent : FsmStateAction - { - [UIHint(UIHint.Variable)] - public FsmString storeEvent; - - public override void Reset() - { - storeEvent = null; - } - - public override void OnEnter() - { - storeEvent.Value = Fsm.LastTransition == null ? "START" : Fsm.LastTransition.EventName; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetLastEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetLastEvent.cs.meta deleted file mode 100644 index e6551e919..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetLastEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7f812896d24109f44959a5f3cb41bb5f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetPreviousStateName.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetPreviousStateName.cs deleted file mode 100644 index 0e879e484..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetPreviousStateName.cs +++ /dev/null @@ -1,26 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Gets the name of the previously active state and stores it in a String Variable.")] - public class GetPreviousStateName : FsmStateAction - { - [UIHint(UIHint.Variable)] - public FsmString storeName; - - public override void Reset() - { - storeName = null; - } - - public override void OnEnter() - { - storeName.Value = Fsm.PreviousActiveState == null ? null : Fsm.PreviousActiveState.Name; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetPreviousStateName.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetPreviousStateName.cs.meta deleted file mode 100644 index dde4d3a40..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GetPreviousStateName.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c36954e78645b0b48ae925a44d2de0f9 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GotoPreviousState.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GotoPreviousState.cs deleted file mode 100644 index 4f7c60cea..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GotoPreviousState.cs +++ /dev/null @@ -1,27 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Immediately return to the previously active state.")] - public class GotoPreviousState : FsmStateAction - { - public override void Reset() - { - } - - public override void OnEnter() - { - if (Fsm.PreviousActiveState != null) - { - Log("Goto Previous State: " + Fsm.PreviousActiveState.Name); - - Fsm.GotoPreviousState(); - } - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GotoPreviousState.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GotoPreviousState.cs.meta deleted file mode 100644 index 2a89cacb6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/GotoPreviousState.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bfc61e41661b780488c6babd4d1de9a5 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/KillDelayedEvents.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/KillDelayedEvents.cs deleted file mode 100644 index 61d313162..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/KillDelayedEvents.cs +++ /dev/null @@ -1,19 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2012. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Note("Kill all queued delayed events.")] - [Tooltip("Kill all queued delayed events. " + - "Normally delayed events are automatically killed when the active state is exited, " + - "but you can override this behaviour in FSM settings. " + - "If you choose to keep delayed events you can use this action to kill them when needed.")] - public class KillDelayedEvents : FsmStateAction - { - public override void OnEnter() - { - Fsm.KillDelayedEvents(); - Finish(); - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/KillDelayedEvents.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/KillDelayedEvents.cs.meta deleted file mode 100644 index 8a7a73e9f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/KillDelayedEvents.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d3c6c502091d64544804c8b322959c48 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/NextFrameEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/NextFrameEvent.cs deleted file mode 100644 index 83e1a7d20..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/NextFrameEvent.cs +++ /dev/null @@ -1,36 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Sends an Event in the next frame. Useful if you want to loop states every frame.")] - public class NextFrameEvent : FsmStateAction - { - [RequiredField] - public FsmEvent sendEvent; - - public override void Reset() - { - sendEvent = null; - } - - public override void OnEnter() - { - } - - public override void OnUpdate() - { - Finish(); - - Fsm.Event(sendEvent); - } - - -#if UNITY_EDITOR - public override string AutoName() - { - return "Next Frame Event: " + (sendEvent != null ? sendEvent.Name : "[none]"); - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/NextFrameEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/NextFrameEvent.cs.meta deleted file mode 100644 index c01d1fd22..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/NextFrameEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: f7d49062dd8a28443badc6155f4a1c1c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RandomEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RandomEvent.cs deleted file mode 100644 index 6fe176ca4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RandomEvent.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Sends a Random State Event after an optional delay. Use this to transition to a random state from the current state.")] - public class RandomEvent : FsmStateAction - { - [HasFloatSlider(0, 10)] - [Tooltip("Delay before sending the event.")] - public FsmFloat delay; - - [Tooltip("Don't repeat the same event twice in a row.")] - public FsmBool noRepeat; - - private DelayedEvent delayedEvent; - private int randomEventIndex; - private int lastEventIndex = -1; - - public override void Reset() - { - delay = null; - noRepeat = false; - } - - public override void OnEnter() - { - if (State.Transitions.Length == 0) - { - return; - } - - if (lastEventIndex == -1) - { - lastEventIndex = Random.Range(0, State.Transitions.Length); - } - - if (delay.Value < 0.001f) - { - Fsm.Event(GetRandomEvent()); - Finish(); - } - else - { - delayedEvent = Fsm.DelayedEvent(GetRandomEvent(), delay.Value); - } - } - - public override void OnUpdate() - { - if (DelayedEvent.WasSent(delayedEvent)) - { - Finish(); - } - } - - FsmEvent GetRandomEvent() - { - do - { - randomEventIndex = Random.Range(0, State.Transitions.Length); - } while (noRepeat.Value && State.Transitions.Length > 1 && randomEventIndex == lastEventIndex); - - lastEventIndex = randomEventIndex; - - return State.Transitions[randomEventIndex].FsmEvent; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RandomEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RandomEvent.cs.meta deleted file mode 100644 index 3ba024523..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RandomEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 44d48efcf6f18084996147a88a4ffb12 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSM.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSM.cs deleted file mode 100644 index 94447affd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSM.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Creates an FSM from a saved FSM Template.")] - public class RunFSM : RunFSMAction - { - public FsmTemplateControl fsmTemplateControl = new FsmTemplateControl(); - - [UIHint(UIHint.Variable)] - public FsmInt storeID; - - [Tooltip("Event to send when the FSM has finished (usually because it ran a Finish FSM action).")] - public FsmEvent finishEvent; - - public override void Reset() - { - fsmTemplateControl = new FsmTemplateControl(); - storeID = null; - runFsm = null; - } - - /// - /// Initialize FSM on awake so it doesn't cause hitches later - /// - public override void Awake() - { - if (fsmTemplateControl.fsmTemplate != null && Application.isPlaying) - { - runFsm = Fsm.CreateSubFsm(fsmTemplateControl); - } - } - - /// - /// Start the FSM on entering the state - /// - public override void OnEnter() - { - if (runFsm == null) - { - Finish(); - return; - } - - fsmTemplateControl.UpdateValues(); - fsmTemplateControl.ApplyOverrides(runFsm); - - runFsm.OnEnable(); - - if (!runFsm.Started) - { - runFsm.Start(); - } - - storeID.Value = fsmTemplateControl.ID; - - CheckIfFinished(); - } - - // Other functionality covered in RunFSMAction base class - - protected override void CheckIfFinished() - { - if (runFsm == null || runFsm.Finished) - { - Finish(); - Fsm.Event(finishEvent); - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSM.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSM.cs.meta deleted file mode 100644 index 9f7f61e53..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSM.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4d7b4c7e53243804f8ddd98b1f317bfb -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSMAction.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSMAction.cs deleted file mode 100644 index d3718406c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSMAction.cs +++ /dev/null @@ -1,229 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [Tooltip("Base class for actions that want to run a sub FSM.")] - public abstract class RunFSMAction : FsmStateAction - { - protected Fsm runFsm; - - public override void Reset() - { - runFsm = null; - } - - /// - /// Forward global events to the sub FSM - /// - public override bool Event(FsmEvent fsmEvent) - { - if (runFsm != null && (fsmEvent.IsGlobal || fsmEvent.IsSystemEvent)) - { - runFsm.Event(fsmEvent); - } - - return false; - } - - /// - /// Start the FSM on entering the state - /// - public override void OnEnter() - { - if (runFsm == null) - { - Finish(); - return; - } - - runFsm.OnEnable(); - - if (!runFsm.Started) - { - runFsm.Start(); - } - - CheckIfFinished(); - } - - public override void OnUpdate() - { - if (runFsm != null) - { - runFsm.Update(); - CheckIfFinished(); - } - else - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - if (runFsm != null) - { - runFsm.FixedUpdate(); - CheckIfFinished(); - } - else - { - Finish(); - } - } - - public override void OnLateUpdate() - { - if (runFsm != null) - { - runFsm.LateUpdate(); - CheckIfFinished(); - } - else - { - Finish(); - } - } - - public override void DoTriggerEnter(Collider other) - { - if (runFsm.HandleTriggerEnter) - { - runFsm.OnTriggerEnter(other); - } - } - - public override void DoTriggerStay(Collider other) - { - if (runFsm.HandleTriggerStay) - { - runFsm.OnTriggerStay(other); - } - } - - public override void DoTriggerExit(Collider other) - { - if (runFsm.HandleTriggerExit) - { - runFsm.OnTriggerExit(other); - } - } - - public override void DoCollisionEnter(Collision collisionInfo) - { - if (runFsm.HandleCollisionEnter) - { - runFsm.OnCollisionEnter(collisionInfo); - } - } - - public override void DoCollisionStay(Collision collisionInfo) - { - if (runFsm.HandleCollisionStay) - { - runFsm.OnCollisionStay(collisionInfo); - } - } - - public override void DoCollisionExit(Collision collisionInfo) - { - if (runFsm.HandleCollisionExit) - { - runFsm.OnCollisionExit(collisionInfo); - } - } - - public override void DoParticleCollision(GameObject other) - { - if (runFsm.HandleParticleCollision) - { - runFsm.OnParticleCollision(other); - } - } - - public override void DoControllerColliderHit(ControllerColliderHit collisionInfo) - { - if (runFsm.HandleControllerColliderHit) - { - runFsm.OnControllerColliderHit(collisionInfo); - } - } - - public override void DoTriggerEnter2D(Collider2D other) - { - if (runFsm.HandleTriggerEnter2D) - { - runFsm.OnTriggerEnter2D(other); - } - } - - public override void DoTriggerStay2D(Collider2D other) - { - if (runFsm.HandleTriggerStay2D) - { - runFsm.OnTriggerStay2D(other); - } - } - - public override void DoTriggerExit2D(Collider2D other) - { - if (runFsm.HandleTriggerExit2D) - { - runFsm.OnTriggerExit2D(other); - } - } - - public override void DoCollisionEnter2D(Collision2D collisionInfo) - { - if (runFsm.HandleCollisionEnter2D) - { - runFsm.OnCollisionEnter2D(collisionInfo); - } - } - - public override void DoCollisionStay2D(Collision2D collisionInfo) - { - if (runFsm.HandleCollisionStay2D) - { - runFsm.OnCollisionStay2D(collisionInfo); - } - } - - public override void DoCollisionExit2D(Collision2D collisionInfo) - { - if (runFsm.HandleCollisionExit2D) - { - runFsm.OnCollisionExit2D(collisionInfo); - } - } - - public override void OnGUI() - { - if (runFsm != null && runFsm.HandleOnGUI) - { - runFsm.OnGUI(); - } - } - - /// - /// Stop the FSM on exiting the state - /// - public override void OnExit() - { - if (runFsm != null) - { - runFsm.Stop(); - } - } - - protected virtual void CheckIfFinished() - { - if (runFsm == null || runFsm.Finished) - { - Finish(); - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSMAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSMAction.cs.meta deleted file mode 100644 index 7adde04ff..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/RunFSMAction.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a000d7d498ec6a841a828fc0a90a84c4 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEvent.cs deleted file mode 100644 index 2dd8a4843..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEvent.cs +++ /dev/null @@ -1,86 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "eventTarget")] - [ActionTarget(typeof(GameObject), "eventTarget")] - [Tooltip("Sends an Event after an optional delay. NOTE: To send events between FSMs they must be marked as Global in the Events Browser.")] - public class SendEvent : FsmStateAction - { - [Tooltip("Where to send the event.")] - public FsmEventTarget eventTarget; - - [RequiredField] - [Tooltip("The event to send. NOTE: Events must be marked Global to send between FSMs.")] - public FsmEvent sendEvent; - - [HasFloatSlider(0, 10)] - [Tooltip("Optional delay in seconds.")] - public FsmFloat delay; - - [Tooltip("Repeat every frame. Rarely needed, but can be useful when sending events to other FSMs.")] - public bool everyFrame; - - private DelayedEvent delayedEvent; - - public override void Reset() - { - eventTarget = null; - sendEvent = null; - delay = null; - everyFrame = false; - } - - public override void OnEnter() - { - if (delay.Value < 0.001f) - { - Fsm.Event(eventTarget, sendEvent); - if (!everyFrame) - { - Finish(); - } - } - else - { - delayedEvent = Fsm.DelayedEvent(eventTarget, sendEvent, delay.Value); - } - } - - public override void OnUpdate() - { - if (!everyFrame) - { - if (DelayedEvent.WasSent(delayedEvent)) - { - Finish(); - } - } - else - { - Fsm.Event(eventTarget, sendEvent); - } - } - -#if UNITY_EDITOR - - public override string AutoName() - { - return "SendEvent : " + (eventTarget.target != FsmEventTarget.EventTarget.Self ? " " + eventTarget.target + " ": "") - + (sendEvent != null ? sendEvent.Name : "None") - + (delay.Value > 0f ? " " + delay.Value + "s" : ""); - } - - public override float GetProgress() - { - if (delayedEvent != null) - return Mathf.Min(delayedEvent.GetProgress()); - return 0f; - } -#endif - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEvent.cs.meta deleted file mode 100644 index 8117c0a8b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2d17db40edbce4c41be55264595c0af8 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventByName.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventByName.cs deleted file mode 100644 index d7332522d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventByName.cs +++ /dev/null @@ -1,64 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Sends an Event by name after an optional delay. NOTE: Use this over Send Event if you store events as string variables.")] - public class SendEventByName : FsmStateAction - { - [Tooltip("Where to send the event.")] - public FsmEventTarget eventTarget; - - [RequiredField] - [Tooltip("The event to send. NOTE: Events must be marked Global to send between FSMs.")] - public FsmString sendEvent; - - [HasFloatSlider(0, 10)] - [Tooltip("Optional delay in seconds.")] - public FsmFloat delay; - - [Tooltip("Repeat every frame. Rarely needed, but can be useful when sending events to other FSMs.")] - public bool everyFrame; - - DelayedEvent delayedEvent; - - public override void Reset() - { - eventTarget = null; - sendEvent = null; - delay = null; - everyFrame = false; - } - - public override void OnEnter() - { - if (delay.Value < 0.001f) - { - Fsm.Event(eventTarget, sendEvent.Value); - if (!everyFrame) - { - Finish(); - } - } - else - { - delayedEvent = Fsm.DelayedEvent(eventTarget, FsmEvent.GetFsmEvent(sendEvent.Value), delay.Value); - } - } - - public override void OnUpdate() - { - if (!everyFrame) - { - if (DelayedEvent.WasSent(delayedEvent)) - { - Finish(); - } - } - else - { - Fsm.Event(eventTarget, sendEvent.Value); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventByName.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventByName.cs.meta deleted file mode 100644 index acfb3f7e5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventByName.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5e9e10e15541c9d4598f27322fe43a95 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventToFsm.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventToFsm.cs deleted file mode 100644 index dbda9c45b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventToFsm.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [Obsolete("This action is obsolete; use Send Event with Event Target instead.")] - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Sends an Event to another Fsm after an optional delay. Specify an Fsm Name or use the first Fsm on the object.")] - public class SendEventToFsm : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of Fsm on Game Object")] - public FsmString fsmName; - [RequiredField] - [UIHint(UIHint.FsmEvent)] - public FsmString sendEvent; - [HasFloatSlider(0, 10)] - public FsmFloat delay; - bool requireReceiver; - - private GameObject go; - private DelayedEvent delayedEvent; - - public override void Reset() - { - gameObject = null; - fsmName = null; - sendEvent = null; - delay = null; - requireReceiver = false; - } - - public override void OnEnter() - { - go = Fsm.GetOwnerDefaultTarget(gameObject); - - if (go == null) - { - Finish(); - return; - } - - var sendToFsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - - if (sendToFsm == null) - { - if (requireReceiver) - { - LogError("GameObject doesn't have FsmComponent: " + go.name + " " + fsmName.Value); - } - - return; - } - - if (delay.Value < 0.001) - { - sendToFsm.Fsm.Event(sendEvent.Value); - Finish(); - } - else - { - delayedEvent = sendToFsm.Fsm.DelayedEvent(FsmEvent.GetFsmEvent(sendEvent.Value), delay.Value); - } - } - - public override void OnUpdate() - { - if (DelayedEvent.WasSent(delayedEvent)) - { - Finish(); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventToFsm.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventToFsm.cs.meta deleted file mode 100644 index 97e42f729..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendEventToFsm.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e67332eeb4ef833489b089d1d65e041f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendRandomEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendRandomEvent.cs deleted file mode 100644 index 25dfeb19f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendRandomEvent.cs +++ /dev/null @@ -1,59 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Sends a Random Event picked from an array of Events. Optionally set the relative weight of each event.")] - public class SendRandomEvent : FsmStateAction - { - [CompoundArray("Events", "Event", "Weight")] - public FsmEvent[] events; - [HasFloatSlider(0, 1)] - public FsmFloat[] weights; - public FsmFloat delay; - - DelayedEvent delayedEvent; - - public override void Reset() - { - events = new FsmEvent[3]; - weights = new FsmFloat[] {1,1,1}; - delay = null; - } - - public override void OnEnter() - { - if (events.Length > 0) - { - int randomIndex = ActionHelpers.GetRandomWeightedIndex(weights); - - if (randomIndex != -1) - { - if (delay.Value < 0.001f) - { - Fsm.Event(events[randomIndex]); - Finish(); - } - else - { - delayedEvent = Fsm.DelayedEvent(events[randomIndex], delay.Value); - } - - return; - } - } - - Finish(); - } - - public override void OnUpdate() - { - if (DelayedEvent.WasSent(delayedEvent)) - { - Finish(); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendRandomEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendRandomEvent.cs.meta deleted file mode 100644 index 4e28a09da..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SendRandomEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: c1ba25b9548a936458186692e85f3259 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SequenceEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SequenceEvent.cs deleted file mode 100644 index bb779f660..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SequenceEvent.cs +++ /dev/null @@ -1,64 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Sends the next event on the state each time the state is entered.")] - public class SequenceEvent : FsmStateAction - { - [HasFloatSlider(0, 10)] - public FsmFloat delay; - - [UIHint(UIHint.Variable)] - [Tooltip("Assign a variable to control reset. Set it to True to reset the sequence. Value is set to False after resetting.")] - public FsmBool reset; - - DelayedEvent delayedEvent; - int eventIndex; - - public override void Reset() - { - delay = null; - } - - public override void OnEnter() - { - if (reset.Value) - { - eventIndex = 0; - reset.Value = false; - } - - var eventCount = State.Transitions.Length; - - if (eventCount > 0) - { - var fsmEvent = State.Transitions[eventIndex].FsmEvent; - - if (delay.Value < 0.001f) - { - Fsm.Event(fsmEvent); - Finish(); - } - else - { - delayedEvent = Fsm.DelayedEvent(fsmEvent, delay.Value); - } - - eventIndex++; - if (eventIndex == eventCount) - { - eventIndex = 0; - } - } - } - - public override void OnUpdate() - { - if (DelayedEvent.WasSent(delayedEvent)) - { - Finish(); - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SequenceEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SequenceEvent.cs.meta deleted file mode 100644 index 6cb3cfa26..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SequenceEvent.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 36cebf3c20367d04ab464546dbfe2267 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventData.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventData.cs deleted file mode 100644 index 5a0dba658..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventData.cs +++ /dev/null @@ -1,61 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Sets Event Data before sending an event. Get the Event Data, along with sender information, using Get Event Info action.")] - public class SetEventData : FsmStateAction - { - public FsmGameObject setGameObjectData; - public FsmInt setIntData; - public FsmFloat setFloatData; - public FsmString setStringData; - public FsmBool setBoolData; - public FsmVector2 setVector2Data; - public FsmVector3 setVector3Data; - public FsmRect setRectData; - public FsmQuaternion setQuaternionData; - public FsmColor setColorData; - public FsmMaterial setMaterialData; - public FsmTexture setTextureData; - public FsmObject setObjectData; - - public override void Reset() - { - setGameObjectData = new FsmGameObject{UseVariable = true}; - setIntData = new FsmInt { UseVariable = true }; - setFloatData = new FsmFloat { UseVariable = true }; - setStringData = new FsmString { UseVariable = true }; - setBoolData = new FsmBool { UseVariable = true }; - setVector2Data = new FsmVector2 { UseVariable = true }; - setVector3Data = new FsmVector3 { UseVariable = true }; - setRectData = new FsmRect { UseVariable = true }; - setQuaternionData = new FsmQuaternion { UseVariable = true }; - setColorData = new FsmColor { UseVariable = true }; - setMaterialData = new FsmMaterial { UseVariable = true }; - setTextureData = new FsmTexture { UseVariable = true }; - setObjectData = new FsmObject { UseVariable = true }; - } - - public override void OnEnter() - { - Fsm.EventData.BoolData = setBoolData.Value; - Fsm.EventData.IntData = setIntData.Value; - Fsm.EventData.FloatData = setFloatData.Value; - Fsm.EventData.Vector2Data = setVector2Data.Value; - Fsm.EventData.Vector3Data = setVector3Data.Value; - Fsm.EventData.StringData = setStringData.Value; - Fsm.EventData.GameObjectData = setGameObjectData.Value; - Fsm.EventData.RectData = setRectData.Value; - Fsm.EventData.QuaternionData = setQuaternionData.Value; - Fsm.EventData.ColorData = setColorData.Value; - Fsm.EventData.MaterialData = setMaterialData.Value; - Fsm.EventData.TextureData = setTextureData.Value; - Fsm.EventData.ObjectData = setObjectData.Value; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventData.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventData.cs.meta deleted file mode 100644 index 5d57185c9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventData.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 90eeb02be41916f41825bd8f70a06555 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventTarget.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventTarget.cs deleted file mode 100644 index 655266c5f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventTarget.cs +++ /dev/null @@ -1,23 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [Tooltip("Sets the target FSM for all subsequent events sent by this state. The default 'Self' sends events to this FSM.")] - public class SetEventTarget : FsmStateAction - { - public FsmEventTarget eventTarget; - - public override void Reset() - { - } - - public override void OnEnter() - { - Fsm.EventTarget = eventTarget; - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventTarget.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventTarget.cs.meta deleted file mode 100644 index b89ef4891..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetEventTarget.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6bc63b6801428444ebc7f2a4bb63529a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmBool.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmBool.cs deleted file mode 100644 index 216db17b2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmBool.cs +++ /dev/null @@ -1,101 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a Bool Variable in another FSM.")] - public class SetFsmBool : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmBool)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Set the value of the variable.")] - public FsmBool setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = null; - } - - public override void OnEnter() - { - DoSetFsmBool(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmBool() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmBool = fsm.FsmVariables.FindFsmBool(variableName.Value); - - if (fsmBool != null) - { - fsmBool.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmBool(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmBool.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmBool.cs.meta deleted file mode 100644 index 88943bfaa..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmBool.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: cf09b613f0b23504ebb8e5a237f3d7ec -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmColor.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmColor.cs deleted file mode 100644 index dfd389c60..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmColor.cs +++ /dev/null @@ -1,101 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a Color Variable in another FSM.")] - public class SetFsmColor : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmColor)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Set the value of the variable.")] - public FsmColor setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = null; - } - - public override void OnEnter() - { - DoSetFsmColor(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmColor() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmColor = fsm.FsmVariables.GetFsmColor(variableName.Value); - - if (fsmColor != null) - { - fsmColor.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmColor(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmColor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmColor.cs.meta deleted file mode 100644 index 56e051250..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmColor.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 93521bb024ec50d46974db698c20b312 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmEnum.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmEnum.cs deleted file mode 100644 index 10c3b051e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmEnum.cs +++ /dev/null @@ -1,98 +0,0 @@ -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a String Variable in another FSM.")] - public class SetFsmEnum : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object.")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmEnum)] - [Tooltip("Enum variable name needs to match the FSM variable name on Game Object.")] - public FsmString variableName; - - [RequiredField] - //[MatchFieldType("variableName")] - public FsmEnum setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = null; - } - - public override void OnEnter() - { - DoSetFsmEnum(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmEnum() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmEnum = fsm.FsmVariables.GetFsmEnum(variableName.Value); - if (fsmEnum != null) - { - fsmEnum.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmEnum(); - } - - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmEnum.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmEnum.cs.meta deleted file mode 100644 index 6063774d9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmEnum.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 1eb2758e9be6bbd47ada1ddd76754b04 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmFloat.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmFloat.cs deleted file mode 100644 index 8592adb9d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmFloat.cs +++ /dev/null @@ -1,102 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a Float Variable in another FSM.")] - public class SetFsmFloat : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmFloat)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Set the value of the variable.")] - public FsmFloat setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = null; - } - - public override void OnEnter() - { - DoSetFsmFloat(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmFloat() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmFloat = fsm.FsmVariables.GetFsmFloat(variableName.Value); - - if (fsmFloat != null) - { - fsmFloat.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmFloat(); - } - - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmFloat.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmFloat.cs.meta deleted file mode 100644 index e9c59a54c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmFloat.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5ecdd691c2c7b38478ad552d728ba1e0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmGameObject.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmGameObject.cs deleted file mode 100644 index a82f7be92..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmGameObject.cs +++ /dev/null @@ -1,96 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// JeanFabre: This version allow setting the variable to null. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a Game Object Variable in another FSM. Accept null reference")] - public class SetFsmGameObject : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmGameObject)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [Tooltip("Set the value of the variable.")] - public FsmGameObject setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - private GameObject goLastFrame; - string fsmNameLastFrame; - - private PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetFsmGameObject(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmGameObject() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - return; - } - - var fsmGameObject = fsm.FsmVariables.FindFsmGameObject(variableName.Value); - - if (fsmGameObject != null) - { - fsmGameObject.Value = setValue == null ? null : setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmGameObject(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmGameObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmGameObject.cs.meta deleted file mode 100644 index 8befcb881..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmGameObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: b6d0c7a75d6bb9c429ce70d9a21f4614 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmInt.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmInt.cs deleted file mode 100644 index 2b78f0d42..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmInt.cs +++ /dev/null @@ -1,98 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of an Integer Variable in another FSM.")] - public class SetFsmInt : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmInt)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Set the value of the variable.")] - public FsmInt setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = null; - } - - public override void OnEnter() - { - DoSetFsmInt(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmInt() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmInt = fsm.FsmVariables.GetFsmInt(variableName.Value); - - if (fsmInt != null) - { - fsmInt.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmInt(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmInt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmInt.cs.meta deleted file mode 100644 index d399e5739..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmInt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 6b4b8dc15c1d3b44093eb43bfdbd7b50 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmMaterial.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmMaterial.cs deleted file mode 100644 index 2a85bde7c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmMaterial.cs +++ /dev/null @@ -1,103 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a Material Variable in another FSM.")] - public class SetFsmMaterial : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmMaterial)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Set the value of the variable.")] - public FsmMaterial setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = ""; - setValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetFsmBool(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmBool() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmVar = fsm.FsmVariables.GetFsmMaterial(variableName.Value); - - if (fsmVar != null) - { - fsmVar.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmBool(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmMaterial.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmMaterial.cs.meta deleted file mode 100644 index 439356a79..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmMaterial.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: d58ffb639647c654b8eaa37758c2b71e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmObject.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmObject.cs deleted file mode 100644 index c342eb2b4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmObject.cs +++ /dev/null @@ -1,102 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of an Object Variable in another FSM.")] - public class SetFsmObject : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmObject)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [Tooltip("Set the value of the variable.")] - public FsmObject setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = ""; - setValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetFsmBool(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmBool() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmVar = fsm.FsmVariables.GetFsmObject(variableName.Value); - - if (fsmVar != null) - { - fsmVar.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmBool(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmObject.cs.meta deleted file mode 100644 index 114fc8297..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4a4d93d75d9f35b48966dadfa9dccfaa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmQuaternion.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmQuaternion.cs deleted file mode 100644 index 5c93e07dd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmQuaternion.cs +++ /dev/null @@ -1,103 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a Quaternion Variable in another FSM.")] - public class SetFsmQuaternion : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmQuaternion)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Set the value of the variable.")] - public FsmQuaternion setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = ""; - setValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetFsmQuaternion(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmQuaternion() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmVar = fsm.FsmVariables.GetFsmQuaternion(variableName.Value); - - if (fsmVar != null) - { - fsmVar.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmQuaternion(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmQuaternion.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmQuaternion.cs.meta deleted file mode 100644 index ccc7a8477..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmQuaternion.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3ba17874b9ce798418d40af656f0630a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmRect.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmRect.cs deleted file mode 100644 index ae4b7c65e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmRect.cs +++ /dev/null @@ -1,103 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a Rect Variable in another FSM.")] - public class SetFsmRect : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmRect)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Set the value of the variable.")] - public FsmRect setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = ""; - setValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetFsmBool(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmBool() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmVar = fsm.FsmVariables.GetFsmRect(variableName.Value); - - if (fsmVar != null) - { - fsmVar.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmBool(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmRect.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmRect.cs.meta deleted file mode 100644 index cf2c4a09b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmRect.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 85801822a8a25b64aa5ef26f7f4c869f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmString.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmString.cs deleted file mode 100644 index c92d8aba8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmString.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a String Variable in another FSM.")] - public class SetFsmString : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object.")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmString)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [Tooltip("Set the value of the variable.")] - public FsmString setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = null; - } - - public override void OnEnter() - { - DoSetFsmString(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmString() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmString = fsm.FsmVariables.GetFsmString(variableName.Value); - - if (fsmString != null) - { - fsmString.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmString(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmString.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmString.cs.meta deleted file mode 100644 index 208fc62c5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmString.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e883d7ab08b86d5498f97ef94fe72d4a -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmTexture.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmTexture.cs deleted file mode 100644 index 05089b8e3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmTexture.cs +++ /dev/null @@ -1,102 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a Texture Variable in another FSM.")] - public class SetFsmTexture : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmTexture)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [Tooltip("Set the value of the variable.")] - public FsmTexture setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - variableName = ""; - setValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetFsmTexture(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetFsmTexture() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmVar = fsm.FsmVariables.FindFsmTexture(variableName.Value); - - if (fsmVar != null) - { - fsmVar.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmTexture(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmTexture.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmTexture.cs.meta deleted file mode 100644 index d9e027ef7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmTexture.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7b8be3bbc1612a4449a2b06af4ad8710 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVariable.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVariable.cs deleted file mode 100644 index aefb72811..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVariable.cs +++ /dev/null @@ -1,105 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a variable in another FSM.")] - public class SetFsmVariable : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [Tooltip("The name of the variable in the target FSM.")] - public FsmString variableName; - - [RequiredField] - public FsmVar setValue; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - private PlayMakerFSM targetFsm; - private NamedVariable targetVariable; - - private GameObject cachedGameObject; - private string cachedFsmName; - private string cachedVariableName; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = new FsmVar(); - } - - public override void OnEnter() - { - DoSetFsmVariable(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetFsmVariable(); - } - - private void DoSetFsmVariable() - { - if (setValue.IsNone || string.IsNullOrEmpty(variableName.Value)) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (go != cachedGameObject || fsmName.Value != cachedFsmName) - { - targetFsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - if (targetFsm == null) - { - return; - } - cachedGameObject = go; - cachedFsmName = fsmName.Value; - } - - if (variableName.Value != cachedVariableName) - { - targetVariable = targetFsm.FsmVariables.FindVariable(setValue.Type, variableName.Value); - cachedVariableName = variableName.Value; - } - - if (targetVariable == null) - { - LogWarning("Missing Variable: " + variableName.Value); - return; - } - - setValue.UpdateValue(); - setValue.ApplyValueTo(targetVariable); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ("Set FSM Variable: " + ActionHelpers.GetValueLabel(variableName)); - } -#endif - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVariable.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVariable.cs.meta deleted file mode 100644 index b39e73de3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVariable.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7b5899629abf3214a96d3f139a9db4d0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector2.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector2.cs deleted file mode 100644 index d43ec3f7e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector2.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a Vector2 Variable in another FSM.")] - public class SetFsmVector2 : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmVector2)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Set the value of the variable.")] - public FsmVector2 setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = null; - } - - public override void OnEnter() - { - DoSetFsmVector2(); - - if (!everyFrame) - Finish(); - } - - void DoSetFsmVector2() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmVector2 = fsm.FsmVariables.GetFsmVector2(variableName.Value); - - if (fsmVector2 != null) - { - fsmVector2.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - - } - - public override void OnUpdate() - { - DoSetFsmVector2(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector2.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector2.cs.meta deleted file mode 100644 index e99d1d9f6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector2.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8fd65fb1221e17743af069372ff874d6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector3.cs b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector3.cs deleted file mode 100644 index 28396348b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector3.cs +++ /dev/null @@ -1,99 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.StateMachine)] - [ActionTarget(typeof(PlayMakerFSM), "gameObject,fsmName")] - [Tooltip("Set the value of a Vector3 Variable in another FSM.")] - public class SetFsmVector3 : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject that owns the FSM.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.FsmName)] - [Tooltip("Optional name of FSM on Game Object")] - public FsmString fsmName; - - [RequiredField] - [UIHint(UIHint.FsmVector3)] - [Tooltip("The name of the FSM variable.")] - public FsmString variableName; - - [RequiredField] - [Tooltip("Set the value of the variable.")] - public FsmVector3 setValue; - - [Tooltip("Repeat every frame. Useful if the value is changing.")] - public bool everyFrame; - - GameObject goLastFrame; - string fsmNameLastFrame; - - PlayMakerFSM fsm; - - public override void Reset() - { - gameObject = null; - fsmName = ""; - setValue = null; - } - - public override void OnEnter() - { - DoSetFsmVector3(); - - if (!everyFrame) - Finish(); - } - - void DoSetFsmVector3() - { - if (setValue == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // FIX: must check as well that the fsm name is different. - if (go != goLastFrame || fsmName.Value != fsmNameLastFrame) - { - goLastFrame = go; - fsmNameLastFrame = fsmName.Value; - // only get the fsm component if go or fsm name has changed - - fsm = ActionHelpers.GetGameObjectFsm(go, fsmName.Value); - } - - if (fsm == null) - { - LogWarning("Could not find FSM: " + fsmName.Value); - return; - } - - var fsmVector3 = fsm.FsmVariables.GetFsmVector3(variableName.Value); - - if (fsmVector3 != null) - { - fsmVector3.Value = setValue.Value; - } - else - { - LogWarning("Could not find variable: " + variableName.Value); - } - } - - public override void OnUpdate() - { - DoSetFsmVector3(); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector3.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector3.cs.meta deleted file mode 100644 index f660fd561..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/StateMachine/SetFsmVector3.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 77bd9dda890c0614eba326161995290c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String.meta b/Assets/ThirdParty/PlayMaker/Actions/String.meta deleted file mode 100644 index 2268ea3cf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: 27251fe554a97b04e9a1fb73427c2f68 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/BuildString.cs b/Assets/ThirdParty/PlayMaker/Actions/String/BuildString.cs deleted file mode 100644 index 82b82997e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/BuildString.cs +++ /dev/null @@ -1,77 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Builds a String from other Strings.")] - public class BuildString : FsmStateAction - { - [RequiredField] - [Tooltip("Array of Strings to combine.")] - public FsmString[] stringParts; - - [Tooltip("Separator to insert between each String. E.g. space character.")] - public FsmString separator; - - [Tooltip("Add Separator to end of built string.")] - public FsmBool addToEnd; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the final String in a variable.")] - public FsmString storeResult; - - [Tooltip("Repeat every frame while the state is active.")] - public bool everyFrame; - - private string result; - - public override void Reset() - { - stringParts = new FsmString[3]; - separator = null; - addToEnd = true; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoBuildString(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoBuildString(); - } - - void DoBuildString() - { - if (storeResult == null) return; - - result = ""; - - for (var i = 0; i < stringParts.Length-1; i++) - { - result += stringParts[i]; - result += separator.Value; - } - result += stringParts[stringParts.Length - 1]; - - if (addToEnd.Value) - { - result += separator.Value; - } - - storeResult.Value = result; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/BuildString.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/BuildString.cs.meta deleted file mode 100644 index 25976eca7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/BuildString.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 7b2ad575559473e4db421da96131de2d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/FormatString.cs b/Assets/ThirdParty/PlayMaker/Actions/String/FormatString.cs deleted file mode 100644 index 7796f3751..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/FormatString.cs +++ /dev/null @@ -1,73 +0,0 @@ -// (c) copyright Hutong Games, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Replaces each format item in a specified string with the text equivalent of variable's value. Stores the result in a string variable.")] - public class FormatString : FsmStateAction - { - [RequiredField] - [Tooltip("E.g. Hello {0} and {1}\nWith 2 variables that replace {0} and {1}\nSee C# string.Format docs.")] - public FsmString format; - - [Tooltip("Variables to use for each formatting item.")] - public FsmVar[] variables; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the formatted result in a string variable.")] - public FsmString storeResult; - - [Tooltip("Repeat every frame. This is useful if the variables are changing.")] - public bool everyFrame; - - private object[] objectArray; - - public override void Reset() - { - format = null; - variables = null; - storeResult = null; - everyFrame = false; - } - - // Code that runs on entering the state. - public override void OnEnter() - { - objectArray = new object[variables.Length]; - - DoFormatString(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoFormatString(); - } - - void DoFormatString() - { - for (var i = 0; i < variables.Length; i++) - { - variables[i].UpdateValue(); - objectArray[i] = variables[i].GetValue(); - } - - try - { - storeResult.Value = string.Format(format.Value, objectArray); - } - catch (System.FormatException e) - { - LogError(e.Message); - Finish(); - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/FormatString.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/FormatString.cs.meta deleted file mode 100644 index a5e3c902a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/FormatString.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 521dc12fea783ee43b6f00b9cc079b53 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLeft.cs b/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLeft.cs deleted file mode 100644 index d683f4d01..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLeft.cs +++ /dev/null @@ -1,57 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Gets the Left n characters from a String Variable.")] - public class GetStringLeft : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString stringVariable; - - [Tooltip("Number of characters to get.")] - public FsmInt charCount; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - stringVariable = null; - charCount = 0; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetStringLeft(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetStringLeft(); - } - - void DoGetStringLeft() - { - if (stringVariable.IsNone) return; - if (storeResult.IsNone) return; - - storeResult.Value = stringVariable.Value.Substring(0, Mathf.Clamp(charCount.Value, 0, stringVariable.Value.Length)); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLeft.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLeft.cs.meta deleted file mode 100644 index 33b4fbbd7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLeft.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 199c773473d95214b8c31de51d14dbd0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLength.cs b/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLength.cs deleted file mode 100644 index 666657760..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLength.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Gets the Length of a String.")] - public class GetStringLength : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString stringVariable; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmInt storeResult; - public bool everyFrame; - - public override void Reset() - { - stringVariable = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetStringLength(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetStringLength(); - } - - void DoGetStringLength() - { - if (stringVariable == null) return; - if (storeResult == null) return; - - storeResult.Value = stringVariable.Value.Length; - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLength.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLength.cs.meta deleted file mode 100644 index 0037c426a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringLength.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 0f06dd4128a98404dbbd0c144563f449 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringRight.cs b/Assets/ThirdParty/PlayMaker/Actions/String/GetStringRight.cs deleted file mode 100644 index dcd8fe91e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringRight.cs +++ /dev/null @@ -1,57 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Gets the Right n characters from a String.")] - public class GetStringRight : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString stringVariable; - - [Tooltip("Number of characters to get.")] - public FsmInt charCount; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString storeResult; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - stringVariable = null; - charCount = 0; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetStringRight(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetStringRight(); - } - - void DoGetStringRight() - { - if (stringVariable.IsNone) return; - if (storeResult.IsNone) return; - - var text = stringVariable.Value; - var count = Mathf.Clamp(charCount.Value, 0, text.Length); - storeResult.Value = text.Substring(text.Length - count, count); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringRight.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/GetStringRight.cs.meta deleted file mode 100644 index 522fcd73e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/GetStringRight.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 58939666c2ca9cc449f67a55d54d9a88 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/GetSubstring.cs b/Assets/ThirdParty/PlayMaker/Actions/String/GetSubstring.cs deleted file mode 100644 index 69a6c53d2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/GetSubstring.cs +++ /dev/null @@ -1,54 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Gets a sub-string from a String Variable.")] - public class GetSubstring : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString stringVariable; - [RequiredField] - public FsmInt startIndex; - [RequiredField] - public FsmInt length; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString storeResult; - public bool everyFrame; - - public override void Reset() - { - stringVariable = null; - startIndex = 0; - length = 1; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetSubstring(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoGetSubstring(); - } - - void DoGetSubstring() - { - if (stringVariable == null) return; - if (storeResult == null) return; - - storeResult.Value = stringVariable.Value.Substring(startIndex.Value, length.Value); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/GetSubstring.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/GetSubstring.cs.meta deleted file mode 100644 index 586777155..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/GetSubstring.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8997ded4a827f0b44b95a5537a0e8dbf -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/SelectRandomString.cs b/Assets/ThirdParty/PlayMaker/Actions/String/SelectRandomString.cs deleted file mode 100644 index 297ccb383..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/SelectRandomString.cs +++ /dev/null @@ -1,46 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Select a Random String from an array of Strings.")] - public class SelectRandomString : FsmStateAction - { - [CompoundArray("Strings", "String", "Weight")] - public FsmString[] strings; - [HasFloatSlider(0, 1)] - public FsmFloat[] weights; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString storeString; - - public override void Reset() - { - strings = new FsmString[3]; - weights = new FsmFloat[] {1,1,1}; - storeString = null; - } - - public override void OnEnter() - { - DoSelectRandomString(); - Finish(); - } - - void DoSelectRandomString() - { - if (strings == null) return; - if (strings.Length == 0) return; - if (storeString == null) return; - - int randomIndex = ActionHelpers.GetRandomWeightedIndex(weights); - - if (randomIndex != -1) - { - storeString.Value = strings[randomIndex].Value; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/SelectRandomString.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/SelectRandomString.cs.meta deleted file mode 100644 index 40ca6f040..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/SelectRandomString.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2aa2969464467894fadeaa9c413e447f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/SetStringValue.cs b/Assets/ThirdParty/PlayMaker/Actions/String/SetStringValue.cs deleted file mode 100644 index 84c832c75..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/SetStringValue.cs +++ /dev/null @@ -1,56 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Sets the value of a String Variable.")] - public class SetStringValue : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString stringVariable; - - [UIHint(UIHint.TextArea)] - public FsmString stringValue; - - public bool everyFrame; - - public override void Reset() - { - stringVariable = null; - stringValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoSetStringValue(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoSetStringValue(); - } - - void DoSetStringValue() - { - if (stringVariable == null) return; - if (stringValue == null) return; - - stringVariable.Value = stringValue.Value; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameSetVar(this, stringVariable, stringValue); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/SetStringValue.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/SetStringValue.cs.meta deleted file mode 100644 index ee997a7e4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/SetStringValue.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8b3d2b903f5938946baf4129f67eb6f2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/StringAppend.cs b/Assets/ThirdParty/PlayMaker/Actions/String/StringAppend.cs deleted file mode 100644 index 198ed9bfd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/StringAppend.cs +++ /dev/null @@ -1,30 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Adds a String to the end of a String.")] - public class StringAppend : FsmStateAction - { - [RequiredField] - [Tooltip("Strings to add to.")] - [UIHint(UIHint.Variable)] - public FsmString stringVariable; - - [Tooltip("String to append")] - public FsmString appendString; - - public override void Reset() - { - stringVariable = null; - appendString = null; - } - - public override void OnEnter() - { - stringVariable.Value += appendString.Value; - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/StringAppend.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/StringAppend.cs.meta deleted file mode 100644 index 392ff4b35..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/StringAppend.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 7a7f3f57200812e4da0c3e6596f0b03d -timeCreated: 1522199551 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/StringJoin.cs b/Assets/ThirdParty/PlayMaker/Actions/String/StringJoin.cs deleted file mode 100644 index 8cfb93222..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/StringJoin.cs +++ /dev/null @@ -1,29 +0,0 @@ -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Join an array of strings into a single string.")] - public class StringJoin : FsmStateAction - { - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.String)] - [Tooltip("Array of string to join into a single string.")] - public FsmArray stringArray; - - [Tooltip("Separator to add between each string.")] - public FsmString separator; - - [UIHint(UIHint.Variable)] - [Tooltip("Store the joined string in string variable.")] - public FsmString storeResult; - - public override void OnEnter() - { - if (!stringArray.IsNone && !storeResult.IsNone) - { - storeResult.Value = string.Join(separator.Value, stringArray.stringValues); - } - - Finish(); - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/StringJoin.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/StringJoin.cs.meta deleted file mode 100644 index f861dd595..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/StringJoin.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ff2052e658b1be04ca6150645fb86e20 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/StringReplace.cs b/Assets/ThirdParty/PlayMaker/Actions/String/StringReplace.cs deleted file mode 100644 index d9ea47c05..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/StringReplace.cs +++ /dev/null @@ -1,52 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Replace a substring with a new String.")] - public class StringReplace : FsmStateAction - { - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString stringVariable; - public FsmString replace; - public FsmString with; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmString storeResult; - public bool everyFrame; - - public override void Reset() - { - stringVariable = null; - replace = ""; - with = ""; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoReplace(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoReplace(); - } - - void DoReplace() - { - if (stringVariable == null) return; - if (storeResult == null) return; - - storeResult.Value = stringVariable.Value.Replace(replace.Value, with.Value); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/StringReplace.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/StringReplace.cs.meta deleted file mode 100644 index d4e703a14..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/StringReplace.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 48b710fe4145c0e40a5576351fb00baa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/StringSplit.cs b/Assets/ThirdParty/PlayMaker/Actions/String/StringSplit.cs deleted file mode 100644 index 308c9a8c9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/StringSplit.cs +++ /dev/null @@ -1,67 +0,0 @@ -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.String)] - [Tooltip("Splits a string into substrings using separator characters.")] - public class StringSplit : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("String to split.")] - public FsmString stringToSplit; - - [Tooltip("Characters used to split the string.\nUse '\\n' for newline\nUse '\\t' for tab")] - public FsmString separators; - - [Tooltip("Remove all leading and trailing white-space characters from each separated string.")] - public FsmBool trimStrings; - - [Tooltip("Optional characters used to trim each separated string.")] - public FsmString trimChars; - - [UIHint(UIHint.Variable)] - [ArrayEditor(VariableType.String)] - [Tooltip("Store the split strings in a String Array.")] - public FsmArray stringArray; - - public override void Reset() - { - stringToSplit = null; - separators = null; - trimStrings = false; - trimChars = null; - stringArray = null; - } - - public override void OnEnter() - { - var trimCharsArray = trimChars.Value.ToCharArray(); - - if (!stringToSplit.IsNone && !stringArray.IsNone) - { - stringArray.Values = stringToSplit.Value.Split(separators.Value.ToCharArray()); - if (trimStrings.Value) - { - for (var i = 0; i < stringArray.Values.Length; i++) - { - var s = stringArray.Values[i] as string; - if (s == null) continue; - if (!trimChars.IsNone && trimCharsArray.Length > 0) - { - stringArray.Set(i, s.Trim(trimCharsArray)); - } - else - { - stringArray.Set(i, s.Trim()); - } - } - - } - stringArray.SaveChanges(); - } - - Finish(); - } - - - } - -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/String/StringSplit.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/String/StringSplit.cs.meta deleted file mode 100644 index 37ab9ea9c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/String/StringSplit.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: edbff91e890958644aa9a8116e71beff -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/TestAction.cs b/Assets/ThirdParty/PlayMaker/Actions/TestAction.cs deleted file mode 100644 index e1ae86b5f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/TestAction.cs +++ /dev/null @@ -1,5 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -/* - * Accidentally checked in a test action. - * Checking in empty file since there's no way to delete files when importing unitypackage -*/ \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/TestAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/TestAction.cs.meta deleted file mode 100644 index 94970d764..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/TestAction.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5ed225774ad2d9c46aa2700d574a6c86 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time.meta b/Assets/ThirdParty/PlayMaker/Actions/Time.meta deleted file mode 100644 index a1ac1720c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 22e3da3578a483e40a04d453728b0dca -folderAsset: yes -timeCreated: 1504501074 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/GetSystemDateTime.cs b/Assets/ThirdParty/PlayMaker/Actions/Time/GetSystemDateTime.cs deleted file mode 100644 index 0ddcc3744..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/GetSystemDateTime.cs +++ /dev/null @@ -1,51 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using System; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Time)] - [Tooltip("Gets system date and time info and stores it in a string variable. An optional format string gives you a lot of control over the formatting (see online docs for format syntax).")] - public class GetSystemDateTime : FsmStateAction - { - [UIHint(UIHint.Variable)] - [Tooltip("Store System DateTime as a string.")] - public FsmString storeString; - - [Tooltip("Optional format string. E.g., MM/dd/yyyy HH:mm")] - public FsmString format; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - storeString = null; - format = "MM/dd/yyyy HH:mm"; - } - - public override void OnEnter() - { - storeString.Value = DateTime.Now.ToString(format.Value); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - storeString.Value = DateTime.Now.ToString(format.Value); - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, storeString, format); - } -#endif - - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/GetSystemDateTime.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Time/GetSystemDateTime.cs.meta deleted file mode 100644 index a0306fb7b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/GetSystemDateTime.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 1e02d3f4a1dc5364babb74da3ffd080b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/GetTimeInfo.cs b/Assets/ThirdParty/PlayMaker/Actions/Time/GetTimeInfo.cs deleted file mode 100644 index 924f3ac28..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/GetTimeInfo.cs +++ /dev/null @@ -1,104 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Time)] - [Tooltip("Gets various useful Time measurements.")] - public class GetTimeInfo : FsmStateAction - { - public enum TimeInfo - { - DeltaTime, - TimeScale, - SmoothDeltaTime, - TimeInCurrentState, - TimeSinceStartup, - TimeSinceLevelLoad, - RealTimeSinceStartup, - RealTimeInCurrentState - } - - public TimeInfo getInfo; - - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat storeValue; - - public bool everyFrame; - - public override void Reset() - { - getInfo = TimeInfo.TimeSinceLevelLoad; - storeValue = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetTimeInfo(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetTimeInfo(); - } - - void DoGetTimeInfo() - { - switch (getInfo) - { - - case TimeInfo.DeltaTime: - storeValue.Value = Time.deltaTime; - break; - - case TimeInfo.TimeScale: - storeValue.Value = Time.timeScale; - break; - - case TimeInfo.SmoothDeltaTime: - storeValue.Value = Time.smoothDeltaTime; - break; - - case TimeInfo.TimeInCurrentState: - storeValue.Value = State.StateTime; - break; - - case TimeInfo.TimeSinceStartup: - storeValue.Value = Time.time; - break; - - case TimeInfo.TimeSinceLevelLoad: - storeValue.Value = Time.timeSinceLevelLoad; - break; - - case TimeInfo.RealTimeSinceStartup: - storeValue.Value = FsmTime.RealtimeSinceStartup; - break; - - case TimeInfo.RealTimeInCurrentState: - storeValue.Value = FsmTime.RealtimeSinceStartup - State.RealStartTime; - break; - - default: - storeValue.Value = 0f; - break; - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return "GetTimeInfo : " + getInfo + " > " + ActionHelpers.GetValueLabel(storeValue); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/GetTimeInfo.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Time/GetTimeInfo.cs.meta deleted file mode 100644 index 94a996cf1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/GetTimeInfo.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8e3db02fb7991d64d85d8cb4e2faf252 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/PerSecond.cs b/Assets/ThirdParty/PlayMaker/Actions/Time/PerSecond.cs deleted file mode 100644 index a8be6959d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/PerSecond.cs +++ /dev/null @@ -1,53 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Time)] - [Tooltip("Multiplies a Float by Time.deltaTime to use in frame-rate independent operations. E.g., 10 becomes 10 units per second.")] - public class PerSecond : FsmStateAction - { - [RequiredField] - public FsmFloat floatValue; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmFloat storeResult; - public bool everyFrame; - - public override void Reset() - { - floatValue = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoPerSecond(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoPerSecond(); - } - - void DoPerSecond() - { - if (storeResult == null) return; - - storeResult.Value = floatValue.Value * Time.deltaTime; - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoNameGetProperty(this, floatValue, storeResult); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/PerSecond.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Time/PerSecond.cs.meta deleted file mode 100644 index 642da5ed2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/PerSecond.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 4fb529b5c7a29a045973d621e6d2daaa -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/RandomWait.cs b/Assets/ThirdParty/PlayMaker/Actions/Time/RandomWait.cs deleted file mode 100644 index 720258ed8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/RandomWait.cs +++ /dev/null @@ -1,92 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// Thanks derkoi: -// http://hutonggames.com/playmakerforum/index.php?topic=4700.0 - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Time)] - [Tooltip("Delays a State from finishing by a random time. NOTE: Other actions continue, but FINISHED can't happen before Time.")] - public class RandomWait : FsmStateAction - { - - [RequiredField] - [Tooltip("Minimum amount of time to wait.")] - public FsmFloat min; - - [RequiredField] - [Tooltip("Maximum amount of time to wait.")] - public FsmFloat max; - - [Tooltip("Event to send when timer is finished.")] - public FsmEvent finishEvent; - - [Tooltip("Ignore time scale.")] - public bool realTime; - - - private float startTime; - private float timer; - private float time; - - public override void Reset() - { - min = 0f; - max = 1f; - finishEvent = null; - realTime = false; - } - - public override void OnEnter() - { - time = Random.Range(min.Value, max.Value); - - if (time <= 0) - { - Fsm.Event(finishEvent); - Finish(); - return; - } - - startTime = FsmTime.RealtimeSinceStartup; - timer = 0f; - } - - public override void OnUpdate() - { - // update time - - if (realTime) - { - timer = FsmTime.RealtimeSinceStartup - startTime; - } - else - { - timer += Time.deltaTime; - } - - if (timer >= time) - { - Finish(); - if (finishEvent != null) - { - Fsm.Event(finishEvent); - } - } - } - -#if UNITY_EDITOR - - public override string AutoName() - { - return ActionHelpers.AutoNameRange(this, min, max); - } - - public override float GetProgress() - { - return Mathf.Min(timer / time, 1f); - } -#endif - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/RandomWait.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Time/RandomWait.cs.meta deleted file mode 100644 index da5558bbe..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/RandomWait.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 37507b4af45ecfc42a3231ce7c64377d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/ScaleTime.cs b/Assets/ThirdParty/PlayMaker/Actions/Time/ScaleTime.cs deleted file mode 100644 index f559652a0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/ScaleTime.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Time)] - [Tooltip("Scales time: 1 = normal, 0.5 = half speed, 2 = double speed.")] - public class ScaleTime : FsmStateAction - { - [RequiredField] - [HasFloatSlider(0,4)] - [Tooltip("Scales time: 1 = normal, 0.5 = half speed, 2 = double speed.")] - public FsmFloat timeScale; - - [Tooltip("Adjust the fixed physics time step to match the time scale.")] - public FsmBool adjustFixedDeltaTime; - - [Tooltip("Repeat every frame. Useful when animating the value.")] - public bool everyFrame; - - public override void Reset() - { - timeScale = 1.0f; - adjustFixedDeltaTime = true; - everyFrame = false; - } - - public override void OnEnter() - { - DoTimeScale(); - - if (!everyFrame) - { - Finish(); - } - } - public override void OnUpdate() - { - DoTimeScale(); - } - - void DoTimeScale() - { - Time.timeScale = timeScale.Value; - - if (adjustFixedDeltaTime.Value) - { - //TODO: how to get the user set default value? - Time.fixedDeltaTime = 0.02f * Time.timeScale; - } - } - -#if UNITY_EDITOR - public override string AutoName() - { - return ActionHelpers.AutoName(this, timeScale); - } -#endif - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/ScaleTime.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Time/ScaleTime.cs.meta deleted file mode 100644 index 051cc0c05..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/ScaleTime.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: a0898764ced5b174ca723ffbfce99ac3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/Wait.cs b/Assets/ThirdParty/PlayMaker/Actions/Time/Wait.cs deleted file mode 100644 index bb12ae364..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/Wait.cs +++ /dev/null @@ -1,78 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Time)] - [Tooltip("Delays a State from finishing by the specified time. NOTE: Other actions continue, but FINISHED can't happen before Time.")] - public class Wait : FsmStateAction - { - [RequiredField] - public FsmFloat time; - public FsmEvent finishEvent; - public bool realTime; - - private float startTime; - private float timer; - - public override void Reset() - { - time = 1f; - finishEvent = null; - realTime = false; - } - - public override void OnEnter() - { - if (time.Value <= 0) - { - Fsm.Event(finishEvent); - Finish(); - return; - } - - startTime = FsmTime.RealtimeSinceStartup; - timer = 0f; - } - - public override void OnUpdate() - { - // update time - - if (realTime) - { - timer = FsmTime.RealtimeSinceStartup - startTime; - } - else - { - timer += Time.deltaTime; - } - - if (timer >= time.Value) - { - Finish(); - if (finishEvent != null) - { - Fsm.Event(finishEvent); - } - } - } - - - -#if UNITY_EDITOR - - public override string AutoName() - { - return ActionHelpers.AutoName(this, time); - } - - public override float GetProgress() - { - return Mathf.Min(timer / time.Value, 1f); - } - -#endif - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Time/Wait.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Time/Wait.cs.meta deleted file mode 100644 index fc6d89156..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Time/Wait.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bb2b60731a9d08c499d83002ae24cc78 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform.meta deleted file mode 100644 index 598a9645a..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 663b2da4cba186d49bab44bc20395410 -folderAsset: yes -timeCreated: 1504500890 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetAngleToTarget.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/GetAngleToTarget.cs deleted file mode 100644 index d2984fbac..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetAngleToTarget.cs +++ /dev/null @@ -1,94 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Gets the Angle between a GameObject's forward axis and a Target. The Target can be defined as a GameObject or a world Position. If you specify both, then the Position will be used as a local offset from the Target Object's position.")] - public class GetAngleToTarget : FsmStateAction - { - [RequiredField] - [Tooltip("The game object whose forward axis we measure from. If the target is dead ahead the angle will be 0.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The target object to measure the angle to. Or use target position.")] - public FsmGameObject targetObject; - - [Tooltip("The world position to measure an angle to. If Target Object is also specified, this vector is used as an offset from that object's position.")] - public FsmVector3 targetPosition; - - [Tooltip("Ignore height differences when calculating the angle.")] - public FsmBool ignoreHeight; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("Store the angle in a float variable.")] - public FsmFloat storeAngle; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - targetObject = null; - targetPosition = new FsmVector3 { UseVariable = true}; - ignoreHeight = true; - storeAngle = null; - everyFrame = false; - } - - public override void OnPreprocess() - { - Fsm.HandleLateUpdate = true; - } - - public override void OnLateUpdate() - { - DoGetAngleToTarget(); - - if (!everyFrame) - { - Finish(); - } - } - - void DoGetAngleToTarget() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var goTarget = targetObject.Value; - if (goTarget == null && targetPosition.IsNone) - { - return; - } - - Vector3 targetPos; - if (goTarget != null) - { - targetPos = !targetPosition.IsNone ? - goTarget.transform.TransformPoint(targetPosition.Value) : - goTarget.transform.position; - } - else - { - targetPos = targetPosition.Value; - } - - if (ignoreHeight.Value) - { - targetPos.y = go.transform.position.y; - } - - var targetDir = targetPos - go.transform.position; - - storeAngle.Value = Vector3.Angle(targetDir, go.transform.forward); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetAngleToTarget.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/GetAngleToTarget.cs.meta deleted file mode 100644 index 6ba29c410..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetAngleToTarget.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 30feefdfd82d7554f972fcdc8e444987 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetPosition.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/GetPosition.cs deleted file mode 100644 index 4fe4e2d80..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetPosition.cs +++ /dev/null @@ -1,74 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Gets the Position of a Game Object and stores it in a Vector3 Variable or each Axis in a Float Variable")] - public class GetPosition : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - public FsmVector3 vector; - - [UIHint(UIHint.Variable)] - public FsmFloat x; - - [UIHint(UIHint.Variable)] - public FsmFloat y; - - [UIHint(UIHint.Variable)] - public FsmFloat z; - - public Space space; - - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - vector = null; - x = null; - y = null; - z = null; - space = Space.World; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetPosition(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetPosition(); - } - - void DoGetPosition() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var position = space == Space.World ? go.transform.position : go.transform.localPosition; - - vector.Value = position; - x.Value = position.x; - y.Value = position.y; - z.Value = position.z; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetPosition.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/GetPosition.cs.meta deleted file mode 100644 index 8f2b24968..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetPosition.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 30b9e49bd10ad084f9de50bd465c7311 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetRotation.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/GetRotation.cs deleted file mode 100644 index d36e29df5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetRotation.cs +++ /dev/null @@ -1,88 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Gets the Rotation of a Game Object and stores it in a Vector3 Variable or each Axis in a Float Variable")] - public class GetRotation : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.Variable)] - public FsmQuaternion quaternion; - [UIHint(UIHint.Variable)] - [Title("Euler Angles")] - public FsmVector3 vector; - [UIHint(UIHint.Variable)] - public FsmFloat xAngle; - [UIHint(UIHint.Variable)] - public FsmFloat yAngle; - [UIHint(UIHint.Variable)] - public FsmFloat zAngle; - public Space space; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - quaternion = null; - vector = null; - xAngle = null; - yAngle = null; - zAngle = null; - space = Space.World; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetRotation(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetRotation(); - } - - void DoGetRotation() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (space == Space.World) - { - quaternion.Value = go.transform.rotation; - - var rotation = go.transform.eulerAngles; - - vector.Value = rotation; - xAngle.Value = rotation.x; - yAngle.Value = rotation.y; - zAngle.Value = rotation.z; - } - else - { - var rotation = go.transform.localEulerAngles; - - quaternion.Value = Quaternion.Euler(rotation); - - vector.Value = rotation; - xAngle.Value = rotation.x; - yAngle.Value = rotation.y; - zAngle.Value = rotation.z; - } - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetRotation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/GetRotation.cs.meta deleted file mode 100644 index ca0988da3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetRotation.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 11568980f96e6354cb11a621656a449c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetScale.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/GetScale.cs deleted file mode 100644 index c43a839ce..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetScale.cs +++ /dev/null @@ -1,76 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -// http://hutonggames.com/playmakerforum/index.php?topic=63.0 -// Thanks: MaDDoX - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Gets the Scale of a Game Object and stores it in a Vector3 Variable or each Axis in a Float Variable")] - public class GetScale : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - public FsmVector3 vector; - - [UIHint(UIHint.Variable)] - public FsmFloat xScale; - - [UIHint(UIHint.Variable)] - public FsmFloat yScale; - - [UIHint(UIHint.Variable)] - public FsmFloat zScale; - - public Space space; - - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - vector = null; - xScale = null; - yScale = null; - zScale = null; - space = Space.World; - everyFrame = false; - } - - public override void OnEnter() - { - DoGetScale(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetScale(); - } - - void DoGetScale() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var scale = space == Space.World ? go.transform.lossyScale : go.transform.localScale; - - vector.Value = scale; - xScale.Value = scale.x; - yScale.Value = scale.y; - zScale.Value = scale.z; - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetScale.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/GetScale.cs.meta deleted file mode 100644 index af6a0c5df..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/GetScale.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fc555f986aa1bc7498bc9cf99b97a38d -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/InterpolateTransform.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/InterpolateTransform.cs deleted file mode 100644 index 961bca3c9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/InterpolateTransform.cs +++ /dev/null @@ -1,36 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. -/* -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Input)] - [Tooltip("Interpolates a Game Objects Transform (Position/Rotation/Scale). You can specify the Transform using a Game Object, or individual Position, Rotation, Scale vectors.")] - public class InterpolateTransform : FsmStateAction - { - public InterpolationType mode; - [RequiredField] - [Tooltip("The Game Object to move.")] - public FsmOwnerDefault gameObject; - public FsmGameObject fromObject; - public FsmVector3 fromPosition; - public FsmVector3 fromRotation; - public FsmVector3 fromScale; - public FsmGameObject fromObject; - public FsmVector3 fromPosition; - public FsmVector3 fromRotation; - public FsmVector3 fromScale; - - public override void Reset() - { - sendEvent = null; - } - - public override void OnUpdate() - { - if (Input.anyKeyDown) - Fsm.Event(sendEvent); - } - } -} -*/ \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/InterpolateTransform.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/InterpolateTransform.cs.meta deleted file mode 100644 index ad02ff67d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/InterpolateTransform.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 064418e2a5f2cb3498b53d022a12c17c -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformDirection.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformDirection.cs deleted file mode 100644 index c7891dc96..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformDirection.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Transforms a Direction from world space to a Game Object's local space. The opposite of TransformDirection.")] - public class InverseTransformDirection : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmVector3 worldDirection; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmVector3 storeResult; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - worldDirection = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoInverseTransformDirection(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoInverseTransformDirection(); - } - - void DoInverseTransformDirection() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if(go == null) return; - - storeResult.Value = go.transform.InverseTransformDirection(worldDirection.Value); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformDirection.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformDirection.cs.meta deleted file mode 100644 index cd425f196..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformDirection.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 34aef6d301ba9f640a3e9de22acb6f69 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformPoint.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformPoint.cs deleted file mode 100644 index cff8446e6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformPoint.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Transforms position from world space to a Game Object's local space. The opposite of TransformPoint.")] - public class InverseTransformPoint : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmVector3 worldPosition; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmVector3 storeResult; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - worldPosition = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoInverseTransformPoint(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoInverseTransformPoint(); - } - - void DoInverseTransformPoint() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if(go == null) return; - - storeResult.Value = go.transform.InverseTransformPoint(worldPosition.Value); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformPoint.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformPoint.cs.meta deleted file mode 100644 index 426fda7c8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/InverseTransformPoint.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: e492b8fba7bde334ca5ef87bdad035c1 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/LookAt.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/LookAt.cs deleted file mode 100644 index 83d303c61..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/LookAt.cs +++ /dev/null @@ -1,137 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Rotates a Game Object so its forward vector points at a Target. The Target can be specified as a GameObject or a world Position. If you specify both, then Position specifies a local offset from the target object's Position.")] - public class LookAt : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to rotate.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The GameObject to Look At.")] - public FsmGameObject targetObject; - - [Tooltip("World position to look at, or local offset from Target Object if specified.")] - public FsmVector3 targetPosition; - - [Tooltip("Rotate the GameObject to point its up direction vector in the direction hinted at by the Up Vector. See Unity Look At docs for more details.")] - public FsmVector3 upVector; - - [Tooltip("Don't rotate vertically.")] - public FsmBool keepVertical; - - [Title("Draw Debug Line")] - [Tooltip("Draw a debug line from the GameObject to the Target.")] - public FsmBool debug; - - [Tooltip("Color to use for the debug line.")] - public FsmColor debugLineColor; - - [Tooltip("Repeat every frame.")] - public bool everyFrame = true; - - private GameObject go; - private GameObject goTarget; - private Vector3 lookAtPos; - private Vector3 lookAtPosWithVertical; - - public override void Reset() - { - gameObject = null; - targetObject = null; - targetPosition = new FsmVector3 { UseVariable = true}; - upVector = new FsmVector3 { UseVariable = true}; - keepVertical = true; - debug = false; - debugLineColor = Color.yellow; - everyFrame = true; - } - - public override void OnPreprocess() - { - Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - DoLookAt(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnLateUpdate() - { - DoLookAt(); - } - - void DoLookAt() - { - if (!UpdateLookAtPosition()) - { - return; - } - - go.transform.LookAt(lookAtPos, upVector.IsNone ? Vector3.up : upVector.Value); - - if (debug.Value) - { - Debug.DrawLine(go.transform.position, lookAtPos, debugLineColor.Value); - } - } - - public bool UpdateLookAtPosition() - { - if (Fsm == null) - { - return false; - } - - go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return false; - } - - goTarget = targetObject.Value; - if (goTarget == null && targetPosition.IsNone) - { - return false; - } - - if (goTarget != null) - { - lookAtPos = !targetPosition.IsNone ? goTarget.transform.TransformPoint(targetPosition.Value) : goTarget.transform.position; - } - else - { - lookAtPos = targetPosition.Value; - } - - lookAtPosWithVertical = lookAtPos; - - if (keepVertical.Value) - { - lookAtPos.y = go.transform.position.y; - } - - return true; - } - - public Vector3 GetLookAtPosition() - { - return lookAtPos; - } - - public Vector3 GetLookAtPositionWithVertical() - { - return lookAtPosWithVertical; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/LookAt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/LookAt.cs.meta deleted file mode 100644 index e4f9a81a3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/LookAt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 15ccc54ff644b4f4482b71efaefc8782 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveObject.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveObject.cs deleted file mode 100644 index 71e905294..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveObject.cs +++ /dev/null @@ -1,84 +0,0 @@ -// Thanks to A3DStudio - -using UnityEngine; -using System.Collections.Generic; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [HelpUrl("http://hutonggames.com/playmakerforum/index.php?topic=4758.0")] - [Tooltip("Move a GameObject to another GameObject. Works like iTween Move To, but with better performance.")] - public class MoveObject : EaseFsmAction - { - [RequiredField] - public FsmOwnerDefault objectToMove; - - [RequiredField] - public FsmGameObject destination; - - private FsmVector3 fromValue; - private FsmVector3 toVector; - private FsmVector3 fromVector; - - private bool finishInNextStep; - - public override void Reset() - { - base.Reset(); - fromValue = null; - toVector = null; - finishInNextStep = false; - fromVector = null; - } - - - public override void OnEnter() - { - base.OnEnter(); - - var go = Fsm.GetOwnerDefaultTarget(objectToMove); - fromVector = go.transform.position; - toVector = destination.Value.transform.position; - - fromFloats = new float[3]; - fromFloats[0] = fromVector.Value.x; - fromFloats[1] = fromVector.Value.y; - fromFloats[2] = fromVector.Value.z; - - toFloats = new float[3]; - toFloats[0] = toVector.Value.x; - toFloats[1] = toVector.Value.y; - toFloats[2] = toVector.Value.z; - resultFloats = new float[3]; - - resultFloats[0] = fromVector.Value.x; - resultFloats[1] = fromVector.Value.y; - resultFloats[2] = fromVector.Value.z; - - finishInNextStep = false; - } - - public override void OnUpdate() - { - base.OnUpdate(); - - var go = Fsm.GetOwnerDefaultTarget(objectToMove); - go.transform.position = new Vector3(resultFloats[0], resultFloats[1], resultFloats[2]); - - if (finishInNextStep) - { - Finish(); - if (finishEvent != null) Fsm.Event(finishEvent); - } - - if (finishAction && !finishInNextStep) - { - go.transform.position = new Vector3(reverse.IsNone ? toVector.Value.x : reverse.Value ? fromValue.Value.x : toVector.Value.x, - reverse.IsNone ? toVector.Value.y : reverse.Value ? fromValue.Value.y : toVector.Value.y, - reverse.IsNone ? toVector.Value.z : reverse.Value ? fromValue.Value.z : toVector.Value.z - ); - finishInNextStep = true; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveObject.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveObject.cs.meta deleted file mode 100644 index 5ad8314a0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveObject.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 87d639c82dbaec8468ab9dbe7f92ebb3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/MovePosition.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/MovePosition.cs deleted file mode 100644 index 4948d17ae..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/MovePosition.cs +++ /dev/null @@ -1,92 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -/* -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Moves a Game Object's Rigid Body to a new position. To leave any axis unchanged, set variable to 'None'.")] - public class MovePosition : FsmStateAction - { - [RequiredField] - [CheckForComponent(typeof(Rigidbody))] - public FsmOwnerDefault gameObject; - [UIHint(UIHint.Variable)] - public FsmVector3 vector; - public FsmFloat x; - public FsmFloat y; - public FsmFloat z; - public Space space; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - vector = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - z = new FsmFloat { UseVariable = true }; - space = Space.Self; - everyFrame = false; - } - - /* Transform scale doesn't stick in OnEnter - * TODO: figure out why... - public override void OnEnter() - { - DoSetPosition(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoMovePosition(); - - if (!everyFrame) - Finish(); - } - - void DoMovePosition() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - if (go.rigidbody == null) return; - - // init position - - Vector3 position; - - if (vector.IsNone) - { - if (space == Space.World) - position = go.rigidbody.position; - else - position = go.transform.TransformPoint(go.rigidbody.position); - } - else - { - position = vector.Value; - } - - // override any axis - - if (!x.IsNone) position.x = x.Value; - if (!y.IsNone) position.y = y.Value; - if (!z.IsNone) position.z = z.Value; - - // apply - - if (space == Space.World) - go.rigidbody.MovePosition(position); - else - go.rigidbody.MovePosition(go.transform.InverseTransformPoint(position)) - } - - - } -} -*/ \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/MovePosition.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/MovePosition.cs.meta deleted file mode 100644 index a3e3b85f3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/MovePosition.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 5bb25ceaaf938934abd268a5414376f3 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveTowards.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveTowards.cs deleted file mode 100644 index 1ed0483e8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveTowards.cs +++ /dev/null @@ -1,116 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Moves a Game Object towards a Target. Optionally sends an event when successful. The Target can be specified as a Game Object or a world Position. If you specify both, then the Position is used as a local offset from the Object's Position.")] - public class MoveTowards : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to Move")] - public FsmOwnerDefault gameObject; - - [Tooltip("A target GameObject to move towards. Or use a world Target Position below.")] - public FsmGameObject targetObject; - - [Tooltip("A world position if no Target Object. Otherwise used as a local offset from the Target Object.")] - public FsmVector3 targetPosition; - - [Tooltip("Ignore any height difference in the target.")] - public FsmBool ignoreVertical; - - [HasFloatSlider(0, 20)] - [Tooltip("The maximum movement speed. HINT: You can make this a variable to change it over time.")] - public FsmFloat maxSpeed; - - [HasFloatSlider(0, 5)] - [Tooltip("Distance at which the move is considered finished, and the Finish Event is sent.")] - public FsmFloat finishDistance; - - [Tooltip("Event to send when the Finish Distance is reached.")] - public FsmEvent finishEvent; - - private GameObject go; - private GameObject goTarget; - private Vector3 targetPos; - private Vector3 targetPosWithVertical; - - public override void Reset() - { - gameObject = null; - targetObject = null; - maxSpeed = 10f; - finishDistance = 1f; - finishEvent = null; - } - - public override void OnUpdate() - { - DoMoveTowards(); - } - - void DoMoveTowards() - { - if (!UpdateTargetPos()) - { - return; - } - - go.transform.position = Vector3.MoveTowards(go.transform.position, targetPos, maxSpeed.Value * Time.deltaTime); - - var distance = (go.transform.position - targetPos).magnitude; - if (distance < finishDistance.Value) - { - Fsm.Event(finishEvent); - Finish(); - } - } - - public bool UpdateTargetPos() - { - go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return false; - } - - goTarget = targetObject.Value; - if (goTarget == null && targetPosition.IsNone) - { - return false; - } - - if (goTarget != null) - { - targetPos = !targetPosition.IsNone ? - goTarget.transform.TransformPoint(targetPosition.Value) : - goTarget.transform.position; - } - else - { - targetPos = targetPosition.Value; - } - - targetPosWithVertical = targetPos; - - if (ignoreVertical.Value) - { - targetPos.y = go.transform.position.y; - } - - return true; - } - - public Vector3 GetTargetPos() - { - return targetPos; - } - - public Vector3 GetTargetPosWithVertical() - { - return targetPosWithVertical; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveTowards.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveTowards.cs.meta deleted file mode 100644 index 08d3d64e0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/MoveTowards.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 2fa8dc1498e42734f9ce0ef695e29697 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/Rotate.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/Rotate.cs deleted file mode 100644 index 250f4aa8f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/Rotate.cs +++ /dev/null @@ -1,141 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Rotates a Game Object around each Axis. Use a Vector3 Variable and/or XYZ components. To leave any axis unchanged, set variable to 'None'.")] - public class Rotate : FsmStateAction - { - [RequiredField] - [Tooltip("The game object to rotate.")] - public FsmOwnerDefault gameObject; - - [Tooltip("A rotation vector specifying rotation around x, y, and z axis. NOTE: You can override individual axis below.")] - [UIHint(UIHint.Variable)] - public FsmVector3 vector; - - [Tooltip("Rotation around x axis.")] - public FsmFloat xAngle; - - [Tooltip("Rotation around y axis.")] - public FsmFloat yAngle; - - [Tooltip("Rotation around z axis.")] - public FsmFloat zAngle; - - [Tooltip("Rotate in local or world space.")] - public Space space; - - [Tooltip("Rotation is specified in degrees per second. " + - "In other words, the amount to rotate in over one second. " + - "This allows rotations to be frame rate independent. " + - "It is the same as multiplying the rotation by Time.deltaTime.")] - public bool perSecond; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - [Tooltip("Perform the rotation in LateUpdate. This is useful if you want to override the rotation of objects that are animated or otherwise rotated in Update.")] - public bool lateUpdate; - - [Tooltip("Perform the rotation in FixedUpdate. This is useful when working with rigid bodies and physics.")] - public bool fixedUpdate; - - public override void Reset() - { - gameObject = null; - vector = null; - // default axis to variable dropdown with None selected. - xAngle = new FsmFloat { UseVariable = true }; - yAngle = new FsmFloat { UseVariable = true }; - zAngle = new FsmFloat { UseVariable = true }; - space = Space.Self; - perSecond = false; - everyFrame = true; - lateUpdate = false; - fixedUpdate = false; - } - - public override void OnPreprocess() - { - if (fixedUpdate) Fsm.HandleFixedUpdate = true; - if (lateUpdate) Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - if(!everyFrame && !lateUpdate && !fixedUpdate) - { - DoRotate(); - Finish(); - } - } - - public override void OnUpdate() - { - if (!lateUpdate && !fixedUpdate) - { - DoRotate(); - } - } - - public override void OnLateUpdate() - { - if (lateUpdate) - { - DoRotate(); - } - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - if (fixedUpdate) - { - DoRotate(); - } - - if (!everyFrame) - { - Finish(); - } - } - - void DoRotate() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // Use vector if specified - - var rotate = vector.IsNone ? new Vector3(xAngle.Value, yAngle.Value, zAngle.Value) : vector.Value; - - // override any axis - - if (!xAngle.IsNone) rotate.x = xAngle.Value; - if (!yAngle.IsNone) rotate.y = yAngle.Value; - if (!zAngle.IsNone) rotate.z = zAngle.Value; - - // apply - - if (!perSecond) - { - go.transform.Rotate(rotate, space); - } - else - { - go.transform.Rotate(rotate * Time.deltaTime, space); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/Rotate.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/Rotate.cs.meta deleted file mode 100644 index 7d3ac3516..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/Rotate.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: afc1c6ea49cb9eb4cb8211e23db57545 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetPosition.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/SetPosition.cs deleted file mode 100644 index 1072f4079..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetPosition.cs +++ /dev/null @@ -1,121 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Sets the Position of a Game Object. To leave any axis unchanged, set variable to 'None'.")] - public class SetPosition : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to position.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Use a stored Vector3 position, and/or set individual axis below.")] - public FsmVector3 vector; - - public FsmFloat x; - public FsmFloat y; - public FsmFloat z; - - [Tooltip("Use local or world space.")] - public Space space; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - [Tooltip("Perform in LateUpdate. This is useful if you want to override the position of objects that are animated or otherwise positioned in Update.")] - public bool lateUpdate; - - public override void Reset() - { - gameObject = null; - vector = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - z = new FsmFloat { UseVariable = true }; - space = Space.Self; - everyFrame = false; - lateUpdate = false; - } - - public override void OnPreprocess() - { - if (lateUpdate) Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - if (!everyFrame && !lateUpdate) - { - DoSetPosition(); - Finish(); - } - } - - public override void OnUpdate() - { - if (!lateUpdate) - { - DoSetPosition(); - } - } - - public override void OnLateUpdate() - { - if (lateUpdate) - { - DoSetPosition(); - } - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetPosition() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // init position - - Vector3 position; - - if (vector.IsNone) - { - position = space == Space.World ? go.transform.position : go.transform.localPosition; - } - else - { - position = vector.Value; - } - - // override any axis - - if (!x.IsNone) position.x = x.Value; - if (!y.IsNone) position.y = y.Value; - if (!z.IsNone) position.z = z.Value; - - // apply - - if (space == Space.World) - { - go.transform.position = position; - } - else - { - go.transform.localPosition = position; - } - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetPosition.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/SetPosition.cs.meta deleted file mode 100644 index 1e4aeec9e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetPosition.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3601e653be2a11b478f2d632c6354ea0 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRandomRotation.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRandomRotation.cs deleted file mode 100644 index 3f8e80979..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRandomRotation.cs +++ /dev/null @@ -1,55 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Sets Random Rotation for a Game Object. Uncheck an axis to keep its current value.")] - public class SetRandomRotation : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmBool x; - [RequiredField] - public FsmBool y; - [RequiredField] - public FsmBool z; - - public override void Reset() - { - gameObject = null; - x = true; - y = true; - z = true; - } - - public override void OnEnter() - { - DoRandomRotation(); - - Finish(); - } - - void DoRandomRotation() - { - GameObject go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) return; - - Vector3 rotation = go.transform.localEulerAngles; - - float xAngle = rotation.x; - float yAngle = rotation.y; - float zAngle = rotation.z; - - if (x.Value) xAngle = Random.Range(0,360); - if (y.Value) yAngle = Random.Range(0,360); - if (z.Value) zAngle = Random.Range(0,360); - - go.transform.localEulerAngles = new Vector3(xAngle, yAngle, zAngle); - } - - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRandomRotation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRandomRotation.cs.meta deleted file mode 100644 index 7ccf412f5..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRandomRotation.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 3953107518a8648409a83e9e9740366b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRotation.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRotation.cs deleted file mode 100644 index 27fd435a0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRotation.cs +++ /dev/null @@ -1,143 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Sets the Rotation of a Game Object. To leave any axis unchanged, set variable to 'None'.")] - public class SetRotation : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to rotate.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Use a stored quaternion, or vector angles below.")] - public FsmQuaternion quaternion; - - [UIHint(UIHint.Variable)] - [Title("Euler Angles")] - [Tooltip("Use euler angles stored in a Vector3 variable, and/or set each axis below.")] - public FsmVector3 vector; - - public FsmFloat xAngle; - public FsmFloat yAngle; - public FsmFloat zAngle; - - [Tooltip("Use local or world space.")] - public Space space; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - [Tooltip("Perform in LateUpdate. This is useful if you want to override the position of objects that are animated or otherwise positioned in Update.")] - public bool lateUpdate; - - public override void Reset() - { - gameObject = null; - quaternion = null; - vector = null; - // default axis to variable dropdown with None selected. - xAngle = new FsmFloat { UseVariable = true }; - yAngle = new FsmFloat { UseVariable = true }; - zAngle = new FsmFloat { UseVariable = true }; - space = Space.World; - everyFrame = false; - lateUpdate = false; - } - - public override void OnPreprocess() - { - if (lateUpdate) Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - if (!everyFrame && !lateUpdate) - { - DoSetRotation(); - Finish(); - } - } - - public override void OnUpdate() - { - if (!lateUpdate) - { - DoSetRotation(); - } - } - - public override void OnLateUpdate() - { - if (lateUpdate) - { - DoSetRotation(); - } - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetRotation() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // Individual angle axis can override Quaternion and Vector angles - // So we build up the final rotation in steps - - Vector3 rotation; - - if (!quaternion.IsNone) - { - rotation = quaternion.Value.eulerAngles; - } - else if (!vector.IsNone) - { - rotation = vector.Value; - } - else - { - // use current rotation of the game object - - rotation = space == Space.Self ? go.transform.localEulerAngles : go.transform.eulerAngles; - } - - // Override each axis - - if (!xAngle.IsNone) - { - rotation.x = xAngle.Value; - } - - if (!yAngle.IsNone) - { - rotation.y = yAngle.Value; - } - - if (!zAngle.IsNone) - { - rotation.z = zAngle.Value; - } - - // apply rotation - - if (space == Space.Self) - { - go.transform.localEulerAngles = rotation; - } - else - { - go.transform.eulerAngles = rotation; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRotation.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRotation.cs.meta deleted file mode 100644 index ad0c6d94c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetRotation.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: eb466e99a5ab8d84383bbf5c5ff7d889 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetScale.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/SetScale.cs deleted file mode 100644 index 2e9dcf782..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetScale.cs +++ /dev/null @@ -1,94 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Sets the Scale of a Game Object. To leave any axis unchanged, set variable to 'None'.")] - public class SetScale : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to scale.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable)] - [Tooltip("Use stored Vector3 value, and/or set each axis below.")] - public FsmVector3 vector; - - public FsmFloat x; - public FsmFloat y; - public FsmFloat z; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - [Tooltip("Perform in LateUpdate. This is useful if you want to override the position of objects that are animated or otherwise positioned in Update.")] - public bool lateUpdate; - - public override void Reset() - { - gameObject = null; - vector = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - z = new FsmFloat { UseVariable = true }; - everyFrame = false; - lateUpdate = false; - } - - public override void OnPreprocess() - { - if (lateUpdate) Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - DoSetScale(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - if (!lateUpdate) - { - DoSetScale(); - } - } - - public override void OnLateUpdate() - { - if (lateUpdate) - { - DoSetScale(); - } - - if (!everyFrame) - { - Finish(); - } - } - - void DoSetScale() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var scale = vector.IsNone ? go.transform.localScale : vector.Value; - - if (!x.IsNone) scale.x = x.Value; - if (!y.IsNone) scale.y = y.Value; - if (!z.IsNone) scale.z = z.Value; - - go.transform.localScale = scale; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetScale.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/SetScale.cs.meta deleted file mode 100644 index aec35a8d1..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SetScale.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: fab7464a9d299ec42aa83aabdfb2da9f -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothFollowAction.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothFollowAction.cs deleted file mode 100644 index f2e8a92e9..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothFollowAction.cs +++ /dev/null @@ -1,111 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Action version of Unity's Smooth Follow script.")] - public class SmoothFollowAction : FsmStateAction - { - [RequiredField] - [Tooltip("The game object to control. E.g. The camera.")] - public FsmOwnerDefault gameObject; - - [Tooltip("The GameObject to follow.")] - public FsmGameObject targetObject; - - [RequiredField] - [Tooltip("The distance in the x-z plane to the target.")] - public FsmFloat distance; - - [RequiredField] - [Tooltip("The height we want the camera to be above the target")] - public FsmFloat height; - - [RequiredField] - [Tooltip("How much to dampen height movement.")] - public FsmFloat heightDamping; - - [RequiredField] - [Tooltip("How much to dampen rotation changes.")] - public FsmFloat rotationDamping; - - // Cache for performance - private GameObject cachedObject; - private Transform myTransform; - - private GameObject cachedTarget; - private Transform targetTransform; - - public override void Reset() - { - gameObject = null; - targetObject = null; - distance = 10f; - height = 5f; - heightDamping = 2f; - rotationDamping = 3f; - } - - public override void OnPreprocess() - { - Fsm.HandleLateUpdate = true; - } - - public override void OnLateUpdate() - { - if (targetObject.Value == null) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - if (cachedObject != go) - { - cachedObject = go; - myTransform = go.transform; - } - - if (cachedTarget != targetObject.Value) - { - cachedTarget = targetObject.Value; - targetTransform = cachedTarget.transform; - } - - - // Calculate the current rotation angles - var wantedRotationAngle = targetTransform.eulerAngles.y; - var wantedHeight = targetTransform.position.y + height.Value; - - var currentRotationAngle = myTransform.eulerAngles.y; - var currentHeight = myTransform.position.y; - - // Damp the rotation around the y-axis - currentRotationAngle = Mathf.LerpAngle(currentRotationAngle, wantedRotationAngle, rotationDamping.Value * Time.deltaTime); - - // Damp the height - currentHeight = Mathf.Lerp(currentHeight, wantedHeight, heightDamping.Value * Time.deltaTime); - - // Convert the angle into a rotation - var currentRotation = Quaternion.Euler(0, currentRotationAngle, 0); - - // Set the position of the camera on the x-z plane to: - // distance meters behind the target - myTransform.position = targetTransform.position; - myTransform.position -= currentRotation * Vector3.forward * distance.Value; - - // Set the height of the camera - myTransform.position = new Vector3(myTransform.position.x, currentHeight, myTransform.position.z); - - // Always look at the target - myTransform.LookAt(targetTransform); - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothFollowAction.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothFollowAction.cs.meta deleted file mode 100644 index 728527206..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothFollowAction.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ed1c27ff26656574e9329db3c59da9d7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAt.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAt.cs deleted file mode 100644 index 37916c93d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAt.cs +++ /dev/null @@ -1,147 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Smoothly Rotates a Game Object so its forward vector points at a Target. The target can be defined as a Game Object or a world Position. If you specify both, then the position will be used as a local offset from the object's position.")] - public class SmoothLookAt : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to rotate to face a target.")] - public FsmOwnerDefault gameObject; - - [Tooltip("A target GameObject.")] - public FsmGameObject targetObject; - - [Tooltip("A target position. If a Target Object is defined, this is used as a local offset.")] - public FsmVector3 targetPosition; - - [Tooltip("Used to keep the game object generally upright. If left undefined the world y axis is used.")] - public FsmVector3 upVector; - - [Tooltip("Force the game object to remain vertical. Useful for characters.")] - public FsmBool keepVertical; - - [HasFloatSlider(0.5f,15)] - [Tooltip("How fast the look at moves.")] - public FsmFloat speed; - - [Tooltip("Draw a line in the Scene View to the look at position.")] - public FsmBool debug; - - [Tooltip("If the angle to the target is less than this, send the Finish Event below. Measured in degrees.")] - public FsmFloat finishTolerance; - - [Tooltip("Event to send if the angle to target is less than the Finish Tolerance.")] - public FsmEvent finishEvent; - - private GameObject previousGo; // track game object so we can re-initialize when it changes. - private Quaternion lastRotation; - private Quaternion desiredRotation; - - public override void Reset() - { - gameObject = null; - targetObject = null; - targetPosition = new FsmVector3 { UseVariable = true}; - upVector = new FsmVector3 { UseVariable = true}; - keepVertical = true; - debug = false; - speed = 5; - finishTolerance = 1; - finishEvent = null; - } - - public override void OnPreprocess() - { - Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - previousGo = null; - } - - public override void OnLateUpdate() - { - DoSmoothLookAt(); - } - - void DoSmoothLookAt() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - var goTarget = targetObject.Value; - if (goTarget == null && targetPosition.IsNone) - { - return; - } - - // re-initialize if game object has changed - - if (previousGo != go) - { - lastRotation = go.transform.rotation; - desiredRotation = lastRotation; - previousGo = go; - } - - // desired look at position - - Vector3 lookAtPos; - if (goTarget != null) - { - lookAtPos = !targetPosition.IsNone ? - goTarget.transform.TransformPoint(targetPosition.Value) : - goTarget.transform.position; - } - else - { - lookAtPos = targetPosition.Value; - } - - if (keepVertical.Value) - { - lookAtPos.y = go.transform.position.y; - } - - // smooth look at - - var diff = lookAtPos - go.transform.position; - if (diff != Vector3.zero && diff.sqrMagnitude > 0) - { - desiredRotation = Quaternion.LookRotation(diff, upVector.IsNone ? Vector3.up : upVector.Value); - } - - lastRotation = Quaternion.Slerp(lastRotation, desiredRotation, speed.Value * Time.deltaTime); - go.transform.rotation = lastRotation; - - // debug line to target - - if (debug.Value) - { - Debug.DrawLine(go.transform.position, lookAtPos, Color.grey); - } - - // send finish event? - - if (finishEvent != null) - { - var targetDir = lookAtPos - go.transform.position; - var angle = Vector3.Angle(targetDir, go.transform.forward); - - if (Mathf.Abs(angle) <= finishTolerance.Value) - { - Fsm.Event(finishEvent); - } - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAt.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAt.cs.meta deleted file mode 100644 index 7acc19859..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAt.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 58c821d80048bd14d8917ce1a9dcbe72 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAtDirection.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAtDirection.cs deleted file mode 100644 index 6aad3a3b6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAtDirection.cs +++ /dev/null @@ -1,139 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Smoothly Rotates a Game Object so its forward vector points in the specified Direction. Lets you fire an event when minmagnitude is reached")] - public class SmoothLookAtDirection : FsmStateAction - { - [RequiredField] - [Tooltip("The GameObject to rotate.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The direction to smoothly rotate towards.")] - public FsmVector3 targetDirection; - - [Tooltip("Only rotate if Target Direction Vector length is greater than this threshold.")] - public FsmFloat minMagnitude; - - [Tooltip("Keep this vector pointing up as the GameObject rotates.")] - public FsmVector3 upVector; - - [RequiredField] - [Tooltip("Eliminate any tilt up/down as the GameObject rotates.")] - public FsmBool keepVertical; - - [RequiredField] - [HasFloatSlider(0.5f, 15)] - [Tooltip("How quickly to rotate.")] - public FsmFloat speed; - - [Tooltip("Perform in LateUpdate. This can help eliminate jitters in some situations.")] - public bool lateUpdate; - - [Tooltip("Event to send if the direction difference is less than Min Magnitude.")] - public FsmEvent finishEvent; - - [Tooltip("Stop running the action if the direction difference is less than Min Magnitude.")] - public FsmBool finish; - - GameObject previousGo; // track game object so we can re-initialize when it changes. - Quaternion lastRotation; - Quaternion desiredRotation; - - public override void Reset() - { - gameObject = null; - targetDirection = new FsmVector3 { UseVariable = true }; - minMagnitude = 0.1f; - upVector = new FsmVector3 { UseVariable = true }; - keepVertical = true; - speed = 5; - lateUpdate = true; - finishEvent = null; - } - - public override void OnPreprocess() - { - Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - previousGo = null; - } - - public override void OnUpdate() - { - if (!lateUpdate) - { - DoSmoothLookAtDirection(); - } - } - - public override void OnLateUpdate() - { - if (lateUpdate) - { - DoSmoothLookAtDirection(); - } - } - - void DoSmoothLookAtDirection() - { - if (targetDirection.IsNone) - { - return; - } - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // re-initialize if game object has changed - - if (previousGo != go) - { - lastRotation = go.transform.rotation; - desiredRotation = lastRotation; - previousGo = go; - } - - // desired direction - - var diff = targetDirection.Value; - - if (keepVertical.Value) - { - diff.y = 0; - } - - var reachedTarget = false; - if (diff.sqrMagnitude > minMagnitude.Value) - { - desiredRotation = Quaternion.LookRotation(diff, upVector.IsNone ? Vector3.up : upVector.Value); - } - else - { - reachedTarget = true; - } - - lastRotation = Quaternion.Slerp(lastRotation, desiredRotation, speed.Value * Time.deltaTime); - go.transform.rotation = lastRotation; - - if (reachedTarget) - { - Fsm.Event(finishEvent); - if (finish.Value) - { - Finish(); - } - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAtDirection.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAtDirection.cs.meta deleted file mode 100644 index 6a91ae485..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/SmoothLookAtDirection.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 8a8fca88c56dcf74b8a5c901168b82ce -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformDirection.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformDirection.cs deleted file mode 100644 index f0336a6a0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformDirection.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Transforms a Direction from a Game Object's local space to world space.")] - public class TransformDirection : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmVector3 localDirection; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmVector3 storeResult; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - localDirection = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoTransformDirection(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoTransformDirection(); - } - - void DoTransformDirection() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if(go == null) return; - - storeResult.Value = go.transform.TransformDirection(localDirection.Value); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformDirection.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformDirection.cs.meta deleted file mode 100644 index f23cdc6d2..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformDirection.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: ead0acdc4792b3d43b8608902c1298f6 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformPoint.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformPoint.cs deleted file mode 100644 index 0b19c03e3..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformPoint.cs +++ /dev/null @@ -1,48 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Transforms a Position from a Game Object's local space to world space.")] - public class TransformPoint : FsmStateAction - { - [RequiredField] - public FsmOwnerDefault gameObject; - [RequiredField] - public FsmVector3 localPosition; - [RequiredField] - [UIHint(UIHint.Variable)] - public FsmVector3 storeResult; - public bool everyFrame; - - public override void Reset() - { - gameObject = null; - localPosition = null; - storeResult = null; - everyFrame = false; - } - - public override void OnEnter() - { - DoTransformPoint(); - - if (!everyFrame) - Finish(); - } - - public override void OnUpdate() - { - DoTransformPoint(); - } - - void DoTransformPoint() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if(go == null) return; - - storeResult.Value = go.transform.TransformPoint(localPosition.Value); - } - } -} - diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformPoint.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformPoint.cs.meta deleted file mode 100644 index d8ebddcc7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/TransformPoint.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: bc14805ab1b72f74a91e1f9e58ca6a91 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/Translate.cs b/Assets/ThirdParty/PlayMaker/Actions/Transform/Translate.cs deleted file mode 100644 index d186b75ca..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/Translate.cs +++ /dev/null @@ -1,140 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2013. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Transform)] - [Tooltip("Translates a Game Object. Use a Vector3 variable and/or XYZ components. To leave any axis unchanged, set variable to 'None'.")] - public class Translate : FsmStateAction - { - [RequiredField] - [Tooltip("The game object to translate.")] - public FsmOwnerDefault gameObject; - - [UIHint(UIHint.Variable), Readonly] - [Tooltip("A translation vector. NOTE: You can override individual axis below.")] - public FsmVector3 vector; - - [Tooltip("Translation along x axis.")] - public FsmFloat x; - - [Tooltip("Translation along y axis.")] - public FsmFloat y; - - [Tooltip("Translation along z axis.")] - public FsmFloat z; - - [Tooltip("Translate in local or world space.")] - public Space space; - - [Tooltip("Translate over one second")] - public bool perSecond; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - [Tooltip("Perform the translate in LateUpdate. This is useful if you want to override the position of objects that are animated or otherwise positioned in Update.")] - public bool lateUpdate; - - [Tooltip("Perform the translate in FixedUpdate. This is useful when working with rigid bodies and physics.")] - public bool fixedUpdate; - - public override void Reset() - { - gameObject = null; - vector = null; - // default axis to variable dropdown with None selected. - x = new FsmFloat { UseVariable = true }; - y = new FsmFloat { UseVariable = true }; - z = new FsmFloat { UseVariable = true }; - space = Space.Self; - perSecond = true; - everyFrame = true; - lateUpdate = false; - fixedUpdate = false; - } - - public override void OnPreprocess() - { - if (fixedUpdate) Fsm.HandleFixedUpdate = true; - if (lateUpdate) Fsm.HandleLateUpdate = true; - } - - public override void OnEnter() - { - if (!everyFrame && !lateUpdate && !fixedUpdate) - { - DoTranslate(); - Finish(); - } - } - - public override void OnUpdate() - { - if (!lateUpdate && !fixedUpdate) - { - DoTranslate(); - } - } - - public override void OnLateUpdate() - { - if (lateUpdate) - { - DoTranslate(); - } - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnFixedUpdate() - { - if (fixedUpdate) - { - DoTranslate(); - } - - if (!everyFrame) - { - Finish(); - } - } - - void DoTranslate() - { - // init - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (go == null) - { - return; - } - - // Use vector if specified - - var translate = vector.IsNone ? new Vector3(x.Value, y.Value, z.Value) : vector.Value; - - // override any axis - - if (!x.IsNone) translate.x = x.Value; - if (!y.IsNone) translate.y = y.Value; - if (!z.IsNone) translate.z = z.Value; - - // apply - - if (!perSecond) - { - go.transform.Translate(translate, space); - } - else - { - go.transform.Translate(translate * Time.deltaTime, space); - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Transform/Translate.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Transform/Translate.cs.meta deleted file mode 100644 index b8895b01e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Transform/Translate.cs.meta +++ /dev/null @@ -1,7 +0,0 @@ -fileFormatVersion: 2 -guid: 64964a3148c610e4ba0de21b424e6169 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry.meta b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry.meta deleted file mode 100644 index 9007b2cda..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry.meta +++ /dev/null @@ -1,5 +0,0 @@ -fileFormatVersion: 2 -guid: fc063165a67d1d843925b242b0d1a415 -folderAsset: yes -DefaultImporter: - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetACosine.cs b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetACosine.cs deleted file mode 100644 index 5faef09a7..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetACosine.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Trigonometry)] - [Tooltip("Get the Arc Cosine. You can get the result in degrees, simply check on the RadToDeg conversion")] - public class GetACosine : FsmStateAction - { - [RequiredField] - [Tooltip("The value of the cosine")] - public FsmFloat Value; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The resulting angle. Note:If you want degrees, simply check RadToDeg")] - public FsmFloat angle; - - [Tooltip("Check on if you want the angle expressed in degrees.")] - public FsmBool RadToDeg; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - angle = null; - RadToDeg = true; - everyFrame = false; - Value = null; - } - - public override void OnEnter() - { - DoACosine(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoACosine(); - } - - void DoACosine() - { - float _angle = Mathf.Acos(Value.Value); - - - if (RadToDeg.Value) - { - _angle = _angle*Mathf.Rad2Deg; - } - - angle.Value = _angle; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetACosine.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetACosine.cs.meta deleted file mode 100644 index b1185671e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetACosine.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 6fda114c8a66e4296aed4e2a26a0611b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetASine.cs b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetASine.cs deleted file mode 100644 index d9d812faf..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetASine.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Trigonometry)] - [Tooltip("Get the Arc sine. You can get the result in degrees, simply check on the RadToDeg conversion")] - public class GetASine : FsmStateAction - { - [RequiredField] - [Tooltip("The value of the sine")] - public FsmFloat Value; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The resulting angle. Note:If you want degrees, simply check RadToDeg")] - public FsmFloat angle; - - [Tooltip("Check on if you want the angle expressed in degrees.")] - public FsmBool RadToDeg; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - angle = null; - RadToDeg = true; - everyFrame = false; - Value = null; - } - - public override void OnEnter() - { - DoASine(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoASine(); - } - - void DoASine() - { - float _angle = Mathf.Asin(Value.Value); - - - if (RadToDeg.Value) - { - _angle = _angle*Mathf.Rad2Deg; - } - - angle.Value = _angle; - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetASine.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetASine.cs.meta deleted file mode 100644 index e73a34113..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetASine.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: a8937798f5f704e5fa51b286a972dbe2 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan.cs b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan.cs deleted file mode 100644 index 28d4f263c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Trigonometry)] - [Tooltip("Get the Arc Tangent. You can get the result in degrees, simply check on the RadToDeg conversion")] - public class GetAtan : FsmStateAction - { - [RequiredField] - [Tooltip("The value of the tan")] - public FsmFloat Value; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The resulting angle. Note:If you want degrees, simply check RadToDeg")] - public FsmFloat angle; - - [Tooltip("Check on if you want the angle expressed in degrees.")] - public FsmBool RadToDeg; - - - public bool everyFrame; - - public override void Reset() - { - Value = null; - RadToDeg = true; - everyFrame = false; - angle = null; - } - - public override void OnEnter() - { - DoATan(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoATan(); - } - - void DoATan() - { - float _angle = Mathf.Atan(Value.Value); - - - if (RadToDeg.Value) - { - _angle = _angle*Mathf.Rad2Deg; - } - angle.Value = _angle; - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan.cs.meta deleted file mode 100644 index 0d00e69eb..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 688a06197f3c54d278275cf084d6768e -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2.cs b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2.cs deleted file mode 100644 index a7d0045ba..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2.cs +++ /dev/null @@ -1,69 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Trigonometry)] - [Tooltip("Get the Arc Tangent 2 as in atan2(y,x). You can get the result in degrees, simply check on the RadToDeg conversion")] - public class GetAtan2 : FsmStateAction - { - - [RequiredField] - [Tooltip("The x value of the tan")] - public FsmFloat xValue; - - [RequiredField] - [Tooltip("The y value of the tan")] - public FsmFloat yValue; - - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The resulting angle. Note:If you want degrees, simply check RadToDeg")] - public FsmFloat angle; - - [Tooltip("Check on if you want the angle expressed in degrees.")] - public FsmBool RadToDeg; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - xValue = null; - yValue = null; - RadToDeg = true; - everyFrame = false; - angle = null; - } - - public override void OnEnter() - { - DoATan(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoATan(); - } - - void DoATan() - { - float _angle = Mathf.Atan2(yValue.Value,xValue.Value); - - - if (RadToDeg.Value) - { - _angle = _angle*Mathf.Rad2Deg; - } - angle.Value = _angle; - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2.cs.meta deleted file mode 100644 index aca11c76d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 2bf63cc97e56e4dcc8d616ebe3a04768 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector2.cs b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector2.cs deleted file mode 100644 index 92865c544..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector2.cs +++ /dev/null @@ -1,65 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Trigonometry)] - [Tooltip("Get the Arc Tangent 2 as in atan2(y,x) from a vector 2. You can get the result in degrees, simply check on the RadToDeg conversion")] - public class GetAtan2FromVector2 : FsmStateAction - { - - [RequiredField] - [Tooltip("The vector2 of the tan")] - public FsmVector2 vector2; - - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The resulting angle. Note:If you want degrees, simply check RadToDeg")] - public FsmFloat angle; - - [Tooltip("Check on if you want the angle expressed in degrees.")] - public FsmBool RadToDeg; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - vector2 = null; - - RadToDeg = true; - everyFrame = false; - angle = null; - } - - public override void OnEnter() - { - DoATan(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoATan(); - } - - void DoATan() - { - float _angle = Mathf.Atan2(vector2.Value.y,vector2.Value.x); - - - if (RadToDeg.Value) - { - _angle = _angle*Mathf.Rad2Deg; - } - angle.Value = _angle; - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector2.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector2.cs.meta deleted file mode 100644 index e204343c4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector2.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 689ca023c18264a8eb07e17d24e4d3de -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector3.cs b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector3.cs deleted file mode 100644 index f9e04ba1f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector3.cs +++ /dev/null @@ -1,100 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Trigonometry)] - [Tooltip("Get the Arc Tangent 2 as in atan2(y,x) from a vector 3, where you pick which is x and y from the vector 3. You can get the result in degrees, simply check on the RadToDeg conversion")] - public class GetAtan2FromVector3 : FsmStateAction - { - - public enum aTan2EnumAxis - { - x, - y, - z - } - - [RequiredField] - [Tooltip("The vector3 definition of the tan")] - public FsmVector3 vector3; - - [RequiredField] - [Tooltip("which axis in the vector3 to use as the x value of the tan")] - public aTan2EnumAxis xAxis; - - [RequiredField] - [Tooltip("which axis in the vector3 to use as the y value of the tan")] - public aTan2EnumAxis yAxis; - - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The resulting angle. Note:If you want degrees, simply check RadToDeg")] - public FsmFloat angle; - - [Tooltip("Check on if you want the angle expressed in degrees.")] - public FsmBool RadToDeg; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - vector3 = null; - xAxis = aTan2EnumAxis.x; - yAxis = aTan2EnumAxis.y; - - RadToDeg = true; - everyFrame = false; - angle = null; - } - - public override void OnEnter() - { - DoATan(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoATan(); - } - - void DoATan() - { - - float x = vector3.Value.x; - if (xAxis == aTan2EnumAxis.y) - { - x = vector3.Value.y; - }else if (xAxis == aTan2EnumAxis.z){ - x = vector3.Value.z; - } - - float y = vector3.Value.y; - if (yAxis == aTan2EnumAxis.x) - { - y = vector3.Value.x; - }else if (yAxis == aTan2EnumAxis.z){ - y = vector3.Value.z; - } - - - float _angle = Mathf.Atan2(y,x); - - - if (RadToDeg.Value) - { - _angle = _angle*Mathf.Rad2Deg; - } - angle.Value = _angle; - - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector3.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector3.cs.meta deleted file mode 100644 index 5b300de2b..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetAtan2FromVector3.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: ed68244e96b0a47d7a0f089398480ef7 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetCosine.cs b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetCosine.cs deleted file mode 100644 index dbfad4a09..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetCosine.cs +++ /dev/null @@ -1,59 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Trigonometry)] - [Tooltip("Get the cosine. You can use degrees, simply check on the DegToRad conversion")] - public class GetCosine : FsmStateAction - { - [RequiredField] - [Tooltip("The angle. Note: You can use degrees, simply check DegtoRad if the angle is expressed in degrees.")] - public FsmFloat angle; - - [Tooltip("Check on if the angle is expressed in degrees.")] - public FsmBool DegToRad; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The angle cosine")] - public FsmFloat result; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - angle = null; - DegToRad = true; - everyFrame = false; - result = null; - } - - public override void OnEnter() - { - DoCosine(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoCosine(); - } - - void DoCosine() - { - float _angle = angle.Value; - if (DegToRad.Value) - { - _angle = _angle*Mathf.Deg2Rad; - } - result.Value = Mathf.Cos(_angle); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetCosine.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetCosine.cs.meta deleted file mode 100644 index 447109db6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetCosine.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8ca5ca87ca84c4a94a2112392a257755 -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetSine.cs b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetSine.cs deleted file mode 100644 index 7f64bef91..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetSine.cs +++ /dev/null @@ -1,60 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Trigonometry)] - [Tooltip("Get the sine. You can use degrees, simply check on the DegToRad conversion")] - public class GetSine : FsmStateAction - { - [RequiredField] - [Tooltip("The angle. Note: You can use degrees, simply check DegtoRad if the angle is expressed in degrees.")] - public FsmFloat angle; - - [Tooltip("Check on if the angle is expressed in degrees.")] - public FsmBool DegToRad; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The angle tan")] - public FsmFloat result; - - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - angle = null; - DegToRad = true; - everyFrame = false; - result = null; - } - - public override void OnEnter() - { - DoSine(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSine(); - } - - void DoSine() - { - float _angle = angle.Value; - if (DegToRad.Value) - { - _angle = _angle*Mathf.Deg2Rad; - } - result.Value = Mathf.Sin(_angle); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetSine.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetSine.cs.meta deleted file mode 100644 index e8d1f3b26..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetSine.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 8e28a11b97806405eac27c765a5e86cd -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetTan.cs b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetTan.cs deleted file mode 100644 index 03c1a4a41..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetTan.cs +++ /dev/null @@ -1,59 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2012. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.Trigonometry)] - [Tooltip("Get the Tangent. You can use degrees, simply check on the DegToRad conversion")] - public class GetTan : FsmStateAction - { - [RequiredField] - [Tooltip("The angle. Note: You can use degrees, simply check DegtoRad if the angle is expressed in degrees.")] - public FsmFloat angle; - - [Tooltip("Check on if the angle is expressed in degrees.")] - public FsmBool DegToRad; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The angle tan")] - public FsmFloat result; - - [Tooltip("Repeat every frame.")] - public bool everyFrame; - - public override void Reset() - { - angle = null; - DegToRad = true; - everyFrame = false; - result = null; - } - - public override void OnEnter() - { - DoTan(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoTan(); - } - - void DoTan() - { - float _angle = angle.Value; - if (DegToRad.Value) - { - _angle = _angle*Mathf.Deg2Rad; - } - result.Value = Mathf.Tan(_angle); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetTan.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetTan.cs.meta deleted file mode 100644 index 8db93ae0e..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/Trigonometry/GetTan.cs.meta +++ /dev/null @@ -1,8 +0,0 @@ -fileFormatVersion: 2 -guid: 858ac03f63eae483e95d68159febdf6b -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI.meta b/Assets/ThirdParty/PlayMaker/Actions/UI.meta deleted file mode 100644 index 6bf537463..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: ba04a417e18738c4284a7ff88be8c2f6 -folderAsset: yes -timeCreated: 1519866252 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas.meta b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas.meta deleted file mode 100644 index aa3976286..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: d01c61dd15ecc8c46b82e51e786b6027 -folderAsset: yes -timeCreated: 1520226049 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasEnableRaycast.cs b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasEnableRaycast.cs deleted file mode 100644 index 86812b2e4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasEnableRaycast.cs +++ /dev/null @@ -1,88 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.UI)] - [Tooltip("Enable or disable Canvas Raycasting. Optionally reset on state exit")] - public class UiCanvasEnableRaycast: ComponentAction - { - [RequiredField] - //[CheckForComponent(typeof(PlayMakerCanvasRaycastFilterProxy))] - [Tooltip("The GameObject to enable or disable Canvas Raycasting on.")] - public FsmOwnerDefault gameObject; - - public FsmBool enableRaycasting; - - [Tooltip("Reset when exiting this state.")] - public FsmBool resetOnExit; - - public bool everyFrame; - - [SerializeField] - private PlayMakerCanvasRaycastFilterProxy raycastFilterProxy; - - private bool originalValue; - - public override void Reset() - { - gameObject = null; - enableRaycasting = false; - resetOnExit = null; - everyFrame = false; - } - - public override void OnPreprocess() - { - //Debug.Log("OnPreprocess"); - if (gameObject == null) gameObject = new FsmOwnerDefault(); - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCacheAddComponent(go)) - { - raycastFilterProxy = cachedComponent; - } - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCacheAddComponent(go)) - { - raycastFilterProxy = cachedComponent; - originalValue = raycastFilterProxy.RayCastingEnabled; - } - - DoAction(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoAction(); - } - - private void DoAction() - { - if (raycastFilterProxy != null) - { - raycastFilterProxy.RayCastingEnabled = enableRaycasting.Value; - } - } - - public override void OnExit() - { - if (raycastFilterProxy == null) return; - - if (resetOnExit.Value) - { - raycastFilterProxy.RayCastingEnabled = originalValue; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasEnableRaycast.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasEnableRaycast.cs.meta deleted file mode 100644 index 12f4fa1db..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasEnableRaycast.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 90fe0e464848643419d98ea0c6d72013 -timeCreated: 1520232299 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasForceUpdateCanvases.cs b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasForceUpdateCanvases.cs deleted file mode 100644 index 4aac989d0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasForceUpdateCanvases.cs +++ /dev/null @@ -1,20 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.UI)] - [Tooltip("Force all canvases to update their content.\n" + - "Code that relies on up-to-date layout or content can call this method to ensure it before executing code that relies on it.")] - public class UiCanvasForceUpdateCanvases: FsmStateAction - { - - public override void OnEnter() - { - Canvas.ForceUpdateCanvases(); - - Finish(); - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasForceUpdateCanvases.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasForceUpdateCanvases.cs.meta deleted file mode 100644 index 37232cc01..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasForceUpdateCanvases.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: d51e4e367d028b342b399aed9135b423 -timeCreated: 1520228001 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetAlpha.cs b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetAlpha.cs deleted file mode 100644 index 249919155..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetAlpha.cs +++ /dev/null @@ -1,82 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. -// based on Sebastio work: http://hutonggames.com/playmakerforum/index.php?topic=8452.msg42858#msg42858 - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.UI)] - [Tooltip("Set Group Alpha.")] - public class UiCanvasGroupSetAlpha : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(CanvasGroup))] - [Tooltip("The GameObject with a UI CanvasGroup component.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The alpha of the UI component.")] - public FsmFloat alpha; - - [Tooltip("Reset when exiting this state.")] - public FsmBool resetOnExit; - - [Tooltip("Repeats every frame, useful for animation")] - public bool everyFrame; - - private CanvasGroup component; - private float originalValue; - - public override void Reset() - { - gameObject = null; - alpha = null; - - resetOnExit = null; - everyFrame = false; - } - - public override void OnEnter() - { - - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - component = cachedComponent; - } - - originalValue = component.alpha; - - DoSetValue(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetValue(); - } - - private void DoSetValue() - { - if (component != null) - { - component.alpha = alpha.Value; - } - } - - public override void OnExit() - { - if (component==null) return; - - if (resetOnExit.Value) - { - component.alpha = originalValue; - } - } - - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetAlpha.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetAlpha.cs.meta deleted file mode 100644 index da6d6597d..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetAlpha.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: dd85d35bdb7eae249a181d4cded36f96 -timeCreated: 1520228001 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetProperties.cs b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetProperties.cs deleted file mode 100644 index 188fef2e4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetProperties.cs +++ /dev/null @@ -1,128 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. -// original action by Nuclear Napalm Entertainment LLC: http://hutonggames.com/playmakerforum/index.php?topic=10581.msg49831#msg49831 - -using UnityEngine; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.UI)] - [Tooltip("Sets properties of a UI CanvasGroup component.")] - public class UiCanvasGroupSetProperties : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(CanvasGroup))] - [Tooltip("The GameObject with the UI CanvasGroup component.")] - public FsmOwnerDefault gameObject; - - [Tooltip("Canvas group alpha. Ranges from 0.0 to 1.0.")] - [HasFloatSlider(0f,1f)] - public FsmFloat alpha; - - [Tooltip("Is the group interactable (are the elements beneath the group enabled). Leave as None for no effect")] - public FsmBool interactable; - - [Tooltip("Does this group block raycasting (allow collision). Leave as None for no effect")] - public FsmBool blocksRaycasts; - - [Tooltip("Should the group ignore parent groups? Leave as None for no effect")] - public FsmBool ignoreParentGroup; - - [Tooltip("Reset when exiting this state. Leave as None for no effect")] - public FsmBool resetOnExit; - - public bool everyFrame; - - private CanvasGroup component; - - private float originalAlpha; - private bool originalInteractable; - private bool originalBlocksRaycasts; - private bool originalIgnoreParentGroup; - - public override void Reset() - { - gameObject = null; - alpha = new FsmFloat {UseVariable=true}; - interactable = new FsmBool {UseVariable=true}; - blocksRaycasts = new FsmBool {UseVariable=true}; - ignoreParentGroup = new FsmBool {UseVariable=true}; - resetOnExit = null; - everyFrame = false; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - component = cachedComponent; - if (component != null) - { - originalAlpha = component.alpha; - originalInteractable = component.interactable; - originalBlocksRaycasts = component.blocksRaycasts; - originalIgnoreParentGroup = component.ignoreParentGroups; - } - } - - DoAction(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoAction(); - } - - private void DoAction() - { - if (component == null) return; - - if (!alpha.IsNone) - { - component.alpha = alpha.Value; - } - if (!interactable.IsNone) - { - component.interactable = interactable.Value; - } - if (!blocksRaycasts.IsNone) - { - component.blocksRaycasts = blocksRaycasts.Value; - } - if (!ignoreParentGroup.IsNone) - { - component.ignoreParentGroups = ignoreParentGroup.Value; - } - } - - public override void OnExit() - { - if (component==null) return; - - if (resetOnExit.Value) - { - if (!alpha.IsNone) - { - component.alpha = originalAlpha; - } - if (!interactable.IsNone) - { - component.interactable = originalInteractable; - } - if (!blocksRaycasts.IsNone) - { - component.blocksRaycasts = originalBlocksRaycasts; - } - if (!ignoreParentGroup.IsNone) - { - component.ignoreParentGroups = originalIgnoreParentGroup; - } - } - } - } -} diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetProperties.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetProperties.cs.meta deleted file mode 100644 index 046bc631f..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasGroupSetProperties.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 8facea2b5d97fd2469b9fe01aca54e2b -timeCreated: 1520228001 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerGetScaleFactor.cs b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerGetScaleFactor.cs deleted file mode 100644 index 414e200e8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerGetScaleFactor.cs +++ /dev/null @@ -1,64 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. - -using UnityEngine; -using UnityEngine.UI; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.UI)] - [Tooltip("Get the ScaleFactor of a CanvasScaler.")] - public class UiCanvasScalerGetScaleFactor : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(CanvasScaler))] - [Tooltip("The GameObject with a UI CanvasScaler component.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [UIHint(UIHint.Variable)] - [Tooltip("The scaleFactor of the CanvasScaler component.")] - public FsmFloat scaleFactor; - - [Tooltip("Repeats every frame, useful for animation")] - public bool everyFrame; - - private CanvasScaler component; - - public override void Reset() - { - gameObject = null; - scaleFactor = null; - - everyFrame = false; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - component = cachedComponent; - } - - DoGetValue(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoGetValue(); - } - - private void DoGetValue() - { - if (component != null) - { - scaleFactor.Value = component.scaleFactor; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerGetScaleFactor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerGetScaleFactor.cs.meta deleted file mode 100644 index bdd4790fd..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerGetScaleFactor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 37ab34ad613f6074888e26dcf982de22 -timeCreated: 1520228001 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerSetScaleFactor.cs b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerSetScaleFactor.cs deleted file mode 100644 index a46c32c65..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerSetScaleFactor.cs +++ /dev/null @@ -1,62 +0,0 @@ -// (c) Copyright HutongGames, LLC 2010-2018. All rights reserved. - -using UnityEngine.UI; - -namespace HutongGames.PlayMaker.Actions -{ - [ActionCategory(ActionCategory.UI)] - [Tooltip("Sets the ScaleFactor of a CanvasScaler.")] - public class UiCanvasScalerSetScaleFactor : ComponentAction - { - [RequiredField] - [CheckForComponent(typeof(CanvasScaler))] - [Tooltip("The GameObject with a UI CanvasScaler component.")] - public FsmOwnerDefault gameObject; - - [RequiredField] - [Tooltip("The scaleFactor of the UI CanvasScaler.")] - public FsmFloat scaleFactor; - - [Tooltip("Repeats every frame, useful for animation")] - public bool everyFrame; - - private CanvasScaler component; - - public override void Reset() - { - gameObject = null; - scaleFactor = null; - - everyFrame = false; - } - - public override void OnEnter() - { - var go = Fsm.GetOwnerDefaultTarget(gameObject); - if (UpdateCache(go)) - { - component = cachedComponent; - } - - DoSetValue(); - - if (!everyFrame) - { - Finish(); - } - } - - public override void OnUpdate() - { - DoSetValue(); - } - - private void DoSetValue() - { - if (component != null) - { - component.scaleFactor = scaleFactor.Value ; - } - } - } -} \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerSetScaleFactor.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerSetScaleFactor.cs.meta deleted file mode 100644 index 06522b2d6..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Canvas/UiCanvasScalerSetScaleFactor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: e314b278e1a2d4d428e7cdc520b31166 -timeCreated: 1520228002 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Components.meta b/Assets/ThirdParty/PlayMaker/Actions/UI/Components.meta deleted file mode 100644 index fcd73ca7c..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Components.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: b1e5ab92f34854d4d947273e6e1827ed -folderAsset: yes -timeCreated: 1520231327 -licenseType: Pro -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerCanvasRaycastFilterProxy.cs b/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerCanvasRaycastFilterProxy.cs deleted file mode 100644 index 2865e6ef8..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerCanvasRaycastFilterProxy.cs +++ /dev/null @@ -1,20 +0,0 @@ -#if !PLAYMAKER_NO_UI - -using UnityEngine; - -namespace HutongGames.PlayMaker -{ - public class PlayMakerCanvasRaycastFilterProxy : MonoBehaviour , ICanvasRaycastFilter - { - public bool RayCastingEnabled = true; - - #region ICanvasRaycastFilter implementation - public bool IsRaycastLocationValid (Vector2 sp, Camera eventCamera) - { - return RayCastingEnabled; - } - #endregion - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerCanvasRaycastFilterProxy.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerCanvasRaycastFilterProxy.cs.meta deleted file mode 100644 index facbb6372..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerCanvasRaycastFilterProxy.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 555d93d8b50b90545a6aba9ae1cb0e73 -timeCreated: 1520231406 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerUiBoolValueChangedEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerUiBoolValueChangedEvent.cs deleted file mode 100644 index eaf500be0..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerUiBoolValueChangedEvent.cs +++ /dev/null @@ -1,48 +0,0 @@ -#if !PLAYMAKER_NO_UI - -using UnityEngine.UI; -using UnityEngine; - -namespace HutongGames.PlayMaker -{ - [AddComponentMenu("PlayMaker/UI/UI Bool Value Changed Event")] - public class PlayMakerUiBoolValueChangedEvent : PlayMakerUiEventBase - { - public Toggle toggle; - - protected override void Initialize() - { - if (initialized) return; - initialized = true; - - if (toggle == null) - { - toggle = GetComponent(); - } - - if (toggle != null) - { - toggle.onValueChanged.AddListener(OnValueChanged); - } - } - - protected void OnDisable() - { - initialized = false; - - if (toggle != null) - { - toggle.onValueChanged.RemoveListener(OnValueChanged); - } - } - - private void OnValueChanged(bool value) - { - Fsm.EventData.BoolData = value; - SendEvent(FsmEvent.UiBoolValueChanged); - } - - } -} - -#endif \ No newline at end of file diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerUiBoolValueChangedEvent.cs.meta b/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerUiBoolValueChangedEvent.cs.meta deleted file mode 100644 index 2816c29ae..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerUiBoolValueChangedEvent.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 339b0e3aca4e8614d898d0f0fb2c27af -timeCreated: 1521171978 -licenseType: Pro -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerUiClickEvent.cs b/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerUiClickEvent.cs deleted file mode 100644 index 60cbe4ee4..000000000 --- a/Assets/ThirdParty/PlayMaker/Actions/UI/Components/PlayMakerUiClickEvent.cs +++ /dev/null @@ -1,47 +0,0 @@ -#if !PLAYMAKER_NO_UI - -using UnityEngine.UI; -using UnityEngine; - -namespace HutongGames.PlayMaker -{ - [AddComponentMenu("PlayMaker/UI/UI Click Event")] - public class PlayMakerUiClickEvent : PlayMakerUiEventBase - { - public Button button; - - protected override void Initialize() - { - if (initialized) return; - initialized = true; - - if (button == null) - { - button = GetComponent