CharacterState.

SetCharacter(Character) Method

Summary

Sets the PlatformerGameKit.Characters.States.CharacterState.Character.

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