add GameObject on Game
public GameObject m_prefab_ball; void Start () { gameObject.transform.position=new Vector3(-0.98f,5.7f,0); for(float y=1;y
Powenko, Unity Tutorial b0-1, Add cube
below code is demo how to add a cube sample code: b00_1_add_cube add info: http://unity3d.com/support/documentation/ScriptReference/PrimitiveType.html PrimitiveType Enumeration The various primitives that…
Powenko, Unity Tutorial b0-2,Remove gameobject
below code is demo how to remove gameobject Remove gameobject sample code: b36_1_input_ray
PowenKo,Unity Tutorial 143, GameObject, AddComponent
add Light add Camera add GUI Layer add AudioListener add script add and setup light
PowenKo, Unity Tutorial 140 , GameObject, Hide/Show a game object and activate/deactivate.
In your example code, there’s no reason for the ‘Character*’ variables not to be local (at least not that I…