void Start() { if (Singleton == null) { Singleton = this; } LoadBasicBlocks(); BuildGrid(width, height); SetupCamera(); BuildLine(); if (comingFromValidate) { //Time.timeScale = 1f; LoadAsync(); if (gridMap.Validated) { ValidateMapInGUI(); } } }
public void Awake() { EditorControls = GameObject.Find("levelEditorControls").GetComponent <LevelEditorController> (); }
void Start() { controller = FindObjectOfType <LevelEditorController> (); //Build (); }
void Start() { rend = transform.GetChild(0).GetComponent <Renderer> (); baseColor = rend.material.GetColor("_Color"); levelEditorController = GameObject.FindWithTag("LevelEditorController").GetComponent <LevelEditorController>(); }
private void Start() { grid = null; levelEditorController = FindObjectOfType <LevelEditorController>(); }
void Start() { editor = GameObject.Find("SceneManager").GetComponent <LevelEditorController>(); }
// Use this for initialization void Start() { levelEditor = FindObjectOfType <LevelEditorController> (); }