diff Assets/Application/Scripts/CharactorManager.cs @ 0:e5ef0342d00b

First commit
author Kazuma
date Mon, 07 Nov 2016 00:39:49 +0900
parents
children 2dd40b4412e4
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Assets/Application/Scripts/CharactorManager.cs	Mon Nov 07 00:39:49 2016 +0900
@@ -0,0 +1,18 @@
+using UnityEngine;
+using System.Collections;
+
+// Player Enemy どちらもここで制御する
+public class CharactorManager : MonoBehaviour {
+	
+	// Use this for initialization
+	void Start () {
+		
+	}
+	
+	// Update is called once per frame
+	void Update () {
+		// Playerの制御
+		Player.Instance.Move (InputManager.Instance.InputMouseButton());
+		Player.Instance.EyeMove (new Vector3 (InputManager.Instance.InputX, InputManager.Instance.InputZ, 0));
+	}
+}