private void Start() { if (StaticMethods.Id_user == 0) { isAutoriz = false; } stove = StoveLogical.getInstance(); }
// Use this for initialization void Start() { Stove = GameObject.Find("Stove"); VMetr = GameObject.Find("VmetrM"); stoveLogical = StoveLogical.getInstance(); stoveLogical.Init(Stove, VMetr); Display = GameObject.Find("DisplayData").GetComponent <TextMesh>(); Text = GameObject.Find("Data").GetComponent <TextMesh>(); //m_SpriteRenderer.sprite = m_SpriteRenderer.GetComponents<Sprite>()[1]; }
// Use this for initialization void Start() { stoveLogical = StoveLogical.getInstance(); }