view 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 source

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));
	}
}