예제 #1
0
 void Start()
 {
     jf   = GetComponent <JumpFlip>();
     main = Camera.main;
     main.backgroundColor = new Color(
         Random.Range(0f, 1f),
         Random.Range(0f, 1f),
         Random.Range(0f, 1f)
         );
 }
예제 #2
0
 void Start()
 {
     jf = gm.GetComponent <JumpFlip>();
 }
예제 #3
0
 private void Start()
 {
     gameManager = GameObject.Find("GameManager");
     jumpflip    = gameManager.GetComponent <JumpFlip>();
 }