Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

How to use usingFilter decorator in a System?

Discussion in 'Project Tiny' started by Ferran_SP, May 14, 2019.

  1. Ferran_SP


    Jul 9, 2018
    I noticed there's a usingFilters decorator documented as
    Code (JavaScript):
    1.   /** Decorator. Declare that this system or behaviour may use the given EntityFilter during processing.*/
    2.   function usingFilters(...filters: typeof EntityFilter[]) : any;
    How would I use this filter in a System?