public static bool ControllerIsNotEqualTo(this ResultExecutingContext filterContext, EController eControllerName) { return(!filterContext.ControllerIsEqualTo(eControllerName)); }
public static bool ControllerIsEqualTo(this ResultExecutingContext filterContext, EController eControllerName) { return(filterContext.ControllerName().IsEqualTo(eControllerName.ToString())); }
public static bool ControllerIsEqualsThan(this ExceptionContext filterContext, EController eControllerName) { return(filterContext.ControllerName().IsEqualTo(eControllerName.ToString())); }
public static bool ControllerIsNotEqualsThan(this ExceptionContext filterContext, EController eControllerName) { return(!filterContext.ControllerIsEqualsThan(eControllerName)); }
private void Awake() { Instance = this; playerTransform = GameObject.FindGameObjectWithTag("Player").transform; }