This commit is contained in:
2026-05-30 09:16:35 +07:00
parent 2f87ce19a7
commit 1c0ee6efb7
4001 changed files with 3363438 additions and 1738 deletions

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: df007b377a2cd274bbfba12dd4f131b2
folderAsset: yes
timeCreated: 1445804257
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,178 @@
%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: 7592ac57a97621844bb7d05b6822c040, type: 3}
m_Name: vBasicLocomotiont@CameraState
m_EditorClassIdentifier:
Name:
tpCameraStates:
- Name: Default
forward: -1
right: 0
defaultDistance: 2.5
maxDistance: 80
minDistance: 0.6
height: 1.25
smooth: 10
smoothDamp: 2
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -75
yMaxLimit: 75
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0.84, y: 0.99, z: 0}
cullingHeight: 1.8
cullingMinDist: 0.01
fov: 60
useZoom: 0
fixedAngle: {x: 360, y: 78}
lookPoints:
- pointName: point_01
positionPoint: {x: 0, y: 1, z: -10}
eulerAngle: {x: -0, y: 0, z: 0}
freeRotation: 0
cameraMode: 0
- Name: Sprinting
forward: -1
right: 0
defaultDistance: 2.5
maxDistance: 80
minDistance: 0.6
height: 1.25
smooth: 10
smoothDamp: 2
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -75
yMaxLimit: 75
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0.84, y: 0.99, z: 0}
cullingHeight: 1.8
cullingMinDist: 0.01
fov: 70
useZoom: 0
fixedAngle: {x: 360, y: 78}
lookPoints:
- pointName: point_01
positionPoint: {x: 0, y: 1, z: -10}
eulerAngle: {x: -0, y: 0, z: 0}
freeRotation: 0
cameraMode: 0
- Name: Crouch
forward: -1
right: 0.15
defaultDistance: 2
maxDistance: 6.55
minDistance: 0.5
height: 1
smooth: 10
smoothDamp: 4
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 0.7
cullingMinDist: 0.1
fov: 60
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Strafing
forward: -1
right: 0
defaultDistance: 2.5
maxDistance: 1.5
minDistance: 0.25
height: 1.6
smooth: 10
smoothDamp: 4
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 5, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.1
fov: 50
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Pendulum
forward: -1
right: 0.28
defaultDistance: 12
maxDistance: 3
minDistance: 0.5
height: 1.8
smooth: 10
smoothDamp: 4
xMouseSensitivity: 0
yMouseSensitivity: 0
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1
cullingMinDist: 0.1
fov: 55
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints:
- pointName: point_01
positionPoint: {x: 26.55739, y: 11.5149355, z: -14.382481}
eulerAngle: {x: 18.395489, y: 3.074889, z: 0.00039735218}
freeRotation: 1
cameraMode: 2
- Name: Sliding
forward: -1
right: 0
defaultDistance: 1
maxDistance: 3
minDistance: 0.5
height: 0.5
smooth: 10
smoothDamp: 10
xMouseSensitivity: 1
yMouseSensitivity: 1
yMinLimit: -10
yMaxLimit: 20
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 0.2
cullingMinDist: 0.1
fov: 60
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints:
- pointName: point_01
positionPoint: {x: 26.55739, y: 11.5149355, z: -14.382481}
eulerAngle: {x: 18.395489, y: 3.0748892, z: 0.00039735215}
freeRotation: 0
- pointName: point_02
positionPoint: {x: 29.395, y: 0.709, z: 2.2409992}
eulerAngle: {x: 357.80994, y: 88.88348, z: 359.81253}
freeRotation: 0
- pointName: point_03
positionPoint: {x: 37.249695, y: 0.97621524, z: 2.2345524}
eulerAngle: {x: 2.0625482, y: 271.75256, z: -0.00016467154}
freeRotation: 0
cameraMode: 2

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dbf2c7a931be7ae4d960bc178dc4dda6
timeCreated: 1488647899
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,143 @@
%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: 7592ac57a97621844bb7d05b6822c040, type: 3}
m_Name: vFastShooter@CameraState
m_EditorClassIdentifier:
Name:
tpCameraStates:
- Name: Default
forward: -1
right: 0.25
defaultDistance: 2
maxDistance: 8
minDistance: 0.6
height: 1.5
smooth: 10
smoothDamp: 0
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -39.999996
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.01
fov: 60
useZoom: 0
fixedAngle: {x: 360, y: 78}
lookPoints:
- pointName: point_01
positionPoint: {x: 0, y: 1, z: -10}
eulerAngle: {x: -0, y: 0, z: 0}
freeRotation: 0
cameraMode: 0
- Name: Crouch
forward: -1
right: 0.4
defaultDistance: 1.5
maxDistance: 6.55
minDistance: 0.5
height: 1.3
smooth: 10
smoothDamp: 0
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 0.7
cullingMinDist: 0.1
fov: 40
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Strafing
forward: -1
right: 0.25
defaultDistance: 2
maxDistance: 1.5
minDistance: 0.25
height: 1.5
smooth: 10
smoothDamp: 0
xMouseSensitivity: 2.5
yMouseSensitivity: 2.5
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.1
fov: 60
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Aiming
forward: -1
right: 0.4
defaultDistance: 2
maxDistance: 3
minDistance: 0.5
height: 1.5
smooth: 10
smoothDamp: 1
xMouseSensitivity: 2
yMouseSensitivity: 2
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1
cullingMinDist: 0.1
fov: 60
useZoom: 0
fixedAngle: {x: 0, y: 15}
lookPoints:
- pointName: point_01
positionPoint: {x: 27.862371, y: 8.697912, z: -13.253475}
eulerAngle: {x: 1.2032634, y: 0.6535967, z: 0.0000026131736}
freeRotation: 1
cameraMode: 0
- Name: ScopeAiming
forward: -1
right: 0.4
defaultDistance: 2
maxDistance: 3
minDistance: 0.5
height: 1.5
smooth: 10
smoothDamp: 1
xMouseSensitivity: 0.2
yMouseSensitivity: 0.2
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1
cullingMinDist: 0.1
fov: 60
useZoom: 0
fixedAngle: {x: 0, y: 15}
lookPoints:
- pointName: point_01
positionPoint: {x: 27.862371, y: 8.697912, z: -13.253475}
eulerAngle: {x: 1.2032634, y: 0.6535967, z: 0.0000026131736}
freeRotation: 1
cameraMode: 0

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 08d781d2411aa4a41b60c84b60c87c98
timeCreated: 1486916120
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,116 @@
%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: 7592ac57a97621844bb7d05b6822c040, type: 3}
m_Name: vMeleeCombat@CameraState
m_EditorClassIdentifier:
Name:
tpCameraStates:
- Name: Default
forward: -1
right: 0
defaultDistance: 2.5
maxDistance: 8
minDistance: 0.6
height: 1.8
smooth: 10
smoothDamp: 4
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 8, y: 0, z: 0}
cullingHeight: 1.8
cullingMinDist: 0.01
fov: 60
useZoom: 0
fixedAngle: {x: 360, y: 78}
lookPoints:
- pointName: point_01
positionPoint: {x: 0, y: 1, z: -10}
eulerAngle: {x: -0, y: 0, z: 0}
freeRotation: 0
cameraMode: 0
- Name: Strafing
forward: -1
right: 0
defaultDistance: 2.5
maxDistance: 8
minDistance: 0.6
height: 1.8
smooth: 10
smoothDamp: 4
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: 0
yMaxLimit: 0
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 8, y: 0, z: 0}
cullingHeight: 1.8
cullingMinDist: 0.01
fov: 60
useZoom: 0
fixedAngle: {x: 360, y: 78}
lookPoints:
- pointName: point_01
positionPoint: {x: 0, y: 1, z: -10}
eulerAngle: {x: -0, y: 0, z: 0}
freeRotation: 0
cameraMode: 0
- Name: Crouch
forward: -1
right: 0.2
defaultDistance: 1.5
maxDistance: 6.55
minDistance: 0.5
height: 0.7
smooth: 10
smoothDamp: 4
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 0.7
cullingMinDist: 0.1
fov: 40
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: _
forward: -1
right: 0.82
defaultDistance: 1.35
maxDistance: 1.5
minDistance: 0.25
height: 1.6
smooth: 10
smoothDamp: 6
xMouseSensitivity: 1
yMouseSensitivity: 1
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.1
fov: 71.1
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 026ed2280610ee74194cd3af679c75a3
timeCreated: 1426901672
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,312 @@
%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: 7592ac57a97621844bb7d05b6822c040, type: 3}
m_Name: vShooterMelee@CameraState
m_EditorClassIdentifier:
Name:
tpCameraStates:
- Name: Default
forward: -1
right: 0.2
defaultDistance: 1.8
maxDistance: 12
minDistance: 0.6
height: 1.6
smooth: 10
smoothDamp: 6
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -70
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 8, y: 0, z: 0}
cullingHeight: 1.9
cullingMinDist: 0.01
fov: 60
useZoom: 0
fixedAngle: {x: 360, y: 78}
lookPoints:
- pointName: point_01
positionPoint: {x: 0, y: 1, z: -10}
eulerAngle: {x: -0, y: 0, z: 0}
freeRotation: 0
cameraMode: 0
- Name: ThrowStanding
forward: -1
right: 0.75
defaultDistance: 1
maxDistance: 12
minDistance: 0.6
height: 1.75
smooth: 10
smoothDamp: 1
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -70
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 8, y: 0, z: 0}
cullingHeight: 1.9
cullingMinDist: 0.01
fov: 60
useZoom: 0
fixedAngle: {x: 360, y: 78}
lookPoints:
- pointName: point_01
positionPoint: {x: 0, y: 1, z: -10}
eulerAngle: {x: -0, y: 0, z: 0}
freeRotation: 0
cameraMode: 0
- Name: ThrowCrouching
forward: -1
right: 0.4
defaultDistance: 1.5
maxDistance: 6.55
minDistance: 0.5
height: 0.8
smooth: 10
smoothDamp: 0
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.1
fov: 70
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Crouch
forward: -1
right: 0.4
defaultDistance: 1.5
maxDistance: 6.55
minDistance: 0.5
height: 0.8
smooth: 10
smoothDamp: 0
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.1
fov: 70
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Aiming
forward: -1
right: 0.34
defaultDistance: 1.23
maxDistance: 1.5
minDistance: 0.25
height: 1.6
smooth: 10
smoothDamp: 1
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -50
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.1
fov: 35
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: AimingScopeView
forward: 1
right: 0
defaultDistance: -0.2
maxDistance: 1.5
minDistance: 0.25
height: 0
smooth: 60
smoothDamp: 0
xMouseSensitivity: 2
yMouseSensitivity: 1
yMinLimit: -50
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.1
fov: 31
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Strafing
forward: -1
right: 0.15
defaultDistance: 2.8
maxDistance: 3
minDistance: 0.5
height: 1.61
smooth: 10
smoothDamp: 1
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -80
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 8, y: 0, z: 0}
cullingHeight: 1.9
cullingMinDist: 0.1
fov: 50
useZoom: 0
fixedAngle: {x: 0, y: 15}
lookPoints:
- pointName: point_01
positionPoint: {x: 27.862371, y: 8.697912, z: -13.253475}
eulerAngle: {x: 1.2032634, y: 0.6535967, z: 0.0000026131736}
freeRotation: 1
cameraMode: 0
- Name: LockOn
forward: -1
right: 0.4
defaultDistance: 1.3
maxDistance: 3
minDistance: 0.5
height: 1.9
smooth: 2
smoothDamp: 10
xMouseSensitivity: 2.5
yMouseSensitivity: 2.5
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 8, y: 0, z: 0}
cullingHeight: 1.9
cullingMinDist: 0.1
fov: 70
useZoom: 0
fixedAngle: {x: 0, y: 15}
lookPoints:
- pointName: point_01
positionPoint: {x: 27.862371, y: 8.697912, z: -13.253475}
eulerAngle: {x: 1.2032634, y: 0.6535967, z: 0.0000026131736}
freeRotation: 1
cameraMode: 0
- Name: Building
forward: -1
right: 0
defaultDistance: 2
maxDistance: 3
minDistance: 0.5
height: 1.5
smooth: 10
smoothDamp: 10
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 1
cullingMinDist: 0.1
fov: 70
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: CrouchingAiming
forward: -1
right: 0.5
defaultDistance: 1.5
maxDistance: 3
minDistance: 0.5
height: 1.2
smooth: 10
smoothDamp: 0
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 0.2
cullingMinDist: 0.1
fov: 60
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Parachute
forward: -1
right: 0
defaultDistance: 3
maxDistance: 3
minDistance: 0.5
height: 1
smooth: 10
smoothDamp: 6
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -70
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 27.43, y: 0, z: 0}
cullingHeight: 1.9
cullingMinDist: 0.1
fov: 80
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Pendulum
forward: 60
right: 0
defaultDistance: 1.5
maxDistance: 3
minDistance: 0.5
height: 0
smooth: 10
smoothDamp: 0
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 0.2
cullingMinDist: 0.1
fov: 60
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints:
- pointName: point_01
positionPoint: {x: 243.86966, y: 8.007825, z: 164.1816}
eulerAngle: {x: 24.449335, y: 135.46579, z: 0.001277386}
freeRotation: 1
cameraMode: 2

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8616a8d80006bfb4d9069ea692c278da
timeCreated: 1486632713
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,139 @@
%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: 7592ac57a97621844bb7d05b6822c040, type: 3}
m_Name: vShooterOnly@CameraState
m_EditorClassIdentifier:
Name:
tpCameraStates:
- Name: Default
forward: -1
right: 0.25
defaultDistance: 2
maxDistance: 8
minDistance: 0.6
height: 1.5
smooth: 10
smoothDamp: 4
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -39.999996
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 8, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.01
fov: 60
useZoom: 0
fixedAngle: {x: 360, y: 78}
lookPoints:
- pointName: point_01
positionPoint: {x: 0, y: 1, z: -10}
eulerAngle: {x: -0, y: 0, z: 0}
freeRotation: 0
cameraMode: 0
- Name: Crouch
forward: -1
right: 0.4
defaultDistance: 1.5
maxDistance: 6.55
minDistance: 0.5
height: 1.2
smooth: 10
smoothDamp: 4
xMouseSensitivity: 3
yMouseSensitivity: 3
yMinLimit: -40
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 0, y: 0, z: 0}
cullingHeight: 0.7
cullingMinDist: 0.1
fov: 40
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Aiming
forward: -1
right: 0.3
defaultDistance: 1.5
maxDistance: 1.5
minDistance: 0.25
height: 1.7
smooth: 10
smoothDamp: 2
xMouseSensitivity: 1
yMouseSensitivity: 1
yMinLimit: -65
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 8, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.1
fov: 35
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: CrouchingAiming
forward: -1
right: 0.35
defaultDistance: 1.5
maxDistance: 1.5
minDistance: 0.25
height: 1.5
smooth: 10
smoothDamp: 2
xMouseSensitivity: 1
yMouseSensitivity: 1
yMinLimit: -65
yMaxLimit: 70
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 8, y: 0, z: 0}
cullingHeight: 1.5
cullingMinDist: 0.1
fov: 45
useZoom: 0
fixedAngle: {x: 0, y: 0}
lookPoints: []
cameraMode: 0
- Name: Strafing
forward: -1
right: 0.25
defaultDistance: 1.26
maxDistance: 3
minDistance: 0.5
height: 1.62
smooth: 10
smoothDamp: 1
xMouseSensitivity: 2.5
yMouseSensitivity: 2.5
yMinLimit: -40
yMaxLimit: 80
xMinLimit: -360
xMaxLimit: 360
rotationOffSet: {x: 8, y: 0, z: 0}
cullingHeight: 1
cullingMinDist: 0.1
fov: 60
useZoom: 0
fixedAngle: {x: 0, y: 15}
lookPoints:
- pointName: point_01
positionPoint: {x: 27.862371, y: 8.697912, z: -13.253475}
eulerAngle: {x: 1.2032634, y: 0.6535967, z: 0.0000026131736}
freeRotation: 1
cameraMode: 0

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: b89918146e5fddb47902bfe31aeccf5b
timeCreated: 1487963923
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 8e5acff308cfcc941979572a5e81604e
folderAsset: yes
timeCreated: 1438045246
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -0,0 +1,55 @@
fileFormatVersion: 2
guid: 4bf53de60edd82845b73148913d56195
timeCreated: 1438045226
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 0
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 64
textureSettings:
filterMode: -1
aniso: 1
mipBias: -1
wrapMode: 1
nPOTScale: 0
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: 2
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 22c6beaa7cee2fe47ad477eb20a4137c
folderAsset: yes
timeCreated: 1438045431
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,9 @@
fileFormatVersion: 2
guid: 304237a0b0ea3bb4caa2d325a310a642
folderAsset: yes
timeCreated: 1437782135
licenseType: Store
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,120 @@
using UnityEngine;
using UnityEditor;
using Invector.Utils;
namespace Invector.vCharacterController.vActions
{
// BASIC FEATURES
public partial class vMenuComponent
{
[MenuItem("GameObject/Invector/Utils/Create SimpleTrigger", false)]
static void AddSimpleTrigger()
{
var obj = new GameObject("SimpleTrigger", typeof(vSimpleTrigger));
SceneView view = SceneView.lastActiveSceneView;
if (SceneView.lastActiveSceneView == null)
throw new UnityException("The Scene View can't be access");
Vector3 spawnPos = view.camera.ViewportToWorldPoint(new Vector3(0.5f, 0.5f, 5f));
if (Selection.activeGameObject)
{
obj.transform.parent = Selection.activeGameObject.transform;
spawnPos = Selection.activeGameObject.transform.position;
}
obj.transform.position = spawnPos;
obj.layer = LayerMask.NameToLayer("Triggers");
Selection.activeGameObject = obj.gameObject;
}
[MenuItem("GameObject/Invector/Utils/Create SimpleTrigger With Input", false)]
static void AddSimpleTriggerWithInput()
{
var obj = new GameObject("SimpleTrigger WithInput", typeof(vSimpleTriggerWithInput));
SceneView view = SceneView.lastActiveSceneView;
if (SceneView.lastActiveSceneView == null)
throw new UnityException("The Scene View can't be access");
Vector3 spawnPos = view.camera.ViewportToWorldPoint(new Vector3(0.5f, 0.5f, 5f));
if (Selection.activeGameObject)
{
obj.transform.parent = Selection.activeGameObject.transform;
spawnPos = Selection.activeGameObject.transform.position;
}
obj.transform.position = spawnPos;
obj.layer = LayerMask.NameToLayer("Triggers");
Selection.activeGameObject = obj.gameObject;
}
[MenuItem("Invector/Basic Locomotion/Actions/Generic Action")]
static void GenericActionMenu()
{
if (Selection.activeGameObject)
Selection.activeGameObject.AddComponent<vGenericAction>();
else
Debug.Log("Please select the Player to add this component.");
}
[MenuItem("Invector/Basic Locomotion/Components/Generic Animation")]
static void GenericAnimationMenu()
{
if (Selection.activeGameObject)
Selection.activeGameObject.AddComponent<vGenericAnimation>();
else
Debug.Log("Please select the Player to add this component.");
}
[MenuItem("Invector/Basic Locomotion/Actions/Ladder Action")]
static void LadderActionMenu()
{
if (Selection.activeGameObject)
Selection.activeGameObject.AddComponent<vLadderAction>();
else
Debug.Log("Please select the Player to add this component.");
}
[MenuItem("Invector/Basic Locomotion/Components/HitDamageParticle")]
static void HitDamageMenu()
{
if (Selection.activeGameObject)
Selection.activeGameObject.AddComponent<vHitDamageParticle>();
else
Debug.Log("Please select a vCharacter to add the component.");
}
[MenuItem("Invector/Basic Locomotion/Components/HeadTrack")]
static void HeadTrackMenu()
{
if (Selection.activeGameObject)
Selection.activeGameObject.AddComponent<vHeadTrack>();
else
Debug.Log("Please select a vCharacter to add the component.");
}
[MenuItem("Invector/Basic Locomotion/Components/FootStep")]
static void FootStepMenu()
{
if (Selection.activeGameObject)
Selection.activeGameObject.AddComponent<vFootStep>();
else
Debug.Log("Please select a GameObject to add the component.");
}
[MenuItem("Invector/Basic Locomotion/Resources/New AudioSurface")]
static void NewAudioSurface()
{
vScriptableObjectUtility.CreateAsset<vAudioSurface>();
}
[MenuItem("Invector/Basic Locomotion/Resources/New Ragdoll Generic Template")]
static void RagdollGenericTemplate()
{
vScriptableObjectUtility.CreateAsset<vRagdollGenericTemplate>();
}
}
}

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 75dd66d2e3e1c8443a9fa70b7160ff91
timeCreated: 1495231846
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,250 @@
using Invector.vCamera;
using UnityEditor;
using UnityEngine;
using UnityEngine.EventSystems;
using UnityEngine.UI;
namespace Invector.vCharacterController
{
public class vCreateBasicCharacterEditor : EditorWindow
{
GUISkin skin;
public GameObject template;
public bool useGameController = true;
public GameObject charObj;
Animator charAnimator;
Vector2 rect = new Vector2(500, 590);
UnityEditor.Editor humanoidpreview;
Texture2D m_Logo;
/// <summary>
/// 3rdPersonController Menu
/// </summary>
[MenuItem("Invector/Basic Locomotion/Create Basic Controller", false, 0)]
public static void CreateNewCharacter()
{
GetWindow<vCreateBasicCharacterEditor>();
}
bool isHuman, isValidAvatar, charExist;
public virtual void OnEnable()
{
m_Logo = Resources.Load("icon_v2") as Texture2D;
if (Selection.activeObject)
{
charObj = Selection.activeGameObject;
}
if (charObj)
{
charAnimator = charObj.GetComponent<Animator>();
humanoidpreview = Editor.CreateEditor(charObj);
}
charExist = charAnimator != null;
isHuman = charExist ? charAnimator.isHuman : false;
isValidAvatar = charExist ? charAnimator.avatar.isValid : false;
}
public virtual void OnGUI()
{
if (!skin)
{
skin = Resources.Load("vSkin") as GUISkin;
}
GUI.skin = skin;
this.minSize = rect;
this.titleContent = new GUIContent("Character", null, "Third Person Character Creator");
GUILayout.BeginVertical("Character Creator Window", "window");
GUILayout.Label(m_Logo, GUILayout.MaxHeight(25));
GUILayout.Space(5);
GUILayout.BeginVertical("box");
if (!charObj)
{
EditorGUILayout.HelpBox("Make sure your FBX model is set as Humanoid!", MessageType.Info);
}
else if (!charExist)
{
EditorGUILayout.HelpBox("Missing a Animator Component", MessageType.Error);
}
else if (!isHuman)
{
EditorGUILayout.HelpBox("This is not a Humanoid", MessageType.Error);
}
else if (!isValidAvatar)
{
EditorGUILayout.HelpBox(charObj.name + " is a invalid Humanoid", MessageType.Info);
}
template = EditorGUILayout.ObjectField("Template", template, typeof(GameObject), true, GUILayout.ExpandWidth(true)) as GameObject;
charObj = EditorGUILayout.ObjectField("FBX Model", charObj, typeof(GameObject), true, GUILayout.ExpandWidth(true)) as GameObject;
EditorGUILayout.Space();
EditorGUILayout.LabelField("--- Optional---");
useGameController = EditorGUILayout.Toggle("Add GameController", useGameController);
if (GUI.changed && charObj != null && charObj.GetComponent<vThirdPersonController>() == null)
{
humanoidpreview = Editor.CreateEditor(charObj);
}
if (charObj != null && charObj.GetComponent<vThirdPersonController>() != null)
{
EditorGUILayout.HelpBox("This gameObject already contains the component vThirdPersonController", MessageType.Warning);
}
GUILayout.EndVertical();
//GUILayout.BeginHorizontal("box");
//EditorGUILayout.LabelField("Need to know how it works?");
//if (GUILayout.Button("Video Tutorial"))
//{
// Application.OpenURL("https://www.youtube.com/watch?v=KQ5xha36tfE&index=1&list=PLvgXGzhT_qehtuCYl2oyL-LrWoT7fhg9d");
//}
//GUILayout.EndHorizontal();
if (charObj)
{
charAnimator = charObj.GetComponent<Animator>();
}
charExist = charAnimator != null;
isHuman = charExist ? charAnimator.isHuman : false;
isValidAvatar = charExist ? charAnimator.avatar.isValid : false;
if (CanCreate())
{
DrawHumanoidPreview();
GUILayout.BeginHorizontal();
GUILayout.FlexibleSpace();
if (GUILayout.Button("Create"))
{
Create();
}
GUILayout.FlexibleSpace();
GUILayout.EndHorizontal();
}
GUILayout.EndVertical();
}
public virtual bool CanCreate()
{
return isValidAvatar && isHuman && charObj != null && charObj.GetComponent<vThirdPersonController>() == null;
}
/// <summary>
/// Draw the Preview window
/// </summary>
public virtual void DrawHumanoidPreview()
{
GUILayout.FlexibleSpace();
if (humanoidpreview != null)
{
humanoidpreview.OnInteractivePreviewGUI(GUILayoutUtility.GetRect(100, 400), "window");
}
}
private GameObject InstantiateNewCharacter(GameObject selected)
{
if (selected == null)
{
return selected;
}
if (selected.scene.IsValid())
{
return selected;
}
return PrefabUtility.InstantiatePrefab(selected) as GameObject;
}
/// <summary>
/// Created the Third Person Controller
/// </summary>
public virtual void Create()
{
// base for the character
GameObject newCharacter = InstantiateNewCharacter(charObj);
if (!newCharacter)
{
return;
}
GameObject _template = Instantiate(template, newCharacter.transform.position, newCharacter.transform.rotation);
Transform modelParent = _template.transform.Find("3D Model");
if (modelParent == null)
{
modelParent = new GameObject("3D Model").transform;
modelParent.parent = _template.transform;
}
newCharacter.transform.parent = modelParent;
newCharacter.transform.localPosition = Vector3.zero;
newCharacter.transform.localEulerAngles = Vector3.zero;
_template.name = "vBasicController_" + charObj.gameObject.name;
Animator animatorController = newCharacter.GetComponent<Animator>();
Animator animatorTemplate = _template.GetComponent<Animator>();
animatorTemplate.avatar = animatorController.avatar;
animatorTemplate.Rebind();
DestroyImmediate(animatorController);
newCharacter.tag = "Player";
var p_layer = LayerMask.NameToLayer("Player");
newCharacter.layer = p_layer;
foreach (Transform t in newCharacter.transform.GetComponentsInChildren<Transform>())
{
t.gameObject.layer = p_layer;
}
Selection.activeGameObject = _template;
// search for a MainCamera and attach to the tpCamera
var mainCamera = Camera.main;
var tpCamera = _template.GetComponentInChildren<vThirdPersonCamera>();
if (mainCamera == null)
{
mainCamera = new GameObject("MainCamera", typeof(Camera), typeof(AudioListener)).GetComponent<Camera>();
mainCamera.tag = "MainCamera";
}
if (mainCamera.transform.parent != tpCamera.transform)
{
mainCamera.transform.parent = tpCamera.transform;
mainCamera.transform.localPosition = Vector3.zero;
mainCamera.transform.localEulerAngles = Vector3.zero;
}
// add the gameController example
if (useGameController)
{
GameObject gC = null;
var gameController = FindObjectOfType<vGameController>();
if (gameController == null)
{
gC = new GameObject("vGameController_Example");
gC.AddComponent<vGameController>();
}
}
UnityEditor.SceneView.lastActiveSceneView.FrameSelected();
this.Close();
}
}
}

