Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

How to use usingFilter decorator in a System?

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

  1. Ferran_SP

    Ferran_SP

    Joined:
    Jul 9, 2018
    Posts:
    27
    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?