C# Class SocialGame.Ballon

Inheritance: UnityEngine.MonoBehaviour
显示文件 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_oe property

public Transform,UnityEngine BallonJoin
return UnityEngine.Transform

joint public_oe property

public DistanceJoint2D,UnityEngine joint
return UnityEngine.DistanceJoint2D

lineRender public_oe property

public LineRenderer,UnityEngine lineRender
return UnityEngine.LineRenderer

render public_oe property

public SpriteRenderer,UnityEngine render
return UnityEngine.SpriteRenderer

speed public_oe property

public float speed
return float

speedRope public_oe property

public float speedRope
return float