This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.Assertions; | |
using UnityEngine.UI; | |
using UnityEngine.Networking; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Text; | |
using System; | |
public class NetworkPlayer : NetworkBehaviour |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.Networking; | |
[RequireComponent(typeof(NetworkTransform))] | |
[RequireComponent(typeof(Rigidbody))] | |
public class NetworkSpaceship : NetworkBehaviour | |
{ | |
public float rotationSpeed = 45.0f; | |
public float speed = 2.0f; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.Networking; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace Prototype.NetworkLobby | |
{ | |
//Player entry in the lobby. Handle selecting color/setting name & getting ready for the game |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using System.Text; | |
using UnityEngine.Assertions; | |
using System.IO; | |
public class MyBuildPostprocessor | |
{ | |
#if UNITY_EDITOR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEditor; | |
using UnityEditor.Callbacks; | |
using System.Text; | |
using UnityEngine.Assertions; | |
using System.IO; | |
using System.Diagnostics; | |
using Debug=UnityEngine.Debug; | |
public class MyBuildPostprocessor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using SimpleSQL; | |
using UnityEngine; | |
using System.Collections; | |
using UnityEngine.Assertions; | |
//public class DatabaseManager : SingletonBehaviour<DatabaseManager> | |
public class DatabaseManager : MonoBehaviour | |
{ | |
public static DatabaseManager i; | |
string _debugString; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using System.IO; | |
using UnityEngine.Assertions; | |
using UnityEditor; | |
[InitializeOnLoad] | |
class EditorStartup | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using System.IO; | |
using UnityEngine.Assertions; | |
using UnityEditor; | |
[InitializeOnLoad] | |
class EditorStartup | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using UnityEngine.Networking; | |
using UnityEngine.SceneManagement; | |
using UnityEngine.Assertions; | |
using System.Collections; | |
public class LocalHostBootstrap : MonoBehaviour | |
{ | |
string _debugString; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using UnityEngine; | |
using System.Collections; | |
using UnityEditor; | |
[CustomEditor(typeof(Battle))] | |
public class BattleInspector : Editor | |
{ | |
public override void OnInspectorGUI() | |
{ | |
var battle = (Battle)target; |