update level and animations
This commit is contained in:
@@ -21,7 +21,7 @@ AnimatorState:
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: f0badeb726520e84ba7d0e645d8663fb, type: 2}
|
||||
m_Motion: {fileID: 7400000, guid: 00f2cf8ec4608894eb6ab8d763dd1b8d, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
@@ -74,7 +74,7 @@ AnimatorState:
|
||||
m_MirrorParameterActive: 0
|
||||
m_CycleOffsetParameterActive: 0
|
||||
m_TimeParameterActive: 0
|
||||
m_Motion: {fileID: 7400000, guid: 0c14e8b510a33494bae632bdaa7355c6, type: 2}
|
||||
m_Motion: {fileID: 7400000, guid: 5617e84a5d249f843b84274c2202e23d, type: 2}
|
||||
m_Tag:
|
||||
m_SpeedParameter:
|
||||
m_MirrorParameter:
|
||||
@@ -153,7 +153,7 @@ AnimatorController:
|
||||
m_DefaultFloat: 0
|
||||
m_DefaultInt: 0
|
||||
m_DefaultBool: 0
|
||||
m_Controller: {fileID: 0}
|
||||
m_Controller: {fileID: 9100000}
|
||||
m_AnimatorLayers:
|
||||
- serializedVersion: 5
|
||||
m_Name: Base Layer
|
||||
|
||||
@@ -7,7 +7,7 @@ AnimationClip:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: PlayerRunLeft
|
||||
serializedVersion: 6
|
||||
serializedVersion: 7
|
||||
m_Legacy: 0
|
||||
m_Compressed: 0
|
||||
m_UseHighQualityCurve: 1
|
||||
@@ -18,20 +18,44 @@ AnimationClip:
|
||||
m_ScaleCurves: []
|
||||
m_FloatCurves: []
|
||||
m_PPtrCurves:
|
||||
- curve:
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
- time: 0
|
||||
value: {fileID: 7079147233807534215, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.125
|
||||
value: {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.06666667
|
||||
value: {fileID: 4214452682036070143, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.13333334
|
||||
value: {fileID: 6707464328325396904, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.2
|
||||
value: {fileID: -6646785486133963012, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.26666668
|
||||
value: {fileID: 6707464328325396904, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.33333334
|
||||
value: {fileID: 4214452682036070143, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.4
|
||||
value: {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.46666667
|
||||
value: {fileID: 9203835802740118276, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.25
|
||||
- time: 0.53333336
|
||||
value: {fileID: 1903030100871761730, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.375
|
||||
- time: 0.6
|
||||
value: {fileID: 6646376060719561138, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.6666667
|
||||
value: {fileID: 1382462362302480272, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.73333335
|
||||
value: {fileID: 6646376060719561138, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.8
|
||||
value: {fileID: 1903030100871761730, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.8666667
|
||||
value: {fileID: 9203835802740118276, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.93333334
|
||||
value: {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
attribute: m_Sprite
|
||||
path:
|
||||
classID: 212
|
||||
script: {fileID: 0}
|
||||
m_SampleRate: 8
|
||||
flags: 2
|
||||
m_SampleRate: 15
|
||||
m_WrapMode: 0
|
||||
m_Bounds:
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
@@ -45,17 +69,30 @@ AnimationClip:
|
||||
typeID: 212
|
||||
customType: 23
|
||||
isPPtrCurve: 1
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
pptrCurveMapping:
|
||||
- {fileID: 7079147233807534215, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 4214452682036070143, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 6707464328325396904, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: -6646785486133963012, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 6707464328325396904, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 4214452682036070143, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 9203835802740118276, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 1903030100871761730, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 6646376060719561138, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 1382462362302480272, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 6646376060719561138, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 1903030100871761730, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 9203835802740118276, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 0.5
|
||||
m_StopTime: 1
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0c14e8b510a33494bae632bdaa7355c6
|
||||
guid: 5617e84a5d249f843b84274c2202e23d
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
|
||||
@@ -7,7 +7,7 @@ AnimationClip:
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: PlayerRunRight
|
||||
serializedVersion: 6
|
||||
serializedVersion: 7
|
||||
m_Legacy: 0
|
||||
m_Compressed: 0
|
||||
m_UseHighQualityCurve: 1
|
||||
@@ -18,20 +18,44 @@ AnimationClip:
|
||||
m_ScaleCurves: []
|
||||
m_FloatCurves: []
|
||||
m_PPtrCurves:
|
||||
- curve:
|
||||
- serializedVersion: 2
|
||||
curve:
|
||||
- time: 0
|
||||
value: {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.125
|
||||
- time: 0.06666667
|
||||
value: {fileID: 4214452682036070143, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.25
|
||||
- time: 0.13333334
|
||||
value: {fileID: 6707464328325396904, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.375
|
||||
- time: 0.2
|
||||
value: {fileID: -6646785486133963012, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.26666668
|
||||
value: {fileID: 6707464328325396904, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.33333334
|
||||
value: {fileID: 4214452682036070143, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.4
|
||||
value: {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.46666667
|
||||
value: {fileID: 9203835802740118276, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.53333336
|
||||
value: {fileID: 1903030100871761730, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.6
|
||||
value: {fileID: 6646376060719561138, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.6666667
|
||||
value: {fileID: 1382462362302480272, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.73333335
|
||||
value: {fileID: 6646376060719561138, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.8
|
||||
value: {fileID: 1903030100871761730, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.8666667
|
||||
value: {fileID: 9203835802740118276, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- time: 0.93333334
|
||||
value: {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
attribute: m_Sprite
|
||||
path:
|
||||
classID: 212
|
||||
script: {fileID: 0}
|
||||
m_SampleRate: 8
|
||||
flags: 2
|
||||
m_SampleRate: 15
|
||||
m_WrapMode: 0
|
||||
m_Bounds:
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
@@ -45,17 +69,30 @@ AnimationClip:
|
||||
typeID: 212
|
||||
customType: 23
|
||||
isPPtrCurve: 1
|
||||
isIntCurve: 0
|
||||
isSerializeReferenceCurve: 0
|
||||
pptrCurveMapping:
|
||||
- {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 4214452682036070143, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 6707464328325396904, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: -6646785486133963012, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 6707464328325396904, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 4214452682036070143, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 9203835802740118276, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 1903030100871761730, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 6646376060719561138, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 1382462362302480272, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 6646376060719561138, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 1903030100871761730, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: 9203835802740118276, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
- {fileID: -7896281735413620878, guid: 02a85e8195c892a488857ba6f45e1b3c, type: 3}
|
||||
m_AnimationClipSettings:
|
||||
serializedVersion: 2
|
||||
m_AdditiveReferencePoseClip: {fileID: 0}
|
||||
m_AdditiveReferencePoseTime: 0
|
||||
m_StartTime: 0
|
||||
m_StopTime: 0.5
|
||||
m_StopTime: 1
|
||||
m_OrientationOffsetY: 0
|
||||
m_Level: 0
|
||||
m_CycleOffset: 0
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f0badeb726520e84ba7d0e645d8663fb
|
||||
guid: 00f2cf8ec4608894eb6ab8d763dd1b8d
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 7400000
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 886e7bd35b6ddf745acc73ee25dca6af
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1 @@
|
||||
{"androidStore":"GooglePlay"}
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bb4d9f1357c656644a1fcb17ecedc30a
|
||||
TextScriptImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
+969
-127
File diff suppressed because it is too large
Load Diff
@@ -14,33 +14,38 @@ public class PlayerController : MonoBehaviour
|
||||
private float distance;
|
||||
private bool _isOnLadder;
|
||||
private Rigidbody2D _body;
|
||||
private CapsuleCollider2D _capsule;
|
||||
private BoxCollider2D _boxCollider;
|
||||
private bool _isFall;
|
||||
|
||||
void Start()
|
||||
{
|
||||
_body = GetComponent<Rigidbody2D>();
|
||||
_capsule= GetComponent<CapsuleCollider2D>();
|
||||
_boxCollider= GetComponent<BoxCollider2D>();
|
||||
}
|
||||
void Update()
|
||||
{
|
||||
float moveX = Input.GetAxisRaw("Horizontal");
|
||||
animator.SetFloat("Horizontal", moveX);
|
||||
float moveX = 0;
|
||||
float moveY = 0;
|
||||
|
||||
var groundCheck = Physics2D.CapsuleCast(_capsule.bounds.center,_capsule.bounds.size,CapsuleDirection2D.Vertical,0f, Vector2.down, .1f,groundLayer);
|
||||
var groundCheck = Physics2D.BoxCast(_boxCollider.bounds.center,_boxCollider.bounds.size,0f, Vector2.down, .1f,groundLayer);
|
||||
|
||||
if (groundCheck || _isOnLadder)
|
||||
{
|
||||
var ladderCheck = Physics2D.CapsuleCast(_capsule.bounds.center, _capsule.bounds.size, CapsuleDirection2D.Vertical, 0f, Vector2.down, .1f, ladderLayer);
|
||||
if (ladderCheck)
|
||||
|
||||
|
||||
_isFall =false;
|
||||
moveX = Input.GetAxisRaw("Horizontal");
|
||||
animator.SetFloat("Horizontal", moveX);
|
||||
|
||||
if (IsLadder(Vector2.down))
|
||||
{
|
||||
_isOnLadder = true;
|
||||
moveY = Input.GetAxisRaw("Vertical");
|
||||
if(moveY> 0)
|
||||
{
|
||||
if(!Physics2D.CapsuleCast(_capsule.bounds.center, _capsule.bounds.size, CapsuleDirection2D.Vertical, 0f, Vector2.up, .1f, ladderLayer))
|
||||
if (!IsLadder(Vector2.up))
|
||||
{
|
||||
moveY= 0;
|
||||
moveY = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -50,6 +55,16 @@ public class PlayerController : MonoBehaviour
|
||||
}
|
||||
_body.velocity = new Vector2(moveX * MovementSpeed, moveY * MovementSpeed);
|
||||
}
|
||||
else
|
||||
{
|
||||
_isFall = true;
|
||||
print("Falling");
|
||||
}
|
||||
}
|
||||
|
||||
private RaycastHit2D IsLadder(Vector2 direction)
|
||||
{
|
||||
return Physics2D.BoxCast(_boxCollider.bounds.center, _boxCollider.bounds.size, 0f, direction, .1f, ladderLayer);
|
||||
}
|
||||
|
||||
private void FixedUpdate()
|
||||
@@ -61,7 +76,12 @@ public class PlayerController : MonoBehaviour
|
||||
}
|
||||
else
|
||||
{
|
||||
_body.gravityScale = 5;
|
||||
_body.gravityScale = 1;
|
||||
}
|
||||
if (_isFall)
|
||||
{
|
||||
_body.velocity = new Vector2(0, _body.velocity.y);
|
||||
animator.SetFloat("Horizontal", 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e47baa5c597ce7747bd2eb96eb4e7079
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 741 B After Width: | Height: | Size: 1.1 KiB |
@@ -78,7 +78,7 @@ TextureImporter:
|
||||
spriteMeshType: 1
|
||||
alignment: 0
|
||||
spritePivot: {x: 0.5, y: 0.5}
|
||||
spritePixelsToUnits: 32
|
||||
spritePixelsToUnits: 26
|
||||
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
|
||||
spriteGenerateFallbackPhysicsShape: 1
|
||||
alphaUsage: 1
|
||||
@@ -99,7 +99,7 @@ TextureImporter:
|
||||
platformSettings:
|
||||
- serializedVersion: 3
|
||||
buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
maxTextureSize: 512
|
||||
resizeAlgorithm: 0
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
@@ -158,10 +158,10 @@ TextureImporter:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 32
|
||||
width: 26
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@@ -177,12 +177,12 @@ TextureImporter:
|
||||
name: playerSprite_1
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 32
|
||||
x: 26
|
||||
y: 0
|
||||
width: 32
|
||||
width: 26
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@@ -198,12 +198,12 @@ TextureImporter:
|
||||
name: playerSprite_2
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 64
|
||||
x: 52
|
||||
y: 0
|
||||
width: 32
|
||||
width: 26
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@@ -219,12 +219,12 @@ TextureImporter:
|
||||
name: playerSprite_3
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 96
|
||||
x: 78
|
||||
y: 0
|
||||
width: 32
|
||||
width: 26
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@@ -240,12 +240,12 @@ TextureImporter:
|
||||
name: playerSprite_4
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 128
|
||||
x: 104
|
||||
y: 0
|
||||
width: 32
|
||||
width: 26
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@@ -261,12 +261,12 @@ TextureImporter:
|
||||
name: playerSprite_5
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 160
|
||||
x: 130
|
||||
y: 0
|
||||
width: 32
|
||||
width: 22
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@@ -282,12 +282,12 @@ TextureImporter:
|
||||
name: playerSprite_6
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 192
|
||||
x: 162
|
||||
y: 0
|
||||
width: 32
|
||||
width: 15
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@@ -303,12 +303,12 @@ TextureImporter:
|
||||
name: playerSprite_7
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 224
|
||||
x: 182
|
||||
y: 0
|
||||
width: 32
|
||||
width: 20
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@@ -324,12 +324,12 @@ TextureImporter:
|
||||
name: playerSprite_8
|
||||
rect:
|
||||
serializedVersion: 2
|
||||
x: 256
|
||||
x: 208
|
||||
y: 0
|
||||
width: 32
|
||||
width: 22
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
@@ -350,7 +350,7 @@ TextureImporter:
|
||||
width: 32
|
||||
height: 32
|
||||
alignment: 0
|
||||
pivot: {x: 0, y: 0}
|
||||
pivot: {x: 0.5, y: 0.5}
|
||||
border: {x: 0, y: 0, z: 0, w: 0}
|
||||
outline: []
|
||||
physicsShape: []
|
||||
|
||||
@@ -6,15 +6,19 @@
|
||||
"com.unity.2d.sprite": "1.0.0",
|
||||
"com.unity.2d.spriteshape": "9.0.2",
|
||||
"com.unity.2d.tilemap": "1.0.0",
|
||||
"com.unity.ads": "4.4.2",
|
||||
"com.unity.ai.navigation": "1.1.3",
|
||||
"com.unity.analytics": "3.8.1",
|
||||
"com.unity.collab-proxy": "2.0.4",
|
||||
"com.unity.ide.rider": "3.0.21",
|
||||
"com.unity.ide.visualstudio": "2.0.18",
|
||||
"com.unity.ide.vscode": "1.2.5",
|
||||
"com.unity.purchasing": "4.8.0",
|
||||
"com.unity.test-framework": "1.1.33",
|
||||
"com.unity.textmeshpro": "3.0.6",
|
||||
"com.unity.timeline": "1.7.4",
|
||||
"com.unity.ugui": "1.0.0",
|
||||
"com.unity.xr.legacyinputhelpers": "2.1.10",
|
||||
"com.unity.modules.ai": "1.0.0",
|
||||
"com.unity.modules.androidjni": "1.0.0",
|
||||
"com.unity.modules.animation": "1.0.0",
|
||||
|
||||
@@ -70,6 +70,15 @@
|
||||
"com.unity.modules.uielements": "1.0.0"
|
||||
}
|
||||
},
|
||||
"com.unity.ads": {
|
||||
"version": "4.4.2",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.ugui": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.ai.navigation": {
|
||||
"version": "1.1.3",
|
||||
"depth": 0,
|
||||
@@ -79,6 +88,16 @@
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.analytics": {
|
||||
"version": "3.8.1",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.services.analytics": "1.0.4",
|
||||
"com.unity.ugui": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.burst": {
|
||||
"version": "1.8.4",
|
||||
"depth": 2,
|
||||
@@ -144,6 +163,49 @@
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.nuget.newtonsoft-json": {
|
||||
"version": "3.2.1",
|
||||
"depth": 2,
|
||||
"source": "registry",
|
||||
"dependencies": {},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.purchasing": {
|
||||
"version": "4.8.0",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.ugui": "1.0.0",
|
||||
"com.unity.modules.unityanalytics": "1.0.0",
|
||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
||||
"com.unity.modules.jsonserialize": "1.0.0",
|
||||
"com.unity.modules.androidjni": "1.0.0",
|
||||
"com.unity.services.core": "1.8.1"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.services.analytics": {
|
||||
"version": "4.4.0",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.ugui": "1.0.0",
|
||||
"com.unity.services.core": "1.8.1",
|
||||
"com.unity.nuget.newtonsoft-json": "3.0.2"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.services.core": {
|
||||
"version": "1.9.0",
|
||||
"depth": 1,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.modules.unitywebrequest": "1.0.0",
|
||||
"com.unity.nuget.newtonsoft-json": "3.2.1",
|
||||
"com.unity.modules.androidjni": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.test-framework": {
|
||||
"version": "1.1.33",
|
||||
"depth": 0,
|
||||
@@ -185,6 +247,16 @@
|
||||
"com.unity.modules.imgui": "1.0.0"
|
||||
}
|
||||
},
|
||||
"com.unity.xr.legacyinputhelpers": {
|
||||
"version": "2.1.10",
|
||||
"depth": 0,
|
||||
"source": "registry",
|
||||
"dependencies": {
|
||||
"com.unity.modules.vr": "1.0.0",
|
||||
"com.unity.modules.xr": "1.0.0"
|
||||
},
|
||||
"url": "https://packages.unity.com"
|
||||
},
|
||||
"com.unity.modules.ai": {
|
||||
"version": "1.0.0",
|
||||
"depth": 0,
|
||||
|
||||
@@ -0,0 +1,167 @@
|
||||
{
|
||||
"templatePinStates": [],
|
||||
"dependencyTypeInfos": [
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.AnimationClip",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEditor.Animations.AnimatorController",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.AnimatorOverrideController",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEditor.Audio.AudioMixerController",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.ComputeShader",
|
||||
"ignore": true,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Cubemap",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.GameObject",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEditor.LightingDataAsset",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": false
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.LightingSettings",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Material",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEditor.MonoScript",
|
||||
"ignore": true,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.PhysicMaterial",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.PhysicsMaterial2D",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Rendering.PostProcessing.PostProcessProfile",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Rendering.PostProcessing.PostProcessResources",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Rendering.VolumeProfile",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEditor.SceneAsset",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Shader",
|
||||
"ignore": true,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.ShaderVariantCollection",
|
||||
"ignore": true,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Texture",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Texture2D",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
},
|
||||
{
|
||||
"userAdded": false,
|
||||
"type": "UnityEngine.Timeline.TimelineAsset",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 0,
|
||||
"supportsModification": true
|
||||
}
|
||||
],
|
||||
"defaultDependencyTypeInfo": {
|
||||
"userAdded": false,
|
||||
"type": "<default_scene_template_dependencies>",
|
||||
"ignore": false,
|
||||
"defaultInstantiationMode": 1,
|
||||
"supportsModification": true
|
||||
},
|
||||
"newSceneOverride": 0
|
||||
}
|
||||
Reference in New Issue
Block a user