private bool IsActiveMulty(RuntimeState state) { for (int i = 0; i < _procs.Length; i++) { if (state.Scriptable.Hash == _procs[i].Hash) { return(state.Active); } } return(false); }
private bool IsEqual(RuntimeState state) { return(state.Scriptable.Hash == _proc); }
private void DisableIfNecessary(RuntimeState state) { state.Active &= state.Layer != _layer || state.Layer == NotSharedLayer; }