Exemple #1
0
        private void OnStartFireCall(int ship_id)
        {
            StartFireEventArgs args = new StartFireEventArgs();

            args.ship_id = ship_id;
            OnStartFire(args);
        }
Exemple #2
0
        protected virtual void OnStartFire(StartFireEventArgs e)
        {
            Debug.Log("---------------- onStartFire  " + e.ship_id);
            EventHandler <StartFireEventArgs> handler = StartFire;

            handler?.Invoke(this, e);
        }
Exemple #3
0
        protected virtual void OnStartFire(StartFireEventArgs e)
        {
            EventHandler <StartFireEventArgs> handler = StartFire;

            handler?.Invoke(this, e);
        }