This commit is contained in:
falc@null.net 2016-10-29 00:25:10 +02:00
parent ad191052e0
commit 096081b12f
2 changed files with 55 additions and 3 deletions

View file

@ -3,6 +3,11 @@ using System.Collections;
public class TurnManagerScript : MonoBehaviour {
public int turnNum = 0;
public int playerNum = 2;
public int iaNum = 0;
public bool inTurn = true;
// Use this for initialization
void Start () {
@ -10,6 +15,13 @@ public class TurnManagerScript : MonoBehaviour {
// Update is called once per frame
void Update () {
while (inTurn) {
}
}
void Turn (int team) {
}
}

View file

@ -37,7 +37,7 @@ RenderSettings:
m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0, g: 0, b: 0, a: 1}
m_IndirectSpecularColor: {r: 0.44692534, g: 0.49678725, b: 0.5750856, a: 1}
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0
@ -90,6 +90,46 @@ NavMeshSettings:
cellSize: 0.16666667
manualCellSize: 0
m_NavMeshData: {fileID: 0}
--- !u!1 &154702854
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 4
m_Component:
- 4: {fileID: 154702856}
- 114: {fileID: 154702855}
m_Layer: 0
m_Name: TurnManager
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &154702855
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 154702854}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0f6c21b5c0a62dc408e8b6d4cc0253f3, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!4 &154702856
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 154702854}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -2.042461, y: 2.2867486, z: 1.3209662}
m_LocalScale: {x: 1, y: 1, z: 1}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
--- !u!1 &618114011
GameObject:
m_ObjectHideFlags: 0