コード例 #1
0
 // Update is called once per frame
 void Update()
 {
     ps.run();
     if (ps.isDead())
     {
         Destroy(ps.sphere);
         ps = new Particle_4_1(new Vector3(8, 8, 0), 1f, RandV());
     }
 }
コード例 #2
0
 // Use this for initialization
 void Start()
 {
     ps = new Particle_4_1(new Vector3(8, 8, 0), 1f, RandV());
 }