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

    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?