void Start() { ilo = Game.instance.levelManager.getIlo(); controller = ilo.GetComponent <IloController>(); OnEnable(); }
// Use this for initialization void Start() { iloControl = gameObject.GetComponent <IloController>(); }