导弹光照

master
voidlp 5 years ago
parent bbde1cfaac
commit dfc3be1020

@ -1354,6 +1354,22 @@ PrefabInstance:
propertyPath: m_Name propertyPath: m_Name
value: CJ_Missile_Tests_daodangM_001 value: CJ_Missile_Tests_daodangM_001
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 100000, guid: b3d9b9437351a654594dd2c0c68d2583, type: 3}
propertyPath: m_Layer
value: 18
objectReference: {fileID: 0}
- target: {fileID: 100002, guid: b3d9b9437351a654594dd2c0c68d2583, type: 3}
propertyPath: m_Layer
value: 18
objectReference: {fileID: 0}
- target: {fileID: 100004, guid: b3d9b9437351a654594dd2c0c68d2583, type: 3}
propertyPath: m_Layer
value: 18
objectReference: {fileID: 0}
- target: {fileID: 100006, guid: b3d9b9437351a654594dd2c0c68d2583, type: 3}
propertyPath: m_Layer
value: 18
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: b3d9b9437351a654594dd2c0c68d2583, type: 3} - target: {fileID: 400000, guid: b3d9b9437351a654594dd2c0c68d2583, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: 46.7 value: 46.7
@ -3696,7 +3712,7 @@ GameObject:
- component: {fileID: 214634033} - component: {fileID: 214634033}
- component: {fileID: 214634035} - component: {fileID: 214634035}
- component: {fileID: 214634034} - component: {fileID: 214634034}
m_Layer: 0 m_Layer: 18
m_Name: CJ_Missile_Tests_daodang m_Name: CJ_Missile_Tests_daodang
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
@ -44178,7 +44194,7 @@ GameObject:
- component: {fileID: 866352610} - component: {fileID: 866352610}
- component: {fileID: 866352612} - component: {fileID: 866352612}
- component: {fileID: 866352611} - component: {fileID: 866352611}
m_Layer: 0 m_Layer: 18
m_Name: Particle System m_Name: Particle System
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
@ -51583,6 +51599,10 @@ PrefabInstance:
propertyPath: m_StaticEditorFlags propertyPath: m_StaticEditorFlags
value: 4294967295 value: 4294967295
objectReference: {fileID: 0} objectReference: {fileID: 0}
- target: {fileID: 100000, guid: 78cce7a5094a66d48a92e7c69e877dbe, type: 3}
propertyPath: m_Layer
value: 18
objectReference: {fileID: 0}
- target: {fileID: 400000, guid: 78cce7a5094a66d48a92e7c69e877dbe, type: 3} - target: {fileID: 400000, guid: 78cce7a5094a66d48a92e7c69e877dbe, type: 3}
propertyPath: m_LocalPosition.x propertyPath: m_LocalPosition.x
value: 56.08 value: 56.08
@ -67323,7 +67343,7 @@ GameObject:
- component: {fileID: 1505069186} - component: {fileID: 1505069186}
- component: {fileID: 1505069188} - component: {fileID: 1505069188}
- component: {fileID: 1505069187} - component: {fileID: 1505069187}
m_Layer: 0 m_Layer: 18
m_Name: CJ_Missile_Tests_daodang_01 m_Name: CJ_Missile_Tests_daodang_01
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
@ -72368,7 +72388,7 @@ GameObject:
- component: {fileID: 1516284410} - component: {fileID: 1516284410}
- component: {fileID: 1516284409} - component: {fileID: 1516284409}
- component: {fileID: 1516284408} - component: {fileID: 1516284408}
m_Layer: 0 m_Layer: 18
m_Name: CJ_Missile m_Name: CJ_Missile
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
@ -72498,6 +72518,7 @@ Transform:
- {fileID: 880903634} - {fileID: 880903634}
- {fileID: 1785204818} - {fileID: 1785204818}
- {fileID: 1430026884} - {fileID: 1430026884}
- {fileID: 1855310990}
m_Father: {fileID: 0} m_Father: {fileID: 0}
m_RootOrder: 2 m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -76445,7 +76466,7 @@ GameObject:
serializedVersion: 6 serializedVersion: 6
m_Component: m_Component:
- component: {fileID: 1756635674} - component: {fileID: 1756635674}
m_Layer: 0 m_Layer: 18
m_Name: e m_Name: e
m_TagString: Untagged m_TagString: Untagged
m_Icon: {fileID: 0} m_Icon: {fileID: 0}
@ -77400,6 +77421,75 @@ Transform:
m_Father: {fileID: 880903634} m_Father: {fileID: 880903634}
m_RootOrder: 10 m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1855310989
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1855310990}
- component: {fileID: 1855310991}
m_Layer: 0
m_Name: Directional Light
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &1855310990
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1855310989}
m_LocalRotation: {x: 0.65311897, y: -0.5039501, z: 0.0029213193, w: 0.5652092}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1518779420}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 47.837, y: -122.54101, z: -77.36301}
--- !u!108 &1855310991
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1855310989}
m_Enabled: 1
serializedVersion: 8
m_Type: 1
m_Color: {r: 0.89320046, g: 0.9811321, b: 0.9811321, a: 1}
m_Intensity: 1
m_Range: 10
m_SpotAngle: 30
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 262144
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!1001 &1860983164 --- !u!1001 &1860983164
PrefabInstance: PrefabInstance:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0

@ -141,6 +141,16 @@ public class Missle : MonoBehaviour
} }
} }
if (Input.GetKeyDown(KeyCode.P))
{
Time.timeScale = 0;
}
if (Input.GetKeyDown(KeyCode.O))
{
Time.timeScale = 1;
}
if (!bTouchingGround && !bTargetReady) if (!bTouchingGround && !bTargetReady)
{ {

@ -0,0 +1,18 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MisslePath : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
}
}

@ -1 +1 @@
Build from LAPTOP-6B1OU541 at 2020/5/29 11:30:57 Build from LAPTOP-6B1OU541 at 2020/5/29 15:38:47

@ -23,7 +23,7 @@ TagManager:
- -
- -
- -
- - reallight
- -
- -
- -

Loading…
Cancel
Save