Summary
Sets the
PlatformerGameKit.Characters.States.CharacterState.Character.- Assembly
- PlatformerGameKit
.dll - Namespace
- PlatformerGameKit
.Characters .States - Containing Type
- CharacterState
Syntax
public void SetCharacter(Character character)
Remarks
This is not a property setter because you shouldn't be casually changing the owner of a state. Usually this
would only be used when adding a state to a character using a script.
Parameters
| Name | Type | Description |
|---|---|---|
| character | Character |
Return Value
| Type | Description |
|---|---|
| void |