// Use this for initialization void Start() { touchProcessing = Camera.main.GetComponent <LeanTouchProcessing> (); pieceNamesList = new List <string> (); pieceNamesList.Add("BoosterPieceSlow"); pieceNamesList.Add("HullPieceSlow"); pieceNamesListAutobuild = new List <string>(); pieceNamesListAutobuild.Add("BoosterPieceAutobuild"); pieceNamesListAutobuild.Add("HullPieceAutobuild"); //constrain torque? //maybe constrain to least amount of force necessary as well? would be kinda //like his fuel constraint CalculateThrusterExample(); }
protected void SlowShipPieceStart() { base.ShipPieceStart(); touchProcessing = Camera.main.GetComponent <LeanTouchProcessing> (); }