-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor triggering #27
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lo probé y anda todo salvo el teleport que se rompe porque falta el file que comenté
transform.rotation = endRotation; | ||
transform.position = endPosition; | ||
|
||
OnTurnLeftFinished(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Acá se te van a llamar ambos sea cual sea el sentido en el que rotes. No recuerdo que hacen y creo que no pasa nada pero puede ser una fuente de bugs a futuro (si es que lo tiene)
@@ -1,261 +0,0 @@ | |||
using UnityEngine; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Este file que venia con el modelo era el que manejaba toda la logica de teletransportación, ya la traia resuelta. Para no reinventarlo no podriamos usarlo junto con el behaviour y hacer como un delegate?
Elements which can interact with ARPB2 should now have a child of
ElementBehaviour
component attached, overriding the methodInteractWith
.Properties of
ElementBehaviour
include:interact
. Teleports are manual.NOTA: No se pq me subió 200 assets 🤷 Si se quiere revisar el código, hacer Ctrl + F, ".cs"