add some extra assets FX and SFX
This commit is contained in:
@@ -7,7 +7,9 @@ using UnityEditor;
|
||||
[CustomEditor (typeof(weaponAttachmentSystem))]
|
||||
public class weaponAttachmentSystemEditor : Editor
|
||||
{
|
||||
SerializedProperty useOffsetPanels;
|
||||
SerializedProperty editAttachmentsEnabled;
|
||||
|
||||
SerializedProperty useOffsetPanels;
|
||||
SerializedProperty canChangeAttachmentWithNumberKeys;
|
||||
SerializedProperty thirdPersonCameraMovementSpeed;
|
||||
SerializedProperty canEditWeaponWithoutAttchments;
|
||||
@@ -52,7 +54,9 @@ public class weaponAttachmentSystemEditor : Editor
|
||||
|
||||
void OnEnable ()
|
||||
{
|
||||
useOffsetPanels = serializedObject.FindProperty ("useOffsetPanels");
|
||||
editAttachmentsEnabled = serializedObject.FindProperty ("editAttachmentsEnabled");
|
||||
|
||||
useOffsetPanels = serializedObject.FindProperty ("useOffsetPanels");
|
||||
canChangeAttachmentWithNumberKeys = serializedObject.FindProperty ("canChangeAttachmentWithNumberKeys");
|
||||
thirdPersonCameraMovementSpeed = serializedObject.FindProperty ("thirdPersonCameraMovementSpeed");
|
||||
canEditWeaponWithoutAttchments = serializedObject.FindProperty ("canEditWeaponWithoutAttchments");
|
||||
@@ -102,19 +106,29 @@ public class weaponAttachmentSystemEditor : Editor
|
||||
buttonStyle.fontSize = 12;
|
||||
|
||||
GUILayout.BeginVertical ("Main Settings", "window");
|
||||
EditorGUILayout.PropertyField (useOffsetPanels);
|
||||
EditorGUILayout.PropertyField (canChangeAttachmentWithNumberKeys);
|
||||
EditorGUILayout.PropertyField (editAttachmentsEnabled);
|
||||
EditorGUILayout.PropertyField (canEditWeaponWithoutAttchments);
|
||||
EditorGUILayout.PropertyField (canChangeAttachmentWithNumberKeys);
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
EditorGUILayout.PropertyField (useOffsetPanels);
|
||||
|
||||
EditorGUILayout.PropertyField (thirdPersonCameraMovementSpeed);
|
||||
EditorGUILayout.PropertyField (canEditWeaponWithoutAttchments);
|
||||
|
||||
EditorGUILayout.PropertyField (setPickedAttachments);
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
EditorGUILayout.PropertyField (useSmoothTransitionFreeCamera);
|
||||
EditorGUILayout.PropertyField (useSmoothTransitionLockedCamera);
|
||||
|
||||
|
||||
GUILayout.EndVertical ();
|
||||
|
||||
EditorGUILayout.Space ();
|
||||
|
||||
GUILayout.BeginVertical ("UI Settings", "window");
|
||||
|
||||
EditorGUILayout.PropertyField (UILinesScaleMultiplier);
|
||||
EditorGUILayout.PropertyField (dualWeaponOffsetScale);
|
||||
EditorGUILayout.PropertyField (disableHUDWhenEditingAttachments);
|
||||
|
||||
Reference in New Issue
Block a user