Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
curvedflats
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
6
Issues
6
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Flatland
curvedflats
Commits
d689c27e
Commit
d689c27e
authored
5 years ago
by
18김민수
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug fix
parent
fac22cad
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Test.unity
Assets/Scenes/Test.unity
+1
-1
PathRenderer.cs
Assets/Scripts/PathRenderer.cs
+1
-1
No files found.
Assets/Scenes/Test.unity
View file @
d689c27e
...
...
@@ -2059,7 +2059,7 @@ LineRenderer:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
948598106
}
m_Enabled
:
1
m_Enabled
:
0
m_CastShadows
:
1
m_ReceiveShadows
:
1
m_DynamicOccludee
:
1
...
...
This diff is collapsed.
Click to expand it.
Assets/Scripts/PathRenderer.cs
View file @
d689c27e
...
...
@@ -59,7 +59,7 @@ public class PathRenderer : MonoBehaviour
_pathRenderer
.
positionCount
=
2
;
square
.
pathList
.
Clear
();
square
.
pathList
.
Add
(
transform
.
position
);
square
.
pathList
.
Add
(
new
Vector3
(
0
,
0
,
0
)
);
square
.
pathList
.
Add
(
transform
.
position
);
_pathRenderer
.
SetPositions
(
square
.
pathList
.
ToArray
());
for
(
int
i
=
0
;
i
<
transform
.
childCount
;
i
++)
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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