コード例 #1
0
        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);
        }
コード例 #2
0
 void Awake() {
    // btn = gameObject.GetComponent<Image>();
     btn.sprite = offState;
     worker = GetComponentInParent<AssemblyWorker>();
     worker.SetSwitch(false);
 }
コード例 #3
0
 void Awake() {
     worker = gameObject.GetComponentInParent<AssemblyWorker>();
 }