Unity3D

Unity3D techniques

Wednesday, September 17, 2014

Create the projectile for plane

Using Instantiate(object, position, rotation) function:

Add the code on the object:
Drag the projectile prefab to assign the projectile variable:
Run the game:

Posted by Unknown at 8:25 AM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: Projectile

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Blog Archive

  • ►  2015 (1)
    • ►  January (1)
  • ▼  2014 (14)
    • ▼  September (14)
      • Set Depth Camera to show DigitDisplay
      • Is Trigger and OnTriggerEnter(), Destroy()
      • Camera Follow Target
      • AnimationController for the frames not in one texture
      • Customize GUI Button of Unity3D
      • Character Player Controller
      • Simulate the sound effect like real
      • Persistent Storage
      • The summer of realizing object movement in Unity3D
      • Implement a timer counter for game by Using Time.d...
      • Collision Detection
      • Create the projectile for plane
      • How to make a sprite for 2D Games
      • Set MainCamera to adjust 2D game
Simple theme. Theme images by gaffera. Powered by Blogger.