Exemple #1
0
 public Node(Seaweed branch, float placementAlongTrunk, float offsetFromBranch, float localAngle)
 {
     this.branch = branch;
     this.placementAlongTrunk = placementAlongTrunk;
     this.radius     = offsetFromBranch;
     this.localAngle = localAngle;
 }
Exemple #2
0
 public SeaweedRenderer(Actor actor) : base(actor)
 {
     this.seaweed = RequireComponent <Seaweed>();
 }