Adventure Creator
1.79.1
An adventure game toolkit for Unity, by Chris Burton, ICEBOX Studios 2013-2022
|
Public Member Functions | |
override void | Declare (AC.Char _character) |
Initialises the engine. More... | |
override void | CharSettingsGUI () |
override PlayerData | SavePlayerData (PlayerData playerData, Player player) |
override void | LoadPlayerData (PlayerData playerData, Player player) |
override NPCData | SaveNPCData (NPCData npcData, NPC npc) |
override void | LoadNPCData (NPCData npcData, NPC npc) |
override void | ActionCharAnimGUI (ActionCharAnim action, List< ActionParameter > parameters=null) |
override void | ActionCharAnimAssignValues (ActionCharAnim action, List< ActionParameter > parameters) |
override float | ActionCharAnimRun (ActionCharAnim action) |
override void | ActionCharAnimSkip (ActionCharAnim action) |
override void | ActionAnimGUI (ActionAnim action, List< ActionParameter > parameters) |
override string | ActionAnimLabel (ActionAnim action) |
override void | ActionAnimAssignValues (ActionAnim action, List< ActionParameter > parameters) |
override float | ActionAnimRun (ActionAnim action) |
override void | ActionAnimSkip (ActionAnim action) |
override void | ActionCharRenderGUI (ActionCharRender action, List< ActionParameter > parameters) |
override float | ActionCharRenderRun (ActionCharRender action) |
override void | PlayIdle () |
override void | PlayWalk () |
override void | PlayRun () |
override void | PlayTalk () |
override void | PlayTurnLeft () |
override void | PlayTurnRight () |
override void | PlayVertical () |
override void | PlayJump () |
override void | TurnHead (Vector2 angles) |
Rotates a character's head. More... | |
override bool | RequiresRememberAnimator (ActionCharAnim action) |
override bool | RequiresRememberAnimator (ActionAnim action) |
override void | AddSaveScript (Action _action, GameObject _gameObject) |
Adds any relevent Remember scripts onto a GameObject referenced by an animation-based Action. More... | |
Public Member Functions inherited from AC.AnimEngine | |
virtual void | CharExpressionsGUI () |
virtual void | ActionSpeechGUI (ActionSpeech action, Char speaker) |
virtual void | ActionSpeechRun (ActionSpeech action) |
virtual void | ActionSpeechSkip (ActionSpeech action) |
virtual void | ActionCharRenderGUI (ActionCharRender action) |
virtual void | OnSetExpression () |
Called whenever the character's Expression is changed. It can be read with CurrentExpression. More... | |
Protected Member Functions | |
float | ActionCharAnimProcess (ActionCharAnim action, bool isSkipping) |
float | ActionAnimProcess (ActionAnim action, bool isSkipping) |
void | AnimTalk (Animator animator) |
void | SetDirection (Animator animator) |
Additional Inherited Members | |
Public Attributes inherited from AC.AnimEngine | |
TurningStyle | turningStyle = TurningStyle.Script |
bool | isSpriteBased = false |
Protected Attributes inherited from AC.AnimEngine | |
AC.Char | character |
Properties inherited from AC.AnimEngine | |
bool | updateHeadAlways [get, protected set] |
virtual bool | IKEnabled [get] |
|
virtual |
Adds any relevent Remember scripts onto a GameObject referenced by an animation-based Action.
_action | The Action referencing the GameObject |
_gameObject | The GameObject being referenced |
Reimplemented from AC.AnimEngine.
|
virtual |
Initialises the engine.
_character | The Player/NPC that this instance is controlling. |
Reimplemented from AC.AnimEngine.
|
virtual |
Plays the character's 'Idle' animation.
Reimplemented from AC.AnimEngine.
|
virtual |
Plays the character's 'Jump' animation.
Reimplemented from AC.AnimEngine.
|
virtual |
Plays the character's 'Run' animation.
Reimplemented from AC.AnimEngine.
|
virtual |
Plays the character's 'Talk' animation.
Reimplemented from AC.AnimEngine.
|
virtual |
Plays the character's 'Spot-turn left' animation.
Reimplemented from AC.AnimEngine.
|
virtual |
Plays the character's 'Spot-turn right' animation.
Reimplemented from AC.AnimEngine.
|
virtual |
Called every frame to animate the character based on height change. The character's height change can be found with GetHeightChange ().
Reimplemented from AC.AnimEngine.
|
virtual |
Plays the character's 'Walk' animation.
Reimplemented from AC.AnimEngine.
|
virtual |
Rotates a character's head.
angles | The new angles to rotate the head to |
Reimplemented from AC.AnimEngine.