Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tommé Nöll
seedling
Commits
d5953702
Commit
d5953702
authored
Aug 08, 2019
by
Tommé Nöll
Browse files
removed temp debug logs
parent
ffc18d2a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Assets/Scripts/CameraController.cs
View file @
d5953702
...
...
@@ -70,7 +70,6 @@ public class CameraController : MonoBehaviour
public
void
ResetTarget
()
{
Debug
.
Log
(
"Resetting"
);
targetPos
=
null
;
targetSize
=
defaultSize
;
}
...
...
@@ -126,7 +125,6 @@ public class CameraController : MonoBehaviour
if
(
targetPos
!=
null
)
{
targetMove
=
((
Vector3
)
targetPos
);
Debug
.
Log
(
targetMove
);
if
(
targetMove
.
z
==
0
)
{
targetMove
.
z
=
offset
.
z
;
...
...
Assets/Scripts/CameraZone.cs
View file @
d5953702
...
...
@@ -47,7 +47,6 @@ public class CameraZone : MonoBehaviour
{
Vector3
scaledPos
=
camera
.
player
.
transform
.
position
;
scaledPos
=
bounds
.
center
+
(
scaledPos
-
bounds
.
center
)
/
triggerArea
;
Debug
.
Log
(
scaledPos
+
", "
+
bounds
.
Contains
(
scaledPos
));
ApplyTarget
(
bounds
.
Contains
(
scaledPos
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment