예제 #1
0
 set => SetProperty(ref _cameraController, value);
예제 #2
0
 // Use this for initialization
 void Start()
 {
     bounds = GetComponent <BoxCollider2D> ();
     theCam = FindObjectOfType <_cameraController>();
     theCam.SetBounds(bounds);
 }
예제 #3
0
 // Use this for initialization
 void Start()
 {
     thePlayer = FindObjectOfType <_playerController> ();
     theCam    = FindObjectOfType <_cameraController> ();
     thePlayer.transform.position = transform.position;
 }