Speculation: GetComponent < Player >: You keep adding the same script which causes the script to re-run.
Did you mean GetComponent < Entities> ()? Also, why is it that you are inheriting from that class?
↧