Skip to content

Instantly share code, notes, and snippets.

@TORISOUP
Created December 6, 2014 04:47
Show Gist options
  • Save TORISOUP/5309e934f69fff71f9aa to your computer and use it in GitHub Desktop.
Save TORISOUP/5309e934f69fff71f9aa to your computer and use it in GitHub Desktop.
UnitychanGhostMansion
using UnityEngine;
public interface ICharacterInput
{
/// <summary>
/// カメラの現在のForward
/// </summary>
/// <param name="cameraDirection">Camera direction.</param>
void SetCameraDirection(Vector3 cameraDirection);
/// <summary>
/// プレイヤの移動方向(長さ1)
/// </summary>
/// <param name="moveDirection">Move direction.</param>
void Move(Vector2 moveDirection);
/// <summary>
/// プレイヤに攻撃させる
/// </summary>
void Attack();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment