Quantcast
Channel: Answers by "himanshu619"
Browsing latest articles
Browse All 8 View Live

Answer by himanshu619

Dear Berenger can you tell me that how could we freeze the movable object to move only along x-axis?

View Article


Answer by himanshu619

Full working Code: @script RequireComponent(AudioSource) public var clip : AudioClip; function OnTriggerEnter(hit : Collider){ audio.PlayClipAtPoint(clip, Vector3 (5, 1, 2)); Destroy(gameObject); } Now...

View Article


Answer by himanshu619

Here is the code for you: using UnityEngine; using System.Collections; public class rotate : MonoBehaviour { public void Rotate() { //transform.rotation = Quaternion.AngleAxis(30, Vector3.up); //var...

View Article

Answer by himanshu619

Hey All, here is your answer: Note please put this script onto your "Player" only: var score = 0; var scoreText = "Score: 0"; var mySkin : GUISkin; function OnTriggerEnter(other : Collider ) { if...

View Article
Browsing latest articles
Browse All 8 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>