public DrawMouse(Game _game, GameObject _content, GameObject _gameObject, GameObject _gameObject1) { game = _game; content.transform.parent = _content.transform; content.transform.localPosition = new Vector3(0f, 0f, 0f); content.transform.localScale = new Vector3(1f, 1f, 1f); gameObject = _gameObject; gameObject1 = _gameObject1; blokDraw = new BlokDraw(content); blokDraw.content.transform.localPosition = new Vector3(0f, 0f, 0f); blokDraw.content.transform.localScale = new Vector3(1f, 1f, 1f); blokDraw.setPref(_gameObject, _gameObject1); }
public Game(Glaf g) { glaf = g; content = glaf.mg.transform.GetChild(0).gameObject; content.transform.localScale = new Vector3(1f, 1f, 1f); blokDraw = new BlokDraw(content); blokDraw.setPref(glaf.arrayPrefabs[0], glaf.arrayPrefabs[1]); Vector3 pos = new Vector3(1.0f, 3.5f, 0f); blokDraw.content.transform.localPosition = pos; blokDraw.content.transform.localScale = new Vector3(1f, 1f, 1f); plume = new Plume(content, glaf.arrayPrefabs[0]); drawMouse = new DrawMouse(this, content, glaf.arrayPrefabs[2], glaf.arrayPrefabs[3]); }