Monday, 19 January 2015

Unity 3d Triggered Animation using Javascript



Unity 3d Triggered Animation using Javascript in Unity 3d FREE SCRIPT




Making free platform game ! One man show
----------------------------------------­----------------------------------------­---
Javascrip: GOOD 4 2D GAMES AND 3D GAMES !
----------------------------------------­----------------------------------------­---



var doorClip : AnimationClip; function OnTriggerEnter (player : Collider) { if(player.tag=="Player") GameObject.Find("YOUR Door NAME HERE ").animation.Play("YOUR DoorOpen ANIMATION NAME HERE "); }


made with ezvid, free download at http://ezvid.com

0 comments:

Post a Comment