Exemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     rb            = GetComponent <Rigidbody>();
     booster       = GetComponent <ConstantForce> ();
     joint         = GetComponent <FixedJoint> ();
     cone          = GetComponentInChildren <ConeControl> ();
     t             = GetComponent <Transform> ();
     thrustPercent = 0;
     mass          = 1;
 }
Exemplo n.º 2
0
 public Cone(Scene scene)
 {
     Control = new ConeControl(this, scene);
 }