Skip to content

Instantly share code, notes, and snippets.

@andoriyu
Created March 19, 2010 06:51
Show Gist options
  • Save andoriyu/337307 to your computer and use it in GitHub Desktop.
Save andoriyu/337307 to your computer and use it in GitHub Desktop.
using UnityEngine;
using System.Collections;
public class GlobalClass : MonoBehaviour {
private static string m_session = "";
public static string current_session
{
get { return m_session; }
set { m_session = value; }
}
private static float m_x_coordinate = 0;
public static float x_coordinate
{
get { return m_x_coordinate; }
set { m_x_coordinate = value; }
}
private static float m_y_coordinate = 0;
public static float y_coordinate
{
get { return y_coordinate; }
set { m_y_coordinate = value; }
}
private static float m_z_coordinate = 0;
public static float z_coordinate
{
get { return m_z_coordinate; }
set { m_z_coordinate = value; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment