Cleaning up
This commit is contained in:
@@ -8,18 +8,18 @@ namespace Marro.PacManUdon
|
||||
{
|
||||
public virtual Vector2 GetPosition()
|
||||
{
|
||||
Debug.LogWarning($"{gameObject} does not implement GetPosition");
|
||||
Debug.LogError($"{gameObject} does not implement GetPosition");
|
||||
return Vector2.zero;
|
||||
}
|
||||
|
||||
public virtual void SetPosition(Vector2 position)
|
||||
{
|
||||
Debug.LogWarning($"{gameObject} does not implement SetPosition");
|
||||
Debug.LogError($"{gameObject} does not implement SetPosition");
|
||||
}
|
||||
|
||||
public virtual Vector2 GetDirection()
|
||||
{
|
||||
Debug.LogWarning($"{gameObject} does not implement GetDirection");
|
||||
Debug.LogError($"{gameObject} does not implement GetDirection");
|
||||
return Vector2.zero;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user