Skip to content

Commit

Permalink
Merge pull request #58 from MashdorDev/SplittingMechanic
Browse files Browse the repository at this point in the history
Merge working splitting mechanic
  • Loading branch information
rylerbleau authored Feb 8, 2024
2 parents 6a69337 + 3dab38b commit 4289de9
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 10 deletions.
3 changes: 3 additions & 0 deletions Content/Unbread/Art/Characters/GingerbreadMan/GBM_Body.uasset
Git LFS file not shown
Git LFS file not shown
3 changes: 3 additions & 0 deletions Content/Unbread/Art/Characters/GingerbreadMan/GBM_Head.uasset
Git LFS file not shown
4 changes: 2 additions & 2 deletions Content/Unbread/Core/Character/BP_Character.uasset
Git LFS file not shown
3 changes: 3 additions & 0 deletions Content/Unbread/Core/Character/BP_ExplodingBody.uasset
Git LFS file not shown
Git LFS file not shown
3 changes: 3 additions & 0 deletions Content/Unbread/Core/Interactables/BP_CrumblePile.uasset
Git LFS file not shown
4 changes: 2 additions & 2 deletions Content/Unbread/Environment/SpawnVolume.uasset
Git LFS file not shown
4 changes: 2 additions & 2 deletions Content/Unbread/Maps/BlockoutLevelTest.umap
Git LFS file not shown
4 changes: 2 additions & 2 deletions Content/Unbread/Maps/DeathTesting.umap
Git LFS file not shown
6 changes: 6 additions & 0 deletions Source/unbread/Private/CookieInterface.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Fill out your copyright notice in the Description page of Project Settings.


#include "CookieInterface.h"

// Add default functionality here for any ICookieInterface functions that are not pure virtual.
27 changes: 27 additions & 0 deletions Source/unbread/Public/CookieInterface.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "UObject/Interface.h"
#include "CookieInterface.generated.h"

// This class does not need to be modified.
UINTERFACE(MinimalAPI)
class UCookieInterface : public UInterface
{
GENERATED_BODY()
};

/**
*
*/
class UNBREAD_API ICookieInterface
{
GENERATED_BODY()

// Add interface functions to this class. This is the class that will be inherited to implement this interface.
public:
UFUNCTION(BlueprintCallable, BlueprintNativeEvent, Category = "Camera Interface Events")
void SetCanRevert(AActor* CameraActor);
};
3 changes: 3 additions & 0 deletions Source/unbread/Public/InteractInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,7 @@ class UNBREAD_API IInteractInterface
void BeginFocus();
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category="Interact")
void EndFocus();

UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category="Interact")
void CrumbleInteraction(AActor* InstigatingActor);
};

0 comments on commit 4289de9

Please sign in to comment.