// Use this for initialization void Awake() { myRigidbody = GetComponent<Rigidbody2D>(); myTransform = GetComponent<Transform>(); myController = GetComponent<FireBeetleController>(); }
public FireBeetleFSM(FireBeetleController controller) { this.controller = controller; }