private void Awake() { //iEDelegate = BulletController.Instance.FireRandom; int r = Random.Range(0, 2); switch (r) { case 0: iEDelegate = BulletController.Instance.FireRound; break; case 1: iEDelegate = BulletController.Instance.FireArc; break; default: iEDelegate = null; break; } }
private void Awake() { iEDelegate = BulletController.Instance.FireRandom; }