// Use this for initialization protected override void Init() { span40 = new TickEvent(40); span40.SetFunction(Attack); span600 = new TickEvent(600); span600.SetFunction(ChangeAttack); }
// Use this for initialization protected override void Init() { spanEv = new TickEvent(span); spanEv.SetFunction(Shot); if (GameObject.FindGameObjectWithTag("Player")) { player = GameObject.FindGameObjectWithTag("Player").GetComponent <ShootingPlayerBase>(); } }
// Use this for initialization protected override void Init() { spanEv = new TickEvent(120); spanEv.SetFunction(Shot01); }
// Use this for initialization protected override void Init() { span20 = new TickEvent(20); span20.SetFunction(Shot); }