2025_02_27임시용
This commit is contained in:
parent
0948762b36
commit
45dfcb153f
File diff suppressed because it is too large
Load Diff
8
Assets/01.Scenes/99.LMG/Materials.meta
Normal file
8
Assets/01.Scenes/99.LMG/Materials.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 732180b157b57f64097959d05406acfe
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
42
Assets/01.Scenes/99.LMG/Materials/ShipSideView.mat
Normal file
42
Assets/01.Scenes/99.LMG/Materials/ShipSideView.mat
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!21 &2100000
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: ShipSideView
|
||||||
|
m_Shader: {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
m_Parent: {fileID: 0}
|
||||||
|
m_ModifiedSerializedProperties: 0
|
||||||
|
m_ValidKeywords: []
|
||||||
|
m_InvalidKeywords: []
|
||||||
|
m_LightmapFlags: 4
|
||||||
|
m_EnableInstancingVariants: 0
|
||||||
|
m_DoubleSidedGI: 0
|
||||||
|
m_CustomRenderQueue: -1
|
||||||
|
stringTagMap: {}
|
||||||
|
disabledShaderPasses: []
|
||||||
|
m_LockedProperties:
|
||||||
|
m_SavedProperties:
|
||||||
|
serializedVersion: 3
|
||||||
|
m_TexEnvs:
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: 8400000, guid: 88adb7c1602a21b41b465345494fe14a, type: 2}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _ColorMask: 15
|
||||||
|
- _Stencil: 0
|
||||||
|
- _StencilComp: 8
|
||||||
|
- _StencilOp: 0
|
||||||
|
- _StencilReadMask: 255
|
||||||
|
- _StencilWriteMask: 255
|
||||||
|
- _UseUIAlphaClip: 0
|
||||||
|
m_Colors:
|
||||||
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
8
Assets/01.Scenes/99.LMG/Materials/ShipSideView.mat.meta
Normal file
8
Assets/01.Scenes/99.LMG/Materials/ShipSideView.mat.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 122a6eba9c639f245ad4a6258927f5cd
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 2100000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
39
Assets/01.Scenes/99.LMG/ShipSideView.renderTexture
Normal file
39
Assets/01.Scenes/99.LMG/ShipSideView.renderTexture
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!84 &8400000
|
||||||
|
RenderTexture:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: ShipSideView
|
||||||
|
m_ImageContentsHash:
|
||||||
|
serializedVersion: 2
|
||||||
|
Hash: 00000000000000000000000000000000
|
||||||
|
m_IsAlphaChannelOptional: 0
|
||||||
|
serializedVersion: 6
|
||||||
|
m_Width: 1280
|
||||||
|
m_Height: 720
|
||||||
|
m_AntiAliasing: 1
|
||||||
|
m_MipCount: -1
|
||||||
|
m_DepthStencilFormat: 94
|
||||||
|
m_ColorFormat: 8
|
||||||
|
m_MipMap: 0
|
||||||
|
m_GenerateMips: 1
|
||||||
|
m_SRGB: 0
|
||||||
|
m_UseDynamicScale: 0
|
||||||
|
m_UseDynamicScaleExplicit: 0
|
||||||
|
m_BindMS: 0
|
||||||
|
m_EnableCompatibleFormat: 1
|
||||||
|
m_EnableRandomWrite: 0
|
||||||
|
m_TextureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_FilterMode: 1
|
||||||
|
m_Aniso: 0
|
||||||
|
m_MipBias: 0
|
||||||
|
m_WrapU: 1
|
||||||
|
m_WrapV: 1
|
||||||
|
m_WrapW: 1
|
||||||
|
m_Dimension: 2
|
||||||
|
m_VolumeDepth: 1
|
||||||
|
m_ShadowSamplingMode: 2
|
8
Assets/01.Scenes/99.LMG/ShipSideView.renderTexture.meta
Normal file
8
Assets/01.Scenes/99.LMG/ShipSideView.renderTexture.meta
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 88adb7c1602a21b41b465345494fe14a
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 8400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,4 @@
|
|||||||
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using BehaviorDesigner.Runtime.Tasks.Unity.UnityGameObject;
|
using BehaviorDesigner.Runtime.Tasks.Unity.UnityGameObject;
|
||||||
@ -15,11 +16,37 @@ namespace BlueWater
|
|||||||
public float force_add = 0.002f;
|
public float force_add = 0.002f;
|
||||||
|
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private ParticleSystem SmokeL;
|
private ParticleSystem Smoke1;
|
||||||
[SerializeField]
|
[SerializeField]
|
||||||
private ParticleSystem SmokeR;
|
private ParticleSystem Smoke2;
|
||||||
|
[SerializeField]
|
||||||
|
private ParticleSystem Smoke3;
|
||||||
|
[SerializeField]
|
||||||
|
private ParticleSystem Smoke4;
|
||||||
|
[SerializeField]
|
||||||
|
private ParticleSystem Smoke5;
|
||||||
|
[SerializeField]
|
||||||
|
private ParticleSystem Smoke6;
|
||||||
|
[SerializeField]
|
||||||
|
private ParticleSystem Smoke7;
|
||||||
|
[SerializeField]
|
||||||
|
private ParticleSystem Smoke8;
|
||||||
|
[SerializeField]
|
||||||
|
private ParticleSystem Rings;
|
||||||
|
|
||||||
|
private void Start()
|
||||||
|
{
|
||||||
|
Smoke1.Stop();
|
||||||
|
Smoke2.Stop();
|
||||||
|
Smoke3.Stop();
|
||||||
|
Smoke4.Stop();
|
||||||
|
Smoke5.Stop();
|
||||||
|
Smoke6.Stop();
|
||||||
|
Smoke7.Stop();
|
||||||
|
Smoke8.Stop();
|
||||||
|
//Rings.Stop();
|
||||||
|
}
|
||||||
|
|
||||||
void Update()
|
void Update()
|
||||||
{
|
{
|
||||||
float rotation_01 = Mathf.Abs(-0.5f + ((obj.transform.eulerAngles.y)/ 180) % 1.0f);
|
float rotation_01 = Mathf.Abs(-0.5f + ((obj.transform.eulerAngles.y)/ 180) % 1.0f);
|
||||||
@ -33,8 +60,6 @@ namespace BlueWater
|
|||||||
|
|
||||||
if (Input.GetKey(KeyCode.UpArrow)|| Input.GetKey(KeyCode.W))
|
if (Input.GetKey(KeyCode.UpArrow)|| Input.GetKey(KeyCode.W))
|
||||||
{
|
{
|
||||||
SmokeL.Play();
|
|
||||||
SmokeR.Play();
|
|
||||||
force += force_add;
|
force += force_add;
|
||||||
if (force >= 1.0f) force = 1.0f;
|
if (force >= 1.0f) force = 1.0f;
|
||||||
}
|
}
|
||||||
@ -53,15 +78,46 @@ namespace BlueWater
|
|||||||
// transform.Translate(0, 0, speed * time);
|
// transform.Translate(0, 0, speed * time);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{ SmokeL.Stop();
|
{
|
||||||
SmokeR.Stop();
|
|
||||||
if (force < 0.0f)force += force_add/2.0f;
|
if (force < 0.0f)force += force_add/2.0f;
|
||||||
else if(force > 0.0f)force -= force_add/2.0f;
|
else if(force > 0.0f)force -= force_add/2.0f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
transform.Translate((side_check * move_time * rotation_02)*force, 0.0f, (back_check * move_time * rotation_01)*force);
|
transform.Translate((side_check * move_time * rotation_02)*force, 0.0f, (back_check * move_time * rotation_01)*force);
|
||||||
|
if (force >= 0.05f)
|
||||||
|
{
|
||||||
|
Smoke1.Play();
|
||||||
|
Smoke2.Play();
|
||||||
|
Smoke3.Play();
|
||||||
|
Smoke4.Play();
|
||||||
|
Smoke5.Play();
|
||||||
|
Smoke6.Play();
|
||||||
|
Smoke7.Play();
|
||||||
|
Smoke8.Play();
|
||||||
|
//Rings.Play();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Smoke1.Stop();
|
||||||
|
Smoke2.Stop();
|
||||||
|
Smoke3.Stop();
|
||||||
|
Smoke4.Stop();
|
||||||
|
Smoke5.Stop();
|
||||||
|
Smoke6.Stop();
|
||||||
|
Smoke7.Stop();
|
||||||
|
Smoke8.Stop();
|
||||||
|
//Rings.Stop();
|
||||||
|
}
|
||||||
|
|
||||||
|
Smoke1.startSize = 0.2f * (force);
|
||||||
|
Smoke2.startSize = 0.2f * (force);
|
||||||
|
Smoke3.startSize = 0.2f * (force);
|
||||||
|
Smoke4.startSize = 0.2f * (force);
|
||||||
|
Smoke5.startSize = 0.2f * (force);
|
||||||
|
Smoke6.startSize = 0.2f * (force);
|
||||||
|
Smoke7.startSize = 0.2f * (force);
|
||||||
|
Smoke8.startSize = 0.2f * (force);
|
||||||
|
|
||||||
if (Input.GetKey(KeyCode.RightArrow)|| Input.GetKey(KeyCode.D))
|
if (Input.GetKey(KeyCode.RightArrow)|| Input.GetKey(KeyCode.D))
|
||||||
{
|
{
|
||||||
|
Binary file not shown.
@ -15,7 +15,7 @@ MonoBehaviour:
|
|||||||
m_DefaultGroup: 8e0a3b4ef79b6b240a41c854861466bc
|
m_DefaultGroup: 8e0a3b4ef79b6b240a41c854861466bc
|
||||||
m_currentHash:
|
m_currentHash:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
Hash: 752e2ffa415f639560376d023f23f4fe
|
Hash: 00000000000000000000000000000000
|
||||||
m_OptimizeCatalogSize: 0
|
m_OptimizeCatalogSize: 0
|
||||||
m_BuildRemoteCatalog: 0
|
m_BuildRemoteCatalog: 0
|
||||||
m_CatalogRequestsTimeout: 0
|
m_CatalogRequestsTimeout: 0
|
||||||
|
@ -233,7 +233,7 @@ Material:
|
|||||||
- _ZWrite: 1
|
- _ZWrite: 1
|
||||||
m_Colors:
|
m_Colors:
|
||||||
- _BackFaceTint: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
- _BackFaceTint: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
- _Color: {r: 0.6839622, g: 0.8730874, b: 1, a: 1}
|
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||||
- _ColorGradingDark: {r: 1, g: 1, b: 1, a: 1}
|
- _ColorGradingDark: {r: 1, g: 1, b: 1, a: 1}
|
||||||
- _ColorGradingLight: {r: 1, g: 1, b: 1, a: 1}
|
- _ColorGradingLight: {r: 1, g: 1, b: 1, a: 1}
|
||||||
- _ColorGradingMiddle: {r: 1, g: 1, b: 1, a: 1}
|
- _ColorGradingMiddle: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
@ -137,9 +137,9 @@ Material:
|
|||||||
- Color_198818EE: {r: 0, g: 0.25882354, b: 1, a: 0.83137256}
|
- Color_198818EE: {r: 0, g: 0.25882354, b: 1, a: 0.83137256}
|
||||||
- Color_626750DD: {r: 2, g: 2, b: 2, a: 1}
|
- Color_626750DD: {r: 2, g: 2, b: 2, a: 1}
|
||||||
- Color_77A2EDE9: {r: 31.626795, g: 31.626795, b: 31.626795, a: 0.21960784}
|
- Color_77A2EDE9: {r: 31.626795, g: 31.626795, b: 31.626795, a: 0.21960784}
|
||||||
- Vector2_1E1B6943: {r: 1, g: 5, b: 0, a: 0}
|
- Vector2_1E1B6943: {r: 1, g: 1, b: 0, a: 0}
|
||||||
- Vector2_D06E76BC: {r: 0.1, g: 0.05, b: 0, a: 0}
|
- Vector2_D06E76BC: {r: 0.1, g: 0.05, b: 0, a: 0}
|
||||||
- Vector2_D26C9C89: {r: 1, g: 0, b: 0, a: 0}
|
- Vector2_D26C9C89: {r: 1, g: 2.49, b: 0, a: 0}
|
||||||
- Vector2_F678228C: {r: 0.5, g: 0.5, b: 0, a: 0}
|
- Vector2_F678228C: {r: 0.5, g: 0.5, b: 0, a: 0}
|
||||||
- _BaseColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
- _BaseColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
- _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
- _Color: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||||
|
Loading…
Reference in New Issue
Block a user