private void Start() { //if (_inputController == null) // _inputController = transform.GetComponent<BranchControllerDebug>()._inputController; if (_inputController == null) { _inputController = transform.root.GetComponent <InputController>(); //GetComponentInParent? } isProtek = ChangeWaterPropeties.GetBranchBrand(); }
// start from shell private static void Main() { ChangeWaterPropeties receiveObj = new ChangeWaterPropeties(); receiveObj.init(); string text = ""; do { text = Console.ReadLine(); }while (!text.Equals("exit")); }