// Use this for initialization void Start() { turnCount = 0; state = 0; actionState = 0; GM = gameObject.GetComponent <goldManager> (); GR = gameObject.GetComponent <gameRule_normal>(); }
// Use this for initialization void Start() { turnCount = 0; state = 0; actionState = 0; GM = gameObject.GetComponent<goldManager> (); GR = gameObject.GetComponent<gameRule_normal>(); }
void Awake() { goldMngr = this; }