// Use this for initialization void Start() { god = GameObject.Find("God").GetComponent <God_SCR>(); pathfinder = god.GetComponent <Pathfinder_SCR>(); body = this.GetComponent <BossBody_SCR>(); moving = false; }
// Use this for initialization void Start() { god = GameObject.Find("God").GetComponent <God_SCR>(); pTouchMovement = this.GetComponent <PlayerTouchControls_SCR>(); pShooting = this.GetComponent <PlayerShooting_SCR>(); maxMovementSpeed = movementSpeed; }