RC folder structure and images

This commit is contained in:
2015-01-07 23:04:05 +06:00
parent 7aa59c799b
commit fdd2451e1e
66 changed files with 7357 additions and 48687 deletions

View File

@@ -0,0 +1,30 @@
using UnityEngine;
using System.Collections;
namespace IsoTools { namespace Examples {
public class IsoController : MonoBehaviour {
void Update () {
var iso_object = gameObject.GetComponent<IsoObject>();
if ( iso_object ) {
if ( Input.GetKeyUp(KeyCode.LeftArrow) ) {
iso_object.Position += new Vector3(-1, 0, 0);
}
if ( Input.GetKeyUp(KeyCode.RightArrow) ) {
iso_object.Position += new Vector3(1, 0, 0);
}
if ( Input.GetKeyUp(KeyCode.DownArrow) ) {
iso_object.Position += new Vector3(0, -1, 0);
}
if ( Input.GetKeyUp(KeyCode.UpArrow) ) {
iso_object.Position += new Vector3(0, 1, 0);
}
if ( Input.GetKeyUp(KeyCode.A) ) {
iso_object.Position += new Vector3(0, 0, 1);
}
if ( Input.GetKeyUp(KeyCode.Z) ) {
iso_object.Position += new Vector3(0, 0, -1);
}
}
}
}
}} // namespace IsoTools::Examples