Added platform prefabs and sprites
This commit is contained in:
9
Assets/Scripts/Platforms/CollapsingPlatform.cs
Normal file
9
Assets/Scripts/Platforms/CollapsingPlatform.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
namespace Platforms
|
||||
{
|
||||
public class CollapsingPlatform : MonoBehaviour
|
||||
{
|
||||
|
||||
}
|
||||
}
|
3
Assets/Scripts/Platforms/CollapsingPlatform.cs.meta
Normal file
3
Assets/Scripts/Platforms/CollapsingPlatform.cs.meta
Normal file
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5040194c42674482aab09aabcee0f9d4
|
||||
timeCreated: 1645608885
|
29
Assets/Scripts/Platforms/MovingPlatform.cs
Normal file
29
Assets/Scripts/Platforms/MovingPlatform.cs
Normal file
@@ -0,0 +1,29 @@
|
||||
using Movement;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Platforms
|
||||
{
|
||||
public class MovingPlatform : MonoBehaviour, IMovement
|
||||
{
|
||||
// PAUSING METHODS
|
||||
|
||||
public bool IsPaused { get; }
|
||||
public void Pause()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
public void Resume()
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
|
||||
// MOVEMENT METHODS
|
||||
|
||||
public float BaseSpeed { get; set; }
|
||||
public void Move(float value)
|
||||
{
|
||||
throw new System.NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
11
Assets/Scripts/Platforms/MovingPlatform.cs.meta
Normal file
11
Assets/Scripts/Platforms/MovingPlatform.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1637c8c06cf9fae4eb7bfa1a0ebb0e55
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Reference in New Issue
Block a user