예제 #1
0
 public void Start()
 {
     MyFunctions.AddCameraListener(this);
     player = GetComponent <PlayerClass>();
     size   = boxCollider.size * transform.lossyScale;
 }
예제 #2
0
    private void Start()
    {
        Camera camera = MyFunctions.AddCameraListener(this);

        cam = new CameraInfo(camera);
    }