// Use this for initialization
 void Start()
 {
     _layersController = GameObject.Find("LayersCanvas").GetComponent <LayersController> ();
     GetComponent <Outline> ().enabled = false;
 }
Пример #2
0
 void Awake()
 {
     instance = this;
 }
	// Use this for initialization
	void Start () {
		_layersController = GameObject.Find ("LayersCanvas").GetComponent<LayersController> ();
		GetComponent<Outline> ().enabled = false;
	}
Пример #4
0
 // Start is called before the first frame update
 void Start()
 {
     controller = LayersController.instance;
 }