예제 #1
0
 // Start is called before the first frame update
 void Start()
 {
     MMBS = GameObject.FindGameObjectWithTag("MainMenuButton").GetComponent <MainMenuButtonScriptV2>();
     RBS  = GameObject.FindGameObjectWithTag("ResetButton").GetComponent <ResetButtonScriptV2>();
     SSV2 = new SaveSystemV2();
     RB   = GetComponent <Rigidbody2D>();
 }
예제 #2
0
 // Start is called before the first frame update
 void Start()
 {
     RB = GetComponent <Rigidbody2D>();
     //MMBS = GameObject.FindGameObjectWithTag("MainMenuButton").GetComponent<MainMenuButtonScript>();
     SSV2  = new SaveSystemV2();
     PBSV5 = GameObject.FindGameObjectWithTag("PlayButton").GetComponent <PlayButtonV5>();
     OB    = GameObject.FindGameObjectWithTag("OptionButton").GetComponent <OptionButtonV2>();
     //RBS = GameObject.FindGameObjectWithTag("ResetButton").GetComponent<ResetButtonScript>();
 }