小修改
This commit is contained in:
parent
9fc2a40e3c
commit
676f800527
@ -64,7 +64,7 @@ BoxCollider2D:
|
||||
m_IsTrigger: 1
|
||||
m_UsedByEffector: 0
|
||||
m_UsedByComposite: 0
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Offset: {x: 0.40839374, y: 0}
|
||||
m_SpriteTilingProperty:
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
pivot: {x: 0, y: 0}
|
||||
@ -75,7 +75,7 @@ BoxCollider2D:
|
||||
adaptiveTiling: 0
|
||||
m_AutoTiling: 0
|
||||
serializedVersion: 2
|
||||
m_Size: {x: 1, y: 1}
|
||||
m_Size: {x: 2.6800587, y: 1}
|
||||
m_EdgeRadius: 0
|
||||
--- !u!1 &492886037590634733
|
||||
GameObject:
|
||||
|
@ -40,7 +40,7 @@ public class SnowHpControl : MonoBehaviour
|
||||
|
||||
// 随机初始化位置(在初始位置附近)
|
||||
float randomX;
|
||||
if (direction == 1)
|
||||
if (direction == 0)
|
||||
{
|
||||
randomX = Random.Range(moveDistance / 4f, moveDistance)+moveDistance/2;
|
||||
}
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 8fde270423daa41bf2968599462aafe4bac70722
|
||||
Subproject commit f9085935d5427ccc6ac969d9721c841354f63e43
|
Loading…
Reference in New Issue
Block a user