HoloCop still in progress
This commit is contained in:
1 parent
430b250075
commit
d3b2e4c8d8
54 files changed
+173233
-112995
No files matched your search
@@ -10,12 +10,15 @@ namespace Code.OfficeGame.Player
|
||||
|
||||
|
||||
private KinematicCharacterMotor _motor;
|
||||
[SerializeField] private Animator animator;
|
||||
public Animator Animator { get; private set; }
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
_motor = GetComponent<KinematicCharacterMotor>();
|
||||
Animator = GetComponentInChildren<Animator>();
|
||||
// :?:?:?:?:?:?:?:?:?:?:?:?:?:?
|
||||
if (!animator) Animator = GetComponentInChildren<Animator>();
|
||||
else Animator = animator;
|
||||
}
|
||||
|
||||
private void Update()
|
||||
|
||||
Reference in new issue
Block a user