예제 #1
0
 void OnEnable()
 {
     startUIControl     = FindObjectOfType <StartUIControl>();
     setUpUIControl     = FindObjectOfType <SetUpUIControl>();
     instructionControl = FindObjectOfType <InstructionControl>();
     playUI             = FindObjectOfType <PlayUI>();
     turnController     = FindObjectOfType <TurnController>();
 }
예제 #2
0
파일: Startup.cs 프로젝트: hyzcn/cerealbar
 void OnEnable()
 {
     hexGrid          = FindObjectOfType <HexGrid>();
     propPlacement    = FindObjectOfType <PropPlacement>();
     startUIControl   = FindObjectOfType <StartUIControl>();
     setUpUIControl   = FindObjectOfType <SetUpUIControl>();
     turnController   = FindObjectOfType <TurnController>();
     cardGenerator    = FindObjectOfType <CardGenerator>();
     webSocketManager = FindObjectOfType <WebSocketManager>();
     setGame          = FindObjectOfType <SetGame>();
 }