From 67c86ed960cc5feaedd06569ad62a340cc0d013f Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Sat, 12 Jun 2021 18:06:04 -0400 Subject: Functional AI that can dribble, steal, and shoot --- Assets/Scripts/Controllers/Player/PlayerSegment.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Assets/Scripts/Controllers/Player/PlayerSegment.cs') 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(); private Rigidbody2D _rigidbody; -- cgit v1.2.3-56-ge451