UNITY3D WAREHOUSE

WELCOME TO COMMUNITY.

OOOOOMG

I"M SO !!!.

!!!

Coming Soon.

!!!

Coming Soon..

Wednesday, 28 December 2016

Unity Move Object When Key Enter Trigger

Unity Move Object When Key Enter Trigger










THIS IS Java script: GOOD 4 2D GAMES AND 3D GAMES ! 
----------------------------------------­­­­­­­----





#pragma strict

 public var _moveposition : Transform;
 public var speed : float;
 function OnTriggerStay (other:Collider)
{
    if (other.gameObject.tag == "PUT YOUR KEY TAG NAME HERE")
    {
 transform.position= Vector3.Lerp(transform.position,_moveposition.position, Time.deltaTime * speed);
}
}







Friday, 25 March 2016

Unity Switch from one player to another !

Simple Unity  On trigger enter  Switch from one player to another !












DIRECT DOWNLOAD HERE








THIS IS BACKUP  IN TEXT FORM   Script1

1. Create New java and name it : DISABLEPLAYER1


2. Copy & Past this text and save java :
----------------------------------------­­­­­------------------------------------­-­-­-­-­-


#pragma strict


var Obj : GameObject;

function Start () {



}

function OnTriggerEnter (trigger:Collider) { if(trigger.collider.tag=="Player1") Obj.SetActive (false); 


  DontDestroyOnLoad (gameObject);
}
 


 ----------------------------------------­­­­­------------------------------------­-­-­-­-­-










THIS IS BACKUP  IN TEXT FORM   Script2

1. Create New java and name it : ENABLEPLAYER2


2. Copy & Past this text and save java :
----------------------------------------­­­­­------------------------------------­-­-­-­-­-


#pragma strict

var Obj : GameObject;

function Start () {

Obj.SetActive(false);

}

function OnTriggerEnter (trigger:Collider) { if(trigger.collider.tag=="Player1") Obj.SetActive (true); 


  DontDestroyOnLoad (gameObject);
}
 


 ----------------------------------------­­­­­------------------------------------­-­-­-­-­-

























Wednesday, 27 January 2016

Archive of free textures Library

Archive of free textures  Library