// Use this for initialization void Start() { score = 0; multiplier = 0; highestMultiplier = 0; game = FindObjectOfType <GameCoop>(); }
// Update is called once per frame void Update() { game = FindObjectOfType <GameCoop>(); GetInput(); GetStart(); }
// Update is called once per frame void Update() { game = FindObjectOfType <GameCoop>(); if (Time.timeScale > 0) { } }
// Use this for initialization void Awake() { rb = GetComponent <Rigidbody2D>(); bulletSpeed = 1500f; rb.AddRelativeForce(new Vector2(0, bulletSpeed)); game = FindObjectOfType <GameCoop>(); }
// Use this for initialization void Awake() { rb = GetComponent <Rigidbody2D>(); bulletSpeed = 700f; rb.AddRelativeForce(new Vector2(0, bulletSpeed)); animator = FindObjectOfType <Animator>(); explode = false; game = FindObjectOfType <GameCoop>(); }
// Use this for initialization void Start() { game = FindObjectOfType <GameCoop>(); }