C# Class ChainBuilder, VJ01

Inheritance: MonoBehaviour
Show file Open project: keijiro/VJ01 Class Usage Examples

Public Properties

Property Type Description
angularDrag float
colliderRadius float
drag float
interval float
mass float
nodeNum int
nodePrefab GameObject

Public Methods

Method Description
AddJoint ( GameObject node, GameObject boundTo ) : void
AddRigidbody ( GameObject node, bool isFixed ) : void
Awake ( ) : void
BuildChain ( GameObject root ) : void

Method Details

AddJoint() public method

public AddJoint ( GameObject node, GameObject boundTo ) : void
node GameObject
boundTo GameObject
return void

AddRigidbody() public method

public AddRigidbody ( GameObject node, bool isFixed ) : void
node GameObject
isFixed bool
return void

Awake() public method

public Awake ( ) : void
return void

BuildChain() public method

public BuildChain ( GameObject root ) : void
root GameObject
return void

Property Details

angularDrag public property

public float angularDrag
return float

colliderRadius public property

public float colliderRadius
return float

drag public property

public float drag
return float

interval public property

public float interval
return float

mass public property

public float mass
return float

nodeNum public property

public int nodeNum
return int

nodePrefab public property

public GameObject nodePrefab
return GameObject