Пример #1
0
        public override void Init()
        {
            base.Init();
            SpellAgent sa = graph.Owner as SpellAgent;

            sa.OnKill += () => o.Call();
        }
Пример #2
0
        public override void Init()
        {
            SpellAgent sa = graph.Owner as SpellAgent;

            sa.OnAttackLand += () => o.Call();
        }
Пример #3
0
 public override void Init()
 {
     o.Call();
 }
Пример #4
0
 void Update()
 {
     o.Call();
     //time.Timeout(dt, Update);
 }
Пример #5
0
        public override void Init()
        {
            var sa = graph.Owner as SpellAgent;

            sa.OnSpellStart += () => o.Call();
        }
Пример #6
0
 public void Invoke(object time)
 {
     // wait time
     o.Call();
 }
Пример #7
0
 public override void Destroy()
 {
     base.Destroy();
     o.Call();
 }