public GameObject GetDown() { if (UIKeyNavigation.IsActive(this.onDown)) { return(this.onDown); } if (this.constraint == UIKeyNavigation.Constraint.Horizontal || this.constraint == UIKeyNavigation.Constraint.Explicit) { return(null); } return(this.Get(Vector3.down, 2f, 1f)); }
public GameObject GetRight() { if (UIKeyNavigation.IsActive(this.onRight)) { return(this.onRight); } if (this.constraint == UIKeyNavigation.Constraint.Vertical || this.constraint == UIKeyNavigation.Constraint.Explicit) { return(null); } return(this.Get(Vector3.right, 1f, 2f)); }
public GameObject GetUp() { if (UIKeyNavigation.IsActive(this.onUp)) { return(this.onUp); } if (this.constraint == UIKeyNavigation.Constraint.Horizontal || this.constraint == UIKeyNavigation.Constraint.Explicit) { return((GameObject)null); } return(this.Get(Vector3.up, 2f, 1f)); }
public GameObject GetLeft() { if (UIKeyNavigation.IsActive(this.onLeft)) { return(this.onLeft); } if (UIKeyNavigation.CanSkipToNext(this.onLeft)) { return(this.onLeft.GetComponent <UIKeyNavigation>().GetLeft()); } if (this.constraint == UIKeyNavigation.Constraint.Vertical || this.constraint == UIKeyNavigation.Constraint.Explicit) { return(null); } return(this.Get(Vector3.left, 1f, 2f)); }
public GameObject GetUp() { if (UIKeyNavigation.IsActive(this.onUp)) { return(this.onUp); } if (UIKeyNavigation.CanSkipToNext(this.onUp)) { return(this.onUp.GetComponent <UIKeyNavigation>().GetUp()); } if (this.constraint == UIKeyNavigation.Constraint.Horizontal || this.constraint == UIKeyNavigation.Constraint.Explicit) { return(null); } return(this.Get(Vector3.up, 2f, 1f)); }
public unsafe static long $Invoke8(long instance, long *args) { return(GCHandledObjects.ObjectToGCHandle(UIKeyNavigation.IsActive((GameObject)GCHandledObjects.GCHandleToObject(*args)))); }