View File

@@ -0,0 +1,15 @@
fileFormatVersion: 2
guid: 0be34c7083a012248a83e5a948676d12
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences:
- m_PersistentViewDataDictionary: {instanceID: 0}
- template: {fileID: 4877562643351836832, guid: ada54f2848144624d9c179056240d24f,
type: 3}
- charObj: {fileID: 199726, guid: 5563b2c1cf35cae4f8490dfea2d2aa41, type: 3}
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,121 @@
using UnityEditor;
using UnityEngine;
namespace Invector
{
class vHelperEditor : EditorWindow
{
//GUISkin skin;
//private Texture2D m_Logo = null;
//Vector2 rect = new Vector2(380, 500);
//void OnEnable()
//{
// m_Logo = (Texture2D)Resources.Load("logo", typeof(Texture2D));
//}
[MenuItem("Invector/Import ProjectSettings")]
public static void ImportProjectSettings()
{
AssetDatabase.ImportPackage("Assets/Invector-3rdPersonController/Basic Locomotion/Editor/Resources/vProjectSettings.unitypackage", true);
}
//[MenuItem("Invector/Help/Check for Updates")]
//public static void About()
//{
// GetWindow(typeof(vHelperEditor));
//}
[MenuItem("Invector/Help/Forum")]
public static void Forum()
{
Application.OpenURL("http://invector.proboards.com/");
}
[MenuItem("Invector/Help/FAQ")]
public static void FAQMenu()
{
Application.OpenURL("http://inv3ctor.wix.com/invector#!faq/cnni7");
}
[MenuItem("Invector/Help/API")]
public static void APIMenu()
{
Application.OpenURL("http://www.invector.xyz/vapi");
}
[MenuItem("Invector/Help/Release Notes")]
public static void ReleaseNotes()
{
Application.OpenURL("http://inv3ctor.wix.com/invector#!release-notes/eax8d");
}
[MenuItem("Invector/Help/Youtube Tutorials")]
public static void Youtube()
{
Application.OpenURL("https://www.youtube.com/playlist?list=PLvgXGzhT_qehYG_Kzl5P6DuIpHynZP9Ju");
}
[MenuItem("Invector/Help/Online Documentation")]
public static void Documentation()
{
Application.OpenURL("http://www.invector.xyz/thirdpersondocumentation");
}
//void OnGUI()
//{
// this.titleContent = new GUIContent("About");
// this.minSize = rect;
// GUILayout.Label(m_Logo, GUILayout.MaxHeight(240));
// if (!skin) skin = Resources.Load("vSkin") as GUISkin;
// GUI.skin = skin;
// GUILayout.BeginVertical("window");
// GUILayout.BeginHorizontal("box");
// GUILayout.FlexibleSpace();
// GUILayout.Label("Basic Locomotion Version: 2.4.2", EditorStyles.boldLabel);
// GUILayout.FlexibleSpace();
// if (GUILayout.Button("Check for Update"))
// {
// UnityEditorInternal.AssetStore.Open("/content/59332");
// this.Close();
// }
// GUILayout.EndHorizontal();
// GUILayout.BeginHorizontal("box");
// GUILayout.FlexibleSpace();
// GUILayout.Label("Melee Combat Version: 2.4.2", EditorStyles.boldLabel);
// GUILayout.FlexibleSpace();
// if (GUILayout.Button("Check for Update"))
// {
// UnityEditorInternal.AssetStore.Open("/content/44227");
// this.Close();
// }
// GUILayout.EndHorizontal();
// GUILayout.BeginHorizontal("box");
// GUILayout.FlexibleSpace();
// GUILayout.Label("Shooter Version: 1.3.2", EditorStyles.boldLabel);
// GUILayout.FlexibleSpace();
// if (GUILayout.Button("Check for Update"))
// {
// UnityEditorInternal.AssetStore.Open("/content/84583");
// this.Close();
// }
// GUILayout.EndHorizontal();
// EditorGUILayout.Space();
// EditorGUILayout.HelpBox("UPDATE INSTRUCTIONS: \n\n *ALWAYS BACKUP YOUR PROJECT BEFORE UPDATE!* \n\n Delete the Invector's Folder from the Project before import the new version", MessageType.Info);
// GUILayout.EndVertical();
// EditorGUILayout.Space();
// EditorGUILayout.Space();
//}
}
}

View File

@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 07e2f10ae6225e54eaea15db1567ff5f
timeCreated: 1456153208
licenseType: Store
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: