C# Class MultiPlayer.UnitAttributes

Inheritance: NetworkBehaviour
ファイルを表示 Open project: tommai78101/Multiplier Class Usage Examples

Public Properties

Property Type Description
attackCooldownPrefabList List
attackPrefabList List
healthPrefabList List
maxLevelCount int
mergePrefabList List
speedPrefabList List
splitPrefabFactor float

Public Methods

Method Description
Awake ( ) : void
CopyFrom ( UnitAttributes tempAttr ) : void
Initialize ( ) : void
SetAttackAttributes ( string mathExpression ) : void
SetAttackCooldownAttributes ( string mathExpression ) : void
SetHealthAttributes ( string mathExpression ) : void
SetMergeAttributes ( string mathExpression ) : void
SetSpeedAttributes ( string mathExpression ) : void
SetSplitAttributes ( string mathExpression ) : void

Private Methods

Method Description
CmdUpdateAnswer ( float answer, int level, int propertyValue ) : void
RpcUpdateAnswer ( float answer, int level, int propertyValue, NetworkInstanceId id ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

CopyFrom() public method

public CopyFrom ( UnitAttributes tempAttr ) : void
tempAttr UnitAttributes
return void

Initialize() public method

public Initialize ( ) : void
return void

SetAttackAttributes() public method

public SetAttackAttributes ( string mathExpression ) : void
mathExpression string
return void

SetAttackCooldownAttributes() public method

public SetAttackCooldownAttributes ( string mathExpression ) : void
mathExpression string
return void

SetHealthAttributes() public method

public SetHealthAttributes ( string mathExpression ) : void
mathExpression string
return void

SetMergeAttributes() public method

public SetMergeAttributes ( string mathExpression ) : void
mathExpression string
return void

SetSpeedAttributes() public method

public SetSpeedAttributes ( string mathExpression ) : void
mathExpression string
return void

SetSplitAttributes() public method

public SetSplitAttributes ( string mathExpression ) : void
mathExpression string
return void

Property Details

attackCooldownPrefabList public_oe property

public List attackCooldownPrefabList
return List

attackPrefabList public_oe property

public List attackPrefabList
return List

healthPrefabList public_oe property

public List healthPrefabList
return List

maxLevelCount public_oe property

public int maxLevelCount
return int

mergePrefabList public_oe property

public List mergePrefabList
return List

speedPrefabList public_oe property

public List speedPrefabList
return List

splitPrefabFactor public_oe property

public float splitPrefabFactor
return float