diff options
Diffstat (limited to 'Assets/Scripts/Controllers/Player/PlayerSegment.cs')
-rw-r--r-- | Assets/Scripts/Controllers/Player/PlayerSegment.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Assets/Scripts/Controllers/Player/PlayerSegment.cs b/Assets/Scripts/Controllers/Player/PlayerSegment.cs index 4d0fb4f..0e8a969 100644 --- a/Assets/Scripts/Controllers/Player/PlayerSegment.cs +++ b/Assets/Scripts/Controllers/Player/PlayerSegment.cs @@ -21,6 +21,8 @@ namespace Controllers.Player [SerializeField] public bool isRoot; [SerializeField] public bool isTop; + [SerializeField] public Transform flipper; + public Rigidbody2D Rigidbody => _rigidbody != null ? _rigidbody : _rigidbody = GetComponent<Rigidbody2D>(); private Rigidbody2D _rigidbody; |