Posts

Showing posts with the label unity

unity scripting

Description OnTriggerEnter is called when the Collider other enters the trigger. This message is sent to the trigger collider and the rigidbody (if any) that the trigger collider belongs to, and to the rigidbody (or the collider if there is no rigidbody) that touches the trigger. Note that trigger events are only sent if one of the colliders also has a rigidbody attached. // Destroy everything that enters the trigger function OnTriggerEnter (other : Collider ) { Destroy(other.gameObject); }  ADBannerView Namespace: UnityEngine Description ADBannerView is a wrapper around the ADBannerView class found in the Apple iAd framework and is only available on iOS. It provides a view that displays banner advertisements to the user. private ADBannerView banner = null;void Start() { banner = new ADBannerView ( ADBannerView.Type.Banner , ADBannerView.Layout.Top ); ADBannerView.onBannerWasClicked += OnBannerClicked; ADBannerView.onBannerWasLoaded += OnBannerLoaded; }void OnBannerClick...

How to Create a Yoga Goddess Illustration in Adobe Illustrator

Image
As the music begins to play, a soft breeze fills the space with the undeniable smell of magnolia blossoms. She gracefully enters and begins a “tree pose” with her hands in Namaste form. Our female figure is inspired by the Indian culture for its gorgeous use of color and the grace of its yoga formations. I hope you’ll enjoy the journey as we retrace, step by step to enlightenment.  1. Becoming Flesh and Blood Step 1 Our first step will be to bring in our sketch. I've scanned her in at 300 dpi to catch as much of the detail as possible. I'm not as picky about my choice of initial drawing tools, and this particular project was completed with a mechanical pencil. We'll be working with a clean line quality from Adobe Photoshop and now we can begin to work. I'm working in Adobe Illustrator at a size of 8.5 x 11 inches for this specific project. When I'm ready to start my layers, I'll label my first layer as "Sketch" and lock the layer to make su...