mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Add FacePlayerWhenTalking if it isn't there
This commit is contained in:
parent
ea7d04da52
commit
6ace48dd43
@ -213,7 +213,8 @@ namespace NewHorizons.Builder.Props
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// TODO: make a custom controller for basic characters to just turn them to face you
|
// If they have nothing else just put the face player when talking thing on them
|
||||||
|
character.gameObject.GetAddComponent<FacePlayerWhenTalking>();
|
||||||
}
|
}
|
||||||
|
|
||||||
var facePlayerWhenTalking = character.GetComponent<FacePlayerWhenTalking>();
|
var facePlayerWhenTalking = character.GetComponent<FacePlayerWhenTalking>();
|
||||||
|
|||||||
2
NewHorizons/External/Modules/PropModule.cs
vendored
2
NewHorizons/External/Modules/PropModule.cs
vendored
@ -477,6 +477,8 @@ namespace NewHorizons.External.Modules
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// If this dialogue is meant for a character, this is the relative path from the planet to that character's
|
/// If this dialogue is meant for a character, this is the relative path from the planet to that character's
|
||||||
/// CharacterAnimController, TravelerController, TravelerEyeController (eye of the universe), FacePlayerWhenTalking, or SolanumAnimController.
|
/// CharacterAnimController, TravelerController, TravelerEyeController (eye of the universe), FacePlayerWhenTalking, or SolanumAnimController.
|
||||||
|
///
|
||||||
|
/// If none of those components are present it will add a FacePlayerWhenTalking component.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public string pathToAnimController;
|
public string pathToAnimController;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user