Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
tetra-tower
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Oenos
tetra-tower
Commits
8de190a3
Commit
8de190a3
authored
Feb 20, 2019
by
18류지석
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
생명석 안흔들리는거 고침. 조그마한 버그 수정
parent
2664fff9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
11 deletions
+18
-11
LifeStoneManager.prefab
Assets/Prefabs/LifeStoneManager.prefab
+1
-0
PlayerAttack.cs
Assets/Scripts/Characters/PlayerAttack.cs
+6
-2
LifeStoneManager.cs
...Scripts/UI/In-game UI/LifeStoneScript/LifeStoneManager.cs
+5
-3
TagManager.asset
ProjectSettings/TagManager.asset
+6
-6
No files found.
Assets/Prefabs/LifeStoneManager.prefab
View file @
8de190a3
...
...
@@ -69,6 +69,7 @@ MonoBehaviour:
vibrationVariable
:
0.1
droppedLifeStonePrefab
:
{
fileID
:
1149595688849768
,
guid
:
8255a117a93935941b32b4aed9b299a0
,
type
:
2
}
lifeStoneUI
:
{
fileID
:
0
}
frameBorder
:
0.2
popoutStrengthMultiplier
:
9
popoutTime
:
0.1
Assets/Scripts/Characters/PlayerAttack.cs
View file @
8de190a3
...
...
@@ -97,8 +97,12 @@ public class PlayerAttack : MonoBehaviour {
}
IEnumerator
ComboTextReset
()
{
yield
return
new
WaitForSeconds
(
1.5f
);
if
(
comboArray
.
Equals
(
""
))
for
(
float
timer
=
0f
;
timer
<
1.5f
;
timer
+=
Time
.
deltaTime
)
{
yield
return
null
;
if
(
playingSkill
)
break
;
}
if
(
comboArray
.
Equals
(
""
)
&&
!
playingSkill
)
SetComboText
();
}
IEnumerator
SkillEndCoroutine
()
...
...
Assets/Scripts/UI/In-game UI/LifeStoneScript/LifeStoneManager.cs
View file @
8de190a3
...
...
@@ -55,13 +55,15 @@ public class LifeStoneManager : Singleton<LifeStoneManager> {
public
GameObject
droppedLifeStonePrefab
;
public
GameObject
lifeStoneUI
;
public
float
frameBorder
;
public
float
popoutStrengthMultiplier
;
public
float
popoutTime
;
void
Start
()
{
transform
.
position
=
new
Vector3
(
lifeStoneLocation
.
x
,
lifeStoneLocation
.
y
,
0
);
lifeStoneUI
.
transform
.
position
=
new
Vector3
(
lifeStoneLocation
.
x
,
lifeStoneLocation
.
y
,
0
);
frameSuper
.
GetComponent
<
LifeStoneFrame
>().
Init
(
frameSuper
.
transform
,
standardImage
,
lifeStoneRowNum
,
lifeStoneSize
,
sprites
,
frameBorder
);
lifeStoneArray
=
new
int
[
50
,
3
];
lifeStoneUnit
=
new
GameObject
[
50
,
3
];
...
...
@@ -588,10 +590,10 @@ public class LifeStoneManager : Singleton<LifeStoneManager> {
while
(
vibration
>
lifeStoneSize
*
0.005f
)
{
Vector2
tmpVector
=
Random
.
insideUnitCircle
;
transform
.
position
=
new
Vector3
(
lifeStoneLocation
.
x
+
tmpVector
.
x
*
vibration
*
0.3f
,
lifeStoneLocation
.
y
+
tmpVector
.
y
*
vibration
,
0
);
lifeStoneUI
.
transform
.
position
=
new
Vector3
(
lifeStoneLocation
.
x
+
tmpVector
.
x
*
vibration
*
0.3f
,
lifeStoneLocation
.
y
+
tmpVector
.
y
*
vibration
,
0
);
vibration
*=
0.8f
;
yield
return
null
;
}
transform
.
position
=
new
Vector3
(
lifeStoneLocation
.
x
,
lifeStoneLocation
.
y
,
0
);
lifeStoneUI
.
transform
.
position
=
new
Vector3
(
lifeStoneLocation
.
x
,
lifeStoneLocation
.
y
,
0
);
}
}
ProjectSettings/TagManager.asset
View file @
8de190a3
...
...
@@ -51,6 +51,12 @@ TagManager:
-
name
:
UI
uniqueID
:
4254909397
locked
:
0
-
name
:
ItemHighlight
uniqueID
:
996861525
locked
:
0
-
name
:
Item
uniqueID
:
2145601713
locked
:
0
-
name
:
Wall
uniqueID
:
3278214247
locked
:
0
...
...
@@ -69,12 +75,6 @@ TagManager:
-
name
:
Spike
uniqueID
:
3612720217
locked
:
0
-
name
:
ItemHighlight
uniqueID
:
996861525
locked
:
0
-
name
:
Item
uniqueID
:
2145601713
locked
:
0
-
name
:
Door
uniqueID
:
343148499
locked
:
0
...
...
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