Esempio n. 1
0
        public override void Perform(IContext context)
        {
            var target = context.GetContext <GameObject>("Enemy");

            LabelLerper.LerpLabelFromTo(m_weaponVerb, transform.position, target.transform);
            transform.parent.parent.GetComponent <WeaponLog>().LogAction(gameObject.name);
        }
Esempio n. 2
0
 void OnDestroy()
 {
     s_instance = null;
 }
Esempio n. 3
0
        //////////////////////////////////////////////////

        void Awake()
        {
            s_instance = this;
            m_enemies  = FindObjectOfType <EnemiesControl>();
        }