diff --git a/Samples/Demo/Scripts/Editor.meta b/Samples/Demo/Scripts/Editor.meta deleted file mode 100644 index 841c185..0000000 --- a/Samples/Demo/Scripts/Editor.meta +++ /dev/null @@ -1,9 +0,0 @@ -fileFormatVersion: 2 -guid: 6b230774f3cce134b96a54b6c30e0dd3 -folderAsset: yes -timeCreated: 1571152233 -licenseType: Free -DefaultImporter: - userData: - assetBundleName: - assetBundleVariant: diff --git a/Samples/Demo/Scripts/Editor/PlayerSelector_Editor.cs b/Samples/Demo/Scripts/Editor/PlayerSelector_Editor.cs deleted file mode 100644 index a60ad7f..0000000 --- a/Samples/Demo/Scripts/Editor/PlayerSelector_Editor.cs +++ /dev/null @@ -1,41 +0,0 @@ -/* -using UnityEngine; -using UnityEditor; - -namespace Passer { - using Pawn; - - [CustomEditor(typeof(PlayerSelector))] - public class PlayerSelector_Editor : Editor { - - // Needs to be converted to [InitializeOnLoad] of zoiets - private void OnEnable() { - PlayerSelector playerSelector = (PlayerSelector)target; - PawnControl pawnControl = playerSelector.GetComponentInChildren(); - if (pawnControl != null) - return; - - GameObject pawnPrefab; - if (playerSelector.playerType == PlayerSelector.PlayerType.Humanoid) { - pawnPrefab = AssetDatabase.LoadAssetAtPath("Assets/Humanoid/Prefabs/Humanoid.prefab"); - if (pawnPrefab == null) { - Debug.LogError("Humanoid prefab is not found in Assets/Humanoid/Prefabs"); - return; - } - } else - { - pawnPrefab = AssetDatabase.LoadAssetAtPath("Assets/PawnControl/Prefabs/Pawn.prefab"); - if (pawnPrefab == null) { - Debug.LogError("Pawn prefab is not found in Assets/PawnControl/Prefabs"); - return; - } - } - - GameObject pawn = Instantiate(pawnPrefab); - pawn.transform.SetParent(playerSelector.transform); - } - - } - -} -*/ \ No newline at end of file diff --git a/Samples/Demo/Scripts/Editor/PlayerSelector_Editor.cs.meta b/Samples/Demo/Scripts/Editor/PlayerSelector_Editor.cs.meta deleted file mode 100644 index 0adb7c5..0000000 --- a/Samples/Demo/Scripts/Editor/PlayerSelector_Editor.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: a04e2abb673740e4091ff562d6278e30 -timeCreated: 1571152249 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Samples/Demo/Scripts/PlayerSelector.cs b/Samples/Demo/Scripts/PlayerSelector.cs deleted file mode 100644 index 66c9f1f..0000000 --- a/Samples/Demo/Scripts/PlayerSelector.cs +++ /dev/null @@ -1,20 +0,0 @@ -/* -using System.Collections; -using System.Collections.Generic; -using UnityEngine; - -namespace Passer { - - public class PlayerSelector : MonoBehaviour { -#if pHUMANOID - public enum PlayerType { - Pawn, - Humanoid - } - public PlayerType playerType; -#endif - - } - -} -*/ \ No newline at end of file diff --git a/Samples/Demo/Scripts/PlayerSelector.cs.meta b/Samples/Demo/Scripts/PlayerSelector.cs.meta deleted file mode 100644 index 5b48bf7..0000000 --- a/Samples/Demo/Scripts/PlayerSelector.cs.meta +++ /dev/null @@ -1,12 +0,0 @@ -fileFormatVersion: 2 -guid: 2fd30796adc441b4e9c9fcbbaf719b13 -timeCreated: 1571152224 -licenseType: Free -MonoImporter: - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: