Commit 406f00c4 authored by 15박보승's avatar 15박보승

Main Scene 추가

parent 99efbff4
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class MainSceneController : MonoBehaviour
{
private void Update()
{
if (Input.anyKey)
{
SceneManager.LoadScene("Ingame");
}
}
}
fileFormatVersion: 2
guid: 7f80bf6bfb728594287e09ae2567967a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
...@@ -107,7 +107,8 @@ ModelImporter: ...@@ -107,7 +107,8 @@ ModelImporter:
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1 blendShapeNormalImportMode: 1
normalSmoothingSource: 0 normalSmoothingSource: 0
referencedClips: [] referencedClips:
- c8c1749f6228e2e4d8efedec76122daf
importAnimation: 1 importAnimation: 1
copyAvatar: 0 copyAvatar: 0
humanDescription: humanDescription:
......
This diff is collapsed.
fileFormatVersion: 2
guid: d3e493962731f624b9b0bb32ab20fc1d
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Revolve : MonoBehaviour
{
public float distance = 5;
public Transform target;
public float angle = 60f;
public AnimationCurve curve;
private void Start()
{
//distance = Vector3.Distance(target.position, transform.position);
}
private void Update()
{
//transform.position += new Vector3(0, 1f * Time.deltaTime, 0);
distance = 5 + 30 * curve.Evaluate(Mathf.PingPong(0.1f * Time.time, 1));
transform.position = target.position + Quaternion.AngleAxis(angle * Time.deltaTime, Vector3.up) * (transform.position - target.position).normalized * distance;
transform.LookAt(target);
}
}
fileFormatVersion: 2
guid: 0b08630b4b3f4d1478c8bafbf75e6679
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
fileFormatVersion: 2
guid: 572685c1afa0d174b85df48240f08665
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
...@@ -4,5 +4,11 @@ ...@@ -4,5 +4,11 @@
EditorBuildSettings: EditorBuildSettings:
m_ObjectHideFlags: 0 m_ObjectHideFlags: 0
serializedVersion: 2 serializedVersion: 2
m_Scenes: [] m_Scenes:
- enabled: 1
path: Assets/Scenes/Main.unity
guid: d3e493962731f624b9b0bb32ab20fc1d
- enabled: 1
path: Assets/Scenes/Ingame.unity
guid: 5970430cbb702c44ea45c747247db6ab
m_configObjects: {} m_configObjects: {}
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