static void Main(string[] args) { var reflectionWorker = new AssemblyWorker(); var typeWorker = new TypeWorker(); var seacher = new Searcher(); var solve = new Solve(); var answer = solve.GetSolve <IPlugin>(reflectionWorker, typeWorker, seacher); answer.ForEach(Console.WriteLine); }
void Awake() { // btn = gameObject.GetComponent<Image>(); btn.sprite = offState; worker = GetComponentInParent<AssemblyWorker>(); worker.SetSwitch(false); }
void Awake() { worker = gameObject.GetComponentInParent<AssemblyWorker>(); }