Commit b78482ab authored by 17김현학's avatar 17김현학

Apply .gitignore

parent 30a40c2e
# This .gitignore file should be placed at the root of your Unity project directory # =============== #
# # Unity generated #
# Get latest from https://github.com/github/gitignore/blob/master/Unity.gitignore # =============== #
# Temp/
/[Ll]ibrary/ Obj/
/[Tt]emp/ UnityGenerated/
/[Oo]bj/ Library/
/[Bb]uild/
/[Bb]uilds/ # ===================================== #
/[Ll]ogs/ # Visual Studio / MonoDevelop generated #
/[Mm]emoryCaptures/ # ===================================== #
# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta
# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*
# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/
# Autogenerated Jetbrains Rider plugin
[Aa]ssets/Plugins/Editor/JetBrains*
# Visual Studio cache directory
.vs/
# Gradle cache directory
.gradle/
# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/ ExportedObj/
.consulo/ *.svd
*.userprefs
*.csproj *.csproj
*.unityproj *.pidb
*.sln
*.suo *.suo
*.tmp *.sln
*.user *.user
*.userprefs *.unityproj
*.pidb
*.booproj *.booproj
*.svd
*.pdb # ============ #
*.mdb # OS generated #
*.opendb # ============ #
*.VC.db .DS_Store
.DS_Store?
# Unity3D generated meta files ._*
*.pidb.meta .Spotlight-V100
*.pdb.meta .Trashes
*.mdb.meta Icon?
ehthumbs.db
# Unity3D generated file on crash reports Thumbs.db
sysinfo.txt GraphicsSettings.asset
ProjectSettings.asset
# Builds ProjectVersion.txt
\ No newline at end of file
*.apk
*.unitypackage
# Crashlytics generated file
crashlytics-build.properties
This diff is collapsed.
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
using System; using System;
using System.Linq; using System.Linq;
public class Square : FlatLandObject public class Square : FlatLandObject
{ {
public List<Vector3> pathList = new List<Vector3>(); public List<Vector3> pathList = new List<Vector3>();
public List<float> pathVelocity = new List<float>(); public List<float> pathVelocity = new List<float>();
private float _zPosition => transform.position.z; private float _zPosition => transform.position.z;
private float PlayerVelocity; private float PlayerVelocity;
public Vector3 GetNthPath(int n) // Get a path from (n)th destination to (n+1)th destination. public Vector3 GetNthPath(int n) // Get a path from (n)th destination to (n+1)th destination.
{ {
return pathList[n + 1] - pathList[n]; return pathList[n + 1] - pathList[n];
} }
public float GetTangent(Vector3 v) public float GetTangent(Vector3 v)
{ {
return v.y / v.x; return v.y / v.x;
} }
public Vector3 GetDestPoint(int n) public Vector3 GetDestPoint(int n)
{ {
return pathList[n+1]; return pathList[n+1];
} }
public float GetPathVelocity(int n) public float GetPathVelocity(int n)
{ {
return pathVelocity[n + 1]; return pathVelocity[n + 1];
} }
} }
\ No newline at end of file
This diff is collapsed.
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!30 &1
GraphicsSettings:
m_ObjectHideFlags: 0
serializedVersion: 12
m_Deferred:
m_Mode: 1
m_Shader: {fileID: 69, guid: 0000000000000000f000000000000000, type: 0}
m_DeferredReflections:
m_Mode: 1
m_Shader: {fileID: 74, guid: 0000000000000000f000000000000000, type: 0}
m_ScreenSpaceShadows:
m_Mode: 1
m_Shader: {fileID: 64, guid: 0000000000000000f000000000000000, type: 0}
m_LegacyDeferred:
m_Mode: 1
m_Shader: {fileID: 63, guid: 0000000000000000f000000000000000, type: 0}
m_DepthNormals:
m_Mode: 1
m_Shader: {fileID: 62, guid: 0000000000000000f000000000000000, type: 0}
m_MotionVectors:
m_Mode: 1
m_Shader: {fileID: 75, guid: 0000000000000000f000000000000000, type: 0}
m_LightHalo:
m_Mode: 1
m_Shader: {fileID: 105, guid: 0000000000000000f000000000000000, type: 0}
m_LensFlare:
m_Mode: 1
m_Shader: {fileID: 102, guid: 0000000000000000f000000000000000, type: 0}
m_AlwaysIncludedShaders:
- {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 10770, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}
m_CustomRenderPipeline: {fileID: 0}
m_TransparencySortMode: 0
m_TransparencySortAxis: {x: 0, y: 0, z: 1}
m_DefaultRenderingPath: 1
m_DefaultMobileRenderingPath: 1
m_TierSettings:
- serializedVersion: 5
m_BuildTarget: 1
m_Tier: 0
m_Settings:
standardShaderQuality: 2
renderingPath: 1
hdrMode: 1
realtimeGICPUUsage: 25
useReflectionProbeBoxProjection: 1
useReflectionProbeBlending: 1
useHDR: 0
useDetailNormalMap: 1
useCascadedShadowMaps: 1
prefer32BitShadowMaps: 0
enableLPPV: 1
useDitherMaskForAlphaBlendedShadows: 1
m_Automatic: 0
- serializedVersion: 5
m_BuildTarget: 1
m_Tier: 1
m_Settings:
standardShaderQuality: 2
renderingPath: 1
hdrMode: 1
realtimeGICPUUsage: 25
useReflectionProbeBoxProjection: 1
useReflectionProbeBlending: 1
useHDR: 0
useDetailNormalMap: 1
useCascadedShadowMaps: 1
prefer32BitShadowMaps: 0
enableLPPV: 1
useDitherMaskForAlphaBlendedShadows: 1
m_Automatic: 0
- serializedVersion: 5
m_BuildTarget: 1
m_Tier: 2
m_Settings:
standardShaderQuality: 2
renderingPath: 1
hdrMode: 1
realtimeGICPUUsage: 50
useReflectionProbeBoxProjection: 1
useReflectionProbeBlending: 1
useHDR: 0
useDetailNormalMap: 1
useCascadedShadowMaps: 1
prefer32BitShadowMaps: 0
enableLPPV: 1
useDitherMaskForAlphaBlendedShadows: 1
m_Automatic: 0
m_LightmapStripping: 0
m_FogStripping: 0
m_InstancingStripping: 0
m_LightmapKeepPlain: 1
m_LightmapKeepDirCombined: 1
m_LightmapKeepDynamicPlain: 1
m_LightmapKeepDynamicDirCombined: 1
m_LightmapKeepShadowMask: 1
m_LightmapKeepSubtractive: 1
m_FogKeepLinear: 1
m_FogKeepExp: 1
m_FogKeepExp2: 1
m_AlbedoSwatchInfos: []
m_LightsUseLinearIntensity: 0
m_LightsUseColorTemperature: 0
This diff is collapsed.
m_EditorVersion: 2019.2.0f1
m_EditorVersionWithRevision: 2019.2.0f1 (20c1667945cf)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment