some work

This commit is contained in:
2023-01-09 20:19:04 +01:00
parent c53c2aca0f
commit 4230bcd431

View File

@@ -62,9 +62,9 @@ namespace DevourClient.Helpers
*/ */
MelonLogger.Msg(Name); MelonLogger.Msg(Name);
p_GameObject.GetComponent<Il2Cpp.JumpScare>().Activate(p_GameObject.GetComponent<BoltEntity>()); Il2Cpp.JumpScare _jumpscare = UnityEngine.Object.FindObjectOfType<Il2Cpp.JumpScare>();
//Il2Cpp.JumpScare _jumpscare = UnityEngine.Object.FindObjectOfType<Il2Cpp.JumpScare>(); _jumpscare.player = p_GameObject;
//_jumpscare.Activate(p_GameObject.GetComponent<BoltEntity>()); _jumpscare.Activate(p_GameObject.GetComponent<BoltEntity>());
} }
public void LockInCage() public void LockInCage()
@@ -102,7 +102,7 @@ namespace DevourClient.Helpers
{ {
return; return;
} }
sab.gameObject.transform.position = p_GameObject.transform.position + p_GameObject.transform.forward; sab.transform.position = p_GameObject.transform.position + p_GameObject.transform.forward;
} }
} }
public class Player public class Player