C# Class MultiPlayer.UnitAttributes

Inheritance: NetworkBehaviour
Show file 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 property

public List attackCooldownPrefabList
return List

attackPrefabList public property

public List attackPrefabList
return List

healthPrefabList public property

public List healthPrefabList
return List

maxLevelCount public property

public int maxLevelCount
return int

mergePrefabList public property

public List mergePrefabList
return List

speedPrefabList public property

public List speedPrefabList
return List

splitPrefabFactor public property

public float splitPrefabFactor
return float