public void Restart(TentacleBehavior thisTentacle) { print("restart bezier"); Tentacle = thisTentacle; TentacleCompletion = TentacleGrowthStart; transform.position = StartPos; growing = true; Tentacle.DoneGrowing(growing); }
internal void ShipGetGrabbed(TentacleBehavior tentacle) { ChangeState(ShipGrabbed); ShipGrabbed.GrabbingHand = tentacle; //print("Assigned grabbing hand"+ tentacle.gameObject.ToString()); }
public void Register(TentacleBehavior behavior) { print("register"); tentacle = behavior; }
// Use this for initialization void Start() { _characterController = this.GetComponent <CharacterController>(); _groundPlane = new Plane(Vector3.up, this.transform.position); _tentacle = tentacle.GetComponent <TentacleBehavior>(); }