Esempio n. 1
0
        //--------------------------------------------------------------------------------------------------------------

        /// <summary>
        /// This method is called when the object becomes enabled and active.
        /// </summary>
        protected override void OnEnable()
        {
            base.OnEnable();
            filter = GetComponent <AIMFilter <SteeringPercept> >();
        }
Esempio n. 2
0
        //--------------------------------------------------------------------------------------------------------------

        /// <summary>
        /// This method is called when the object becomes enabled and active.
        /// </summary>
        protected override void OnEnable()
        {
            base.OnEnable();
            filter = GetComponent <AIMFilter <T> >();
        }