C# Class SocialGame.Ballon

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: BrainProject/UnityTemp

Public Properties

Property Type Description
BallonJoin UnityEngine.Transform
joint UnityEngine.DistanceJoint2D
lineRender UnityEngine.LineRenderer
render UnityEngine.SpriteRenderer
speed float
speedRope float

Public Methods

Method Description
Join ( ) : void
setColor ( Color color ) : void

Sets the color.

setJoint ( Rigidbody2D body ) : void

Sets the joint.

Private Methods

Method Description
Awake ( ) : void
Update ( ) : void

Method Details

Join() public method

public Join ( ) : void
return void

setColor() public method

Sets the color.
public setColor ( Color color ) : void
color UnityEngine.Color Color.
return void

setJoint() public method

Sets the joint.
public setJoint ( Rigidbody2D body ) : void
body UnityEngine.Rigidbody2D Body.
return void

Property Details

BallonJoin public property

public Transform,UnityEngine BallonJoin
return UnityEngine.Transform

joint public property

public DistanceJoint2D,UnityEngine joint
return UnityEngine.DistanceJoint2D

lineRender public property

public LineRenderer,UnityEngine lineRender
return UnityEngine.LineRenderer

render public property

public SpriteRenderer,UnityEngine render
return UnityEngine.SpriteRenderer

speed public property

public float speed
return float

speedRope public property

public float speedRope
return float