Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
man-in-the-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MIM
man-in-the-mirror
Commits
2c454b78
Commit
2c454b78
authored
Jun 09, 2019
by
18신대성
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
총알 모델 추가
parent
65960185
Changes
18
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
532 additions
and
87 deletions
+532
-87
BodyColor.mat
Assets/Models/Materials/BodyColor.mat
+77
-0
BodyColor.mat.meta
Assets/Models/Materials/BodyColor.mat.meta
+3
-3
PointColorBlack.mat
Assets/Models/Materials/PointColorBlack.mat
+77
-0
PointColorBlack.mat.meta
Assets/Models/Materials/PointColorBlack.mat.meta
+8
-0
PointColorRed.mat
Assets/Models/Materials/PointColorRed.mat
+77
-0
PointColorRed.mat.meta
Assets/Models/Materials/PointColorRed.mat.meta
+8
-0
PointColorYellow.mat
Assets/Models/Materials/PointColorYellow.mat
+77
-0
PointColorYellow.mat.meta
Assets/Models/Materials/PointColorYellow.mat.meta
+8
-0
bullet.fbx
Assets/Models/bullet.fbx
+0
-0
bullet.fbx.meta
Assets/Models/bullet.fbx.meta
+105
-0
FakeBullet.prefab
Assets/Prefabs/Bullets/FakeBullet.prefab
+27
-25
MirrorBullet.prefab
Assets/Prefabs/Bullets/MirrorBullet.prefab
+27
-25
TruthBullet.prefab
Assets/Prefabs/Bullets/TruthBullet.prefab
+27
-25
TruthBullet.prefab.meta
Assets/Prefabs/Bullets/TruthBullet.prefab.meta
+1
-1
MapManager.prefab
Assets/Prefabs/MapManager.prefab
+1
-1
SampleScene.unity
Assets/Scenes/SampleScene.unity
+6
-6
Player.cs
Assets/Scripts/Player.cs
+2
-1
PlayerController.cs
Assets/Scripts/PlayerController.cs
+1
-0
No files found.
Assets/Models/Materials/BodyColor.mat
0 → 100644
View file @
2c454b78
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!21
&2100000
Material
:
serializedVersion
:
6
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
BodyColor
m_Shader
:
{
fileID
:
46
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
m_ShaderKeywords
:
m_LightmapFlags
:
4
m_EnableInstancingVariants
:
0
m_DoubleSidedGI
:
0
m_CustomRenderQueue
:
-1
stringTagMap
:
{}
disabledShaderPasses
:
[]
m_SavedProperties
:
serializedVersion
:
3
m_TexEnvs
:
-
_BumpMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailAlbedoMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailMask
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailNormalMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_EmissionMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_MainTex
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_MetallicGlossMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_OcclusionMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_ParallaxMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
m_Floats
:
-
_BumpScale
:
1
-
_Cutoff
:
0.5
-
_DetailNormalMapScale
:
1
-
_DstBlend
:
0
-
_GlossMapScale
:
1
-
_Glossiness
:
0
-
_GlossyReflections
:
1
-
_Metallic
:
0
-
_Mode
:
0
-
_OcclusionStrength
:
1
-
_Parallax
:
0.02
-
_SmoothnessTextureChannel
:
0
-
_SpecularHighlights
:
1
-
_SrcBlend
:
1
-
_UVSec
:
0
-
_ZWrite
:
1
m_Colors
:
-
_Color
:
{
r
:
0.7075472
,
g
:
0.58753115
,
b
:
0.19023673
,
a
:
1
}
-
_EmissionColor
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
0
}
Assets/
Scenes/ModelScene
.meta
→
Assets/
Models/Materials/BodyColor.mat
.meta
View file @
2c454b78
fileFormatVersion: 2
guid: ae6df86ab9243f74f8c5e9aab2cbca92
folderAsset: yes
DefaultImporter:
guid: ada467b83f9d5f84aacb3f4c70cb7409
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Models/Materials/PointColorBlack.mat
0 → 100644
View file @
2c454b78
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!21
&2100000
Material
:
serializedVersion
:
6
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
PointColorBlack
m_Shader
:
{
fileID
:
46
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
m_ShaderKeywords
:
m_LightmapFlags
:
4
m_EnableInstancingVariants
:
0
m_DoubleSidedGI
:
0
m_CustomRenderQueue
:
-1
stringTagMap
:
{}
disabledShaderPasses
:
[]
m_SavedProperties
:
serializedVersion
:
3
m_TexEnvs
:
-
_BumpMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailAlbedoMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailMask
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailNormalMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_EmissionMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_MainTex
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_MetallicGlossMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_OcclusionMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_ParallaxMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
m_Floats
:
-
_BumpScale
:
1
-
_Cutoff
:
0.5
-
_DetailNormalMapScale
:
1
-
_DstBlend
:
0
-
_GlossMapScale
:
1
-
_Glossiness
:
0.5
-
_GlossyReflections
:
1
-
_Metallic
:
0
-
_Mode
:
0
-
_OcclusionStrength
:
1
-
_Parallax
:
0.02
-
_SmoothnessTextureChannel
:
0
-
_SpecularHighlights
:
1
-
_SrcBlend
:
1
-
_UVSec
:
0
-
_ZWrite
:
1
m_Colors
:
-
_Color
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
1
}
-
_EmissionColor
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
1
}
Assets/Models/Materials/PointColorBlack.mat.meta
0 → 100644
View file @
2c454b78
fileFormatVersion: 2
guid: d147e7872f8e2224cbe5cbac5c073bd5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Models/Materials/PointColorRed.mat
0 → 100644
View file @
2c454b78
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!21
&2100000
Material
:
serializedVersion
:
6
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
PointColorRed
m_Shader
:
{
fileID
:
46
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
m_ShaderKeywords
:
m_LightmapFlags
:
4
m_EnableInstancingVariants
:
0
m_DoubleSidedGI
:
0
m_CustomRenderQueue
:
-1
stringTagMap
:
{}
disabledShaderPasses
:
[]
m_SavedProperties
:
serializedVersion
:
3
m_TexEnvs
:
-
_BumpMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailAlbedoMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailMask
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailNormalMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_EmissionMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_MainTex
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_MetallicGlossMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_OcclusionMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_ParallaxMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
m_Floats
:
-
_BumpScale
:
1
-
_Cutoff
:
0.5
-
_DetailNormalMapScale
:
1
-
_DstBlend
:
0
-
_GlossMapScale
:
1
-
_Glossiness
:
0
-
_GlossyReflections
:
1
-
_Metallic
:
0
-
_Mode
:
0
-
_OcclusionStrength
:
1
-
_Parallax
:
0.02
-
_SmoothnessTextureChannel
:
0
-
_SpecularHighlights
:
1
-
_SrcBlend
:
1
-
_UVSec
:
0
-
_ZWrite
:
1
m_Colors
:
-
_Color
:
{
r
:
0.8000001
,
g
:
0.0015153053
,
b
:
0
,
a
:
1
}
-
_EmissionColor
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
0
}
Assets/Models/Materials/PointColorRed.mat.meta
0 → 100644
View file @
2c454b78
fileFormatVersion: 2
guid: b470c7f8f54173d45a54461670eb1abc
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Models/Materials/PointColorYellow.mat
0 → 100644
View file @
2c454b78
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!21
&2100000
Material
:
serializedVersion
:
6
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
PointColorYellow
m_Shader
:
{
fileID
:
46
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
m_ShaderKeywords
:
m_LightmapFlags
:
4
m_EnableInstancingVariants
:
0
m_DoubleSidedGI
:
0
m_CustomRenderQueue
:
-1
stringTagMap
:
{}
disabledShaderPasses
:
[]
m_SavedProperties
:
serializedVersion
:
3
m_TexEnvs
:
-
_BumpMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailAlbedoMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailMask
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_DetailNormalMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_EmissionMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_MainTex
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_MetallicGlossMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_OcclusionMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
-
_ParallaxMap
:
m_Texture
:
{
fileID
:
0
}
m_Scale
:
{
x
:
1
,
y
:
1
}
m_Offset
:
{
x
:
0
,
y
:
0
}
m_Floats
:
-
_BumpScale
:
1
-
_Cutoff
:
0.5
-
_DetailNormalMapScale
:
1
-
_DstBlend
:
0
-
_GlossMapScale
:
1
-
_Glossiness
:
0.5
-
_GlossyReflections
:
1
-
_Metallic
:
0
-
_Mode
:
0
-
_OcclusionStrength
:
1
-
_Parallax
:
0.02
-
_SmoothnessTextureChannel
:
0
-
_SpecularHighlights
:
1
-
_SrcBlend
:
1
-
_UVSec
:
0
-
_ZWrite
:
1
m_Colors
:
-
_Color
:
{
r
:
1
,
g
:
0.9622972
,
b
:
0
,
a
:
1
}
-
_EmissionColor
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
1
}
Assets/Models/Materials/PointColorYellow.mat.meta
0 → 100644
View file @
2c454b78
fileFormatVersion: 2
guid: 27bba424cd653c047a5d5f6dbd1a0da5
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Models/bullet.fbx
0 → 100644
View file @
2c454b78
File added
Assets/Models/bullet.fbx.meta
0 → 100644
View file @
2c454b78
fileFormatVersion: 2
guid: 06ecde1ed47ede64c8146debbe3bf5c2
ModelImporter:
serializedVersion: 26
internalIDToNameTable: []
externalObjects:
- first:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
name: BodyColor
second: {fileID: 2100000, guid: ada467b83f9d5f84aacb3f4c70cb7409, type: 2}
- first:
type: UnityEngine:Material
assembly: UnityEngine.CoreModule
name: PointColor
second: {fileID: 2100000, guid: b470c7f8f54173d45a54461670eb1abc, type: 2}
materials:
importMaterials: 1
materialName: 0
materialSearch: 1
materialLocation: 0
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 0.1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
useFileScale: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 0
copyAvatar: 0
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 0.1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
animationType: 0
humanoidOversampling: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:
Assets/Prefabs/Bullets/FakeBullet.prefab
View file @
2c454b78
...
...
@@ -11,9 +11,9 @@ GameObject:
-
component
:
{
fileID
:
7519624937230925641
}
-
component
:
{
fileID
:
3999432861562175717
}
-
component
:
{
fileID
:
4947938599857946864
}
-
component
:
{
fileID
:
6617214658486065904
}
-
component
:
{
fileID
:
3304980749204935003
}
-
component
:
{
fileID
:
4161250197469750740
}
-
component
:
{
fileID
:
3304980749204935003
}
-
component
:
{
fileID
:
3162875621187340848
}
-
component
:
{
fileID
:
4161250197469750741
}
m_Layer
:
0
m_Name
:
FakeBullet
...
...
@@ -30,8 +30,8 @@ Transform:
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
5866539243986221368
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
-
0.3183
,
y
:
0.24
,
z
:
-1.49
}
m_LocalScale
:
{
x
:
0.1
,
y
:
0.1
,
z
:
0.
1
}
m_LocalPosition
:
{
x
:
-
6.1274824
,
y
:
-2.7903886
,
z
:
6.305213
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
[]
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
0
...
...
@@ -43,7 +43,7 @@ MeshFilter:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
5866539243986221368
}
m_Mesh
:
{
fileID
:
10207
,
guid
:
0000000000000000e000000000000000
,
type
:
0
}
m_Mesh
:
{
fileID
:
2534964839176971238
,
guid
:
06ecde1ed47ede64c8146debbe3bf5c2
,
type
:
3
}
---
!u!23
&4947938599857946864
MeshRenderer
:
m_ObjectHideFlags
:
0
...
...
@@ -61,7 +61,8 @@ MeshRenderer:
m_RenderingLayerMask
:
1
m_RendererPriority
:
0
m_Materials
:
-
{
fileID
:
10303
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
-
{
fileID
:
2100000
,
guid
:
ada467b83f9d5f84aacb3f4c70cb7409
,
type
:
2
}
-
{
fileID
:
2100000
,
guid
:
b470c7f8f54173d45a54461670eb1abc
,
type
:
2
}
m_StaticBatchInfo
:
firstSubMesh
:
0
subMeshCount
:
0
...
...
@@ -73,7 +74,7 @@ MeshRenderer:
m_PreserveUVs
:
0
m_IgnoreNormalsForChartDetection
:
0
m_ImportantGI
:
0
m_StitchLightmapSeams
:
0
m_StitchLightmapSeams
:
1
m_SelectedEditorRenderState
:
3
m_MinimumChartSize
:
4
m_AutoUVMaxDistance
:
0.5
...
...
@@ -82,19 +83,22 @@ MeshRenderer:
m_SortingLayerID
:
0
m_SortingLayer
:
0
m_SortingOrder
:
0
---
!u!
135
&6617214658486065904
SphereCollider
:
---
!u!
54
&4161250197469750740
Rigidbody
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
5866539243986221368
}
m_Material
:
{
fileID
:
0
}
m_IsTrigger
:
1
m_Enabled
:
1
serializedVersion
:
2
m_Radius
:
0.5
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Mass
:
1
m_Drag
:
0
m_AngularDrag
:
0.05
m_UseGravity
:
0
m_IsKinematic
:
0
m_Interpolate
:
0
m_Constraints
:
0
m_CollisionDetection
:
0
---
!u!96
&3304980749204935003
TrailRenderer
:
serializedVersion
:
2
...
...
@@ -200,22 +204,20 @@ TrailRenderer:
m_MinVertexDistance
:
0.1
m_Autodestruct
:
0
m_Emitting
:
1
---
!u!
54
&4161250197469750740
Rigidbody
:
---
!u!
136
&3162875621187340848
CapsuleCollider
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
5866539243986221368
}
serializedVersion
:
2
m_Mass
:
1
m_Drag
:
0
m_AngularDrag
:
0.05
m_UseGravity
:
0
m_IsKinematic
:
0
m_Interpolate
:
0
m_Constraints
:
0
m_CollisionDetection
:
0
m_Material
:
{
fileID
:
0
}
m_IsTrigger
:
1
m_Enabled
:
1
m_Radius
:
0.02
m_Height
:
0.1
m_Direction
:
2
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0.03
}
---
!u!114
&4161250197469750741
MonoBehaviour
:
m_ObjectHideFlags
:
0
...
...
Assets/Prefabs/Bullets/MirrorBullet.prefab
View file @
2c454b78
...
...
@@ -11,9 +11,9 @@ GameObject:
-
component
:
{
fileID
:
1538040028731480259
}
-
component
:
{
fileID
:
5369402038238996335
}
-
component
:
{
fileID
:
4155062941239240570
}
-
component
:
{
fileID
:
2798483488211189114
}
-
component
:
{
fileID
:
5827238114440197841
}
-
component
:
{
fileID
:
4953008830657790558
}
-
component
:
{
fileID
:
5827238114440197841
}
-
component
:
{
fileID
:
1135352145491507194
}
-
component
:
{
fileID
:
7453088000727901302
}
m_Layer
:
0
m_Name
:
MirrorBullet
...
...
@@ -30,8 +30,8 @@ Transform:
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
3200095709359611570
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
0.126
,
y
:
0.24
,
z
:
-1.399
}
m_LocalScale
:
{
x
:
0.1
,
y
:
0.1
,
z
:
0.
1
}
m_LocalPosition
:
{
x
:
-6.2333546
,
y
:
-3.3863885
,
z
:
5.8327904
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
[]
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
0
...
...
@@ -43,7 +43,7 @@ MeshFilter:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
3200095709359611570
}
m_Mesh
:
{
fileID
:
10207
,
guid
:
0000000000000000e000000000000000
,
type
:
0
}
m_Mesh
:
{
fileID
:
2534964839176971238
,
guid
:
06ecde1ed47ede64c8146debbe3bf5c2
,
type
:
3
}
---
!u!23
&4155062941239240570
MeshRenderer
:
m_ObjectHideFlags
:
0
...
...
@@ -61,7 +61,8 @@ MeshRenderer:
m_RenderingLayerMask
:
1
m_RendererPriority
:
0
m_Materials
:
-
{
fileID
:
10303
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
-
{
fileID
:
2100000
,
guid
:
ada467b83f9d5f84aacb3f4c70cb7409
,
type
:
2
}
-
{
fileID
:
2100000
,
guid
:
d147e7872f8e2224cbe5cbac5c073bd5
,
type
:
2
}
m_StaticBatchInfo
:
firstSubMesh
:
0
subMeshCount
:
0
...
...
@@ -73,7 +74,7 @@ MeshRenderer:
m_PreserveUVs
:
0
m_IgnoreNormalsForChartDetection
:
0
m_ImportantGI
:
0
m_StitchLightmapSeams
:
0
m_StitchLightmapSeams
:
1
m_SelectedEditorRenderState
:
3
m_MinimumChartSize
:
4
m_AutoUVMaxDistance
:
0.5
...
...
@@ -82,19 +83,22 @@ MeshRenderer:
m_SortingLayerID
:
0
m_SortingLayer
:
0
m_SortingOrder
:
0
---
!u!
135
&2798483488211189114
SphereCollider
:
---
!u!
54
&4953008830657790558
Rigidbody
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
3200095709359611570
}
m_Material
:
{
fileID
:
0
}
m_IsTrigger
:
1
m_Enabled
:
1
serializedVersion
:
2
m_Radius
:
0.5
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Mass
:
1
m_Drag
:
0
m_AngularDrag
:
0.05
m_UseGravity
:
0
m_IsKinematic
:
0
m_Interpolate
:
0
m_Constraints
:
0
m_CollisionDetection
:
0
---
!u!96
&5827238114440197841
TrailRenderer
:
serializedVersion
:
2
...
...
@@ -200,22 +204,20 @@ TrailRenderer:
m_MinVertexDistance
:
0.1
m_Autodestruct
:
0
m_Emitting
:
1
---
!u!
54
&4953008830657790558
Rigidbody
:
---
!u!
136
&1135352145491507194
CapsuleCollider
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
3200095709359611570
}
serializedVersion
:
2
m_Mass
:
1
m_Drag
:
0
m_AngularDrag
:
0.05
m_UseGravity
:
0
m_IsKinematic
:
0
m_Interpolate
:
0
m_Constraints
:
0
m_CollisionDetection
:
0
m_Material
:
{
fileID
:
0
}
m_IsTrigger
:
1
m_Enabled
:
1
m_Radius
:
0.02
m_Height
:
0.1
m_Direction
:
2
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0.03
}
---
!u!114
&7453088000727901302
MonoBehaviour
:
m_ObjectHideFlags
:
0
...
...
Assets/Prefabs/Bullets/TruthBullet.prefab
View file @
2c454b78
...
...
@@ -11,9 +11,9 @@ GameObject:
-
component
:
{
fileID
:
5901026180355857054
}
-
component
:
{
fileID
:
1026660180064298290
}
-
component
:
{
fileID
:
9013146449102202151
}
-
component
:
{
fileID
:
7091668226477965095
}
-
component
:
{
fileID
:
1468768842466997388
}
-
component
:
{
fileID
:
2621242702935536648
}
-
component
:
{
fileID
:
1468768842466997388
}
-
component
:
{
fileID
:
2012789303173402189
}
-
component
:
{
fileID
:
-7647737824225647995
}
m_Layer
:
0
m_Name
:
TruthBullet
...
...
@@ -30,8 +30,8 @@ Transform:
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
7554112578236620015
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
-0.3183
,
y
:
0.24
,
z
:
-1.48
}
m_LocalScale
:
{
x
:
0.1
,
y
:
0.1
,
z
:
0.
1
}
m_LocalPosition
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
[]
m_Father
:
{
fileID
:
0
}
m_RootOrder
:
0
...
...
@@ -43,7 +43,7 @@ MeshFilter:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
7554112578236620015
}
m_Mesh
:
{
fileID
:
10207
,
guid
:
0000000000000000e000000000000000
,
type
:
0
}
m_Mesh
:
{
fileID
:
2534964839176971238
,
guid
:
06ecde1ed47ede64c8146debbe3bf5c2
,
type
:
3
}
---
!u!23
&9013146449102202151
MeshRenderer
:
m_ObjectHideFlags
:
0
...
...
@@ -61,7 +61,8 @@ MeshRenderer:
m_RenderingLayerMask
:
1
m_RendererPriority
:
0
m_Materials
:
-
{
fileID
:
10303
,
guid
:
0000000000000000f000000000000000
,
type
:
0
}
-
{
fileID
:
2100000
,
guid
:
ada467b83f9d5f84aacb3f4c70cb7409
,
type
:
2
}
-
{
fileID
:
2100000
,
guid
:
27bba424cd653c047a5d5f6dbd1a0da5
,
type
:
2
}
m_StaticBatchInfo
:
firstSubMesh
:
0
subMeshCount
:
0
...
...
@@ -73,7 +74,7 @@ MeshRenderer:
m_PreserveUVs
:
0
m_IgnoreNormalsForChartDetection
:
0
m_ImportantGI
:
0
m_StitchLightmapSeams
:
0
m_StitchLightmapSeams
:
1
m_SelectedEditorRenderState
:
3
m_MinimumChartSize
:
4
m_AutoUVMaxDistance
:
0.5
...
...
@@ -82,19 +83,22 @@ MeshRenderer:
m_SortingLayerID
:
0
m_SortingLayer
:
0
m_SortingOrder
:
0
---
!u!
135
&7091668226477965095
SphereCollider
:
---
!u!
54
&2621242702935536648
Rigidbody
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
7554112578236620015
}
m_Material
:
{
fileID
:
0
}
m_IsTrigger
:
1
m_Enabled
:
1
serializedVersion
:
2
m_Radius
:
0.5
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_Mass
:
1
m_Drag
:
0
m_AngularDrag
:
0.05
m_UseGravity
:
0
m_IsKinematic
:
0
m_Interpolate
:
0
m_Constraints
:
0
m_CollisionDetection
:
0
---
!u!96
&1468768842466997388
TrailRenderer
:
serializedVersion
:
2
...
...
@@ -200,22 +204,20 @@ TrailRenderer:
m_MinVertexDistance
:
0.1
m_Autodestruct
:
0
m_Emitting
:
1
---
!u!
54
&2621242702935536648
Rigidbody
:
---
!u!
136
&2012789303173402189
CapsuleCollider
:
m_ObjectHideFlags
:
0
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
7554112578236620015
}
serializedVersion
:
2
m_Mass
:
1
m_Drag
:
0
m_AngularDrag
:
0.05
m_UseGravity
:
0
m_IsKinematic
:
0
m_Interpolate
:
0
m_Constraints
:
0
m_CollisionDetection
:
0
m_Material
:
{
fileID
:
0
}
m_IsTrigger
:
1
m_Enabled
:
1
m_Radius
:
0.02
m_Height
:
0.1
m_Direction
:
2
m_Center
:
{
x
:
0
,
y
:
0
,
z
:
0.03
}
---
!u!114
&-7647737824225647995
MonoBehaviour
:
m_ObjectHideFlags
:
0
...
...
Assets/Prefabs/Bullets/TruthBullet.prefab.meta
View file @
2c454b78
fileFormatVersion: 2
guid:
bfe2c93abf5421b4a9b142f60d689533
guid:
356d6cdfb01c9a24bb36c0871000d504
PrefabImporter:
externalObjects: {}
userData:
...
...
Assets/Prefabs/MapManager.prefab
View file @
2c454b78
...
...
@@ -52,7 +52,7 @@ MonoBehaviour:
-
{
fileID
:
2534561534465535505
,
guid
:
0b323beb318071144aef94132be66541
,
type
:
3
}
-
{
fileID
:
6001025753464815805
,
guid
:
df6f1d8b9377ec346af4255abe290fbb
,
type
:
3
}
-
{
fileID
:
33432975985984805
,
guid
:
ec20e06c4a993924791d02d7a4c9375c
,
type
:
3
}
truthBullet
:
{
fileID
:
7554112578236620015
,
guid
:
bfe2c93abf5421b4a9b142f60d689533
,
truthBullet
:
{
fileID
:
7554112578236620015
,
guid
:
356d6cdfb01c9a24bb36c0871000d504
,
type
:
3
}
fakeBullet
:
{
fileID
:
5866539243986221368
,
guid
:
a1830defb592fe841ab1732fd18f73a1
,
type
:
3
}
...
...
Assets/Scenes/SampleScene.unity
View file @
2c454b78
...
...
@@ -193,7 +193,7 @@ Light:
m_BounceIntensity
:
1
m_ColorTemperature
:
6570
m_UseColorTemperature
:
0
m_BoundingSphereOverride
:
{
x
:
0
,
y
:
0.140625
,
z
:
0.03125
,
w
:
-0.03125
}
m_BoundingSphereOverride
:
{
x
:
-2.0000007
,
y
:
2.66e-43
,
z
:
0.0000000030205385
,
w
:
0
}
m_UseBoundingSphereOverride
:
0
m_ShadowRadius
:
0
m_ShadowAngle
:
0
...
...
@@ -788,6 +788,11 @@ PrefabInstance:
m_Modification
:
m_TransformParent
:
{
fileID
:
0
}
m_Modifications
:
-
target
:
{
fileID
:
7277015661519863741
,
guid
:
20dee07e28273f049a9093ae4453912f
,
type
:
3
}
propertyPath
:
m_NavMeshData
value
:
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
7277015661519863740
,
guid
:
20dee07e28273f049a9093ae4453912f
,
type
:
3
}
propertyPath
:
m_Name
...
...
@@ -798,11 +803,6 @@ PrefabInstance:
propertyPath
:
m_IsActive
value
:
1
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
7277015661519863741
,
guid
:
20dee07e28273f049a9093ae4453912f
,
type
:
3
}
propertyPath
:
m_NavMeshData
value
:
objectReference
:
{
fileID
:
0
}
-
target
:
{
fileID
:
7277015661519863742
,
guid
:
20dee07e28273f049a9093ae4453912f
,
type
:
3
}
propertyPath
:
m_LocalPosition.x
...
...
Assets/Scripts/Player.cs
View file @
2c454b78
...
...
@@ -104,7 +104,8 @@ public class Player : MonoBehaviour
{
Bullet
newBullet
=
MapManager
.
inst
.
bulletFactory
.
MakeBullet
(
bulletCode
);
newBullet
.
transform
.
position
=
shootingFinger
.
transform
.
position
;
newBullet
.
Init
(
transform
.
forward
);
newBullet
.
transform
.
LookAt
(
shootingArm
.
transform
.
forward
+
newBullet
.
transform
.
position
);
newBullet
.
Init
(
shootingArm
.
transform
.
forward
);
}
// Start is called before the first frame update
...
...
Assets/Scripts/PlayerController.cs
View file @
2c454b78
...
...
@@ -142,6 +142,7 @@ public class PlayerController : SingletonBehaviour<PlayerController>
else
if
(
Input
.
GetMouseButtonDown
(
1
)
&&
isPlayerShooting
)
{
StartCoroutine
(
Camera
.
main
.
GetComponent
<
CameraController
>().
ZoomOutFromPlayer
());
currentPlayer
.
shootingArm
.
rotation
=
currentPlayer
.
armRotation
;
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment