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
b2015dec
Commit
b2015dec
authored
Jun 25, 2019
by
18김민수
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor Change 2
parent
444de0b9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
5 deletions
+10
-5
SampleScene.unity
Assets/Scenes/SampleScene.unity
+4
-4
FlatLandObject.cs
Assets/Scripts/FlatLandObject.cs
+5
-0
Square.cs
Assets/Scripts/Square.cs
+1
-1
No files found.
Assets/Scenes/SampleScene.unity
View file @
b2015dec
...
...
@@ -179,7 +179,7 @@ MonoBehaviour:
Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
m_FontData
:
m_Font
:
{
fileID
:
10102
,
guid
:
0000000000000000e000000000000000
,
type
:
0
}
m_FontSize
:
5
5
m_FontSize
:
3
5
m_FontStyle
:
0
m_BestFit
:
0
m_MinSize
:
10
...
...
@@ -328,8 +328,8 @@ RectTransform:
m_LocalEulerAnglesHint
:
{
x
:
0
,
y
:
0
,
z
:
0
}
m_AnchorMin
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchorMax
:
{
x
:
0.5
,
y
:
0.5
}
m_AnchoredPosition
:
{
x
:
703
,
y
:
30
2
}
m_SizeDelta
:
{
x
:
329.5
,
y
:
128.5
}
m_AnchoredPosition
:
{
x
:
279
,
y
:
141.
2
}
m_SizeDelta
:
{
x
:
150.8
,
y
:
77.1
}
m_Pivot
:
{
x
:
0.5
,
y
:
0.5
}
---
!u!114
&363807590
MonoBehaviour
:
...
...
@@ -843,7 +843,7 @@ MonoBehaviour:
m_Script
:
{
fileID
:
1980459831
,
guid
:
f70555f144d8491a825f0804e09c671c
,
type
:
3
}
m_Name
:
m_EditorClassIdentifier
:
m_UiScaleMode
:
0
m_UiScaleMode
:
1
m_ReferencePixelsPerUnit
:
100
m_ScaleFactor
:
1
m_ReferenceResolution
:
{
x
:
800
,
y
:
600
}
...
...
Assets/Scripts/FlatLandObject.cs
View file @
b2015dec
...
...
@@ -6,4 +6,9 @@ public class FlatLandObject : MonoBehaviour
{
public
Vector2
speedVector
=
new
Vector2
(
0
,
0
);
public
double
properTime
=
0
;
public
virtual
void
Update
()
{
properTime
+=
Time
.
deltaTime
;
}
}
Assets/Scripts/Square.cs
View file @
b2015dec
...
...
@@ -16,7 +16,7 @@ public class Square : FlatLandObject
}
// Update is called once per frame
void
Update
()
public
override
void
Update
()
{
if
(
Input
.
GetMouseButtonDown
(
1
))
// If right mouse button is clicked
{
...
...
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